Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
diff Makefile @ 186:39e5b947a28e
Create a periodic script to keep the IPv6 routing working.
Just added from existing sources.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Fri, 19 Aug 2022 01:17:02 +0200 |
| parents | b729fa681eb5 |
| children | 0ad969bd3c19 |
line wrap: on
line diff
--- a/Makefile Thu Aug 18 23:58:39 2022 +0200 +++ b/Makefile Fri Aug 19 01:17:02 2022 +0200 @@ -45,8 +45,8 @@ ${SED} -i "" -e "s|@@ETCDIR@@|${ETCDIR}|" ${WRKSRC}/${_rp} ${SED} -i "" -e "s|@@PKGORIGIN@@|${PKGORIGIN}|" ${WRKSRC}/${_rp} .endfor - ${MKDIR} ${WRKSRC}/etc -.for _ef in etc/package-mapping.conf.sample etc/pkgtools.conf.sample etc/bsmtp2dma.conf.sample + ${MKDIR} ${WRKSRC}/etc/periodic/daily +.for _ef in etc/package-mapping.conf.sample etc/pkgtools.conf.sample etc/bsmtp2dma.conf.sample etc/periodic/daily/800.local-ipv6-refresh ${CP} -v ${SRC}/${_ef} ${WRKSRC}/${_ef} ${SED} -i "" -e "s|\\\$$HGid\\\$$|\$$HGid: ${HGPATH}/${_ef} ${HGREVISION} ${HGDATE} ${HGAUTHOR} ${HGPHASE} \$$|" ${WRKSRC}/${_ef} ${SED} -i "" -e "s|@@PKGORIGIN@@|${PKGORIGIN}|" ${WRKSRC}/${_ef} @@ -60,5 +60,10 @@ .for _ef in package-mapping.conf.sample pkgtools.conf.sample bsmtp2dma.conf.sample ${INSTALL_DATA} ${WRKSRC}/etc/${_ef} ${STAGEDIR}${ETCDIR}/${_ef} .endfor + ${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily +.for _ps in 800.local-ipv6-refresh + ${INSTALL_SCRIPT} ${WRKSRC}/etc/periodic/daily/${_ps} ${STAGEDIR}${PREFIX}/etc/periodic/daily +.endfor + .include <bsd.port.mk>
