summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEldad Zack <eldad@gentoo.org>2004-07-25 15:00:52 +0000
committerEldad Zack <eldad@gentoo.org>2004-07-25 15:00:52 +0000
commita05a4adda469fd2697f3e67f421e3a5b7925c651 (patch)
treefa09d793bed445daadf07d4b1d8946129fbbaa94 /net-analyzer/ipac-ng
parentremoving amd64 keyword temporarily because of problems with configure script. (diff)
downloadhistorical-a05a4adda469fd2697f3e67f421e3a5b7925c651.tar.gz
historical-a05a4adda469fd2697f3e67f421e3a5b7925c651.tar.bz2
historical-a05a4adda469fd2697f3e67f421e3a5b7925c651.zip
Version bump. Added sqlite support. Closes #54069.
Diffstat (limited to 'net-analyzer/ipac-ng')
-rw-r--r--net-analyzer/ipac-ng/ChangeLog7
-rw-r--r--net-analyzer/ipac-ng/Manifest18
-rw-r--r--net-analyzer/ipac-ng/files/digest-ipac-ng-1.301
-rw-r--r--net-analyzer/ipac-ng/ipac-ng-1.30.ebuild82
4 files changed, 99 insertions, 9 deletions
diff --git a/net-analyzer/ipac-ng/ChangeLog b/net-analyzer/ipac-ng/ChangeLog
index f1e5de98c7ce..975c377b73b4 100644
--- a/net-analyzer/ipac-ng/ChangeLog
+++ b/net-analyzer/ipac-ng/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-analyzer/ipac-ng
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ipac-ng/ChangeLog,v 1.7 2004/07/11 10:15:48 eldad Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ipac-ng/ChangeLog,v 1.8 2004/07/25 15:00:52 eldad Exp $
+
+*ipac-ng-1.30 (25 Jul 2004)
+
+ 25 Jul 2004; Eldad Zack <eldad@gentoo.org> +ipac-ng-1.30.ebuild:
+ Version bump. Added sqlite support. Closes #54069.
11 Jul 2004; Eldad Zack <eldad@gentoo.org> ipac-ng-1.27_p1-r2.ebuild:
marked x86 stable
diff --git a/net-analyzer/ipac-ng/Manifest b/net-analyzer/ipac-ng/Manifest
index c8b5e51900b2..8226e83f47f1 100644
--- a/net-analyzer/ipac-ng/Manifest
+++ b/net-analyzer/ipac-ng/Manifest
@@ -1,24 +1,26 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 85755cd3b9b401f2f3ca9dc06fa00524 ChangeLog 1406
MD5 fdb9f48256d3c23cb85c9ecc714313ef ipac-ng-1.27_p1-r1.ebuild 1858
+MD5 4a96a0a22b8e2b878f95bb77e459cbb2 ipac-ng-1.30.ebuild 2449
MD5 1464b4d70477fe8b0e77a41beb31470e ipac-ng-1.27_p1-r2.ebuild 2235
+MD5 38bfbfe76e8c5c7378e1f45cec7b4e3f ChangeLog 1556
MD5 1fc63e9415d3d2828252746b7bde3144 metadata.xml 426
-MD5 ac210e9fd37f1a10dc14dd5e32df8170 files/digest-ipac-ng-1.27_p1-r1 68
MD5 6cf010319bfd4122f663973e2cfa7d12 files/ipac-ng.cron 217
-MD5 7162c7dc1c32393afef0e407b670497f files/ipac-ng.rc 826
+MD5 6329656330d06c7467a8d624b6b251ed files/ipac.conf.1.27_p1-r2 1817
MD5 6329656330d06c7467a8d624b6b251ed files/ipac.conf 1817
-MD5 86c93e1db547d4504d6dd3557c776d97 files/rules.conf 1812
+MD5 ac210e9fd37f1a10dc14dd5e32df8170 files/digest-ipac-ng-1.27_p1-r1 68
MD5 ac210e9fd37f1a10dc14dd5e32df8170 files/digest-ipac-ng-1.27_p1-r2 68
+MD5 86c93e1db547d4504d6dd3557c776d97 files/rules.conf 1812
+MD5 7162c7dc1c32393afef0e407b670497f files/ipac-ng.rc 826
MD5 30eede3787938f83e39fde04bc1f1e68 files/ipac-ng.cron.1.27_p1-r2 228
+MD5 c6fde5842858e98a063e78223644e191 files/digest-ipac-ng-1.30 65
MD5 0a8be2604f4c00ae679eb98928dfe126 files/ipac-ng.rc.1.27_p1-r2 907
-MD5 6329656330d06c7467a8d624b6b251ed files/ipac.conf.1.27_p1-r2 1817
MD5 3b1a7de81326927d709b5691ec799683 files/rules.conf.1.27_p1-r2 7074
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
-iD8DBQFA+fR+mdTrptrqvGERAodXAJ9H3dTJznHMjyqhSAgTOUF7RXeTTACfQQ/8
-/T7oSBP/LugkcBxEsD+Kb0A=
-=hrq2
+iD8DBQFBA8ppT+MN7JbqCpMRAsaaAJwJ4LaO7a4hApoSlp6hDEshmJWscwCdHuPu
+dAvqopwu7tQiPmw0/PUhzQk=
+=wR9P
-----END PGP SIGNATURE-----
diff --git a/net-analyzer/ipac-ng/files/digest-ipac-ng-1.30 b/net-analyzer/ipac-ng/files/digest-ipac-ng-1.30
new file mode 100644
index 000000000000..38e49ee53dd0
--- /dev/null
+++ b/net-analyzer/ipac-ng/files/digest-ipac-ng-1.30
@@ -0,0 +1 @@
+MD5 89eab6631528b1a946e7b9dec6ee8799 ipac-ng-1.30.tar.bz2 159033
diff --git a/net-analyzer/ipac-ng/ipac-ng-1.30.ebuild b/net-analyzer/ipac-ng/ipac-ng-1.30.ebuild
new file mode 100644
index 000000000000..1b8833d614a0
--- /dev/null
+++ b/net-analyzer/ipac-ng/ipac-ng-1.30.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ipac-ng/ipac-ng-1.30.ebuild,v 1.1 2004/07/25 15:00:52 eldad Exp $
+
+DESCRIPTION="ip accounting suite for 2.4 and 2.6 series kernels with text and PNG image output like mrtg"
+HOMEPAGE="http://sourceforge.net/projects/ipac-ng/"
+SRC_URI="mirror://sourceforge/ipac-ng/${P/_p/pl}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="gd sqlite"
+
+DEPEND="sys-devel/bison
+ sys-devel/flex
+ dev-lang/perl
+ gd? ( dev-perl/GD )
+ sqlite? ( dev-db/sqlite )
+ !sqlite? ( sys-libs/gdbm )
+ sys-devel/flex
+ virtual/libc"
+RDEPEND="net-firewall/iptables
+ virtual/cron
+ dev-lang/perl
+ gd? ( dev-perl/GD )
+ sqlite? ( dev-db/sqlite )
+ !sqlite? ( sys-libs/gdbm )
+ virtual/libc"
+
+src_compile() {
+ local myconf
+
+ if use sqlite; then
+ myconf="--enable-default-storage=sqlite";
+ else
+ myconf="--enable-default-storage=gdbm";
+ fi
+
+ econf ${myconf} \
+ --enable-default-agent=iptables \
+ --enable-default-access=files \
+ --enable-classic=yes \
+ || die "./configure failed"
+
+ emake -j1 || die "make failed"
+}
+
+src_install() {
+ make DESTDIR=${D} install || die "make install failed"
+
+ dodir /var/lib/ipac
+
+ insinto /etc/ipac-ng
+ newins ${FILESDIR}/ipac.conf.${PVR} ipac.conf
+ newins ${FILESDIR}/rules.conf.${PVR} rules.conf
+
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/ipac-ng.rc.${PVR} ipac-ng
+
+ exeinto /etc/cron.hourly
+ newexe ${FILESDIR}/ipac-ng.cron.${PVR} ipac-ng
+
+ dodoc COPYING README* TODO UPDATE* CHANGES
+}
+
+pkg_postinst() {
+ ewarn ""
+ ewarn " W A R N I N G !"
+ ewarn "do not use \"/etc/init.d/iptables save\" when ipac-ng is running!"
+ ewarn "this WILL save ipac rules and can cause problems!"
+ ewarn "ipac-ng should be started AFTER iptables and shut down BEFORE iptables"
+ ewarn "use /etc/init.d/iptables save only when ipac rules are removed!"
+ ewarn ""
+ einfo "the accounting database is at /var/lib/ipac"
+ einfo "use /usr/sbin/ipacsum to get your ip acounting data"
+ einfo "use /usr/sbin/fetchipac to update the accounting at any time"
+ einfo "fetchipac is run by cron every hour by /etc/cron.daily/ipac-ng"
+ einfo "after you changed rules.conf you have to run \"fetchipac -S\" or"
+ einfo "stop/start the service so your iptables gets updated"
+ einfo "if ipac is not working with the default configuration make"
+ einfo "rm /etc/ipac-ng/* and rm /var/lib/ipac/* and emerge again"
+}