From lchen@zen.lhaven.homeip.net  Tue Apr 16 22:30:37 2013
Return-Path: <lchen@zen.lhaven.homeip.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	by hub.freebsd.org (Postfix) with ESMTP id 45FAE1FC
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 16 Apr 2013 22:30:37 +0000 (UTC)
	(envelope-from lchen@zen.lhaven.homeip.net)
Received: from mho-01-ewr.mailhop.org (mho-03-ewr.mailhop.org [204.13.248.66])
	by mx1.freebsd.org (Postfix) with ESMTP id 1F1A41C17
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 16 Apr 2013 22:30:36 +0000 (UTC)
Received: from ip70-179-144-108.fv.ks.cox.net ([70.179.144.108] helo=zen.lhaven.homeip.net)
	by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256)
	(Exim 4.72)
	(envelope-from <lchen@zen.lhaven.homeip.net>)
	id 1USEOU-00072F-0I
	for FreeBSD-gnats-submit@freebsd.org; Tue, 16 Apr 2013 22:30:30 +0000
Received: from zen.lhaven.homeip.net (localhost [127.0.0.1])
	by zen.lhaven.homeip.net (8.14.6/8.14.5) with ESMTP id r3GMUKC3064751;
	Tue, 16 Apr 2013 17:30:20 -0500 (CDT)
	(envelope-from lchen@zen.lhaven.homeip.net)
Received: (from lchen@localhost)
	by zen.lhaven.homeip.net (8.14.6/8.14.5/Submit) id r3GMUA58064698;
	Tue, 16 Apr 2013 17:30:10 -0500 (CDT)
	(envelope-from lchen)
Message-Id: <201304162230.r3GMUA58064698@zen.lhaven.homeip.net>
Date: Tue, 16 Apr 2013 17:30:10 -0500 (CDT)
From: Lawrence Chen <beastie@tardisi.com>
Reply-To: Lawrence Chen <beastie@tardisi.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc: beastie_t@zen.lhaven.homeip.net
Subject: net-mgmt/net-snmp: says I have build options on modules
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         177893
>Category:       ports
>Synopsis:       net-mgmt/net-snmp: says I have build options on modules
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    zi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 16 22:40:00 UTC 2013
>Closed-Date:    Thu May 16 13:17:06 UTC 2013
>Last-Modified:  Fri May 17 16:00:00 UTC 2013
>Originator:     Lawrence Chen
>Release:        FreeBSD 9.1-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD zen.lhaven.homeip.net 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64


	
>Description:
	I needed a feature of net-snmp that isn't available in bsnmpd, but
	net-snmp ucd-snmp & host information is lacking compared to bsnmpd.

	So, I tried to build net-snmp excluding these MIB Modules, and have
	net-snmp proxy to bsnmpd.

	But, it appends the default list to my list, and complains that I'm
	both including and excluding.

	
>How-To-Repeat:
	Set NET_SNMP_WITH_MIB_MODULE_LIST to anything including the default,
	and the make appends the defaults to this.
>Fix:

	All the other build options are '?=', but NET_SNMP_WITH_MIB_MODULE_LIST
	is '+=' with additional '+=' operations.

        Probably need to rework so that its '?=' for each of the 3 cases...

	Though I just removed the lines to get to get what I wanted.

	


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->zi 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Apr 16 22:40:09 UTC 2013 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

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

From: Ryan Steinmetz <zi@FreeBSD.org>
To: Lawrence Chen <beastie@tardisi.com>
Cc: FreeBSD-gnats-submit@freebsd.org, beastie_t@lhaven.homeip.net
Subject: Re: ports/177893: net-mgmt/net-snmp: says I have build options on
 modules
Date: Mon, 13 May 2013 07:41:55 -0400

 You want to use NET_SNMP_WITHOUT_MIB_MODULE_LIST and specify every default module that you do not want to include.
 
 The two variables (NET_SNMP_WITH_MIB_MODULE_LIST and NET_SNMP_WITHOUT_MIB_MODULE_LIST) simply make use of the following two configure arguments:
 
    --with-mib-modules="item1 ..."  Compile with additional mib modules
                                      (Space separated list).
    --with-out-mib-modules="list"   Compile without these mib modules.
 
 
 -r
 
 -- 
 Ryan Steinmetz
 PGP: EF36 D45A 5CA9 28B1 A550  18CD A43C D111 7AD7 FAF2
State-Changed-From-To: open->closed 
State-Changed-By: zi 
State-Changed-When: Thu May 16 13:17:05 UTC 2013 
State-Changed-Why:  
Information provided--should resolve issue.  Please reply if there is 
another issue. 

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

From: The BSD Dreamer <beastie@tardisi.com>
To: Ryan Steinmetz <zi@FreeBSD.org>
Cc: FreeBSD-gnats-submit@freebsd.org, beastie_t@lhaven.homeip.net
Subject: Re: ports/177893: net-mgmt/net-snmp: says I have build options on
 modules
Date: Fri, 17 May 2013 10:35:44 -0500

 well, pkg-message should say to use these options instead of
 NET_SNMP_MIB_MODULES, and that NET_SNMP_WITH_MIB_MODULE_LIST is for
 modules in addition to the default set.
 
 And, that NET_SNMP_WITHOUT_MIB_MODULE_LIST can exclude modules from the
 default set, and it will result in messages like:
 
 *** MIB Module warning *** mib module 'host' is both included and
 excluded. It has been excluded.
 
 
 On 05/13/2013 06:41, Ryan Steinmetz wrote:
 > You want to use NET_SNMP_WITHOUT_MIB_MODULE_LIST and specify every
 > default module that you do not want to include.
 > 
 > The two variables (NET_SNMP_WITH_MIB_MODULE_LIST and
 > NET_SNMP_WITHOUT_MIB_MODULE_LIST) simply make use of the following two
 > configure arguments:
 > 
 >   --with-mib-modules="item1 ..."  Compile with additional mib modules
 >                                     (Space separated list).
 >   --with-out-mib-modules="list"   Compile without these mib modules.
 > 
 > 
 > -r
 > 
 
 -- 
   Name: Lawrence "The Dreamer" Chen      Email: beastie@tardisi.com
  Snail: 1530 College Ave, A5              Blog: http://lawrencechen.net
         Manhattan, KS 66502-2768         Phone: 785-789-4132
>Unformatted:
