diff options
author | Jaka Kranjc | 2007-06-10 18:19:56 +0200 |
---|---|---|
committer | Eric Sandall | 2007-06-11 09:54:43 -0700 |
commit | 3c572f79fc8c150a27ef20ad0cbd070e4a7b9ab5 (patch) | |
tree | 15d8775ef6403be33becb3eb04bb35650077163b | |
parent | f0339850a91e657bc07fe868ae8afb9528bf71a0 (diff) |
xmlsec: added a fallback backend choice #11486
(cherry picked from commit 692dbebc7478461e673afa2912a9be32158e63a8)
-rwxr-xr-x | crypto/xmlsec/DEPENDS | 12 | ||||
-rw-r--r-- | crypto/xmlsec/HISTORY | 3 |
2 files changed, 14 insertions, 1 deletions
diff --git a/crypto/xmlsec/DEPENDS b/crypto/xmlsec/DEPENDS index c9cbce146c..c264f91f2c 100755 --- a/crypto/xmlsec/DEPENDS +++ b/crypto/xmlsec/DEPENDS @@ -2,6 +2,16 @@ depends pkgconfig '--enable-pkgconfig' && depends libxml2 '--with-libxml=/usr' && optional_depends libxslt '--with-libxslt=/usr' '--without-libxslt' 'for XSLT-related functions' && +echo && +message "You have to pick at least one of the following dependencies!" && optional_depends gnutls '--with-gnutls=/usr' '--without-gnutls' 'for encrypted communications' optional_depends nss '--with-nss=/usr' '--without-nss' 'for encrypted communications' && -optional_depends openssl '--with-openssl=/usr' '--without-openssl' 'for encrypted communications' +optional_depends openssl '--with-openssl=/usr' '--without-openssl' 'for encrypted communications' && + +if ! is_depends_enabled $SPELL gnutls && + ! is_depends_enabled $SPELL nss && + ! is_depends_enabled $SPELL openssl; then + + message "${PROBLEM_COLOR}No backend was chosen, forcing openssl!$DEFAULT_COLOR" + depends openssl +fi diff --git a/crypto/xmlsec/HISTORY b/crypto/xmlsec/HISTORY index 6318fc1294..e2715399fb 100644 --- a/crypto/xmlsec/HISTORY +++ b/crypto/xmlsec/HISTORY @@ -1,3 +1,6 @@ +2007-06-10 Jaka Kranjc <lynxlynxlynx@sourcemage.org> + * DEPENDS: added a fallback backend choice #11486 + 2006-10-03 Juuso Alasuutari <iuso@sourcemage.org> * DETAILS: [automated] Removed UPDATED. |