From f779092e1a3ea5a5c3a2aeaa70dee58ef72c7531 Mon Sep 17 00:00:00 2001 From: Landon Fuller Date: Sun, 8 Jan 2006 03:03:20 +0000 Subject: [PATCH] Add OpenSSL config option (defaults to off) git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@2727 91ce42f0-d328-0410-95d8-f526ca767f89 --- regress/Makefile.in | 4 ++-- regress/freebsd.conf | 5 +++++ regress/kern.conf | 4 ++++ regress/prototype.conf | 5 +++++ regress/scripts/regress-config | 3 ++- regress/scripts/setup | 4 ++-- 6 files changed, 20 insertions(+), 5 deletions(-) diff --git a/regress/Makefile.in b/regress/Makefile.in index fb73118a86..b1fc696d4f 100644 --- a/regress/Makefile.in +++ b/regress/Makefile.in @@ -31,8 +31,8 @@ bacula: all fi) rm -rf tmp working mkdir tmp working - echo "Doing: scripts/setup ${BACULA_SOURCE} ${EMAIL} ${WHICHDB} ${TCPWRAPPERS}" - scripts/setup ${BACULA_SOURCE} ${EMAIL} ${WHICHDB} ${TCPWRAPPERS} ${SMTP_HOST} + echo "Doing: scripts/setup ${BACULA_SOURCE} ${EMAIL} ${WHICHDB} ${TCPWRAPPERS} ${OPENSSL}" + scripts/setup ${BACULA_SOURCE} ${EMAIL} ${WHICHDB} ${TCPWRAPPERS} ${SMTP_HOST} ${OPENSSL} sed: echo "Doing: scripts/do_sed ${EMAIL} ${TAPE_DRIVE} ${AUTOCHANGER} ${AUTOCHANGER_PATH} ${TAPE_DRIVE1} ${SMTP_HOST}" diff --git a/regress/freebsd.conf b/regress/freebsd.conf index 3d41bd0f1e..823eb9cbbf 100644 --- a/regress/freebsd.conf +++ b/regress/freebsd.conf @@ -24,3 +24,8 @@ WHICHDB?="--with-sqlite=${SQLITE_DIR}" # Set this to "--with-tcp-wrappers" or "--without-tcp-wrappers" TCPWRAPPERS="--with-tcp-wrappers" + +# Set this to "" to disable OpenSSL support, "--with-openssl=yes" +# to enable it, or provide the path to the OpenSSL installation, +# eg "--with-openssl=/usr/local" +OPENSSL="" diff --git a/regress/kern.conf b/regress/kern.conf index 05ce1ac2e7..45335617f0 100644 --- a/regress/kern.conf +++ b/regress/kern.conf @@ -27,3 +27,7 @@ WHICHDB?="--with-sqlite=${SQLITE_DIR}" # Set this to "--with-tcp-wrappers" or "--without-tcp-wrappers" TCPWRAPPERS="--with-tcp-wrappers" +# Set this to "" to disable OpenSSL support, "--with-openssl=yes" +# to enable it, or provide the path to the OpenSSL installation, +# eg "--with-openssl=/usr/local" +OPENSSL="" diff --git a/regress/prototype.conf b/regress/prototype.conf index 28f5d3ee5e..21068789c7 100644 --- a/regress/prototype.conf +++ b/regress/prototype.conf @@ -44,3 +44,8 @@ WHICHDB?="--with-sqlite=${SQLITE_DIR}" # Set this to "--with-tcp-wrappers" or "--without-tcp-wrappers" TCPWRAPPERS="--with-tcp-wrappers" + +# Set this to "" to disable OpenSSL support, "--with-openssl=yes" +# to enable it, or provide the path to the OpenSSL installation, +# eg "--with-openssl=/usr/local" +OPENSSL="" diff --git a/regress/scripts/regress-config b/regress/scripts/regress-config index 2fa59ffbcd..7fdae76929 100755 --- a/regress/scripts/regress-config +++ b/regress/scripts/regress-config @@ -18,6 +18,7 @@ CFLAGS="-g -O2 -Wall" \ --with-smtp-host=$5 \ $3 \ --with-baseport=8101 \ - $4 + $4 \ + $6 exit 0 diff --git a/regress/scripts/setup b/regress/scripts/setup index 7da3782695..8b15d75c62 100755 --- a/regress/scripts/setup +++ b/regress/scripts/setup @@ -3,7 +3,7 @@ # Script to setup running Bacula regression tests # cwd=`pwd` -if [ $# != 5 ] ; then +if [ $# != 6 ] ; then echo "Incorrect number of arguments. Got $#. Need:" echo "setup bacula-src email-address --with-DBNAME --with-tcp-wrappers" echo " " @@ -22,7 +22,7 @@ cp scripts/regress-config build cd build rm -f Makefile config.cache # Run Bacula configuration, make, install -./regress-config ${cwd} $2 $3 $4 $5 +./regress-config ${cwd} $2 $3 $4 $5 $6 make make install cp src/tools/testls ../bin -- 2.39.5