summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Krotkine <dams@gentoo.org>2005-06-21 14:46:33 +0000
committerDamien Krotkine <dams@gentoo.org>2005-06-21 14:46:33 +0000
commit01c48794bf10747511b6c5da116094610d556f70 (patch)
tree07997945445e4aa0349d703d9f2ff07103cf62bd /net-proxy
parentVersion bumped to 1.0.21_pre6. (diff)
downloadhistorical-01c48794bf10747511b6c5da116094610d556f70.tar.gz
historical-01c48794bf10747511b6c5da116094610d556f70.tar.bz2
historical-01c48794bf10747511b6c5da116094610d556f70.zip
new version
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'net-proxy')
-rw-r--r--net-proxy/vultureng/ChangeLog7
-rw-r--r--net-proxy/vultureng/Manifest8
-rw-r--r--net-proxy/vultureng/files/digest-vultureng-0.81
-rw-r--r--net-proxy/vultureng/vultureng-0.8.ebuild70
4 files changed, 82 insertions, 4 deletions
diff --git a/net-proxy/vultureng/ChangeLog b/net-proxy/vultureng/ChangeLog
index 0509360260ae..90c7fa8078bf 100644
--- a/net-proxy/vultureng/ChangeLog
+++ b/net-proxy/vultureng/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-proxy/vultureng
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/vultureng/ChangeLog,v 1.4 2005/06/11 20:19:03 dams Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/vultureng/ChangeLog,v 1.5 2005/06/21 14:46:33 dams Exp $
+
+*vultureng-0.8 (21 Jun 2005)
+
+ 21 Jun 2005; <dams@gentoo.org> +vultureng-0.8.ebuild:
+ new version
*vultureng-0.7 (11 Jun 2005)
diff --git a/net-proxy/vultureng/Manifest b/net-proxy/vultureng/Manifest
index 204681181a2c..03f873264c0e 100644
--- a/net-proxy/vultureng/Manifest
+++ b/net-proxy/vultureng/Manifest
@@ -1,6 +1,8 @@
-MD5 8275264c6c1ea8fe1f2e4b7856a8f28c vultureng-0.6.ebuild 1997
+MD5 15e28aa0ef940e48d9f9237039a52711 ChangeLog 737
MD5 00207fef1008248ad0690a78cd626978 metadata.xml 221
+MD5 8275264c6c1ea8fe1f2e4b7856a8f28c vultureng-0.6.ebuild 1997
MD5 dcd73647567b4b1ad89b475dda6064dd vultureng-0.7.ebuild 1994
-MD5 a2a018dcb5cba8bc445cf217ad5e2aca ChangeLog 636
-MD5 b8f04a173281536feefd7b511b4ab04b files/digest-vultureng-0.7 66
+MD5 922fc4d12f5e8f0ac7aef037eba10f74 vultureng-0.8.ebuild 1994
MD5 6befc587a6fc87175425a4999570270b files/digest-vultureng-0.6 66
+MD5 b8f04a173281536feefd7b511b4ab04b files/digest-vultureng-0.7 66
+MD5 6898e93bb4daf8b53aeba0407d2d1d14 files/digest-vultureng-0.8 66
diff --git a/net-proxy/vultureng/files/digest-vultureng-0.8 b/net-proxy/vultureng/files/digest-vultureng-0.8
new file mode 100644
index 000000000000..cf47b92b58c6
--- /dev/null
+++ b/net-proxy/vultureng/files/digest-vultureng-0.8
@@ -0,0 +1 @@
+MD5 34b2f4c3dea34968fd989747b0b40721 VultureNG-0.8.tar.bz2 792732
diff --git a/net-proxy/vultureng/vultureng-0.8.ebuild b/net-proxy/vultureng/vultureng-0.8.ebuild
new file mode 100644
index 000000000000..354716553f39
--- /dev/null
+++ b/net-proxy/vultureng/vultureng-0.8.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/vultureng/vultureng-0.8.ebuild,v 1.1 2005/06/21 14:46:33 dams Exp $
+
+inherit flag-o-matic eutils
+
+DESCRIPTION="INTRINsec Reverse Proxy"
+HOMEPAGE="http://vulture.open-source.fr"
+SRC_URI="http://vulture.open-source.fr/download/VultureNG-${PV}.tar.bz2"
+S=${WORKDIR}/VultureNG-${PV}
+LICENSE="GPL-2"
+SLOT="0"
+
+KEYWORDS="~x86"
+#IUSE="apache2 sqlite"
+
+INTRINsec_HOME="/opt/INTRINsec"
+
+RDEPEND="dev-lang/perl
+dev-perl/perl-ldap
+dev-perl/Apache-Session
+=dev-perl/DBD-SQLite-0.31
+dev-perl/DBD-Pg
+dev-perl/libwww-perl
+net-www/mod_security
+>=www-apache/mod_perl-1.99
+>=net-www/apache-2.0.52
+dev-php/mod_php
+dev-php/PECL-sqlite
+app-admin/sudo
+net-www/mod_ssl
+dev-libs/openssl"
+
+DEPEND="dev-libs/openssl
+dev-db/sqlite
+dev-lang/perl"
+
+src_compile() {
+ sed -i -e 's|/opt/INTRINsec/VultureNG|/opt/INTRINsec/vultureng|g'\
+ www/WEB-INF/phpmvc-config.xml sql/sqlite.dump
+ sqlite sql/db < sql/sqlite.dump
+ rm -f lib/Vulture/Makefile
+ libpath=`perl -MConfig -e 'print $Config{sitelib}'`
+ make OPT=LIB=${D}/${libpath}
+}
+
+src_install () {
+ make PREFIX=${D}${INTRINsec_HOME} NAME=${PN} install
+ fowners apache:apache ${INTRINsec_HOME}/${PN}
+ insopts -m0600 -o apache -g apache
+ insinto ${INTRINsec_HOME}/${PN}/conf
+ doins ebuild/httpd.conf
+ insinto ${INTRINsec_HOME}/${PN}/www
+ doins ebuild/config.php
+ insinto ${INTRINsec_HOME}/${PN}/sql
+ doins sql/db
+# insinto /etc/init.d
+# insopts -m0750 -o root -g root
+# newins ebuild/VultureNG.init vultureng
+ newinitd ebuild/VultureNG.init vultureng
+}
+
+pkg_postinst() {
+ openssl req -x509 -newkey rsa:2048 -batch -nodes\
+ -config ${INTRINsec_HOME}/${PN}/conf/openssl.cnf\
+ -out ${INTRINsec_HOME}/${PN}/conf/vultureng.crt\
+ -keyout ${INTRINsec_HOME}/${PN}/conf/vultureng.key
+ einfo "Vulture is installed. You can now type the following :"
+ einfo "echo \"apache ALL=NOPASSWD:/usr/sbin/apache2,/bin/kill\" >> /etc/sudoers"
+}