Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 390:015a9d7e3d55 | 391:8b1740deedbb |
|---|---|
| 50 ${SED} -i "" -e "s|@@VERSIONTAG@@|${VERSIONTAG}|" ${WRKSRC}/${_rp} | 50 ${SED} -i "" -e "s|@@VERSIONTAG@@|${VERSIONTAG}|" ${WRKSRC}/${_rp} |
| 51 ${SED} -i "" -e "s|@@SIMPLEVERSIONTAG@@|${SIMPLEVERSIONTAG}|" ${WRKSRC}/${_rp} | 51 ${SED} -i "" -e "s|@@SIMPLEVERSIONTAG@@|${SIMPLEVERSIONTAG}|" ${WRKSRC}/${_rp} |
| 52 ${SED} -i "" -e "s|@@SIMPLEVERSIONSTR@@|${SIMPLEVERSIONSTR}|" ${WRKSRC}/${_rp} | 52 ${SED} -i "" -e "s|@@SIMPLEVERSIONSTR@@|${SIMPLEVERSIONSTR}|" ${WRKSRC}/${_rp} |
| 53 .endfor | 53 .endfor |
| 54 ${MKDIR} ${WRKSRC}/etc/periodic/daily | 54 ${MKDIR} ${WRKSRC}/etc/periodic/daily |
| 55 ${MKDIR} ${WRKSRC}/etc/periodic/weekly | 55 .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 |
| 56 .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 | |
| 57 ${CP} -v ${SRC}/${_ef} ${WRKSRC}/${_ef} | 56 ${CP} -v ${SRC}/${_ef} ${WRKSRC}/${_ef} |
| 58 ${SED} -i "" -e "s|@@SIMPLEVERSIONTAG@@|${SIMPLEVERSIONTAG}|" ${WRKSRC}/${_ef} | 57 ${SED} -i "" -e "s|@@SIMPLEVERSIONTAG@@|${SIMPLEVERSIONTAG}|" ${WRKSRC}/${_ef} |
| 59 .endfor | 58 .endfor |
| 60 | 59 |
| 61 post-extract-DOCS-on: | 60 post-extract-DOCS-on: |
| 79 ${MKDIR} ${STAGEDIR}${ETCDIR} | 78 ${MKDIR} ${STAGEDIR}${ETCDIR} |
| 80 .for _ef in package-mapping.conf.sample pkgtools.conf.sample bsmtp2dma.conf.sample | 79 .for _ef in package-mapping.conf.sample pkgtools.conf.sample bsmtp2dma.conf.sample |
| 81 ${INSTALL_DATA} ${WRKSRC}/etc/${_ef} ${STAGEDIR}${ETCDIR}/${_ef} | 80 ${INSTALL_DATA} ${WRKSRC}/etc/${_ef} ${STAGEDIR}${ETCDIR}/${_ef} |
| 82 .endfor | 81 .endfor |
| 83 ${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily | 82 ${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily |
| 84 .for _ps in 800.local-ipv6-refresh 750.local-trim-zfs | 83 .for _ps in 800.local-ipv6-refresh 750.local-trim-zfs 720.local-triggered-action |
| 85 ${INSTALL_SCRIPT} ${WRKSRC}/etc/periodic/daily/${_ps} ${STAGEDIR}${PREFIX}/etc/periodic/daily | 84 ${INSTALL_SCRIPT} ${WRKSRC}/etc/periodic/daily/${_ps} ${STAGEDIR}${PREFIX}/etc/periodic/daily |
| 86 .endfor | |
| 87 ${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/weekly | |
| 88 .for _ps in 800.local-certbot-post-deploy | |
| 89 ${INSTALL_SCRIPT} ${WRKSRC}/etc/periodic/weekly/${_ps} ${STAGEDIR}${PREFIX}/etc/periodic/weekly | |
| 90 .endfor | 85 .endfor |
| 91 | 86 |
| 92 post-install-DOCS-on: | 87 post-install-DOCS-on: |
| 93 .for _mp in ${MANPAGES8:R} | 88 .for _mp in ${MANPAGES8:R} |
| 94 ${INSTALL_DATA} ${WRKSRC}/docs/_build/man/${_mp}.8 ${STAGEDIR}${PREFIX}/man/man8/${_mp}.8 | 89 ${INSTALL_DATA} ${WRKSRC}/docs/_build/man/${_mp}.8 ${STAGEDIR}${PREFIX}/man/man8/${_mp}.8 |
