svn commit: r396715 - head/security/op

Dmitry Marakasov amdmi3 at FreeBSD.org
Fri Sep 11 20:09:11 UTC 2015


Author: amdmi3
Date: Fri Sep 11 20:09:09 2015
New Revision: 396715
URL: https://svnweb.freebsd.org/changeset/ports/396715

Log:
  - 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

Modified:
  head/security/op/Makefile
  head/security/op/pkg-plist

Modified: head/security/op/Makefile
==============================================================================
--- head/security/op/Makefile	Fri Sep 11 19:52:59 2015	(r396714)
+++ head/security/op/Makefile	Fri Sep 11 20:09:09 2015	(r396715)
@@ -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>

Modified: head/security/op/pkg-plist
==============================================================================
--- head/security/op/pkg-plist	Fri Sep 11 19:52:59 2015	(r396714)
+++ head/security/op/pkg-plist	Fri Sep 11 20:09:09 2015	(r396715)
@@ -1,3 +1,4 @@
+@(,,4755) bin/op
+ at sample(,,600) etc/op.conf.sample
 man/man1/op.1.gz
- at sample etc/op.conf.sample
-bin/op
+ at dir etc/op.d


More information about the svn-ports-head mailing list