ports/162140: net-mgmt/net-snmp Add install python bindings option.

Geoffrey Huntley ghuntley at ghuntley.com
Sat Oct 29 04:40:07 UTC 2011


>Number:         162140
>Category:       ports
>Synopsis:       net-mgmt/net-snmp Add install python bindings option.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 29 04:40:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Geoffrey Huntley
>Release:        8.2-RELEASE-p3
>Organization:
>Environment:
FreeBSD nas 8.2-RELEASE-p3 FreeBSD 8.2-RELEASE-p3 #0: Tue Sep 27 18:45:57 UTC 2011     root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Attached is a patch, seeking re-integration which enables the option of building the python bindings on net-mgmt/net-snmp.


--- Makefile    2011-10-31 14:24:16.211903689 +1100
+++ Makefile.orig       2011-09-07 11:49:27.000000000 +1000
@@ -23,8 +23,7 @@
                DUMMY "Enable dummy values as placeholders" on \
                TKMIB "Install graphical MIB browser" off \
                DMALLOC "Enable dmalloc debug memory allocator" off \
-               UNPRIVILEGED "Allow unprivileged users to execute net-snmp" off \
-               PYTHON "Install python bindings" on
+               UNPRIVILEGED "Allow unprivileged users to execute net-snmp" off
 
 MAKE_JOBS_UNSAFE=      yes
 
@@ -62,12 +61,6 @@
 PLIST_SUB+=    WITH_TKMIB=""
 .endif
 
-.if defined(WITH_PYTHON)
-CONFIGURE_ARGS+=--with-python-modules
-BUILD_DEPENDS+=   easy_install:${PORTSDIR}/devel/py-setuptools
-BUILD_DEPENDS+=   python:${PORTSDIR}/lang/python
-.endif
-
 .if defined(WITH_PERL)
 USE_PERL5=     yes
 CONFIGURE_ARGS+=--with-perl-modules
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- Makefile    2011-10-31 14:24:16.211903689 +1100
+++ Makefile.orig       2011-09-07 11:49:27.000000000 +1000
@@ -23,8 +23,7 @@
                DUMMY "Enable dummy values as placeholders" on \
                TKMIB "Install graphical MIB browser" off \
                DMALLOC "Enable dmalloc debug memory allocator" off \
-               UNPRIVILEGED "Allow unprivileged users to execute net-snmp" off \
-               PYTHON "Install python bindings" on
+               UNPRIVILEGED "Allow unprivileged users to execute net-snmp" off
 
 MAKE_JOBS_UNSAFE=      yes
 
@@ -62,12 +61,6 @@
 PLIST_SUB+=    WITH_TKMIB=""
 .endif
 
-.if defined(WITH_PYTHON)
-CONFIGURE_ARGS+=--with-python-modules
-BUILD_DEPENDS+=   easy_install:${PORTSDIR}/devel/py-setuptools
-BUILD_DEPENDS+=   python:${PORTSDIR}/lang/python
-.endif
-
 .if defined(WITH_PERL)
 USE_PERL5=     yes
 CONFIGURE_ARGS+=--with-perl-modules


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list