# HG changeset patch # User Franz Glasner # Date 1571297047 -7200 # Node ID 993fecdf2a709c5bbd89c5bd45d35379bd3345ff # Parent 54de2955bfa957ba538f14d7ee12489d196a4a38 Rename etc/tools.conf to etc/pkgtools.conf. Because it is a pkg-related configuration -- and there are other configuration files. diff -r 54de2955bfa9 -r 993fecdf2a70 Makefile --- a/Makefile Thu Oct 17 09:18:44 2019 +0200 +++ b/Makefile Thu Oct 17 09:24:07 2019 +0200 @@ -47,7 +47,7 @@ ${SED} -i "" -e "s|@@PKGORIGIN@@|${PKGORIGIN}|" ${WRKSRC}/${_rp} .endfor ${MKDIR} ${WRKSRC}/etc -.for _ef in etc/package-mapping.conf.sample etc/tools.conf.sample etc/bsmtp2dma.conf.sample +.for _ef in etc/package-mapping.conf.sample etc/pkgtools.conf.sample etc/bsmtp2dma.conf.sample ${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} @@ -58,7 +58,7 @@ ${INSTALL_SCRIPT} ${WRKSRC}/${_rp} ${STAGEDIR}${PREFIX}/${_rp} .endfor ${MKDIR} ${STAGEDIR}${ETCDIR} -.for _ef in package-mapping.conf.sample tools.conf.sample bsmtp2dma.conf.sample +.for _ef in package-mapping.conf.sample pkgtools.conf.sample bsmtp2dma.conf.sample ${INSTALL_DATA} ${WRKSRC}/etc/${_ef} ${STAGEDIR}${ETCDIR}/${_ef} .endfor diff -r 54de2955bfa9 -r 993fecdf2a70 etc/pkgtools.conf.sample --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/etc/pkgtools.conf.sample Thu Oct 17 09:24:07 2019 +0200 @@ -0,0 +1,3 @@ +# Shell (sh) script to configure tools in local-bsdtools +# @(#)@@PKGORIGIN@@ $HGid$ +# diff -r 54de2955bfa9 -r 993fecdf2a70 etc/tools.conf.sample --- a/etc/tools.conf.sample Thu Oct 17 09:18:44 2019 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,3 +0,0 @@ -# Shell (sh) script to configure tools in local-bsdtools -# @(#)@@PKGORIGIN@@ $HGid$ -# diff -r 54de2955bfa9 -r 993fecdf2a70 pkg-plist --- a/pkg-plist Thu Oct 17 09:18:44 2019 +0200 +++ b/pkg-plist Thu Oct 17 09:24:07 2019 +0200 @@ -5,6 +5,6 @@ sbin/check-ports sbin/fjail sbin/fpkg -@sample %%ETCDIR%%/tools.conf.sample +@sample %%ETCDIR%%/bsmtp2dma.conf.sample @sample %%ETCDIR%%/package-mapping.conf.sample -@sample %%ETCDIR%%/bsmtp2dma.conf.sample +@sample %%ETCDIR%%/pkgtools.conf.sample diff -r 54de2955bfa9 -r 993fecdf2a70 sbin/check-ports --- a/sbin/check-ports Thu Oct 17 09:18:44 2019 +0200 +++ b/sbin/check-ports Thu Oct 17 09:24:07 2019 +0200 @@ -21,7 +21,7 @@ # : ${CONFIGDIR:=@@ETCDIR@@} -test -r "${CONFIGDIR}/tools.conf" && . "${CONFIGDIR}/tools.conf" +test -r "${CONFIGDIR}/pkgtools.conf" && . "${CONFIGDIR}/pkgtools.conf" # # Mapping configuration: installed package name -> original package name diff -r 54de2955bfa9 -r 993fecdf2a70 sbin/fpkg --- a/sbin/fpkg Thu Oct 17 09:18:44 2019 +0200 +++ b/sbin/fpkg Thu Oct 17 09:24:07 2019 +0200 @@ -79,7 +79,7 @@ # : ${CONFIGDIR:=@@ETCDIR@@} -test -r "${CONFIGDIR}/tools.conf" && . "${CONFIGDIR}/tools.conf" +test -r "${CONFIGDIR}/pkgtools.conf" && . "${CONFIGDIR}/pkgtools.conf" : ${FPKG_AUDIT_FLAGS:=-Fr} : ${FPKG_UPDATE_FLAGS:=}