-if spell_ok SSL && is_version_less $(installed_version openssl) 1.0; then
- message "${MESSAGE_COLOR}WARNING: GOST support requires OpenSSL 1.0, which
is not installed."
- message "Answer 'y' to replace current version $(installed_version SSL)
with one from OpenSSL 1.0 branch.${DEFAULT_COLOR}"
+if [[ $LDNS_OPENSSL == "1.0" ]]; then
+ depends -sub "1.0" openssl '--enable-gost'
+else
+ depends openssl '--disable-gost'
fi &&
-optional_depends -sub "1.0" SSL \
- "--enable-gost" \
- "--disable-gost" \
- "for GOST support" &&
-
optional_depends -sub PYTHON swig \
"--with-pyldns" \
"--without-pyldns" \
diff --git a/libs/ldns/DETAILS b/libs/ldns/DETAILS
index d39fe25..9fa2a14 100755
--- a/libs/ldns/DETAILS
+++ b/libs/ldns/DETAILS
@@ -1,5 +1,6 @@
SPELL=ldns
VERSION=1.6.17
+ PATCHLEVEL=1
SOURCE=$SPELL-$VERSION.tar.gz
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
SOURCE_URL[0]=http://www.nlnetlabs.nl/downloads/$SPELL/$SOURCE
diff --git a/libs/ldns/HISTORY b/libs/ldns/HISTORY
index 8a4b125..8ae97eb 100644
--- a/libs/ldns/HISTORY
+++ b/libs/ldns/HISTORY
@@ -1,5 +1,8 @@
-2014-08-19 Treeve Jelbert <treeve AT sourcemage.org>
- * DEPENDS: openssl => SSL
+2014-10-24 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: PATCHLEVEL=1
+ * DEPENDS, CONFIGURE: moved openssl branch selection to CONFIGURE to
+ avoid sub-dependency error when cast of the spell queues 1.0 branch
+ of openssl in global sub_depends file for next recast
2014-05-09 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS: updated spell to 1.6.17
[SM-Commit] GIT changes to master grimoire by Vlad Glagolev (f4246a87686df486c978deaadd8c386655e18a4f),
Vlad Glagolev, 10/24/2014