Subject: Re: Suggested patches for sysutils/ups-nut
To: None <tech-pkg@netbsd.org>
From: Simon J. Gerraty <sjg@crufty.net>
List: tech-pkg
Date: 10/14/2002 00:51:27
>When installed and running, sysutils/ups-nut runs upslog, which logs to
>/var/log/ups.  It would be nice if the log file was automatically rotated.
>So, perhaps the appended patches could be applied (shamelessly stolen from
>shells/bash2).

cut/paste bug?

>--- Makefile.dist	Thu Oct  3 11:21:08 2002
>+++ Makefile	Sun Oct 13 11:17:58 2002
>@@ -68,6 +68,10 @@
> 	${INSTALL_DATA} ${WRKSRC}/docs/*.txt ${NUT_DOCDIR}
> 	${INSTALL_DATA} ${WRKSRC}/docs/cables/*.txt ${NUT_DOCDIR}/cables
> 	${INSTALL_DATA} ${WRKSRC}/docs/drivers/*.txt ${NUT_DOCDIR}/drivers
>+	${TOUCH} /etc/newsyslog.conf
>+	${CP} /etc/newsyslog.conf /etc/newsyslog.conf.bak
>+	(${GREP} -v ${PREFIX}/bin/bash /etc/newsyslog.conf.bak || ${TRUE}; ${ECHO} "/var/log/ups		root:wheel	644  7    100  *    Z     /var/run/upslog.pid") >/etc/newsyslog.conf

why would you be excluding bash from newsyslog.conf? when appending
/var/log/ups? 

Thanks
--sjg