Date: Sun, 5 Sep 2010 00:27:21 +0200 (CEST) From: Olli Hauer <ohauer@FreeBSD.org> To: <FreeBSD-gnats-submit@FreeBSD.org> Cc: Dan Langille <dan@langille.org> Subject: ports/150289: [patch] port sysutils/bacula-bat (5.0.3) Message-ID: <20100904222721.BBD1320388@u18-124.dsl.vianetworks.de> Resent-Message-ID: <201009042230.o84MU4qJ060070@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 150289 >Category: ports >Synopsis: [patch] port sysutils/bacula-bat (5.0.3) >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 Sep 04 22:30:04 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Olli Hauer <ohauer@FreeBSD.org> >Release: >Organization: >Environment: >Description: Bacula 5.0.3 builds per default with SSL support, now this slave port needs some adjustments. - Add option OPENSSL (defaults == defaults bacula-server) Build tested with 8.1 tinderbox (i386) - WITHOUT_OPENSSL=true - WITH_OPENSSL=true (system) - WITH_OPENSSL=true (openssl port) All three builds are OK. >How-To-Repeat: >Fix: --- patch_bacula-bat-5.0.3.txt begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/sysutils/bacula-bat/Makefile,v retrieving revision 1.11 diff -u -r1.11 Makefile --- Makefile 17 Jul 2010 01:00:46 -0000 1.11 +++ Makefile 3 Sep 2010 22:43:08 -0000 @@ -31,9 +31,18 @@ --disable-build-stored \ --enable-client-only +OPTIONS+= OPENSSL "Enable OpenSSL for encrypted communication" on + .include "${MASTERDIR}/Makefile" .include <bsd.port.pre.mk> +.if !defined(WITHOUT_OPENSSL) +.include "${PORTSDIR}/Mk/bsd.openssl.mk" +CONFIGURE_ARGS+= --with-openssl=${OPENSSLBASE} +.else +CONFIGURE_ARGS+= --with-openssl="no" +.endif + .if exists(${LOCALBASE}/lib/libbac.so.${PORTVERSION:R:R}) && exists(${LOCALBASE}/lib/libbaccfg.so.${PORTVERSION:R:R}) LIB_DEPENDS+= bac.${PORTVERSION:R:R}:${PORTSDIR}/sysutils/bacula-client PLIST_SUB+= INDEP="@comment " --- patch_bacula-bat-5.0.3.txt ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100904222721.BBD1320388>