print/cups-base always remove etc/cups/certs directory when it is not empty. Fix: remove "rm -rf" line from pkg-plist if it does not bring any other trouble. --- /usr/ports/print/cups-base/pkg-plist.orig Fri Dec 31 04:32:51 2004 +++ /usr/ports/print/cups-base/pkg-plist Fri Jan 21 13:56:54 2005 @@ -1,6 +1,5 @@ @exec /bin/echo "===>" Stopping cupsd ... @exec /usr/bin/killall cupsd || true -@exec /bin/rm -fr %D/etc/cups/certs/* 2>/dev/null || true bin/cups-config @unexec if cmp -s %D/etc/cups/classes.conf.N %D/etc/cups/classes.conf; then rm -f %D/etc/cups/classes.conf; fi etc/cups/classes.conf.N How-To-Repeat: everytime when portupgrade print/cups-base.
Dear maintainer, please look into this issue! Volker
State Changed From-To: open->feedback Forwarded PR to maintainer. Indeed, removing all certs surely looks like a bad idea.
It seemes to be fixed by Maintainer with the fix about PR ports/76337. Thanks!
State Changed From-To: feedback->closed A fix from the maintainer is available in ports/76337.
On Fri, Jan 28, 2005 at 01:06:26PM +0900, Tsurutani Naoki wrote: > It seemes to be fixed by Maintainer with the fix about PR ports/76337. Hm, I don't think so. The "rm -rf" is still there. Volker -- http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME
Volker Stolz <vs@freebsd.org> wrote: > On Fri, Jan 28, 2005 at 01:06:26PM +0900, Tsurutani Naoki wrote: > > It seemes to be fixed by Maintainer with the fix about PR ports/76337. > > Hm, I don't think so. The "rm -rf" is still there. That's right. Entry still remains in Makefile. Please fix Makefile, please. --- /usr/ports/print/cups-base/Makefile.orig Fri Jan 28 04:32:58 2005 +++ /usr/ports/print/cups-base/Makefile Fri Jan 28 17:07:12 2005 @@ -37,7 +37,7 @@ pre-install: @${ECHO_MSG} "===>" Stopping cupsd ... -killall cupsd || ${TRUE} - ${RM} -fr ${PREFIX}/etc/cups/certs/* || ${TRUE} + ${RMDIR} ${PREFIX}/etc/cups/certs/* || ${TRUE} post-install: ${MKDIR} ${CUPS_ETCDIR}
State Changed From-To: closed->open It ain't fixed yet.
Responsible Changed From-To: freebsd-ports-bugs->vs I'll see this through.
On ÐÔ, 2005-01-28 at 17:11 +0900, Tsurutani Naoki wrote: > Volker Stolz <vs@freebsd.org> wrote: > > > On Fri, Jan 28, 2005 at 01:06:26PM +0900, Tsurutani Naoki wrote: > > > It seemes to be fixed by Maintainer with the fix about PR ports/76337. > > > > Hm, I don't think so. The "rm -rf" is still there. > > That's right. Entry still remains in Makefile. > Please fix Makefile, please. Stuff happens... Did you commit this already? If not, please do so... > --- /usr/ports/print/cups-base/Makefile.orig Fri Jan 28 04:32:58 2005 > +++ /usr/ports/print/cups-base/Makefile Fri Jan 28 17:07:12 2005 > @@ -37,7 +37,7 @@ > pre-install: > @${ECHO_MSG} "===>" Stopping cupsd ... > -killall cupsd || ${TRUE} > - ${RM} -fr ${PREFIX}/etc/cups/certs/* || ${TRUE} > + ${RMDIR} ${PREFIX}/etc/cups/certs/* || ${TRUE} > > post-install: > ${MKDIR} ${CUPS_ETCDIR} -- regards, Sergey Akifyev <http://asa.gascom.ru> AGAVA Software Company <http://www.agava.com> PGP key available from: ftp://ftp.gascom.ru/pub/PGP-keys/asa.txt
State Changed From-To: open->closed Fixed, thanks for your submission!