diff options
author | Eldad Zack <eldad@gentoo.org> | 2004-07-25 15:00:52 +0000 |
---|---|---|
committer | Eldad Zack <eldad@gentoo.org> | 2004-07-25 15:00:52 +0000 |
commit | f4c0f98efe448e45a9bd37fafe495e75ab0484ae (patch) | |
tree | 853d828d37f0b2c8f267ca28d5f9af879fc2d36e /net-analyzer/ipac-ng | |
parent | removing amd64 keyword temporarily because of problems with configure script.... (diff) | |
download | gentoo-2-f4c0f98efe448e45a9bd37fafe495e75ab0484ae.tar.gz gentoo-2-f4c0f98efe448e45a9bd37fafe495e75ab0484ae.tar.bz2 gentoo-2-f4c0f98efe448e45a9bd37fafe495e75ab0484ae.zip |
Version bump. Added sqlite support. Closes #54069.
Diffstat (limited to 'net-analyzer/ipac-ng')
-rw-r--r-- | net-analyzer/ipac-ng/ChangeLog | 7 | ||||
-rw-r--r-- | net-analyzer/ipac-ng/Manifest | 22 | ||||
-rw-r--r-- | net-analyzer/ipac-ng/files/digest-ipac-ng-1.30 | 1 | ||||
-rw-r--r-- | net-analyzer/ipac-ng/ipac-ng-1.30.ebuild | 82 |
4 files changed, 96 insertions, 16 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..b0fb2e0ba941 100644 --- a/net-analyzer/ipac-ng/Manifest +++ b/net-analyzer/ipac-ng/Manifest @@ -1,24 +1,16 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 85755cd3b9b401f2f3ca9dc06fa00524 ChangeLog 1406 MD5 fdb9f48256d3c23cb85c9ecc714313ef ipac-ng-1.27_p1-r1.ebuild 1858 +MD5 c3951b97aae42ba880f30f241401ca13 ipac-ng-1.30.ebuild 2455 MD5 1464b4d70477fe8b0e77a41beb31470e ipac-ng-1.27_p1-r2.ebuild 2235 +MD5 85755cd3b9b401f2f3ca9dc06fa00524 ChangeLog 1406 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 ------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" +} |