svn commit: r509489 - head/security/acmed

Koichiro Iwao meta at FreeBSD.org
Wed Aug 21 05:36:49 UTC 2019


Author: meta
Date: Wed Aug 21 05:36:48 2019
New Revision: 509489
URL: https://svnweb.freebsd.org/changeset/ports/509489

Log:
  security/acmed: use @sample
  
  not to overwrite config files on every upgrade or reinstall.
  
  PR:		239968
  Reported by:	adamw

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

Modified: head/security/acmed/Makefile
==============================================================================
--- head/security/acmed/Makefile	Wed Aug 21 03:48:44 2019	(r509488)
+++ head/security/acmed/Makefile	Wed Aug 21 05:36:48 2019	(r509489)
@@ -3,6 +3,7 @@
 PORTNAME=	acmed
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.6.0
+PORTREVISION=	1
 CATEGORIES=	security
 
 MAINTAINER=	greg at unrelenting.technology
@@ -138,8 +139,8 @@ post-install:
 	${INSTALL_MAN} ${WRKSRC}/man/en/acmed.toml.5 ${STAGEDIR}${MAN5PREFIX}/man/man5/
 	${INSTALL_MAN} ${WRKSRC}/man/en/tacd.8 ${STAGEDIR}${MAN8PREFIX}/man/man8/
 	${MKDIR} ${STAGEDIR}${PREFIX}/etc/acmed
-	${INSTALL_DATA} ${WRKSRC}/acmed/config/acmed.toml ${STAGEDIR}${PREFIX}/etc/acmed/
-	${INSTALL_DATA} ${WRKSRC}/acmed/config/default_hooks.toml ${STAGEDIR}${PREFIX}/etc/acmed/
+	${INSTALL_DATA} ${WRKSRC}/acmed/config/acmed.toml ${STAGEDIR}${PREFIX}/etc/acmed/acmed.toml.sample
+	${INSTALL_DATA} ${WRKSRC}/acmed/config/default_hooks.toml ${STAGEDIR}${PREFIX}/etc/acmed/default_hooks.toml.sample
 	${MKDIR} ${STAGEDIR}${PREFIX}/etc/acmed/accounts
 	${MKDIR} ${STAGEDIR}${PREFIX}/etc/acmed/certs
 

Modified: head/security/acmed/pkg-plist
==============================================================================
--- head/security/acmed/pkg-plist	Wed Aug 21 03:48:44 2019	(r509488)
+++ head/security/acmed/pkg-plist	Wed Aug 21 05:36:48 2019	(r509489)
@@ -1,7 +1,7 @@
 bin/acmed
 bin/tacd
-%%ETCDIR%%/acmed.toml
-%%ETCDIR%%/default_hooks.toml
+ at sample %%ETCDIR%%/acmed.toml.sample
+ at sample %%ETCDIR%%/default_hooks.toml.sample
 man/man5/acmed.toml.5.gz
 man/man8/acmed.8.gz
 man/man8/tacd.8.gz


More information about the svn-ports-head mailing list