blob: adfef3d824d1d4addb108eeda87478b857105f75 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_gnutls/mod_gnutls-0.5.10-r1.ebuild,v 1.2 2014/01/01 18:50:58 pacho Exp $
EAPI="5"
inherit apache-module autotools eutils
DESCRIPTION="mod_gnutls uses GnuTLS to provide SSL/TLS encryption for Apache2, similarly to mod_ssl"
HOMEPAGE="http://www.outoforder.cc/projects/apache/mod_gnutls/"
SRC_URI="http://www.outoforder.cc/downloads/${PN}/${P}.tar.bz2"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~sparc ~x86"
IUSE=""
DEPEND=">=net-libs/gnutls-2.10.0:="
RDEPEND="${DEPEND}"
APACHE2_MOD_CONF="47_${PN}"
APACHE2_MOD_DEFINE="GNUTLS"
DOCFILES="NEWS NOTICE README README.ENV"
need_apache2
src_prepare() {
epatch "${FILESDIR}/${P}-httpd24.patch"
epatch "${FILESDIR}/${PN}_apr_memcache_m4_dirty.patch"
epatch "${FILESDIR}/${P}-no-extra.patch"
epatch_user
eautoreconf
}
src_configure() {
econf --with-apxs="${APXS}"
}
src_compile() {
emake
}
src_install() {
mv -f src/.libs/libmod_gnutls.so src/.libs/${PN}.so
keepdir /var/cache/${PN}
apache-module_src_install
}
|