diff options
author | Vlad Glagolev | 2015-03-06 16:46:01 +0300 |
---|---|---|
committer | Vlad Glagolev | 2015-03-06 16:46:01 +0300 |
commit | 384e2b2a667f36743832c33676dfcae4eb1e1eef (patch) | |
tree | 14f6df0454354e24e87c9bf008ad399080f4c262 | |
parent | 8c33ca2b5bce85e537956a83b125121d115aeac5 (diff) |
ldns: added libressl build support
-rwxr-xr-x | libs/ldns/CONFIGURE | 5 | ||||
-rwxr-xr-x | libs/ldns/DEPENDS | 4 | ||||
-rw-r--r-- | libs/ldns/HISTORY | 3 |
3 files changed, 9 insertions, 3 deletions
diff --git a/libs/ldns/CONFIGURE b/libs/ldns/CONFIGURE index b9daa76597..dd586c4edc 100755 --- a/libs/ldns/CONFIGURE +++ b/libs/ldns/CONFIGURE @@ -12,14 +12,15 @@ config_query_option LDNS_OPTS "Enable DANE support?" y \ "--enable-dane" \ "--disable-dane" && -if spell_ok openssl && is_version_less $(installed_version openssl) 1.0; then +if spell_ok openssl && is_version_less $(installed_version openssl) 1.0 || spell_ok libressl; then message "${MESSAGE_COLOR}WARNING: GOST support requires OpenSSL 1.0, which is not installed. If you need it," && message "select 1.0 below to replace current ${DEFAULT_COLOR}$(installed_version openssl)${MESSAGE_COLOR} version with one from OpenSSL 1.0 branch.${DEFAULT_COLOR}" fi && config_query_list LDNS_OPENSSL "Which OpenSSL branch?" \ 0.9 \ - 1.0 && + 1.0 \ + libressl && config_query_option LDNS_DRILL "Build and install drill?" n \ "--with-drill" "--without-drill" && diff --git a/libs/ldns/DEPENDS b/libs/ldns/DEPENDS index 03e60936ca..4fd2a145ff 100755 --- a/libs/ldns/DEPENDS +++ b/libs/ldns/DEPENDS @@ -7,8 +7,10 @@ if [[ $LDNS_OPENSSL == "1.0" ]]; then config_query_option LDNS_OPTS "Enable GOST support?" y \ "--enable-gost" \ "--disable-gost" -else +elif [[ $LDNS_OPENSSL == "0.9" ]]; then depends openssl '--disable-gost' +else + depends libressl '--disable-gost' fi && optional_depends -sub PYTHON swig \ diff --git a/libs/ldns/HISTORY b/libs/ldns/HISTORY index 352fc2565d..86d00d2443 100644 --- a/libs/ldns/HISTORY +++ b/libs/ldns/HISTORY @@ -1,3 +1,6 @@ +2015-03-06 Vlad Glagolev <stealth@sourcemage.org> + * DEPENDS, CONFIGURE: added libressl build support + 2014-11-22 Vlad Glagolev <stealth@sourcemage.org> * DETAILS: PATCHLEVEL++ * CONFIGURE: added missing options; corrected GOST notice |