diff options
author | Alin Năstac <mrness@gentoo.org> | 2007-08-21 19:46:14 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2007-08-21 19:46:14 +0000 |
commit | 6566bb28eb22c0e8e70739f40e596394f6bfb340 (patch) | |
tree | fd7f66c608f558d06cffa9abf2c2dfb7014ccd88 /net-proxy | |
parent | Version bump from upstream (diff) | |
download | historical-6566bb28eb22c0e8e70739f40e596394f6bfb340.tar.gz historical-6566bb28eb22c0e8e70739f40e596394f6bfb340.tar.bz2 historical-6566bb28eb22c0e8e70739f40e596394f6bfb340.zip |
Import ebuild from upstream homepage (#138640).
Package-Manager: portage-2.1.2.12
Diffstat (limited to 'net-proxy')
-rw-r--r-- | net-proxy/vulture/ChangeLog | 10 | ||||
-rw-r--r-- | net-proxy/vulture/Manifest | 26 | ||||
-rw-r--r-- | net-proxy/vulture/files/digest-vulture-1.97 | 3 | ||||
-rw-r--r-- | net-proxy/vulture/metadata.xml | 5 | ||||
-rw-r--r-- | net-proxy/vulture/vulture-1.97.ebuild | 85 |
5 files changed, 129 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..5cb25f92f67b --- /dev/null +++ b/net-proxy/vulture/Manifest @@ -0,0 +1,26 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +DIST vulture-1.97.tar.bz2 1216123 RMD160 de68078bdfada243fccd19a81f4f054d3070ffbd SHA1 0fbcf6b38d2a535977b671bc90bef59c7364c5ac SHA256 d36ec12b0b5b52409ca91879abb8098779aa90f4e593d3bcc59f81cb35b7d3eb +EBUILD vulture-1.97.ebuild 2450 RMD160 36c630d7d568415b3fea5e96dcd24ead4da6814d SHA1 0ab4b9c070420017cbacdee2bee0a49606c70be6 SHA256 29370d5516a787c6c5b9bd7e3dbab828dfdcef8579168fb8a2261bc26260f5b9 +MD5 ef865d239c0347d65375bd8bab8990cb vulture-1.97.ebuild 2450 +RMD160 36c630d7d568415b3fea5e96dcd24ead4da6814d vulture-1.97.ebuild 2450 +SHA256 29370d5516a787c6c5b9bd7e3dbab828dfdcef8579168fb8a2261bc26260f5b9 vulture-1.97.ebuild 2450 +MISC ChangeLog 374 RMD160 4ddea16b46445e2f9595835715843952398b612c SHA1 79960ed47153cd9d8f11457785a211e0b6cdd24e SHA256 8bd8d9321750005bf367180fc343f7fbf21c6034521a9484755a5d995eec9ed4 +MD5 e9874b5db23025af37ad1a8351475624 ChangeLog 374 +RMD160 4ddea16b46445e2f9595835715843952398b612c ChangeLog 374 +SHA256 8bd8d9321750005bf367180fc343f7fbf21c6034521a9484755a5d995eec9ed4 ChangeLog 374 +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 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.6 (GNU/Linux) + +iD8DBQFGy0EQVSA5X31g7/gRAlGOAJ4xcwfMXy7H1VONGAVr8Yus96bd8wCcCb0O +D6MQyLJT09LxDeBm4cSeqt0= +=k5R3 +-----END PGP SIGNATURE----- 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" +} |