diff options
author | Damien Krotkine <dams@gentoo.org> | 2005-05-24 21:04:36 +0000 |
---|---|---|
committer | Damien Krotkine <dams@gentoo.org> | 2005-05-24 21:04:36 +0000 |
commit | f03c67a09cac5423f92a24abeb3769e8ee1a24be (patch) | |
tree | 9748513e9151b3a2650be0f30b278e68de503610 | |
parent | Initial import (diff) | |
download | gentoo-2-f03c67a09cac5423f92a24abeb3769e8ee1a24be.tar.gz gentoo-2-f03c67a09cac5423f92a24abeb3769e8ee1a24be.tar.bz2 gentoo-2-f03c67a09cac5423f92a24abeb3769e8ee1a24be.zip |
version 0.6, first ebuild
(Portage version: 2.0.51.19)
-rw-r--r-- | net-proxy/vultureng/ChangeLog | 9 | ||||
-rw-r--r-- | net-proxy/vultureng/Manifest | 4 | ||||
-rw-r--r-- | net-proxy/vultureng/files/digest-vultureng-0.6 | 1 | ||||
-rw-r--r-- | net-proxy/vultureng/metadata.xml | 8 | ||||
-rw-r--r-- | net-proxy/vultureng/vultureng-0.6.ebuild | 74 |
5 files changed, 96 insertions, 0 deletions
diff --git a/net-proxy/vultureng/ChangeLog b/net-proxy/vultureng/ChangeLog new file mode 100644 index 000000000000..9a00c53413e3 --- /dev/null +++ b/net-proxy/vultureng/ChangeLog @@ -0,0 +1,9 @@ +# 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.1 2005/05/24 21:04:36 dams Exp $ + +*vultureng-0.6 (24 May 2005) + + 24 May 2005; <dams@gentoo.org> +metadata.xml, +vultureng-0.6.ebuild: + version 0.6, first ebuild + diff --git a/net-proxy/vultureng/Manifest b/net-proxy/vultureng/Manifest new file mode 100644 index 000000000000..b1a5e49e9862 --- /dev/null +++ b/net-proxy/vultureng/Manifest @@ -0,0 +1,4 @@ +MD5 2ccaacc477e5bf629751e86001bf597d vultureng-0.6.ebuild 2011 +MD5 00207fef1008248ad0690a78cd626978 metadata.xml 221 +MD5 0337f13cca827f00d496d8ecb8505975 ChangeLog 250 +MD5 6befc587a6fc87175425a4999570270b files/digest-vultureng-0.6 66 diff --git a/net-proxy/vultureng/files/digest-vultureng-0.6 b/net-proxy/vultureng/files/digest-vultureng-0.6 new file mode 100644 index 000000000000..4e0fef39e9d3 --- /dev/null +++ b/net-proxy/vultureng/files/digest-vultureng-0.6 @@ -0,0 +1 @@ +MD5 b9926832a8a131cf830382ba96439cfa VultureNG-0.6.tar.gz 1718418 diff --git a/net-proxy/vultureng/metadata.xml b/net-proxy/vultureng/metadata.xml new file mode 100644 index 000000000000..499579a7b491 --- /dev/null +++ b/net-proxy/vultureng/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>dams@gentoo.org</email> + <name>dams</name> + </maintainer> +</pkgmetadata> diff --git a/net-proxy/vultureng/vultureng-0.6.ebuild b/net-proxy/vultureng/vultureng-0.6.ebuild new file mode 100644 index 000000000000..7a7a9431e67e --- /dev/null +++ b/net-proxy/vultureng/vultureng-0.6.ebuild @@ -0,0 +1,74 @@ +# 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.6.ebuild,v 1.1 2005/05/24 21:04:36 dams Exp $ + +inherit flag-o-matic eutils + +DESCRIPTION="INTRINsec traffic control and advanced routing management console" +HOMEPAGE="http://vulture.open-source.fr" +SRC_URI="http://vulture.open-source.fr/download/VultureNG-${PV}.tar.gz" +S=${WORKDIR}/VultureNG-${PV} +LICENSE="GPL-2" +SLOT="0" + +KEYWORDS="~x86" +IUSE="apache2 sqlite" + +INTRINsec_HOME="/opt/INTRINsec" + +RDEPEND="dev-php/sqlite-php +dev-perl/CGI +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 +>=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" + +src_unpack() { + echo "$PWD" + unpack ${A} || die +} + +src_compile() { + perl -pe 's|/opt/INTRINsec/VultureNG|/opt/INTRINsec/vultureng|g'\ + -i www/WEB-INF/phpmvc-config.xml sql/sqlite.dump + echo "executing sqlite sql/db < sql/sqlite.dump" + sqlite sql/db < sql/sqlite.dump + rm -f lib/Vulture/Makefile + make OPT=LIB=${D}/usr/lib +} + +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 +} + +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" +} |