comparison Makefile @ 387:9921352225a9

Weekly periodic script to execute an action when any of given files are readable. Intended to trigger host-level actions after certbot actions in jails.
author Franz Glasner <fzglas.hg@dom66.de>
date Thu, 23 Feb 2023 09:08:20 +0100
parents 84d2735fe7f6
children 06fbd3c0f566
comparison
equal deleted inserted replaced
386:84d2735fe7f6 387:9921352225a9
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 .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 55 ${MKDIR} ${WRKSRC}/etc/periodic/weekly
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
56 ${CP} -v ${SRC}/${_ef} ${WRKSRC}/${_ef} 57 ${CP} -v ${SRC}/${_ef} ${WRKSRC}/${_ef}
57 ${SED} -i "" -e "s|@@SIMPLEVERSIONTAG@@|${SIMPLEVERSIONTAG}|" ${WRKSRC}/${_ef} 58 ${SED} -i "" -e "s|@@SIMPLEVERSIONTAG@@|${SIMPLEVERSIONTAG}|" ${WRKSRC}/${_ef}
58 .endfor 59 .endfor
59 60
60 post-extract-DOCS-on: 61 post-extract-DOCS-on:
81 .endfor 82 .endfor
82 ${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily 83 ${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily
83 .for _ps in 800.local-ipv6-refresh 750.local-trim-zfs 84 .for _ps in 800.local-ipv6-refresh 750.local-trim-zfs
84 ${INSTALL_SCRIPT} ${WRKSRC}/etc/periodic/daily/${_ps} ${STAGEDIR}${PREFIX}/etc/periodic/daily 85 ${INSTALL_SCRIPT} ${WRKSRC}/etc/periodic/daily/${_ps} ${STAGEDIR}${PREFIX}/etc/periodic/daily
85 .endfor 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
86 91
87 post-install-DOCS-on: 92 post-install-DOCS-on:
88 .for _mp in ${MANPAGES8:R} 93 .for _mp in ${MANPAGES8:R}
89 ${INSTALL_DATA} ${WRKSRC}/docs/_build/man/${_mp}.8 ${STAGEDIR}${PREFIX}/man/man8/${_mp}.8 94 ${INSTALL_DATA} ${WRKSRC}/docs/_build/man/${_mp}.8 ${STAGEDIR}${PREFIX}/man/man8/${_mp}.8
90 .endfor 95 .endfor