| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/www/authelia/ |
Upload File : |
PORTNAME= authelia
DISTVERSIONPREFIX= v
DISTVERSION= 4.36.9
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= https://github.com/authelia/authelia/releases/download/v${DISTVERSION}/:public_html
DISTFILES= authelia-${DISTVERSIONFULL}-public_html${EXTRACT_SUFX}:public_html # html root directory needs to be built in a special way
MAINTAINER= yuri@FreeBSD.org
COMMENT= Single sign-on multi-factor portal for web apps
WWW= https://www.authelia.com/docs/
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN_aarch64= imports modernc.org/libc/errno: build constraints exclude all Go files
BROKEN_armv6= imports modernc.org/libc/errno: build constraints exclude all Go files
BROKEN_armv7= imports modernc.org/libc/errno: build constraints exclude all Go files
BROKEN_i386= imports modernc.org/libc/errno: build constraints exclude all Go files
USES= cpe go:modules
GO_MODULE= github.com/authelia/authelia/v4
GO_TARGET= ./cmd/${PORTNAME}
USER= root # 'nobody' doesn't work well because authelia attempts to remove files, etc.
SUB_LIST= USER=${USER}
SUB_FILES= pkg-message
USE_RC_SUBR= ${PORTNAME}
post-patch: # extract -public-html
@${RM} -r ${WRKSRC}/internal/server/public_html
@${MV} ${WRKDIR}/public_html ${WRKSRC}/internal/server
@${CP} -r ${WRKSRC}/api ${WRKSRC}/internal/server/public_html/api
post-install: # install the config file
${INSTALL_DATA} ${WRKSRC}/config.template.yml ${STAGEDIR}${PREFIX}/etc/authelia.yml.sample
${INSTALL_DATA} ${FILESDIR}/simplified-authelia.yml ${STAGEDIR}${PREFIX}/etc
.include <bsd.port.mk>