Date: Tue, 2 Aug 2011 14:19:13 GMT From: Emil Smolenski <am@raisa.eu.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/159386: [PATCH] net-mgmt/net-snmp unclean deinstall without ipv6 Message-ID: <201108021419.p72EJDst056804@red.freebsd.org> Resent-Message-ID: <201108021420.p72EKAZ5065549@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 159386 >Category: ports >Synopsis: [PATCH] net-mgmt/net-snmp unclean deinstall without ipv6 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Aug 02 14:20:10 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Emil Smolenski >Release: FreeBSD 8.2-STABLE >Organization: >Environment: FreeBSD testsnmp 8.2-STABLE FreeBSD 8.2-STABLE #6: Fri Jul 15 11:46:06 CEST 2011 root@arrow:/usr/obj/usr/src/sys/ARROW amd64 >Description: When net-mgmt/net-snmp is installed without WITH_IPV6 option, pkg_delete displays warning on deinstall: # pkg_delete net-snmp-5.7_1 pkg_delete: file '/usr/local/include/net-snmp/library/snmpIPv6BaseDomain.h' doesn't exist pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?) # cd /usr/ports/net-mgmt/net-snmp # make -V WITHOUT_IPV6 true # make -V WITH_IPV6 # >How-To-Repeat: Install net-mgmt/net-snmp without WITH_IPV6 option and deinstall it. >Fix: Apply attached patch. Patch attached with submission follows: diff -ruN net-mgmt/net-snmp.orig/pkg-plist net-mgmt/net-snmp/pkg-plist --- net-mgmt/net-snmp.orig/pkg-plist 2011-07-27 22:18:34.000000000 +0200 +++ net-mgmt/net-snmp/pkg-plist 2011-08-02 15:49:11.634782758 +0200 @@ -132,7 +132,7 @@ include/net-snmp/library/snmpusm.h include/net-snmp/library/snmpv3-security-includes.h include/net-snmp/library/snmpv3.h -include/net-snmp/library/snmpIPv6BaseDomain.h +%%WITH_IPV6%%include/net-snmp/library/snmpIPv6BaseDomain.h include/net-snmp/library/snmpUDPBaseDomain.h include/net-snmp/library/snmpUDPIPv4BaseDomain.h include/net-snmp/library/snmpTCPBaseDomain.h >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201108021419.p72EJDst056804>