aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/py-pdagent/Makefile
diff options
context:
space:
mode:
authorfeld <feld@FreeBSD.org>2018-04-06 00:37:19 +0800
committerfeld <feld@FreeBSD.org>2018-04-06 00:37:19 +0800
commit7a5f53d04e35255f5dc6629ca866e3410eb7230a (patch)
treeaa71b5b11ca35eae630e0a29c92ada3fd7ed056c /net-mgmt/py-pdagent/Makefile
parent8d7c4e003f7f79ae04c2db763cc7340c19e55019 (diff)
downloadfreebsd-ports-gnome-7a5f53d04e35255f5dc6629ca866e3410eb7230a.tar.gz
freebsd-ports-gnome-7a5f53d04e35255f5dc6629ca866e3410eb7230a.tar.zst
freebsd-ports-gnome-7a5f53d04e35255f5dc6629ca866e3410eb7230a.zip
net-mgmt/py-pdagent: Add dedicated user/group
- Also add pkg-message informing how to permit users and services access PR: 227273
Diffstat (limited to 'net-mgmt/py-pdagent/Makefile')
-rw-r--r--net-mgmt/py-pdagent/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/net-mgmt/py-pdagent/Makefile b/net-mgmt/py-pdagent/Makefile
index b9ff149dfa00..291ea6cc3160 100644
--- a/net-mgmt/py-pdagent/Makefile
+++ b/net-mgmt/py-pdagent/Makefile
@@ -4,6 +4,7 @@
PORTNAME= pdagent
PORTVERSION= 1.4
DISTVERSIONPREFIX=v
+PORTREVISION= 1
CATEGORIES= net-mgmt python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -26,6 +27,9 @@ SUB_LIST+= PYTHON_CMD="${PYTHON_CMD}"
BINFILES= pd-queue pd-send pdagentd.py
+USERS= pdagent
+GROUPS= pdagent
+
do-patch:
${REINPLACE_CMD} -e 's|/var/lib/pdagent|/var/db/pdagent|' -e 's|/etc|${ETCDIR}|' ${WRKSRC}/pdagent/confdirs.py