aboutsummaryrefslogtreecommitdiff
path: root/www/adguardhome/Makefile
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2021-04-25 20:51:02 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2021-04-25 22:41:21 +0000
commitd8cfb1d029da2fd56d4e6d41229496fd4aa43421 (patch)
tree3d5b0c789eedd82224a1f039535ac0f35ab510f0 /www/adguardhome/Makefile
parent59e3137d1d54cc18a61b11461d4cc65cd38b0427 (diff)
downloadports-d8cfb1d029da2fd56d4e6d41229496fd4aa43421.tar.gz
ports-d8cfb1d029da2fd56d4e6d41229496fd4aa43421.zip
www/adguardhome: Add rc script and pkg-message
Diffstat (limited to 'www/adguardhome/Makefile')
-rw-r--r--www/adguardhome/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/www/adguardhome/Makefile b/www/adguardhome/Makefile
index 77f3e49d4b3c..3ec025b1cf10 100644
--- a/www/adguardhome/Makefile
+++ b/www/adguardhome/Makefile
@@ -1,7 +1,7 @@
PORTNAME= adguardhome
DISTVERSIONPREFIX= v
DISTVERSION= 0.105.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www
MAINTAINER= yuri@FreeBSD.org
@@ -23,6 +23,10 @@ GO_MODULE= github.com/AdguardTeam/AdGuardHome
DEV_UPDATE_MODE= no
+USER= root # it has to run as root because it listens on the privileged DNS port
+SUB_LIST= USER=${USER}
+USE_RC_SUBR= ${PORTNAME}
+
.if (${DEV_UPDATE_MODE} == "yes")
BUILD_DEPENDS= npm:www/npm \
yarn:www/yarn