aboutsummaryrefslogtreecommitdiff
path: root/security/op
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-11 20:09:09 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-11 20:09:09 +0000
commitcf0c7338a1264daee067f2b99aa0bb24f791b092 (patch)
treee2e444ac0c81261cd1de73f487337b7b7db75fe1 /security/op
parent2775b7af48c2188c976774276b656f4f5614ecc2 (diff)
downloadports-cf0c7338a1264daee067f2b99aa0bb24f791b092.tar.gz
ports-cf0c7338a1264daee067f2b99aa0bb24f791b092.zip
- No need to install .conf when it's handled by @sample
- Register file permissions in plist - Add empty directory to plist Approved by: portmgr blanket
Notes
Notes: svn path=/head/; revision=396715
Diffstat (limited to 'security/op')
-rw-r--r--security/op/Makefile6
-rw-r--r--security/op/pkg-plist5
2 files changed, 4 insertions, 7 deletions
diff --git a/security/op/Makefile b/security/op/Makefile
index 803b0a95c962..4651f6b9a5af 100644
--- a/security/op/Makefile
+++ b/security/op/Makefile
@@ -3,6 +3,7 @@
PORTNAME= op
PORTVERSION= 1.32
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://swapoff.org/files/op/ \
LOCAL/ehaupt
@@ -17,9 +18,4 @@ post-install:
${INSTALL_DATA} -m 0600 ${WRKSRC}/${PORTNAME}.conf \
${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample
-.if !exists(${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf)
- ${INSTALL_DATA} -m 0600 ${WRKSRC}/${PORTNAME}.conf \
- ${STAGEDIR}${PREFIX}/etc
-.endif
-
.include <bsd.port.mk>
diff --git a/security/op/pkg-plist b/security/op/pkg-plist
index 5d678ec8044c..3ac3227e1d26 100644
--- a/security/op/pkg-plist
+++ b/security/op/pkg-plist
@@ -1,3 +1,4 @@
+@(,,4755) bin/op
+@sample(,,600) etc/op.conf.sample
man/man1/op.1.gz
-@sample etc/op.conf.sample
-bin/op
+@dir etc/op.d