ports/107363: [PATCH] net-mgmt/py-snmp2: fix pkg-plist
Li-Wen Hsu
lwhsu at lwhsu.org
Sat Dec 30 22:40:22 UTC 2006
>Number: 107363
>Category: ports
>Synopsis: [PATCH] net-mgmt/py-snmp2: fix pkg-plist
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Dec 30 22:40:20 GMT 2006
>Closed-Date:
>Last-Modified:
>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 at 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%%
+ at dirrm %%PYTHON_SITELIBDIR%%/pysnmp
--- py24-snmp2-2.0.9.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list