From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Oct 29 04:40:07 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4B8A106566B for ; Sat, 29 Oct 2011 04:40:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 992418FC13 for ; Sat, 29 Oct 2011 04:40:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p9T4e7XU006805 for ; Sat, 29 Oct 2011 04:40:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p9T4e7eS006804; Sat, 29 Oct 2011 04:40:07 GMT (envelope-from gnats) Resent-Date: Sat, 29 Oct 2011 04:40:07 GMT Resent-Message-Id: <201110290440.p9T4e7eS006804@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Geoffrey Huntley Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B81AD106570E for ; Sat, 29 Oct 2011 04:30:04 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 3C91E8FC12 for ; Sat, 29 Oct 2011 04:30:04 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p9T4U3Vl070460 for ; Sat, 29 Oct 2011 04:30:03 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p9T4U3QD070459; Sat, 29 Oct 2011 04:30:03 GMT (envelope-from nobody) Message-Id: <201110290430.p9T4U3QD070459@red.freebsd.org> Date: Sat, 29 Oct 2011 04:30:03 GMT From: Geoffrey Huntley To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/162140: net-mgmt/net-snmp Add install python bindings option. X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Oct 2011 04:40:07 -0000 >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: