summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2006-06-20 04:12:17 +0000
committerAlin Năstac <mrness@gentoo.org>2006-06-20 04:12:17 +0000
commitd79e4a5234ec3d7907baa275e4632a3fdbdb30cf (patch)
tree0f113a4b0143f0d5727b16cf964ea4ffa8039501 /net-proxy/vultureng
parentVersion bump from upstream. This release includes again chm support and a few... (diff)
downloadgentoo-2-d79e4a5234ec3d7907baa275e4632a3fdbdb30cf.tar.gz
gentoo-2-d79e4a5234ec3d7907baa275e4632a3fdbdb30cf.tar.bz2
gentoo-2-d79e4a5234ec3d7907baa275e4632a3fdbdb30cf.zip
version bump
(Portage version: 2.1)
Diffstat (limited to 'net-proxy/vultureng')
-rw-r--r--net-proxy/vultureng/ChangeLog7
-rw-r--r--net-proxy/vultureng/files/digest-vultureng-1.12
-rw-r--r--net-proxy/vultureng/files/digest-vultureng-1.1.13
-rw-r--r--net-proxy/vultureng/vultureng-1.1.1.ebuild76
4 files changed, 87 insertions, 1 deletions
diff --git a/net-proxy/vultureng/ChangeLog b/net-proxy/vultureng/ChangeLog
index a3199b16f4e8..a476c146cb3e 100644
--- a/net-proxy/vultureng/ChangeLog
+++ b/net-proxy/vultureng/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-proxy/vultureng
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/vultureng/ChangeLog,v 1.10 2006/04/14 11:52:27 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/vultureng/ChangeLog,v 1.11 2006/06/20 04:12:17 mrness Exp $
+
+*vultureng-1.1.1 (20 Jun 2006)
+
+ 20 Jun 2006; Alin Nastac <mrness@gentoo.org> +vultureng-1.1.1.ebuild:
+ Version bump.
14 Apr 2006; Alin Nastac <mrness@gentoo.org> -vultureng-0.8.ebuild:
Remove obsolete version.
diff --git a/net-proxy/vultureng/files/digest-vultureng-1.1 b/net-proxy/vultureng/files/digest-vultureng-1.1
index 31ac4f6f3109..289e95591f57 100644
--- a/net-proxy/vultureng/files/digest-vultureng-1.1
+++ b/net-proxy/vultureng/files/digest-vultureng-1.1
@@ -1 +1,3 @@
MD5 d1c2e2a204476b4e2f03061e418d0069 VultureNG-1.1.tar.bz2 883516
+RMD160 134d486850f195893160fd9267468305d4eeb4b7 VultureNG-1.1.tar.bz2 883516
+SHA256 dadac9d249c59b2e42152230b0d9f53cc798465d8ba9adb11031e764fe444edb VultureNG-1.1.tar.bz2 883516
diff --git a/net-proxy/vultureng/files/digest-vultureng-1.1.1 b/net-proxy/vultureng/files/digest-vultureng-1.1.1
new file mode 100644
index 000000000000..e69df3dd36ab
--- /dev/null
+++ b/net-proxy/vultureng/files/digest-vultureng-1.1.1
@@ -0,0 +1,3 @@
+MD5 2ce1270621a64419e8f298b47316a9bc VultureNG-1.1.1.tar.bz2 884223
+RMD160 977d802f38a05e46437d7cd057b77b6ad6d1ac73 VultureNG-1.1.1.tar.bz2 884223
+SHA256 64bc004f96f43a8869612e58d36bdd3462e8c8b3b6378657e13430cfd5e9d7d2 VultureNG-1.1.1.tar.bz2 884223
diff --git a/net-proxy/vultureng/vultureng-1.1.1.ebuild b/net-proxy/vultureng/vultureng-1.1.1.ebuild
new file mode 100644
index 000000000000..950cd7bfe2a0
--- /dev/null
+++ b/net-proxy/vultureng/vultureng-1.1.1.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/vultureng/vultureng-1.1.1.ebuild,v 1.1 2006/06/20 04:12:17 mrness Exp $
+
+inherit flag-o-matic eutils depend.php
+
+DESCRIPTION="INTRINsec Reverse Proxy"
+HOMEPAGE="http://vulture.open-source.fr"
+SRC_URI="http://vulture.open-source.fr/download/VultureNG-${PV}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="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
+ dev-perl/crypt-cbc
+ dev-perl/Digest-SHA1
+ =dev-db/sqlite-2.8*
+ >=www-apache/mod_perl-2.0.1
+ virtual/httpd-php
+ dev-libs/openssl"
+RDEPEND="${DEPEND}
+ >=net-www/apache-2.0.52
+ net-www/mod_security
+ app-admin/sudo"
+
+S="${WORKDIR}/VultureNG-${PV}"
+INTRINsec_HOME="/opt/INTRINsec"
+
+pkg_setup() {
+ require_sqlite;
+}
+
+src_compile() {
+ sed -i -e 's|/opt/INTRINsec/VultureNG|/opt/INTRINsec/vultureng|g'\
+ www/WEB-INF/phpmvc-config.xml sql/sqlite.dump\
+ lib/Vulture/lib/Vulture/ResponseHandler.pm\
+ lib/Vulture/lib/Vulture.pm
+ sqlite sql/db < sql/sqlite.dump
+ sqlite sql/sessions < sql/sessions.dump
+ rm -f lib/Vulture/Makefile
+ libpath=`perl -MConfig -e 'print $Config{sitelib}'`
+ make OPT=LIB="${D}/${libpath}" || die "make failed"
+ cd lib/SSLLookup && perl Makefile.PL DESTDIR="${D}" && make CCFLAGS=-I/usr/include/apr-0 || die "lib/SSLLookup : make failed"
+}
+
+src_install () {
+ make PREFIX="${D}${INTRINsec_HOME}" NAME="${PN}" install || die "make install failed"
+ make -C lib/SSLLookup install || die "lib/SSLLookup : make install failed"
+
+ 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
+
+ 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"
+}