From lwhsu@jail0.lwhsu.csie.net  Sat Dec 30 22:32:11 2006
Return-Path: <lwhsu@jail0.lwhsu.csie.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id C1B3016A4D0
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 30 Dec 2006 22:32:11 +0000 (UTC)
	(envelope-from lwhsu@jail0.lwhsu.csie.net)
Received: from knight.lwhsu.ckefgisc.org (lwhsu.Dorm7.NCTU.edu.tw [140.113.90.48])
	by mx1.freebsd.org (Postfix) with ESMTP id 91E0A13C48A
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 30 Dec 2006 22:32:06 +0000 (UTC)
	(envelope-from lwhsu@jail0.lwhsu.csie.net)
Received: from jail0.lwhsu.csie.net (jail0 [192.168.173.100])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by knight.lwhsu.ckefgisc.org (Postfix) with ESMTP id 889061141E;
	Sun, 31 Dec 2006 06:32:37 +0800 (CST)
Received: (from lwhsu@localhost)
	by jail0.lwhsu.csie.net (8.13.8/8.13.8/Submit) id kBUMWZOf069004;
	Sat, 30 Dec 2006 22:32:35 GMT
	(envelope-from lwhsu)
Message-Id: <200612302232.kBUMWZOf069004@jail0.lwhsu.csie.net>
Date: Sat, 30 Dec 2006 22:32:35 GMT
From: Li-Wen Hsu <lwhsu@lwhsu.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: dimma@higis.ru, lwhsu@lwhsu.org
Subject: [PATCH] net-mgmt/py-snmp2: fix pkg-plist
X-Send-Pr-Version: 3.113
X-GNATS-Notify: dimma@higis.ru

>Number:         107363
>Category:       ports
>Synopsis:       [PATCH] net-mgmt/py-snmp2: fix pkg-plist
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    clsung
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 30 22:40:20 GMT 2006
>Closed-Date:    Tue Jan 16 08:55:34 GMT 2007
>Last-Modified:  Tue Jan 16 09:00:42 GMT 2007
>Originator:     Li-Wen Hsu
>Release:        FreeBSD 6.2-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD jail0.lwhsu.csie.net 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Wed Dec  6 11:34:36 CST
>Description:

- Fix the pkg-plist to prevent the error message when deinstall.

These two lines are the same:

%%PORTDOCS%%@dirrm %%PORTDOCS%%%%DOCSDIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%

and here is the error message:

===>  Deinstalling for net-mgmt/py-snmp2
===>   Deinstalling py24-snmp2-2.0.9
pkg_delete: file '/tmp/py24-snmp2-2.0.9/share/doc/py-snmp2' doesn't exist
pkg_delete: unable to completely remove directory '/tmp/py24-snmp2-2.0.9/share/doc/py-snmp2'
pkg_delete: couldn't entirely delete package (perhaps the packing list is
incorrectly specified?)

Port maintainer (dimma@higis.ru) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- py24-snmp2-2.0.9.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/net-mgmt/py-snmp2/pkg-plist /home/lwhsu/ports/net-mgmt/py-snmp2/pkg-plist
--- /usr/ports/net-mgmt/py-snmp2/pkg-plist	Sun Oct  8 14:59:45 2006
+++ /home/lwhsu/ports/net-mgmt/py-snmp2/pkg-plist	Sat Dec 30 15:51:59 2006
@@ -62,10 +62,7 @@
 %%PORTDOCS%%%%EXAMPLESDIR%%/snmptrap.py
 %%PORTDOCS%%%%EXAMPLESDIR%%/snmptrapd.py
 %%PORTDOCS%%%%EXAMPLESDIR%%/snmpwalk.py
-%%PORTDOCS%%@dirrm %%PORTDOCS%%%%EXAMPLESDIR%%
-%%PORTDOCS%%@dirrm %%PORTDOCS%%%%DOCSDIR%%/contribution
-%%PORTDOCS%%@dirrm %%PORTDOCS%%%%DOCSDIR%%
-%%PORTDOCS%%@dirrm %%PYTHON_SITELIBDIR%%/pysnmp
-%%PORTDOCS%%@dirrm %%PYTHON_SITELIBDIR%%
-%%PORTDOCS%%@dirrm lib/python2.4
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/contribution
 %%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrm %%PYTHON_SITELIBDIR%%/pysnmp
--- py24-snmp2-2.0.9.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-python 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sat Dec 30 22:40:30 UTC 2006 
Responsible-Changed-Why:  
freebsd-python@ wants to have py- PRs 

http://www.freebsd.org/cgi/query-pr.cgi?pr=107363 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Sat Dec 30 22:40:37 UTC 2006 
State-Changed-Why:  
Awaiting maintainers feedback 

http://www.freebsd.org/cgi/query-pr.cgi?pr=107363 
Responsible-Changed-From-To: freebsd-python->clsung 
Responsible-Changed-By: clsung 
Responsible-Changed-When: Sun Dec 31 05:04:35 UTC 2006 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=107363 
State-Changed-From-To: feedback->closed 
State-Changed-By: clsung 
State-Changed-When: Tue Jan 16 08:55:31 UTC 2007 
State-Changed-Why:  
Committed. Thank You. 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/107363: commit references a PR
Date: Tue, 16 Jan 2007 08:54:58 +0000 (UTC)

 clsung      2007-01-16 08:54:53 UTC
 
   FreeBSD ports repository
 
   Modified files:
     net-mgmt/py-snmp2    pkg-plist 
   Log:
   - Fix the pkg-plist to prevent the error message when deinstall.
   
   These two lines are the same:
   
   %%PORTDOCS%%@dirrm %%PORTDOCS%%%%DOCSDIR%%
   %%PORTDOCS%%@dirrm %%DOCSDIR%%
   
   PR:             ports/107363
   Submitted by:   Li-Wen Hsu <lwhsu_AT_lwhsu dot org>
   Approved by:    maintainer (timeout)
   
   Revision  Changes    Path
   1.3       +3 -6      ports/net-mgmt/py-snmp2/pkg-plist
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
