2008-03-29 07:57:02 +01:00
|
|
|
# Copyright 1999-2008 Gentoo Foundation
|
2007-08-08 21:25:23 +02:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Header: $
|
|
|
|
|
2008-01-19 20:09:53 +01:00
|
|
|
inherit apache-module ssl-cert
|
2007-08-08 21:25:23 +02:00
|
|
|
|
|
|
|
KEYWORDS="amd64 ~sparc ~x86"
|
|
|
|
|
|
|
|
DESCRIPTION="SSL/TLS module for the Apache HTTP server"
|
|
|
|
HOMEPAGE="http://directory.fedoraproject.org/wiki/Mod_nss"
|
2008-01-19 20:09:53 +01:00
|
|
|
SRC_URI="http://directory.fedoraproject.org/sources/${P}.tar.gz"
|
2007-08-08 21:25:23 +02:00
|
|
|
LICENSE="Apache-2.0"
|
|
|
|
SLOT="0"
|
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
DEPEND=">=dev-libs/nss-3.11.4
|
|
|
|
>=dev-libs/nspr-4.6.4"
|
|
|
|
RDEPEND="${DEPEND}"
|
|
|
|
|
|
|
|
APACHE2_MOD_CONF="47_${PN}"
|
|
|
|
APACHE2_MOD_DEFINE="NSS"
|
|
|
|
|
|
|
|
DOCFILES="LICENSE NOTICE README"
|
|
|
|
|
|
|
|
need_apache2
|
|
|
|
|
|
|
|
src_compile() {
|
2008-03-29 07:57:02 +01:00
|
|
|
econf --with-apxs=${APXS} || die "econf failed"
|
2007-08-08 21:25:23 +02:00
|
|
|
|
|
|
|
emake || die "emake failed"
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
mv -f ".libs/libmodnss.so" ".libs/${PN}.so"
|
|
|
|
|
|
|
|
dosbin gencert nss_pcache
|
|
|
|
dohtml docs/mod_nss.html
|
|
|
|
|
|
|
|
apache-module_src_install
|
|
|
|
}
|