Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Oct 2011 04:30:03 GMT
From:      Geoffrey Huntley <ghuntley@ghuntley.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/162140: net-mgmt/net-snmp Add install python bindings option.
Message-ID:  <201110290430.p9T4U3QD070459@red.freebsd.org>
Resent-Message-ID: <201110290440.p9T4e7eS006804@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201110290430.p9T4U3QD070459>