2007-08-08 21:25:23 +02:00
|
|
|
# Copyright 1999-2007 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Header: $
|
|
|
|
|
|
|
|
inherit apache-module ssl-cert versionator
|
|
|
|
|
|
|
|
MY_PV=$(replace_version_separator 2 '-')
|
|
|
|
|
|
|
|
KEYWORDS="amd64 ~sparc ~x86"
|
|
|
|
|
|
|
|
DESCRIPTION="SSL/TLS module for the Apache HTTP server"
|
|
|
|
HOMEPAGE="http://directory.fedoraproject.org/wiki/Mod_nss"
|
2007-10-09 22:38:20 +02:00
|
|
|
SRC_URI="http://ftp.mars.arge.at/fedora-ds/${PN}-${MY_PV}.tar.bz2
|
|
|
|
ftp://mars.arge.at/fedora-ds/${PN}-${MY_PV}.tar.bz2"
|
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}"
|
|
|
|
|
|
|
|
S="${WORKDIR}/${PN}-${MY_PV}"
|
|
|
|
|
|
|
|
APACHE2_MOD_CONF="47_${PN}"
|
|
|
|
APACHE2_MOD_DEFINE="NSS"
|
|
|
|
|
|
|
|
DOCFILES="LICENSE NOTICE README"
|
|
|
|
|
|
|
|
need_apache2
|
|
|
|
|
|
|
|
src_compile() {
|
|
|
|
econf --with-apxs=${APXS2} || die "econf failed"
|
|
|
|
|
|
|
|
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
|
|
|
|
}
|