summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2006-01-04 20:09:16 +0000
committerDaniel Black <dragonheart@gentoo.org>2006-01-04 20:09:16 +0000
commit6a1b5825a17f59bd2d92b9c577da191cf8ed3db0 (patch)
treecdc47d3a653daf72922d8927583bcbb050f97a00 /net-analyzer
parentversion bump (diff)
downloadgentoo-2-6a1b5825a17f59bd2d92b9c577da191cf8ed3db0.tar.gz
gentoo-2-6a1b5825a17f59bd2d92b9c577da191cf8ed3db0.tar.bz2
gentoo-2-6a1b5825a17f59bd2d92b9c577da191cf8ed3db0.zip
php4 dependency fixed (bug #102825) loving thanks to Jakub. Dropped ppc keyword awaiting dev-php4/jpgraph.
(Portage version: 2.1_pre3)
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/acid/ChangeLog58
-rw-r--r--net-analyzer/acid/Manifest15
-rw-r--r--net-analyzer/acid/acid-0.9.6_beta23-r1.ebuild57
-rw-r--r--net-analyzer/acid/acid-0.9.6_beta23.ebuild4
-rw-r--r--net-analyzer/acid/files/digest-acid-0.9.6_beta23-r11
5 files changed, 70 insertions, 65 deletions
diff --git a/net-analyzer/acid/ChangeLog b/net-analyzer/acid/ChangeLog
index 0a80b74e594e..7409d68f4647 100644
--- a/net-analyzer/acid/ChangeLog
+++ b/net-analyzer/acid/ChangeLog
@@ -1,55 +1,11 @@
# ChangeLog for net-analyzer/acid
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/acid/ChangeLog,v 1.12 2005/09/16 23:10:12 ciaranm Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/acid/ChangeLog,v 1.13 2006/01/04 20:09:16 dragonheart Exp $
- 16 Sep 2005; Ciaran McCreesh <ciaranm@gentoo.org> ChangeLog:
- Converted to UTF-8, fixed encoding screwups
+*acid-0.9.6_beta23-r1 (04 Jan 2006)
- 08 Sep 2005; Marcelo Goes <vanquirius@gentoo.org>
- acid-0.9.6_beta23.ebuild:
- Update dependency on virtual/http-php, see bug 102825. Thanks to Jakub Moc
- <jakub@gentoo.org> for his kind patch. TODO: test with php-5.
-
- 29 Mar 2005; Jan Brinkmann <luckyduck@gentoo.org> acid-0.9.6_beta23.ebuild:
- added ~amd64 to KEYWORDS, fixes #73861
-
- 26 Feb 2005; Daniel Black <dragonheart@gentoo.org> acid-0.9.6_beta23.ebuild:
- Changed dependancy to php4 only as per bug #79609. Thanks Nicolas-Loïc
- Fortin <nicolasloic.fortin@gmail.com> and Marco Morales <soulse@gmail.com>
-
- 18 Feb 2005; Aaron Walker <ka0ttic@gentoo.org> acid-0.9.6_beta23.ebuild:
- Removed snort dep since its possible to run snort on a different box (bug
- 82359); also cleaned up the ebuild: use built_with_use() instead of the
- homegrown check_useflag(); moved sed's to src_unpack() where they belong.
-
- 04 Nov 2004; Eldad Zack <eldad@gentoo.org> acid-0.9.6_beta23.ebuild:
- PHP 5 Compatability fixes. Thanks to Christian Malerbakken
- <christian@malerbakken.com>. Closes #60489.
-
- 25 Oct 2004; Michael Hanselmann <hansmi@gentoo.org>
- acid-0.9.6_beta23.ebuild:
- Added to ~ppc.
-
- 14 Oct 2004; Eldad Zack <eldad@gentoo.org> acid-0.9.6_beta23.ebuild:
- Fixed pkg_setup.
-
- 12 Oct 2004; Eldad Zack <eldad@gentoo.org> acid-0.9.6_beta23.ebuild:
- Added deps media-libs/gd and dev-php/mod_php. Added a check to see if mod_php
- was emerged with USE=gd, and bail if not. Closes bug #63441. Thanks to
- Benjamin Smee (strerror) <ben@disciplina.net>. Fixed typo in sedding. Closes
- #64164. Thanks to Jakub Moc <jakub.moc@seznam.cz>.
-
- 31 Jul 2004; Michael Sterrett <mr_bones_@gentoo.org>
- acid-0.9.6_beta23.ebuild:
- don't use deprecated ? : syntax
-
- 25 Jul 2004; Eldad Zack <eldad@gentoo.org> acid-0.9.6_beta23.ebuild:
- Updated DBlib_path in acid_conf. Closes #58206.
-
-*acid-0.9.6_beta23 (24 Jul 2004)
-
- 24 Jul 2004; Eldad Zack <eldad@gentoo.org> +metadata.xml,
- +acid-0.9.6_beta23.ebuild:
- Initial ebuild. Adapted from an ebuild submitted by Ryu
- <jasmine.chua@internationalsos.com>. Closes #46575.
+ 04 Jan 2006; Daniel Black <dragonheart@gentoo.org>
+ +acid-0.9.6_beta23-r1.ebuild:
+ php4 dependency fixed (bug #102825) loving
+ thanks to Jakub. Dropped ppc keyword awaiting dev-php4/jpgraph.
diff --git a/net-analyzer/acid/Manifest b/net-analyzer/acid/Manifest
index dedfef96b754..35495082d0a5 100644
--- a/net-analyzer/acid/Manifest
+++ b/net-analyzer/acid/Manifest
@@ -1,14 +1,5 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+MD5 509e09caf07fd01f6c03b21ee3db4366 acid-0.9.6_beta23-r1.ebuild 1386
MD5 64338a3c3cab1840e71f43d4fdf62cd4 acid-0.9.6_beta23.ebuild 1440
-MD5 d5e9bd932b7a02f7fbaa05865d864854 metadata.xml 248
-MD5 6f576058dbe67c913e5998075e58504f ChangeLog 2398
MD5 26f34d01017d5c8acb2d58fd139cef67 files/digest-acid-0.9.6_beta23 65
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFDK1EJLLFUmVNQ7rkRAmWzAKDBZmD9xWYWrwRFg2zyuTKWdstSrgCdHS7Q
-kJ2bSULtUnzUHRWk4f7E0Dw=
-=Gr3/
------END PGP SIGNATURE-----
+MD5 26f34d01017d5c8acb2d58fd139cef67 files/digest-acid-0.9.6_beta23-r1 65
+MD5 d5e9bd932b7a02f7fbaa05865d864854 metadata.xml 248
diff --git a/net-analyzer/acid/acid-0.9.6_beta23-r1.ebuild b/net-analyzer/acid/acid-0.9.6_beta23-r1.ebuild
new file mode 100644
index 000000000000..3c2058aa177d
--- /dev/null
+++ b/net-analyzer/acid/acid-0.9.6_beta23-r1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/acid/acid-0.9.6_beta23-r1.ebuild,v 1.1 2006/01/04 20:09:16 dragonheart Exp $
+
+inherit webapp versionator eutils depend.php depend.apache
+
+MY_P="${P/_beta/b}"
+S="${WORKDIR}/${PN}"
+DESCRIPTION="Snort ACID - Analysis Console for Intrusion Databases"
+HOMEPAGE="http://acidlab.sourceforge.net"
+SRC_URI="http://acidlab.sourceforge.net/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE="apache2"
+
+# Note: jpgraph is an unstable package
+RDEPEND=">=dev-php/adodb-4.65-r1
+ dev-php4/jpgraph
+ media-libs/gd"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
+
+need_php4
+need_apache
+
+pkg_setup() {
+ webapp_pkg_setup
+ require_gd
+ require_php_with_use session
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i '12s:^$DBlib_path =.*:$DBlib_path = "/usr/lib/php/adodb";:' \
+ acid_conf.php || die "sed acid_conf.php failed"
+ sed -i '67s/($version\[0\] >= 4)/($version[0] >= 5) || &/' \
+ acid_db_common.php || die "sed acid_db_common.php failed"
+}
+
+src_install () {
+ webapp_src_preinst
+
+ insinto "${MY_HTDOCSDIR}"
+ doins *
+
+ webapp_src_install
+}
+
+pkg_postinst() {
+ webapp_pkg_postinst
+
+ einfo "Note: ACID is installed as a webapp."
+ einfo "The ACID database is an extension of the SNORT database."
+ einfo "To setup the ACID database look in the README"
+}
diff --git a/net-analyzer/acid/acid-0.9.6_beta23.ebuild b/net-analyzer/acid/acid-0.9.6_beta23.ebuild
index ac7487f37513..822e489bad8a 100644
--- a/net-analyzer/acid/acid-0.9.6_beta23.ebuild
+++ b/net-analyzer/acid/acid-0.9.6_beta23.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/acid/acid-0.9.6_beta23.ebuild,v 1.13 2005/09/08 23:16:04 vanquirius Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/acid/acid-0.9.6_beta23.ebuild,v 1.14 2006/01/04 20:09:16 dragonheart Exp $
inherit webapp versionator eutils depend.php
diff --git a/net-analyzer/acid/files/digest-acid-0.9.6_beta23-r1 b/net-analyzer/acid/files/digest-acid-0.9.6_beta23-r1
new file mode 100644
index 000000000000..154a981d4e91
--- /dev/null
+++ b/net-analyzer/acid/files/digest-acid-0.9.6_beta23-r1
@@ -0,0 +1 @@
+MD5 d8c49614393fa05ac140de349f57e438 acid-0.9.6b23.tar.gz 116728