Date: Wed, 27 Mar 2019 12:16:08 +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: r496686 - in head/sysutils/nut: . files Message-ID: <20190327111608.wkgqqzwlbmkyqtkv@atuin.in.mat.cc> In-Reply-To: <201903231934.x2NJY7bl078691@repo.freebsd.org> References: <201903231934.x2NJY7bl078691@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--ggkuxknsxeql4p7e Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Mar 23, 2019 at 07:34:07PM +0000, Cy Schubert wrote: > Log: > Move default log location so it can be rotated without root privileges. > =20 > Add syslog.conf and newsyslog.conf files for installation into their > respective .d directories in $PREFIX. > =20 > Allow upslog log format to be customized. > =20 > + @${MKDIR} ${STAGEDIR}${PREFIX}/etc/syslog.d > + ${INSTALL_DATA} ${PATCHDIR}/nut.syslog ${STAGEDIR}${PREFIX}/etc/syslog.= d/nut > + @${MKDIR} ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d > + ${INSTALL_DATA} ${PATCHDIR}/nut.newsyslog ${STAGEDIR}${PREFIX}/etc/news= yslog.conf.d/nut.conf > + ${MKDIR} ${STAGEDIR}/var/log/nut > +etc/newsyslog.conf.d/nut.conf > +etc/syslog.d/nut Both should be using @sample to allow modification by the user. (Also, you cannot put the original files in the same directory as both newsyslog and syslog grab every file.) --=20 Mathieu Arnold --ggkuxknsxeql4p7e Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEEOraXidLtEhBkQLpbOkUW81GDzkgFAlybW3hfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNB QjY5Nzg5RDJFRDEyMTA2NDQwQkE1QjNBNDUxNkYzNTE4M0NFNDgACgkQOkUW81GD zkivDBAAhFDzYA8Uo4pvzKu9KAh2CTDHg6LOx4/OH5DdKaRNLOhdaQxgPyZgVT6/ rrDgqWiMQ1GjAFh1UuCttfGoPkdIm0zVkyuRAhDG7Ej5ThL2mnFDjRBDwPWFifl4 h6Euo/gWMmUlEfZxUdhUOjukyIGoKaFR/fXIz3xPB4nXsQzxEPlsjMFu2v1LwiPM v0UtyWjH6xPa2e2LFRAMw4/FZV+lOgcTHcAyfgbTWLvK7doReoLxOc4fLXYthnER LZ7QRQkCmp5GR3t37lkGCKbYgQ4ua+QtEimhEQ1wAlcfSnDif55zade9N+2VO2V2 KYmTjDd9/1hOlJrUCPH4HEERq2qfyOssKn1fm6XiBzaeGljUR22fzaQt8Q5VEGMF wnUsBvcVUmAMAXOjkPxtNoIAHI3h0vsNodLgawQ7ugzCpd7d191ej3VxPOqbVaN7 q1PIpoG3H6MpFdgJ+t8sWnhhkCi91Q8qOOHnPMeTsh1rXzMfcGeAMYSU4PrEKncJ 5Tv5n+/Ess/zhl6zFa16zX7eGuVD7Hi9bUtV166bDybWiNf7DRVgU3Z0+4JbjVrp 40KltfQBAQ/ZAtBM1oVxmPovMZ/mgRH6cQu6cNbxRLQfArKVNg0cqrtIccmtgGAZ OOdPB+rEGNtWHwfB7q5UH4sz4jol/yDNUEleq3i3oK2TPAbEOTI= =5zYP -----END PGP SIGNATURE----- --ggkuxknsxeql4p7e--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190327111608.wkgqqzwlbmkyqtkv>