From turutani@polymer3.scphys.kyoto-u.ac.jp  Fri Jan 21 05:03:58 2005
Return-Path: <turutani@polymer3.scphys.kyoto-u.ac.jp>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 2A50016A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 21 Jan 2005 05:03:58 +0000 (GMT)
Received: from polymer3.scphys.kyoto-u.ac.jp (polymer3.scphys.kyoto-u.ac.jp [130.54.56.153])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 2A59743D45
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 21 Jan 2005 05:03:57 +0000 (GMT)
	(envelope-from turutani@polymer3.scphys.kyoto-u.ac.jp)
Received: from polymer3.scphys.kyoto-u.ac.jp (localhost [127.0.0.1])
	by polymer3.scphys.kyoto-u.ac.jp (8.12.11/8.12.11/20030426-1) with ESMTP id j0L53sEN046789;
	Fri, 21 Jan 2005 14:03:54 +0900 (JST)
	(envelope-from turutani@polymer3.scphys.kyoto-u.ac.jp)
Received: (from root@localhost)
	by polymer3.scphys.kyoto-u.ac.jp (8.12.11/8.12.11/Submit) id j0L53rra046788;
	Fri, 21 Jan 2005 14:03:53 +0900 (JST)
	(envelope-from turutani)
Message-Id: <200501210503.j0L53rra046788@polymer3.scphys.kyoto-u.ac.jp>
Date: Fri, 21 Jan 2005 14:03:53 +0900 (JST)
From: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
Reply-To: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
To: FreeBSD-gnats-submit@freebsd.org
Subject: print/cups-base removes etc/cups/certs directory
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         76522
>Category:       ports
>Synopsis:       print/cups-base removes etc/cups/certs directory
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    vs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 21 05:10:32 GMT 2005
>Closed-Date:    Fri Jan 28 10:44:06 GMT 2005
>Last-Modified:  Fri Jan 28 10:44:06 GMT 2005
>Originator:     Tsurutani Naoki
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
>Environment:
System: FreeBSD polymer3.scphys.kyoto-u.ac.jp 4.10-STABLE FreeBSD 4.10-STABLE #15: Sat Aug 7 13:16:19 JST 2004 root@polymer3.scphys.kyoto-u.ac.jp:/usr/local/work/usr/obj/usr/src/sys/POLYMER i386


	
>Description:
	print/cups-base always remove etc/cups/certs directory when it is
	not empty.
	
>How-To-Repeat:
	everytime when portupgrade print/cups-base.
	
>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

	


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: vs 
State-Changed-When: Fri Jan 21 10:52:21 GMT 2005 
State-Changed-Why:  
Forwarded PR to maintainer. 
Indeed, removing all certs surely looks like a bad idea. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=76522 

From: "Volker Stolz" <vs@freebsd.org>
To: freebsd-gnats-submit@freebsd.org, turutani@scphys.kyoto-u.ac.jp,
	asa@gascom.ru
Cc:  
Subject: Re: ports/76522: print/cups-base removes etc/cups/certs directory
Date: Fri, 21 Jan 2005 11:49:43 +0100

 Dear maintainer, please look into this issue!
 
 Volker

From: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
To: "Volker Stolz" <vs@freebsd.org>,
	freebsd-gnats-submit@freebsd.org, asa@gascom.ru
Cc:  
Subject: Re: ports/76522: print/cups-base removes etc/cups/certs directory
Date: Fri, 28 Jan 2005 13:06:26 +0900

 It seemes to be fixed by Maintainer with the fix about PR ports/76337.
 Thanks!
State-Changed-From-To: feedback->closed 
State-Changed-By: linimon 
State-Changed-When: Fri Jan 28 05:35:57 GMT 2005 
State-Changed-Why:  
A fix from the maintainer is available in ports/76337. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=76522 

From: Volker Stolz <vs@freebsd.org>
To: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
Cc: freebsd-gnats-submit@freebsd.org, asa@gascom.ru
Subject: Re: ports/76522: print/cups-base removes etc/cups/certs directory
Date: Fri, 28 Jan 2005 08:52:24 +0100

 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

From: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
To: Volker Stolz <vs@freebsd.org>
Cc: freebsd-gnats-submit@freebsd.org, asa@agava.com
Subject: Re: ports/76522: print/cups-base removes etc/cups/certs directory
Date: Fri, 28 Jan 2005 17:11:44 +0900

 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 
State-Changed-By: vs 
State-Changed-When: Fri Jan 28 08:22:11 GMT 2005 
State-Changed-Why:  
It ain't fixed yet. 


Responsible-Changed-From-To: freebsd-ports-bugs->vs 
Responsible-Changed-By: vs 
Responsible-Changed-When: Fri Jan 28 08:22:11 GMT 2005 
Responsible-Changed-Why:  
I'll see this through. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=76522 

From: Sergey Akifyev <asa@agava.com>
To: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
Cc: Volker Stolz <vs@freebsd.org>, freebsd-gnats-submit@freebsd.org
Subject: Re: ports/76522: print/cups-base removes etc/cups/certs directory
Date: Fri, 28 Jan 2005 11:42:29 +0300

 --=-LYnRhHhm37cMH8qMvmFf
 Content-Type: text/plain; charset=koi8-r
 Content-Transfer-Encoding: quoted-printable
 
 On =D0=D4, 2005-01-28 at 17:11 +0900, Tsurutani Naoki wrote:
 > Volker Stolz <vs@freebsd.org> wrote:
 >=20
 > > 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=
 .
 > >=20
 > > Hm, I don't think so. The "rm -rf" is still there.
 >=20
 > 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} "=3D=3D=3D>" Stopping cupsd ...
 > 	-killall cupsd || ${TRUE}
 > -	${RM} -fr ${PREFIX}/etc/cups/certs/* || ${TRUE}
 > +	${RMDIR} ${PREFIX}/etc/cups/certs/* || ${TRUE}
 >=20
 >  post-install:
 > 	${MKDIR} ${CUPS_ETCDIR}
 --=20
 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
 
 --=-LYnRhHhm37cMH8qMvmFf
 Content-Type: application/pgp-signature; name=signature.asc
 Content-Description: This is a digitally signed message part
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.0 (FreeBSD)
 
 iD8DBQBB+fr1bu06QwmNwNsRAlQGAJ9MTPu31zzcH6kgZpi1OfsDIsMzjACfd+wm
 dBXzxeIi9rYMVNmoI+fFtlo=
 =xlVw
 -----END PGP SIGNATURE-----
 
 --=-LYnRhHhm37cMH8qMvmFf--
 
State-Changed-From-To: open->closed 
State-Changed-By: vs 
State-Changed-When: Fri Jan 28 10:43:49 GMT 2005 
State-Changed-Why:  
Fixed, thanks for your submission! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=76522 
>Unformatted:
