pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/45696: Fix SSL for pkg sysutils/bacula-clientonly



>Number:         45696
>Category:       pkg
>Synopsis:       Fix SSL for pkg sysutils/bacula-clientonly
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 08 08:40:00 +0000 2011
>Originator:     Stephan Tesch
>Release:        none, pkgsrc on Solaris 10
>Organization:
science + computing ag
>Environment:
>Description:
Bacula has an option to support SSL (usind PKG_OPTIONS.bacula=ssl). This option 
should also be available to bacula-clientonly. 
>How-To-Repeat:
build bacula-clientonly and try to connect to an SSL only bacula server
>Fix:
Patch to sysutils/bacula-clientonly/options.mk:

--- sysutils/bacula-clientonly/options.mk       2008-11-21 15:09:31.000000000 
+0100
+++ itsec-rd/bacula-clientonly/options.mk       2011-12-07 19:19:24.773508093 
+0100
@@ -1,7 +1,7 @@
 # $NetBSD: options.mk,v 1.4 2008/11/21 14:09:31 adam Exp $

 PKG_OPTIONS_VAR=               PKG_OPTIONS.bacula-clientonly
-PKG_SUPPORTED_OPTIONS=         bacula-static
+PKG_SUPPORTED_OPTIONS=         bacula-static ssl

 .include "../../mk/bsd.options.mk"

@@ -15,3 +15,8 @@
 .else
 PLIST_SUBST+=          STATIC="@comment "
 .endif
+
+.if !empty(PKG_OPTIONS:Mssl)
+.  include "../../security/openssl/buildlink3.mk"
+CONFIGURE_ARGS+=       --with-openssl=${BUILDLINK_PREFIX.openssl}
+.endif



Home | Main Index | Thread Index | Old Index