Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Sep 2015 20:09:10 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r396715 - head/security/op
Message-ID:  <201509112009.t8BK9AsK020541@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
+@sample(,,600) etc/op.conf.sample
 man/man1/op.1.gz
-@sample etc/op.conf.sample
-bin/op
+@dir etc/op.d



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509112009.t8BK9AsK020541>