Date: Thu, 20 Sep 2012 18:30:22 GMT From: Florian Ermisch <floh.edo@googlemail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/171818: Please add option for Python-integration to sysutils/bacula-server Message-ID: <201209201830.q8KIUMIa023818@red.freebsd.org> Resent-Message-ID: <201209201840.q8KIe497004062@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 171818 >Category: ports >Synopsis: Please add option for Python-integration to sysutils/bacula-server >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Sep 20 18:40:04 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Florian Ermisch >Release: 9.0 >Organization: >Environment: FreeBSD mizar.fokus.fraunhofer.de 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12 02:52:29 UTC 2012 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Bacula has a compile-time option to use Python-scripting but the current port's Makefile has no option to switch this feature on. >How-To-Repeat: Try to use scripting in a Bacula-server built from the FreeBSD-ports. >Fix: The attached patch to the Makefile adds an option to enable Python-integration (the default is 'off'). I ran portlint and already solved one bug I added. The other things portlint complains about aren't my fault ^^". Patch attached with submission follows: --- Makefile_bak 2012-09-19 15:35:35.000000000 +0200 +++ Makefile 2012-09-20 20:17:42.000000000 +0200 @@ -88,6 +88,7 @@ OPTIONS+= MYSQL "Use MySQL database" off OPTIONS+= POSTGRESQL "Use PostgreSQL database" off OPTIONS+= MTX "Install mtx for control of autochanger devices" off +OPTIONS+= PYTHON "Enable Python scripting in the director" off .endif OPTIONS+= NLS "Native Language Support via gettext utilities" on OPTIONS+= OPENSSL "Enable OpenSSL for encrypted communication" on @@ -109,6 +110,11 @@ BACULA_GID=${BACULA_GID} \ BACULA_DIR=${BACULA_DIR} +.if defined(WITH_PYTHON) +USE_PYTHON= 2.5+ +CONFIGURE_ARGS+= --with-python=${LOCALBASE} +.endif + .include <bsd.port.pre.mk> .if !defined(WITHOUT_NLS) >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209201830.q8KIUMIa023818>