summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2015-10-14 09:19:57 +0200
committerLars Wendler <polynomial-c@gentoo.org>2015-10-14 10:15:39 +0200
commitd8de0384e530de5224c9fdf0634b4db536d024b2 (patch)
tree65e88879ebf693792c3c73951f1eb5d7e3e55ec1
parentdev-java/super-csv: Remove CDEPEND. (diff)
downloadgentoo-d8de0384e530de5224c9fdf0634b4db536d024b2.tar.gz
gentoo-d8de0384e530de5224c9fdf0634b4db536d024b2.tar.bz2
gentoo-d8de0384e530de5224c9fdf0634b4db536d024b2.zip
apache-2.eclass: Added libressl support (bug #562324)
-rw-r--r--eclass/apache-2.eclass7
1 files changed, 5 insertions, 2 deletions
diff --git a/eclass/apache-2.eclass b/eclass/apache-2.eclass
index d0621527649..95a0d842297 100644
--- a/eclass/apache-2.eclass
+++ b/eclass/apache-2.eclass
@@ -89,7 +89,7 @@ SRC_URI="mirror://apache/httpd/httpd-${PV}.tar.bz2
# built-in modules
IUSE_MPMS="${IUSE_MPMS_FORK} ${IUSE_MPMS_THREAD}"
-IUSE="${IUSE} debug doc ldap selinux ssl static suexec threads"
+IUSE="${IUSE} debug doc ldap libressl selinux ssl static suexec threads"
for module in ${IUSE_MODULES} ; do
IUSE="${IUSE} apache2_modules_${module}"
@@ -106,7 +106,10 @@ DEPEND="dev-lang/perl
apache2_modules_deflate? ( sys-libs/zlib )
apache2_modules_mime? ( app-misc/mime-types )
ldap? ( =net-nds/openldap-2* )
- ssl? ( >=dev-libs/openssl-0.9.8m:0= )
+ ssl? (
+ !libressl? ( >=dev-libs/openssl-1.0.2:0= )
+ libressl? ( dev-libs/libressl:= )
+ )
!=www-servers/apache-1*"
RDEPEND+=" ${DEPEND}
selinux? ( sec-policy/selinux-apache )"