summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2007-08-21 19:46:14 +0000
committerAlin Năstac <mrness@gentoo.org>2007-08-21 19:46:14 +0000
commit622abaca6d7476eedc54a61e2dfea57206e84df9 (patch)
tree8df761213e74662772142f155ac0c7ac86e0528c /net-proxy/vulture
parentVersion bump from upstream (diff)
downloadgentoo-2-622abaca6d7476eedc54a61e2dfea57206e84df9.tar.gz
gentoo-2-622abaca6d7476eedc54a61e2dfea57206e84df9.tar.bz2
gentoo-2-622abaca6d7476eedc54a61e2dfea57206e84df9.zip
Import ebuild from upstream homepage (#138640).
(Portage version: 2.1.2.12)
Diffstat (limited to 'net-proxy/vulture')
-rw-r--r--net-proxy/vulture/ChangeLog10
-rw-r--r--net-proxy/vulture/Manifest16
-rw-r--r--net-proxy/vulture/files/digest-vulture-1.973
-rw-r--r--net-proxy/vulture/metadata.xml5
-rw-r--r--net-proxy/vulture/vulture-1.97.ebuild85
5 files changed, 119 insertions, 0 deletions
diff --git a/net-proxy/vulture/ChangeLog b/net-proxy/vulture/ChangeLog
new file mode 100644
index 000000000000..ed92589669d2
--- /dev/null
+++ b/net-proxy/vulture/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-proxy/vulture
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/vulture/ChangeLog,v 1.1 2007/08/21 19:46:14 mrness Exp $
+
+*vulture-1.97 (21 Aug 2007)
+
+ 21 Aug 2007; Alin Năstac <mrness@gentoo.org> +metadata.xml,
+ +vulture-1.97.ebuild:
+ Import ebuild from upstream homepage (#138640).
+
diff --git a/net-proxy/vulture/Manifest b/net-proxy/vulture/Manifest
new file mode 100644
index 000000000000..a231c12ade27
--- /dev/null
+++ b/net-proxy/vulture/Manifest
@@ -0,0 +1,16 @@
+DIST vulture-1.97.tar.bz2 1216123 RMD160 de68078bdfada243fccd19a81f4f054d3070ffbd SHA1 0fbcf6b38d2a535977b671bc90bef59c7364c5ac SHA256 d36ec12b0b5b52409ca91879abb8098779aa90f4e593d3bcc59f81cb35b7d3eb
+EBUILD vulture-1.97.ebuild 2455 RMD160 463d35a6c619be729eacfc6b14dc35a890268cb7 SHA1 fbef24eb1bf9b2a81d2f6a86ee0b0828c696d6ff SHA256 670513ef5458d6022a590f88d26c87db41373dd4c6c5490c6f25b935986a1732
+MD5 14c079df2f917753ba478e4ddcea5a16 vulture-1.97.ebuild 2455
+RMD160 463d35a6c619be729eacfc6b14dc35a890268cb7 vulture-1.97.ebuild 2455
+SHA256 670513ef5458d6022a590f88d26c87db41373dd4c6c5490c6f25b935986a1732 vulture-1.97.ebuild 2455
+MISC ChangeLog 285 RMD160 b1549e87f0b61a3941d8dc71e882693f183dcb16 SHA1 000c9378d47bdc888c23bf52465b361deb911c5f SHA256 8a2cd3381675980ade4c4bb932db4beaa32b159ce4d46dad5a1896d3b65f5073
+MD5 efd1ef6620eda63c471b73ba31793a15 ChangeLog 285
+RMD160 b1549e87f0b61a3941d8dc71e882693f183dcb16 ChangeLog 285
+SHA256 8a2cd3381675980ade4c4bb932db4beaa32b159ce4d46dad5a1896d3b65f5073 ChangeLog 285
+MISC metadata.xml 163 RMD160 c2ac9f4371ee2b2900939826b346671dfdbf7b57 SHA1 e15cf5c70dd7db3aee51fae71ed0d8a935ca897a SHA256 92a873a751f59ab39a314b4b3402ce770ad991d20f50343f17b0dc1c8303848a
+MD5 922b70363bcd33e649c4a58ba56bcab4 metadata.xml 163
+RMD160 c2ac9f4371ee2b2900939826b346671dfdbf7b57 metadata.xml 163
+SHA256 92a873a751f59ab39a314b4b3402ce770ad991d20f50343f17b0dc1c8303848a metadata.xml 163
+MD5 555d7fa1a623ffa863e14ac234799c07 files/digest-vulture-1.97 244
+RMD160 33cb0de3f0860b25ff19fb4170d0717e634c885d files/digest-vulture-1.97 244
+SHA256 3ab964d4eb16408d5a343167213af94fbe3842b23b7177b0337ce091059746e8 files/digest-vulture-1.97 244
diff --git a/net-proxy/vulture/files/digest-vulture-1.97 b/net-proxy/vulture/files/digest-vulture-1.97
new file mode 100644
index 000000000000..286ef7778912
--- /dev/null
+++ b/net-proxy/vulture/files/digest-vulture-1.97
@@ -0,0 +1,3 @@
+MD5 54df4836de2c54bceffc0d9ea549bb3e vulture-1.97.tar.bz2 1216123
+RMD160 de68078bdfada243fccd19a81f4f054d3070ffbd vulture-1.97.tar.bz2 1216123
+SHA256 d36ec12b0b5b52409ca91879abb8098779aa90f4e593d3bcc59f81cb35b7d3eb vulture-1.97.tar.bz2 1216123
diff --git a/net-proxy/vulture/metadata.xml b/net-proxy/vulture/metadata.xml
new file mode 100644
index 000000000000..f29b89e3d3c3
--- /dev/null
+++ b/net-proxy/vulture/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>net-proxy</herd>
+</pkgmetadata>
diff --git a/net-proxy/vulture/vulture-1.97.ebuild b/net-proxy/vulture/vulture-1.97.ebuild
new file mode 100644
index 000000000000..8eb8c25057f0
--- /dev/null
+++ b/net-proxy/vulture/vulture-1.97.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/vulture/vulture-1.97.ebuild,v 1.1 2007/08/21 19:46:14 mrness Exp $
+
+inherit eutils
+
+DESCRIPTION="INTRINsec Reverse Proxy"
+HOMEPAGE="http://vulture.open-source.fr/"
+SRC_URI="http://vulture.open-source.fr/download/${P}.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/DBD-mysql
+ dev-perl/IPC-Run
+ dev-perl/libwww-perl
+ >=dev-perl/crypt-cbc-2.15
+ dev-perl/Crypt-Blowfish
+ dev-perl/Digest-SHA1
+ =dev-db/sqlite-2.8*
+ >=www-apache/mod_perl-2.0.1
+ virtual/httpd-php
+ dev-libs/openssl"
+
+RDEPEND="${DEPEND}
+ www-apache/mod_security
+ >=www-servers/apache-2.2.4
+ app-admin/sudo"
+
+INTRINsec_HOME="/opt/INTRINsec"
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}"
+ EPATCH_SUFFIX="patch"
+ epatch "${WORKDIR}"/${P}/ebuild/*.patch || die "epatch failed"
+}
+
+src_compile() {
+ sqlite sql/db < sql/sqlite.dump
+ sqlite sql/sessions < sql/sessions.dump
+ rm -f lib/Vulture/Makefile
+ local libpath=$(perl -MConfig -e 'print $Config{sitelib}')
+ make OPT=LIB="${D}/${libpath}"
+ cd lib/SSLLookup && perl Makefile.PL DESTDIR="${D}" && make CCFLAGS=-I/usr/include/apr-0
+ rm -f ../../lib/Authen-Radius-0.12/install-radius-db.PL
+ cd ../../lib/Data-HexDump-0.02 && perl Makefile.PL && make
+ cd ../../lib/Authen-Radius-0.12 && perl Makefile.PL && make
+}
+
+src_install () {
+ make PREFIX="${D}${INTRINsec_HOME}" NAME=${PN} install
+ make -C lib/SSLLookup install
+ make -C lib/Data-HexDump-0.02 DESTDIR="${D}" install
+ make -C lib/Authen-Radius-0.12 DESTDIR="${D}" install
+
+ insinto /etc/raddb
+ doins lib/Authen-Radius-0.12/raddb/dictionary*
+ 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/vulture.rc vulture
+}
+
+pkg_postinst() {
+ openssl req -x509 -newkey rsa:2048 -batch -nodes\
+ -config "${INTRINsec_HOME}"/${PN}/conf/openssl.cnf\
+ -out "${INTRINsec_HOME}"/${PN}/conf/vulture.crt\
+ -keyout "${INTRINsec_HOME}"/${PN}/conf/vulture.key
+ einfo "Vulture is installed. You can now type the following :"
+ einfo "echo \"apache ALL=NOPASSWD:/usr/sbin/apache2\" >> /etc/sudoers"
+}