From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Sep 20 18:40:04 2012 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 870E4106564A for ; Thu, 20 Sep 2012 18:40:04 +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 6086F8FC1C for ; Thu, 20 Sep 2012 18:40:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q8KIe4do004063 for ; Thu, 20 Sep 2012 18:40:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q8KIe497004062; Thu, 20 Sep 2012 18:40:04 GMT (envelope-from gnats) Resent-Date: Thu, 20 Sep 2012 18:40:04 GMT Resent-Message-Id: <201209201840.q8KIe497004062@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, Florian Ermisch Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 40EC11065686 for ; Thu, 20 Sep 2012 18:30:23 +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 2CD3E8FC08 for ; Thu, 20 Sep 2012 18:30:23 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id q8KIUMEs023819 for ; Thu, 20 Sep 2012 18:30:22 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id q8KIUMIa023818; Thu, 20 Sep 2012 18:30:22 GMT (envelope-from nobody) Message-Id: <201209201830.q8KIUMIa023818@red.freebsd.org> Date: Thu, 20 Sep 2012 18:30:22 GMT From: Florian Ermisch To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/171818: Please add option for Python-integration to sysutils/bacula-server 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: Thu, 20 Sep 2012 18:40:04 -0000 >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 .if !defined(WITHOUT_NLS) >Release-Note: >Audit-Trail: >Unformatted: