Date: Thu, 28 Mar 2019 14:15:44 +0100 From: Mathieu Arnold <mat@FreeBSD.org> To: Cy Schubert <cy@FreeBSD.org> Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r497002 - head/sysutils/nut Message-ID: <20190328131544.jhzpimdif66g7o5d@ogg.in.absolight.net> In-Reply-To: <201903280100.x2S10ot0061130@repo.freebsd.org> References: <201903280100.x2S10ot0061130@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--dtsb7xoy6ufbapgs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 28, 2019 at 01:00:50AM +0000, Cy Schubert wrote: > Author: cy > Date: Thu Mar 28 01:00:49 2019 > New Revision: 497002 > URL: https://svnweb.freebsd.org/changeset/ports/497002 >=20 > Log: > Make the two new sample files actually samples. While here mark all > sample files as samples. > =20 > Reported by: mat@ >=20 > Modified: > head/sysutils/nut/Makefile > head/sysutils/nut/pkg-plist >=20 > Modified: head/sysutils/nut/Makefile > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- head/sysutils/nut/Makefile Thu Mar 28 00:40:37 2019 (r497001) > +++ head/sysutils/nut/Makefile Thu Mar 28 01:00:49 2019 (r497002) > @@ -3,7 +3,7 @@ > =20 > PORTNAME=3D nut > PORTVERSION=3D 2.7.4 > -PORTREVISION=3D 10 > +PORTREVISION=3D 11 > CATEGORIES=3D sysutils > MASTER_SITES=3D http://www.networkupstools.org/source/${PORTVERSION:R}/ > DISTFILES=3D ${DISTNAME}${EXTRACT_SUFX} > @@ -189,9 +189,9 @@ post-install: > .endfor > .endif > @${MKDIR} ${STAGEDIR}${PREFIX}/etc/syslog.d > - ${INSTALL_DATA} ${PATCHDIR}/nut.syslog ${STAGEDIR}${PREFIX}/etc/syslog.= d/nut > + ${INSTALL_DATA} ${PATCHDIR}/nut.syslog ${STAGEDIR}${PREFIX}/etc/syslog.= d/nut.sample > @${MKDIR} ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d > - ${INSTALL_DATA} ${PATCHDIR}/nut.newsyslog ${STAGEDIR}${PREFIX}/etc/news= yslog.conf.d/nut.conf > + ${INSTALL_DATA} ${PATCHDIR}/nut.newsyslog ${STAGEDIR}${PREFIX}/etc/news= yslog.conf.d/nut.conf.sample > ${MKDIR} ${STAGEDIR}/var/log/nut As I said in my previous email, you MUST NOT put the sample files in the ".d" directory as both syslogd and newsyslog grab all the files from the directory, you end up having the definitions twice. You MUST store the =2Esample files somewhere else. > .include <bsd.port.mk> >=20 > Modified: head/sysutils/nut/pkg-plist > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- head/sysutils/nut/pkg-plist Thu Mar 28 00:40:37 2019 (r497001) > +++ head/sysutils/nut/pkg-plist Thu Mar 28 01:00:49 2019 (r497002) > @@ -1,24 +1,24 @@ > %%NUT_CGI%%%%CGIDIR%%/upsimage.cgi > %%NUT_CGI%%%%CGIDIR%%/upsset.cgi > %%NUT_CGI%%%%CGIDIR%%/upsstats.cgi > -%%NUT_CGI%%%%CGIETCDIR%%hosts.conf.sample > -%%NUT_CGI%%%%CGIETCDIR%%upsset.conf.sample > -%%NUT_CGI%%%%CGIETCDIR%%upsstats.html.sample > -%%NUT_CGI%%%%CGIETCDIR%%upsstats-single.html.sample > +%%NUT_CGI%%@sample %%CGIETCDIR%%hosts.conf.sample > +%%NUT_CGI%%@sample %%CGIETCDIR%%upsset.conf.sample > +%%NUT_CGI%%@sample %%CGIETCDIR%%upsstats.html.sample > +%%NUT_CGI%%@sample %%CGIETCDIR%%upsstats-single.html.sample > %%NUT_CGI%%%%WWWDIR%%/bottom.html > %%NUT_CGI%%%%WWWDIR%%/header.html > %%NUT_CGI%%%%WWWDIR%%/index.html > %%NUT_CGI%%%%WWWDIR%%/nut-banner.png > %%ETCDIR%%/cmdvartab > %%ETCDIR%%/driver.list > -%%ETCDIR%%/nut.conf.sample > -%%ETCDIR%%/ups.conf.sample > -%%ETCDIR%%/upsd.conf.sample > -%%ETCDIR%%/upsd.users.sample > -%%ETCDIR%%/upsmon.conf.sample > -%%ETCDIR%%/upssched.conf.sample > -etc/newsyslog.conf.d/nut.conf > -etc/syslog.d/nut > +@sample %%ETCDIR%%/nut.conf.sample > +@sample %%ETCDIR%%/ups.conf.sample > +@sample %%ETCDIR%%/upsd.conf.sample > +@sample %%ETCDIR%%/upsd.users.sample > +@sample %%ETCDIR%%/upsmon.conf.sample > +@sample %%ETCDIR%%/upssched.conf.sample > +@sample etc/newsyslog.conf.d/nut.conf.sample > +@sample etc/syslog.d/nut.sample > %%NUT_USB%%etc/devd/nut-usb.conf > @stopdaemon nut_upsmon > @stopdaemon nut_upslog >=20 >=20 --=20 Mathieu Arnold --dtsb7xoy6ufbapgs Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEEOraXidLtEhBkQLpbOkUW81GDzkgFAlycyP9fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNB QjY5Nzg5RDJFRDEyMTA2NDQwQkE1QjNBNDUxNkYzNTE4M0NFNDgACgkQOkUW81GD zkgp+Q//cQbOtyTLWQuR73kb6CgtPHZUp56ayst80mt1q9UYohvGK/57gi/pNxPt AdoFGyG7dVep3mnK/ahG5X2Fyh2jaS62R7cUQHyaUSksGbqL5c9xIPdXVlamw04r X6TV7DSOc5P0AnnQJDaHiBRyCPbKtey3bW7dvBBK1dG2w96pQzZXD/lMx/KHPTsy JYY8/gkch2stz3PV5zMqK4bGD7PzrHwX4UAX4y/NfiTdFW5c0+DOTvqu2qhXH3W+ vxO0Yukqt41vfCdaEZ4ea95jxzYHwrL5AJEqdcO7UbetvT0qPjQKkYytz0YciKqE mppZoENjQ4983AAfk83U3xeb8Wl/0cqslD2fSZrmPuB7eVgOXOYjVLaujuJfZWJp bO4ZVOnAt9FjWaZJ5U7b0eyvZ5Uiv8RcQ4n3COc75guVurtrFI9DeCej9q4j+GBa vyUh22VtFZuq61dHfG2KBhQSFDtrDWRbx0afgDUrO3jllr/Y/7Cu7GofZSjNm2w4 sbB5ZdhsFnRpg1rHMv59waxpqE//SiCoKmfjYrik4p9/x9yJnQ0fwNEMj36N+he/ MnZC50iAlLHBMPMcslfMF4pg8tF5oRu4ahgloJwx638K2w5UakkVcQeHjPd2EdYt TtxGe6RAgHx1U0LL2lFlXyLPVUbD8L9cspY93c/HlPtLECphypA= =2pbQ -----END PGP SIGNATURE----- --dtsb7xoy6ufbapgs--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190328131544.jhzpimdif66g7o5d>