summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-apache/mod_gnutls/mod_gnutls-0.5.10.ebuild')
-rw-r--r--www-apache/mod_gnutls/mod_gnutls-0.5.10.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/www-apache/mod_gnutls/mod_gnutls-0.5.10.ebuild b/www-apache/mod_gnutls/mod_gnutls-0.5.10.ebuild
new file mode 100644
index 000000000000..e248d2ed5f4b
--- /dev/null
+++ b/www-apache/mod_gnutls/mod_gnutls-0.5.10.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2012 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.ebuild,v 1.1 2012/10/12 07:02:10 patrick Exp $
+
+EAPI="3"
+
+inherit apache-module ssl-cert
+
+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_configure() {
+ econf --with-apxs="${APXS}"
+}
+
+src_compile() {
+ emake || die "emake failed"
+}
+
+src_install() {
+ mv -f src/.libs/libmod_gnutls.so src/.libs/${PN}.so
+ keepdir /var/cache/${PN}
+ apache-module_src_install
+}