svn commit: r568983 - head/www/authelia
Yuri Victorovich
yuri at FreeBSD.org
Mon Mar 22 19:28:10 UTC 2021
Author: yuri
Date: Mon Mar 22 19:28:09 2021
New Revision: 568983
URL: https://svnweb.freebsd.org/changeset/ports/568983
Log:
www/authelia: Add pre-built public_html to the build to fix Authelia bug showing an empty page; Add config file sample
Reported by: upstream
Added:
head/www/authelia/pkg-plist (contents, props changed)
Modified:
head/www/authelia/Makefile
head/www/authelia/distinfo
Modified: head/www/authelia/Makefile
==============================================================================
--- head/www/authelia/Makefile Mon Mar 22 19:27:44 2021 (r568982)
+++ head/www/authelia/Makefile Mon Mar 22 19:28:09 2021 (r568983)
@@ -3,7 +3,10 @@
PORTNAME= authelia
DISTVERSIONPREFIX= v
DISTVERSION= 4.27.2
+PORTREVISION= 1
CATEGORIES= www
+DISTFILES= ${PORTNAME}-public-html-${DISTVERSION}${EXTRACT_SUFX}:public_html # html root directory needs to be built in a special way
+MASTER_SITES= LOCAL/yuri:public_html
MAINTAINER= yuri at FreeBSD.org
COMMENT= Single sign-on multi-factor portal for web apps
@@ -83,6 +86,12 @@ GH_TUPLE= \
valyala:fasthttp:v1.22.0:valyala_fasthttp/vendor/github.com/valyala/fasthttp
GO_TARGET= ./cmd/${PORTNAME}
-PLIST_FILES= bin/${PORTNAME}
+post-extract: # 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
.include <bsd.port.mk>
Modified: head/www/authelia/distinfo
==============================================================================
--- head/www/authelia/distinfo Mon Mar 22 19:27:44 2021 (r568982)
+++ head/www/authelia/distinfo Mon Mar 22 19:28:09 2021 (r568983)
@@ -1,4 +1,6 @@
-TIMESTAMP = 1615712139
+TIMESTAMP = 1616394280
+SHA256 (authelia-public-html-4.27.2.tar.gz) = ad0bdbee7eb382bf8a66b410f5cf75c0a3e87c4cf539ab2e45d51403139cef5f
+SIZE (authelia-public-html-4.27.2.tar.gz) = 967073
SHA256 (authelia-authelia-v4.27.2_GH0.tar.gz) = b451c544a0e0741fe60f8f3d5162db9b46e2e7d7d4255eefa7b7f1023f89015d
SIZE (authelia-authelia-v4.27.2_GH0.tar.gz) = 2065082
SHA256 (Azure-go-ntlmssp-66371956d46c_GH0.tar.gz) = 24b46602ef1adae845ec6938550d14ce9a93b4f2171201af0a29da421b611139
Added: head/www/authelia/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/authelia/pkg-plist Mon Mar 22 19:28:09 2021 (r568983)
@@ -0,0 +1,2 @@
+bin/authelia
+ at sample etc/authelia.yml.sample
More information about the svn-ports-all
mailing list