Date: Wed, 21 Aug 2019 05:36:49 +0000 (UTC) From: Koichiro Iwao <meta@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r509489 - head/security/acmed Message-ID: <201908210536.x7L5an46008741@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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 +@sample %%ETCDIR%%/acmed.toml.sample +@sample %%ETCDIR%%/default_hooks.toml.sample man/man5/acmed.toml.5.gz man/man8/acmed.8.gz man/man8/tacd.8.gz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908210536.x7L5an46008741>