You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
998 B
53 lines
998 B
4 years ago
|
# Copyright 1999-2020 Gentoo Authors
|
||
8 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=5
|
||
|
inherit autotools apache-module
|
||
|
|
||
7 years ago
|
DESCRIPTION="mod_gnutls uses GnuTLS for SSL/TLS encryption in Apache2 (compare to mod_ssl)"
|
||
8 years ago
|
HOMEPAGE="https://mod.gnutls.org/"
|
||
|
SRC_URI="https://mod.gnutls.org/downloads/${P}.tar.bz2"
|
||
|
|
||
|
LICENSE="Apache-2.0"
|
||
|
SLOT="0"
|
||
8 years ago
|
KEYWORDS="amd64 x86"
|
||
8 years ago
|
IUSE="test"
|
||
|
|
||
4 years ago
|
CDEPEND=">=net-libs/gnutls-3.3.0:=[pkcs11]"
|
||
8 years ago
|
DEPEND="${CDEPEND}
|
||
|
test? ( app-crypt/monkeysphere )"
|
||
|
RDEPEND="${CDEPEND}"
|
||
|
|
||
|
# Fails because gpg-agent cannot be accessed
|
||
|
RESTRICT="test"
|
||
|
|
||
|
APACHE2_MOD_CONF="47_${PN}"
|
||
|
APACHE2_MOD_DEFINE="GNUTLS"
|
||
|
|
||
|
DOCFILES="CHANGELOG NOTICE README"
|
||
|
|
||
|
need_apache2_4
|
||
|
|
||
|
src_prepare() {
|
||
|
default
|
||
|
eautoreconf
|
||
|
}
|
||
|
|
||
|
src_configure() {
|
||
|
econf --with-apxs="${APXS}" \
|
||
|
--disable-strict \
|
||
|
--disable-doxygen-dot \
|
||
|
--disable-doxygen-doc \
|
||
|
--disable-doxygen-html \
|
||
|
--disable-doxygen-pdf \
|
||
|
ac_cv_path_UNSHARE=no
|
||
|
}
|
||
|
|
||
|
src_compile() {
|
||
|
emake
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
|
apache-module_src_install
|
||
|
}
|