Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
diff Makefile @ 391:8b1740deedbb
Refactor: Renamed the weekly 800.local-certbot-post-deploy to a daily 720.local-triggered-action.
This is because the script is generic enough to not only work for
certbot (ACME, Let's Encrypt) related deploy actions.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Thu, 23 Feb 2023 21:56:54 +0100 |
| parents | 06fbd3c0f566 |
| children | def510fe4e31 |
line wrap: on
line diff
--- a/Makefile Thu Feb 23 09:28:34 2023 +0100 +++ b/Makefile Thu Feb 23 21:56:54 2023 +0100 @@ -52,8 +52,7 @@ ${SED} -i "" -e "s|@@SIMPLEVERSIONSTR@@|${SIMPLEVERSIONSTR}|" ${WRKSRC}/${_rp} .endfor ${MKDIR} ${WRKSRC}/etc/periodic/daily - ${MKDIR} ${WRKSRC}/etc/periodic/weekly -.for _ef in etc/package-mapping.conf.sample etc/pkgtools.conf.sample etc/bsmtp2dma.conf.sample etc/periodic/daily/800.local-ipv6-refresh etc/periodic/daily/750.local-trim-zfs etc/periodic/weekly/800.local-certbot-post-deploy +.for _ef in etc/package-mapping.conf.sample etc/pkgtools.conf.sample etc/bsmtp2dma.conf.sample etc/periodic/daily/800.local-ipv6-refresh etc/periodic/daily/750.local-trim-zfs etc/periodic/daily/720.local-triggered-action ${CP} -v ${SRC}/${_ef} ${WRKSRC}/${_ef} ${SED} -i "" -e "s|@@SIMPLEVERSIONTAG@@|${SIMPLEVERSIONTAG}|" ${WRKSRC}/${_ef} .endfor @@ -81,13 +80,9 @@ ${INSTALL_DATA} ${WRKSRC}/etc/${_ef} ${STAGEDIR}${ETCDIR}/${_ef} .endfor ${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily -.for _ps in 800.local-ipv6-refresh 750.local-trim-zfs +.for _ps in 800.local-ipv6-refresh 750.local-trim-zfs 720.local-triggered-action ${INSTALL_SCRIPT} ${WRKSRC}/etc/periodic/daily/${_ps} ${STAGEDIR}${PREFIX}/etc/periodic/daily .endfor - ${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/weekly -.for _ps in 800.local-certbot-post-deploy - ${INSTALL_SCRIPT} ${WRKSRC}/etc/periodic/weekly/${_ps} ${STAGEDIR}${PREFIX}/etc/periodic/weekly -.endfor post-install-DOCS-on: .for _mp in ${MANPAGES8:R}
