diff options
author | Chuck Short <zul@gentoo.org> | 2004-06-07 01:41:20 +0000 |
---|---|---|
committer | Chuck Short <zul@gentoo.org> | 2004-06-07 01:41:20 +0000 |
commit | b6742380a25cd9d0e879c06c5d73faf5456f01ad (patch) | |
tree | 8f456e4b47d448e187d4dc33f0adcbe1ecccdb45 /net-www/mod_ssl | |
parent | x86 stable. cleanout old version (diff) | |
download | historical-b6742380a25cd9d0e879c06c5d73faf5456f01ad.tar.gz historical-b6742380a25cd9d0e879c06c5d73faf5456f01ad.tar.bz2 historical-b6742380a25cd9d0e879c06c5d73faf5456f01ad.zip |
readded.
Diffstat (limited to 'net-www/mod_ssl')
-rw-r--r-- | net-www/mod_ssl/Manifest | 2 | ||||
-rw-r--r-- | net-www/mod_ssl/files/digest-mod_ssl-2.8.16 | 1 | ||||
-rw-r--r-- | net-www/mod_ssl/mod_ssl-2.8.16.ebuild | 75 |
3 files changed, 77 insertions, 1 deletions
diff --git a/net-www/mod_ssl/Manifest b/net-www/mod_ssl/Manifest index 2879238b7c30..f03ac3cc2f36 100644 --- a/net-www/mod_ssl/Manifest +++ b/net-www/mod_ssl/Manifest @@ -2,7 +2,7 @@ MD5 9bee492177bd2d9ba9efad526dc3bfb7 mod_ssl-2.8.18.ebuild 2193 MD5 1a15ed7e66a2ef99a176d41374557007 mod_ssl-2.8.17.ebuild 2194 MD5 6528929d76e7ac55940ccd4558298122 ChangeLog 4733 MD5 d2da0e45d7e39184d1cb7abbe3879086 metadata.xml 159 -MD5 d9660a5d5e0e7004669341c99a92e91a mod_ssl-2.8.16.ebuild 2178 +MD5 7435d3de6dca81a78d47cbb265b8373c mod_ssl-2.8.16.ebuild 2178 MD5 b152e3907373f3239e7b13efbfb3d7c8 files/ssl.default-vhost.conf 6978 MD5 e451c018a8da27b6842d9224364962a1 files/mod_ssl.conf 2449 MD5 7cdc6f06443dc935bf836249bc085ecd files/gentestcrt.sh 8799 diff --git a/net-www/mod_ssl/files/digest-mod_ssl-2.8.16 b/net-www/mod_ssl/files/digest-mod_ssl-2.8.16 new file mode 100644 index 000000000000..f3e983b37cf4 --- /dev/null +++ b/net-www/mod_ssl/files/digest-mod_ssl-2.8.16 @@ -0,0 +1 @@ +MD5 4f6c580ffa07d33e8584406132b98e86 mod_ssl-2.8.16-1.3.29.tar.gz 754325 diff --git a/net-www/mod_ssl/mod_ssl-2.8.16.ebuild b/net-www/mod_ssl/mod_ssl-2.8.16.ebuild new file mode 100644 index 000000000000..661e7f8c8d51 --- /dev/null +++ b/net-www/mod_ssl/mod_ssl-2.8.16.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-www/mod_ssl/mod_ssl-2.8.16.ebuild,v 1.7 2004/06/07 01:41:20 zul Exp $ + +MY_P=${P}-1.3.29 +S=${WORKDIR}/${MY_P} +DESCRIPTION="An SSL module for the Apache Web server" +SRC_URI="http://www.modssl.org/source/${MY_P}.tar.gz" +HOMEPAGE="http://www.modssl.org/" + +KEYWORDS="x86 ppc sparc alpha hppa" +LICENSE="as-is" +SLOT="0" + +DEPEND="=net-www/apache-1.3.29* + >=dev-libs/openssl-0.9.6k" + +src_unpack() { + unpack ${A} ; cd ${S} + # proper path to openssl + cp pkg.contrib/cca.sh pkg.contrib/cca.sh.orig + sed -e 's%^\(openssl=\).*%\1"/usr/bin/openssl"%' \ + pkg.contrib/cca.sh.orig > pkg.contrib/cca.sh +} + +src_compile() { + SSL_BASE=SYSTEM \ + ./configure \ + --with-apxs=/usr/sbin/apxs || die "bad ./configure" + make || die "compile problem" +} + +src_install() { + exeinto /usr/lib/apache-extramodules + doexe pkg.sslmod/libssl.so + + exeinto /usr/lib/ssl/mod_ssl + doexe pkg.contrib/*.sh ${FILESDIR}/gentestcrt.sh + + dodoc ANNOUNCE CHANGES CREDITS LICENSE NEWS README* + dodir /usr/share/doc/${PF}/html + cp -a pkg.ssldoc/* ${D}/usr/share/doc/${PF}/html + + insinto /etc/apache/conf/vhosts + doins ${FILESDIR}/ssl.default-vhost.conf + + insinto /etc/apache/conf/addon-modules + doins ${FILESDIR}/mod_ssl.conf +} + +pkg_postinst() { + install -d -o root -g root -m0755 ${ROOT}/etc/apache/conf/ssl + + einfo + einfo "Execute \"ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config\"" + einfo "to have your apache.conf auto-updated for use with this module." + einfo "You should then edit your /etc/conf.d/apache file to suit." + einfo + + cd ${ROOT}/etc/apache/conf/ssl + einfo "Generating self-signed test certificate in /etc/apache/conf/ssl..." + einfo "(Ignore any message from the yes command below)" + yes "" | ${ROOT}/usr/lib/ssl/mod_ssl/gentestcrt.sh >/dev/null 2>&1 + einfo +} + +pkg_config() { + ${ROOT}/usr/sbin/apacheaddmod \ + ${ROOT}/etc/apache/conf/apache.conf \ + extramodules/libssl.so mod_ssl.c ssl_module \ + define=SSL addconf=conf/addon-modules/mod_ssl.conf + + echo "Include conf/vhosts/ssl.default-vhost.conf" \ + >> ${ROOT}/etc/apache/conf/apache.conf +} |