security/acme.sh: Use .conf suffix for /usr/local/etc/newsyslog.conf.d/
Rename files intended for installation to /usr/local/etc/newsyslog.conf.d/ to end with a '.conf' suffix. Proposed changes to /etc/newsyslog.conf will only include files from the /usr/local/etc/newsyslog.conf.d/ directory which end with '.conf' and do not beginning with a '.' character. https://reviews.freebsd.org/D17086 Approved by: dvl (maintainer) Differential Revision: https://reviews.freebsd.org/D17092
This commit is contained in:
parent
4302c9dd0e
commit
80a7367942
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=479341
4 changed files with 4 additions and 3 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
PORTNAME= acme.sh
|
||||
PORTVERSION= 2.7.9
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= security
|
||||
|
||||
MAINTAINER= dvl@FreeBSD.org
|
||||
|
@ -42,7 +43,7 @@ do-install:
|
|||
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/deploy ${STAGEDIR}${EXAMPLESDIR}/dnsapi
|
||||
( cd ${WRKSRC} && ${COPYTREE_BIN} deploy ${STAGEDIR}${EXAMPLESDIR} )
|
||||
( cd ${WRKSRC} && ${COPYTREE_BIN} dnsapi ${STAGEDIR}${EXAMPLESDIR} )
|
||||
${INSTALL_DATA} ${FILESDIR}/acme.sh ${STAGEDIR}${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${FILESDIR}/acme.sh.conf ${STAGEDIR}${EXAMPLESDIR}
|
||||
|
||||
do-install-DOCS-on:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
|
|
|
@ -13,7 +13,7 @@ In the %%EXAMPLESDIR%% directory, you can find the dnsapi
|
|||
scripts which will be useful if you decide to use dns-01 challenges. Also
|
||||
included are the deploy scripts.
|
||||
|
||||
A newsyslog.conf sample file is provided at %%EXAMPLESDIR%%/acme.sh
|
||||
A newsyslog.conf sample file is provided at %%EXAMPLESDIR%%/acme.sh.conf
|
||||
and you could create a symlink from that to %%PREFIX%%/etc/newsyslog.conf.d/
|
||||
|
||||
Your sample cronjob looks like this:
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
sbin/acme.sh
|
||||
%%EXAMPLESDIR%%/acme.sh
|
||||
%%EXAMPLESDIR%%/acme.sh.conf
|
||||
%%EXAMPLESDIR%%/deploy/README.md
|
||||
%%EXAMPLESDIR%%/deploy/apache.sh
|
||||
%%EXAMPLESDIR%%/deploy/cpanel_uapi.sh
|
||||
|
|
Loading…
Reference in a new issue