Bug 159386 - [PATCH] net-mgmt/net-snmp unclean deinstall without ipv6
Summary: [PATCH] net-mgmt/net-snmp unclean deinstall without ipv6
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Sylvio Cesar Teixeira
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-02 15:20 UTC by Emil Smolenski
Modified: 2011-08-14 00:45 UTC (History)
0 users

See Also:


Attachments
file.diff (604 bytes, patch)
2011-08-02 15:20 UTC, Emil Smolenski
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Emil Smolenski 2011-08-02 15:20:10 UTC
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

#

Fix: Apply attached patch.

Patch attached with submission follows:
How-To-Repeat: Install net-mgmt/net-snmp without WITH_IPV6 option and deinstall it.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-08-02 15:20:22 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sylvio

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Sylvio Cesar Teixeira freebsd_committer freebsd_triage 2011-08-14 00:45:05 UTC
State Changed
From-To: open->closed

Committed. Thanks!