# ChangeLog for www-apache/mod_gnutls
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_gnutls/ChangeLog,v 1.9 2006/06/04 18:56:25 vericgar Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_gnutls/ChangeLog,v 1.10 2007/01/15 16:33:00 chtekk Exp $
+
+ 15 Jan 2007; Luca Longinotti <chtekk@gentoo.org> -mod_gnutls-0.1.0.ebuild,
+ -mod_gnutls-0.1.1.ebuild, -mod_gnutls-0.1.1-r1.ebuild,
+ mod_gnutls-0.2.0.ebuild:
+ Cleanup.
04 Jun 2006; Michael Stewart <vericgar@gentoo.org>
mod_gnutls-0.1.0.ebuild, mod_gnutls-0.1.1.ebuild,
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 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.2.0.ebuild,v 1.3 2006/06/04 18:56:25 vericgar Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_gnutls/mod_gnutls-0.2.0.ebuild,v 1.4 2007/01/15 16:33:00 chtekk Exp $
inherit apache-module ssl-cert
-DESCRIPTION="mod_gnutls uses the GnuTLS library to provide SSL v3, TLS 1.0 and \
-TLS 1.1 encryption for Apache HTTPD. It is similar to mod_ssl in purpose, but \
-does not use OpenSSL."
-SRC_URI="http://www.outoforder.cc/downloads/mod_gnutls/${P}.tar.bz2"
-HOMEPAGE="http://www.outoforder.cc/projects/apache/mod_gnutls/"
+KEYWORDS="amd64 ~sparc ~x86"
-SLOT="0"
+DESCRIPTION="mod_gnutls uses GnuTLS to provide SSL v3, TLS 1.0 and TLS 1.1 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"
-KEYWORDS="amd64 ~sparc ~x86"
+SLOT="0"
IUSE=""
DEPEND=">=net-libs/gnutls-1.2.0"
need_apache2
src_compile() {
- econf --with-apxs="${APXS2}" || die "configure failed"
+ econf --with-apxs=${APXS2} || die "econf failed"
- emake || die "make failed"
+ emake || die "emake failed"
}
src_install() {
- mv src/.libs/{lib,}mod_gnutls.so
+ mv -f "src/.libs/libmod_gnutls.so" "src/.libs/${PN}.so"
- insinto ${APACHE2_CONFDIR}
+ insinto "${APACHE2_CONFDIR}"
doins data/rsafile data/dhfile
- keepdir ${APACHE2_CONFDIR}/ssl
- keepdir /var/cache/mod_gnutls
+ keepdir "${APACHE2_CONFDIR}/ssl"
+ keepdir "${ROOT}"/var/cache/${PN}
apache-module_src_install
}
-
-#pkg_postinst() {
-# if [ ! -f "${APACHE2_CONFDIR}/ssl/server.crt" ]; then
-# docert "${APACHE2_CONFDIR}/ssl/server"
-# else
-# einfo "Skipping generation of SSL server certificates,"
-# einfo "as it seem you already have some."
-# fi
-#}
-
-# vim:ts=4