[Lunar-commits] <moonbase> boinc-svn: added SSL alias handling
Duncan Gibson
engelsman at lunar-linux.org
Sun Feb 20 15:08:56 CET 2011
commit 18f28966e33cf60cbadc8a4ceb2a332b033b4657
Author: Christian Krause <kizkizzbangbang at googlemail.com>
Date: Sun Feb 20 15:08:56 2011 +0100
boinc-svn: added SSL alias handling
Note: build currently fails with:
--- Configuring BOINC 6.13.0 (Release) ---
--- Build Components: (client libraries) ---
Makefile:259: *** missing separator. Stop.
This happens both with, and without this patch.
But then, this *is* a zbeta/svn module...
---
zbeta/boinc-svn/BUILD | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/zbeta/boinc-svn/BUILD b/zbeta/boinc-svn/BUILD
index 3ae928b..2a5b2f7 100644
--- a/zbeta/boinc-svn/BUILD
+++ b/zbeta/boinc-svn/BUILD
@@ -8,6 +8,18 @@
# run per default as daemon
sedit 's/#BOINCOPTS="--daemon"/BOINCOPTS="--daemon"/' client/scripts/boinc-client.conf &&
+ # get the alias
+ SSL=`unalias %SSL` &&
+
+ # setting the ssl option
+ if [[ $SSL == "openssl" ]] && module_installed "openssl" ; then
+ OPTS+=" --with-ssl --without-libgnutls"
+ elif [[ $SSL == "gnutls" ]] && module_installed "gnutls" ; then
+ OPTS+=" --with-libgnutls --without-ssl"
+ else
+ OPTS+=" --without-ssl --without-libgnutls"
+ fi &&
+
# applies defaults to configure
# TODO: conf server and manager
./configure --build=$BUILD \
More information about the Lunar-commits
mailing list