Index: head/sysutils/anvil/Makefile =================================================================== --- head/sysutils/anvil/Makefile (revision 446004) +++ head/sysutils/anvil/Makefile (revision 446005) @@ -1,30 +1,31 @@ # $FreeBSD$ PORTNAME= anvil PORTVERSION= 0.0.8 +PORTREVISION= 1 CATEGORIES= sysutils MAINTAINER= dvl@FreeBSD.org COMMENT= Tools for distributing ssl certificates LICENSE= BSD2CLAUSE USE_GITHUB= yes GH_ACCOUNT= dlangille USERS= anvil GROUPS= anvil SUB_FILES+= cert-shifter.conf.sample cert-puller.conf.sample pkg-install pkg-message NO_BUILD= yes do-install: ${MKDIR} ${STAGEDIR}${ETCDIR} ${MKDIR} ${STAGEDIR}/var/db/anvil ${INSTALL_DATA} ${WRKDIR}/cert-shifter.conf.sample ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${WRKDIR}/cert-puller.conf.sample ${STAGEDIR}${ETCDIR} ${INSTALL_SCRIPT} ${WRKSRC}/cert-shifter ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/cert-puller ${STAGEDIR}${PREFIX}/bin .include Index: head/sysutils/anvil/files/pkg-message.in =================================================================== --- head/sysutils/anvil/files/pkg-message.in (revision 446004) +++ head/sysutils/anvil/files/pkg-message.in (revision 446005) @@ -1,26 +1,48 @@ -After installing anvil, this is a short checklist of things to do: -* adjust anvil.conf +**************************************************************************** -* run 'cert-puller -s' to see the visudo settings you need +After installing anvil, this is a short checklist of things to do, depending +on which tools are using. -* adjust the service configuration files if cert filenames are different +For cert-puller: -* By default, anvil uses: + * adjust /usr/local/etc/anvil/cert-puller.conf - * example.org.fullchain.cer - * example.org.key + * run 'cert-puller -s' to see the visudo settings you need -* anvil does not distribute .key files. Do that manually. + * adjust the service configuration files (e.g. httpd.conf) if cert filenames + are different from defaults. By default, anvil uses: -* install the crontab for anvil: sudo crontab -e -u anvil: + * example.org.fullchain.cer + * example.org.key + * anvil does not distribute .key files. Do that manually. + + * install the crontab for anvil: sudo crontab -e -u anvil: + ### # use /bin/sh to run commands, overriding the default set by cron SHELL=/bin/sh # mail any output to here, no matter whose crontab this is MAILTO=you@example.org -7 13 * * * %%PREFIX%%/bin/cert-puller +7 13 * * * /usr/local/bin/cert-puller ### + +For cert-shifter: + + * adjust /usr/local/etc/anvil/cert-shifter.conf + + * install the crontab: + +### +# use /bin/sh to run commands, overriding the default set by cron +SHELL=/bin/sh +# mail any output to here, no matter whose crontab this is +MAILTO=you@example.org + +19 20 * * * /usr/local/bin/cert-shifter +### + +****************************************************************************