diff options
Diffstat (limited to 'net-analyzer/ipac-ng')
-rw-r--r-- | net-analyzer/ipac-ng/ChangeLog | 86 | ||||
-rw-r--r-- | net-analyzer/ipac-ng/Manifest | 19 | ||||
-rw-r--r-- | net-analyzer/ipac-ng/files/ipac-ng.cron.1.30 | 2 | ||||
-rw-r--r-- | net-analyzer/ipac-ng/files/ipac-ng.rc.1.30 | 2 | ||||
-rw-r--r-- | net-analyzer/ipac-ng/files/ipac.conf.1.30 | 26 | ||||
-rw-r--r-- | net-analyzer/ipac-ng/files/rules.conf.1.30 | 181 | ||||
-rw-r--r-- | net-analyzer/ipac-ng/ipac-ng-1.30.ebuild | 16 | ||||
-rw-r--r-- | net-analyzer/ipac-ng/ipac-ng-1.31-r1.ebuild | 10 | ||||
-rw-r--r-- | net-analyzer/ipac-ng/ipac-ng-1.31.ebuild | 10 | ||||
-rw-r--r-- | net-analyzer/ipac-ng/metadata.xml | 7 |
10 files changed, 139 insertions, 220 deletions
diff --git a/net-analyzer/ipac-ng/ChangeLog b/net-analyzer/ipac-ng/ChangeLog index 554bfbbec8c2..54e1389b414f 100644 --- a/net-analyzer/ipac-ng/ChangeLog +++ b/net-analyzer/ipac-ng/ChangeLog @@ -1,6 +1,86 @@ -# ChangeLog for net-analyzers/ipac-ng -# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ipac-ng/ChangeLog,v 1.1 2003/09/29 02:16:00 vapier Exp $ +# ChangeLog for net-analyzer/ipac-ng +# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ipac-ng/ChangeLog,v 1.1.1.1 2005/11/30 10:12:46 chriswhite Exp $ + + 01 Oct 2005; Simon Stelling <blubb@gentoo.org> ipac-ng-1.31-r1.ebuild: + added ~amd64 keyword + + 07 Sep 2005; Benjamin Smee <strerror@gentoo.org> ipac-ng-1.31-r1.ebuild: + Fixed typo relating to cron + + 29 Jul 2005; Daniel Black <dragonheart@gentoo.org> ipac-ng-1.31.ebuild: + removed die from epatch || die. + + 19 Jul 2005; David Holm <dholm@gentoo.org> ipac-ng-1.31-r1.ebuild: + Added to ~ppc. + +*ipac-ng-1.31-r1 (11 Mar 2005) + + 11 Mar 2005; Aaron Walker <ka0ttic@gentoo.org> +ipac-ng-1.31-r1.ebuild: + Revision bump; added postgres support via USE=postgres for bug 84797. Thanks + to Wolfgang Frisch for the updated ebuild. + + 25 Feb 2005; Aaron Walker <ka0ttic@gentoo.org> ipac-ng-1.31.ebuild: + Marked stable on x86. + +*ipac-ng-1.31 (09 Jan 2005) + + 09 Jan 2005; Daniel Black <dragonheart@gentoo.org> -files/ipac-ng.cron, + -files/ipac-ng.cron.1.27_p1-r2, -files/ipac-ng.rc, + -files/ipac-ng.rc.1.27_p1-r2, -files/ipac.conf, -files/ipac.conf.1.27_p1-r2, + -files/rules.conf, -files/rules.conf.1.27_p1-r2, -ipac-ng-1.27_p1-r1.ebuild, + -ipac-ng-1.27_p1-r2.ebuild, +ipac-ng-1.31.ebuild, + + /files/ipac-ng-1.31-iptables.patch: + Old version cleanout and version bump as per bug #75190. Thanks to Vanquirius + <marcelogoes@gmail.com> for the bug report. + + 12 Oct 2004; Eldad Zack <eldad@gentoo.org> files/rules.conf.1.30, + ipac-ng-1.30.ebuild: + Provided config files fix. Closes #67065. Thanks to Oliver Noekel + <gentoobugzilla@noekel.com>. + + 24 Aug 2004; Eldad Zack <eldad@gentoo.org> ipac-ng-1.30.ebuild: + x86 stable + + 05 Aug 2004; Anders Rune Jensen <arj@gentoo.org> ipac-ng-1.30.ebuild: + Depend on version 2 of sqlite. + + 27 Jul 2004; Eldad Zack <eldad@gentoo.org> +files/ipac-ng.cron.1.30, + files/ipac-ng.rc.1.27_p1-r2, +files/ipac-ng.rc.1.30, +files/ipac.conf.1.30, + +files/rules.conf.1.30, ipac-ng-1.30.ebuild: + Fixed missing files in install. Closes #58437. + +*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 + + 01 Jul 2004; Jon Hood <squinky86@gentoo.org> ipac-ng-1.27_p1-r1.ebuild, + ipac-ng-1.27_p1-r2.ebuild: + change virtual/glibc to virtual/libc + +*ipac-ng-1.27_p1-r2 (26 Jan 2004) + + 28 Feb 2004; Michael Boman <mboman@gentoo.org> ipac-ng-1.27_p1-r2.ebuild, + files/ipac-ng.cron.1.27_p1-r2, files/ipac-ng.rc.1.27_p1-r2, + files/ipac.conf.1.27_p1-r2, files/rules.conf.1.27_p1-r2: + Commited updated ebuild submitted by Philipp Lopaur + <fips@fips.at>. Closes 43006. + + 26 Jan 2004; Philipp Lopaur <fips@fips.at> : + Noticed that the default config files are not working with + ipac-ng-1.27_p1. Made new ipac.conf and rules.conf. + Updated /etc/init.d/ipac-ng for new iptables table names. + Updated the ebuild. Tested with vanilla 2.6.3 kernel. + +*ipac-ng-1.27_p1-r1 (03 Nov 2003) + + 03 Nov 2003; Mike Frysinger <vapier@gentoo.org> : + Install default ipac.conf and rules.conf to fix segfaults for people + who didnt setup their config files #30937. *ipac-ng-1.27_p1 (28 Sep 2002) diff --git a/net-analyzer/ipac-ng/Manifest b/net-analyzer/ipac-ng/Manifest index e4fdc9293102..f54ff31e1cc1 100644 --- a/net-analyzer/ipac-ng/Manifest +++ b/net-analyzer/ipac-ng/Manifest @@ -1,6 +1,13 @@ -MD5 3259a90e9dce51c57924e5ed590d0527 files/ipac-ng.cron 213 -MD5 53a3011eb11b8ed3051a47561c2d2c37 files/ipac.conf 1801 -MD5 28ecb5c2155adbb6ddb44411c46556c7 files/ipac-ng.rc 843 -MD5 ac210e9fd37f1a10dc14dd5e32df8170 files/digest-ipac-ng-1.27_p1 68 -MD5 c2de4f81b19f5479a357cab32a957c2c ipac-ng-1.27_p1.ebuild 1855 -MD5 e9cab6a10b677b17ccefb91ef163445d ChangeLog 378 +MD5 a66a3b7b0398ab8748473d8526b14416 ChangeLog 3439 +MD5 0440d5d1752a968fc89ee147931e6823 ipac-ng-1.30.ebuild 2443 +MD5 daf7b00d8959920e213edca1042396d3 ipac-ng-1.31-r1.ebuild 2682 +MD5 e5d20765be7eafab113f6e916faad3c3 ipac-ng-1.31.ebuild 2573 +MD5 d21717f5748c9774708f37fd538eca26 metadata.xml 286 +MD5 c6fde5842858e98a063e78223644e191 files/digest-ipac-ng-1.30 65 +MD5 39c34f5fc4e8f1edc81459ec0895f59d files/digest-ipac-ng-1.31 65 +MD5 39c34f5fc4e8f1edc81459ec0895f59d files/digest-ipac-ng-1.31-r1 65 +MD5 b2016c3272e9dd9c2b48238bb07efa3a files/ipac-ng-1.31-iptables.patch 389 +MD5 72162ed7957cc82168b4870d26cf66fe files/ipac-ng.cron.1.30 216 +MD5 983ee78164ba492b7bc558418adb0739 files/ipac-ng.rc.1.30 897 +MD5 aff4fe032f6693f676350c45e7e78261 files/ipac.conf.1.30 1820 +MD5 dba879e7b8ccdcae27d64ceb4ba54f9b files/rules.conf.1.30 1046 diff --git a/net-analyzer/ipac-ng/files/ipac-ng.cron.1.30 b/net-analyzer/ipac-ng/files/ipac-ng.cron.1.30 index da94fbd3782b..ec5cdaa271b5 100644 --- a/net-analyzer/ipac-ng/files/ipac-ng.cron.1.30 +++ b/net-analyzer/ipac-ng/files/ipac-ng.cron.1.30 @@ -1,5 +1,5 @@ #!/bin/sh -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ipac-ng/files/ipac-ng.cron.1.30,v 1.1 2004/07/27 08:50:13 eldad Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ipac-ng/files/ipac-ng.cron.1.30,v 1.1.1.1 2005/11/30 10:12:46 chriswhite Exp $ FI=/usr/sbin/fetchipac diff --git a/net-analyzer/ipac-ng/files/ipac-ng.rc.1.30 b/net-analyzer/ipac-ng/files/ipac-ng.rc.1.30 index 47fdb598304f..3644523fbc07 100644 --- a/net-analyzer/ipac-ng/files/ipac-ng.rc.1.30 +++ b/net-analyzer/ipac-ng/files/ipac-ng.rc.1.30 @@ -1,7 +1,7 @@ #!/sbin/runscript # 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/files/ipac-ng.rc.1.30,v 1.1 2004/07/27 08:50:13 eldad Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ipac-ng/files/ipac-ng.rc.1.30,v 1.1.1.1 2005/11/30 10:12:46 chriswhite Exp $ depend() { need net logger diff --git a/net-analyzer/ipac-ng/files/ipac.conf.1.30 b/net-analyzer/ipac-ng/files/ipac.conf.1.30 index e7d7c591a7a0..c2bd47e091f8 100644 --- a/net-analyzer/ipac-ng/files/ipac.conf.1.30 +++ b/net-analyzer/ipac-ng/files/ipac.conf.1.30 @@ -1,3 +1,5 @@ +# $Id: ipac.conf.1.30,v 1.1.1.1 2005/11/30 10:12:46 chriswhite Exp $ + # This is the main ipac-ng configuration file. It contains the # configuration directives that give the ipac-ng its instructions. @@ -5,37 +7,35 @@ ## please note: you *should* specify YES, unless you are kaiser13 :) ## note2: you are trying to use 'ugly flawed experimental dangerous mode' ## if you are using 'no', don't set it to no. -classic mode = yes -## specify access agent. supported are: files, postgre. files works with classic mode only -# did you specify 'no' above? ok, here should be 'files' for you. +## specify access agent +# supported are: 'files', 'postgre'. 'files' works only with classic mode +# did you specify 'yes' above? Then you should set this here to 'files'. access agent = files -## accouting agent. iptables and ipchains available now. +## accouting agent +# supported are: 'iptables', 'ipchains' # (ipchains is not supported in nonclassic mode). does anybody still uses them? account agent = iptables -## storage. gdbm, postgre and files supported. (files is not recommended) +## storage +# supported are: 'gdbm', 'postgre', 'files' (files is not recommended) # postgre is the best & fastest method now. storage = gdbm - # set the hostname, used to store\fetch\another work with database # get from hostname() if not specified here hostname = sibinet - ## rules file for classic mode rules file = /etc/ipac-ng/rules.conf -## login all users at startup (specific only for nonclassic mode) (only those who has enough cash) -# note: forget about this. +## login all users at startup (only those who have enough cash) +# specify *only* in nonclassic mode, otherwise forget about this #login at start = no -## support for traffic passing to\from auth host (specific only for nonclassic mode) -## name or ip of the auth host -## disable support if not specified, -# forget about this, too +## support for traffic passing to\from auth host +# specify *only* in nonclassic mode, otherwise forget about this #auth host = sibinet.com # dont store lines contains only zeroes to speedup processing and to save space diff --git a/net-analyzer/ipac-ng/files/rules.conf.1.30 b/net-analyzer/ipac-ng/files/rules.conf.1.30 index 7c4da7de00ac..6c45c558bd9b 100644 --- a/net-analyzer/ipac-ng/files/rules.conf.1.30 +++ b/net-analyzer/ipac-ng/files/rules.conf.1.30 @@ -2,7 +2,7 @@ # Install as /etc/ipac-ng/rules.conf.iptables # # Format: -# Name of rule|direction|interface|protocol|source|destination +# Name of rule|direction|interface|protocol|source|destination|extension| # WARNING!!!! spaces are not allowed before and after '|'. # # where @@ -19,177 +19,14 @@ # source \ # destination both as described in ipfwadm(8), or empty # -# incoming: - -### -### W A R N I N G ! ! ! -### -### Don't use symbols other than '0-9A-z[space]' in rules names. You may encounter -### some strange troubles. - -# lets demonstrate this by following rules. -# Example 1: -# there are some hosts in our net 192.168.0.0/24 -# our ipac-ng host has two interfaces - eth0 connected to local net -# and eth1 to internet - - -# lets count all traffic incoming to our net - -# forwarded from inet (0/0) to localnet (192.168.0.0/24) -#incoming all to my net|ipac~fi||all||192.168.0.0/24 - -# incoming to localnet from ipac-ng host (specify ipac-ng ip's here, to avoid -# doubling forwarded traffic when using NAT) -#incoming all to my net|ipac~i||all|192.168.0.1|192.168.0.0/24 - - -# same for outgoing: -#outgoing all from my net|ipac~fo||all|192.168.0.0/24| -#outgoing all from my net|ipac~o||all|192.168.0.0/24|192.168.0.1 - - - -# and now we want to know, how much there is traffic to our ipac host from inet -#incoming inet to ipac host|ipac~o|eth1|all|| - -# same for outgoing for this host -#outgoing inet from ipac host|ipac~i|eth1|all|| - -# please note, that chains 'ipac~i' and 'ipac~o' are reversed for the host with ipac - -# wanna count traffic to squid that resides on the host with ipac-ng? here you are :) -#incoming to squid|ipac~o|eth1|all|0/0 80 81 82 83 8080| -# sure, this rule is only valid in the case when you don't eat traffic from these ports -# by hopping on the web from ipac-ng host (maybe you like to use links :) - -# our net is using squid heavily, let's count them all together: -#outgoing from squid to mynet|ipac~i||all|192.168.0.1 squid|192.168.0.0/24 - - -# now lets count traffic for hosts mary (192.168.0.12) and fred (192.168.0.13) - -# incoming: -#incoming all to mary|ipac~fi||all||192.168.0.12 -#incoming all to mary|ipac~i||all|192.168.0.1|192.168.0.12 - -# and outgoing: -#outgoing all from mary|ipac~fo||all|192.168.0.12| -#outgoing all from mary|ipac~o||all|192.168.0.12|192.168.0.1 - - -# same for fred -# incoming: -#incoming all to mary|ipac~fi||all||192.168.0.13 -#incoming all to mary|ipac~i||all|192.168.0.1|192.168.0.13 - -# and outgoing: -#outgoing all from fred|ipac~fo||all|192.168.0.13| -#outgoing all from fred|ipac~o||all|192.168.0.13|192.168.0.1 - - -# we also wants http and ssh traffic statistics - -# http incoming -#incoming http to my net|ipac~fi||all|0/0 http squid 8080|192.168.0.0/24 -#incoming http to my net|ipac~i||all|192.168.0.1 http squid|192.168.0.0/24 -# please note, that the last rule includes rule 'outgoing from squid to mynet' - - -# outgoing: -#outgoing http from my net|ipac~fo||all|192.168.0.0/24|0/0 http squid 8080 -#outgoing http from my net|ipac~o||all|192.168.0.0/24|192.168.0.1 http squid - - -# ssh incoming -#incoming ssh to my net|ipac~fi||all|0/0 ssh|192.168.0.0/24 -#incoming ssh to my net|ipac~i||all|192.168.0.1 ssh|192.168.0.0/24 - -# outgoing: -#outgoing ssh from my net|ipac~fo||all|192.168.0.0/24|0/0 ssh -#outgoing ssh from my net|ipac~o||all|192.168.0.0/24|192.168.0.1 ssh - - -# there is somenet of our friend. we wanna know how much traffic it generates -# note: that net cidrs is contained in CONFIGDIR (/etc/ipac-ng by default) -# 'friendnet' file - -#incoming from somenet to mynet|ipac~fi||all||@/friendnet@in_some_to_my~fi -# first field here ('incoming from somenet to mynet') contains rule name. -# you'll see all statistics under this name -# other fields are same as above but now we are interested in the last one - -# @/frendnet@in_some_to_my~fi -# 'friendnet' represents file with cidr's of that net, one in a line -# 'in_some_to_my' represents chains name that will be created. there is no sense -# for ipac-ng of that name. but it may be usefull for you to give -# "speaking" name to that chain - -# same for outgoing -#outgoing to somenet from mynet|ipac~fo||all|@/friendnet@out_some_to_my~fo| - -# denote absense of rules targetted to 'ipac~i' and 'ipac~o' -# we just don't want to count traffic from\to our ipac-ng host to\from friendnet - -# and now we want to count traffic to our other net 192.168.1.0/24 for every host -# lets separate /24 subnet to some smaller ones to lower latence. /26 for e.g. -#%chain% incoming to othernet0~fi|ipac~fi||all||192.168.1.0/26 -#%chain% incoming to othernet1~fi|ipac~fi||all||192.168.1.64/26 -#%chain% incoming to othernet2~fi|ipac~fi||all||192.168.1.128/26 -#%chain% incoming to othernet3~fi|ipac~fi||all||192.168.1.192/26 - -#%chain% outgoing from othernet0~fo|ipac~fo||all|192.168.1.0/26| -#%chain% outgoing from othernet1~fo|ipac~fo||all|192.168.1.64/26| -#%chain% outgoing from othernet2~fo|ipac~fo||all|192.168.1.128/26| -#%chain% outgoing from othernet3~fo|ipac~fo||all|192.168.1.192/26| - -# and every single host follows -#incoming to 192.168.1.2|incoming to othernet0~fi||all||192.168.1.2 -#incoming to 192.168.1.3|incoming to othernet0~fi||all||192.168.1.3 -#incoming to 192.168.1.4|incoming to othernet0~fi||all||192.168.1.4 # -# and so on :) -#incoming to 192.168.1.63|incoming to othernet0~fi||all||192.168.1.63 - -# same for outgoing -#outgoing from 192.168.1.2|outgoing from othernet0~fo||all|192.168.1.2| -#outgoing from 192.168.1.3|outgoing from othernet0~fo||all|192.168.1.3| -#outgoing from 192.168.1.4|outgoing from othernet0~fo||all|192.168.1.4| - -# and the last -#outgoing from 192.168.1.63|outgoing from othernet0~fo||all|192.168.1.63| - -# repeat for other chains and hosts - -#incoming to 192.168.1.64|incoming to othernet1~fi||all||192.168.1.64 -#incoming to 192.168.1.65|incoming to othernet1~fi||all||192.168.1.65 -#incoming to 192.168.1.66|incoming to othernet1~fi||all||192.168.1.66 - -# and so on :) -#incoming to 192.168.1.127|incoming to othernet1~fi||all||192.168.1.127 - -# same for outgoing -#outgoing from 192.168.1.64|outgoing from othernet1~fo||all|192.168.1.64| -#outgoing from 192.168.1.65|outgoing from othernet1~fo||all|192.168.1.65| -#outgoing from 192.168.1.66|outgoing from othernet1~fo||all|192.168.1.66| - -# and the last -#outgoing from 192.168.1.127|outgoing from othernet1~fo||all|192.168.1.127| - -# and so on :) - -# please note that chain names must ends with one of: '~i', '~o', '~fi' or '~fo' -# which one is necessary is defined by the parent chain. - - -############################## -#just a simple example -#note that outgoing from this host is ipac~i -#and incoming is ipac~o - -outgoing eth0|ipac~i|eth0|all|| -incoming eth0|ipac~o|eth0|all|| -traffic eth0|ipac~i|eth0|all|| -traffic eth0|ipac~o|eth0|all|| - +# W A R N I N G ! ! ! +# +# Don't use symbols other than '0-9A-z[space]' in rules names. You may encounter +# some strange troubles. +Incoming Total System|ipac~o|eth0|all|||| +Incoming Total System|ipac~fi|eth0|all|||| +Outgoing Total System|ipac~i|eth0|all|||| +Outgoing Total System|ipac~fo|eth0|all|||| diff --git a/net-analyzer/ipac-ng/ipac-ng-1.30.ebuild b/net-analyzer/ipac-ng/ipac-ng-1.30.ebuild index 1b8833d614a0..6c94a7b65fa3 100644 --- a/net-analyzer/ipac-ng/ipac-ng-1.30.ebuild +++ b/net-analyzer/ipac-ng/ipac-ng-1.30.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2005 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 $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ipac-ng/ipac-ng-1.30.ebuild,v 1.1.1.1 2005/11/30 10:12:46 chriswhite 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/" @@ -8,14 +8,14 @@ SRC_URI="mirror://sourceforge/ipac-ng/${P/_p/pl}.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~x86" +KEYWORDS="x86" IUSE="gd sqlite" DEPEND="sys-devel/bison sys-devel/flex dev-lang/perl gd? ( dev-perl/GD ) - sqlite? ( dev-db/sqlite ) + sqlite? ( =dev-db/sqlite-2* ) !sqlite? ( sys-libs/gdbm ) sys-devel/flex virtual/libc" @@ -23,7 +23,7 @@ RDEPEND="net-firewall/iptables virtual/cron dev-lang/perl gd? ( dev-perl/GD ) - sqlite? ( dev-db/sqlite ) + sqlite? ( =dev-db/sqlite-2* ) !sqlite? ( sys-libs/gdbm ) virtual/libc" @@ -60,17 +60,17 @@ src_install() { exeinto /etc/cron.hourly newexe ${FILESDIR}/ipac-ng.cron.${PVR} ipac-ng - dodoc COPYING README* TODO UPDATE* CHANGES + dodoc README TODO doc/* CHANGELOG } pkg_postinst() { - ewarn "" + 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 "" + 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" diff --git a/net-analyzer/ipac-ng/ipac-ng-1.31-r1.ebuild b/net-analyzer/ipac-ng/ipac-ng-1.31-r1.ebuild index f56f7dcebaab..2b15adebcefd 100644 --- a/net-analyzer/ipac-ng/ipac-ng-1.31-r1.ebuild +++ b/net-analyzer/ipac-ng/ipac-ng-1.31-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 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.31-r1.ebuild,v 1.1 2005/03/11 10:41:27 ka0ttic Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ipac-ng/ipac-ng-1.31-r1.ebuild,v 1.1.1.1 2005/11/30 10:12:46 chriswhite Exp $ inherit eutils @@ -10,7 +10,7 @@ SRC_URI="mirror://sourceforge/ipac-ng/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~x86" +KEYWORDS="~amd64 ~ppc ~x86" IUSE="gd sqlite postgres" RDEPEND="virtual/libc @@ -76,17 +76,17 @@ src_install() { } pkg_postinst() { - ewarn "" + 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 "" + 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 "fetchipac is run by cron every hour by /etc/cron.hourly/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" diff --git a/net-analyzer/ipac-ng/ipac-ng-1.31.ebuild b/net-analyzer/ipac-ng/ipac-ng-1.31.ebuild index e949ab69cc5a..5438fd094433 100644 --- a/net-analyzer/ipac-ng/ipac-ng-1.31.ebuild +++ b/net-analyzer/ipac-ng/ipac-ng-1.31.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 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.31.ebuild,v 1.1 2005/01/09 07:24:00 dragonheart Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ipac-ng/ipac-ng-1.31.ebuild,v 1.1.1.1 2005/11/30 10:12:46 chriswhite Exp $ inherit eutils @@ -10,7 +10,7 @@ SRC_URI="mirror://sourceforge/ipac-ng/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~x86" +KEYWORDS="x86" IUSE="gd sqlite" DEPEND="sys-devel/bison @@ -32,7 +32,7 @@ RDEPEND="net-firewall/iptables src_unpack() { unpack ${A} cd ${S} - epatch ${FILESDIR}/${P}-iptables.patch || die "patch failed" + epatch ${FILESDIR}/${P}-iptables.patch } src_compile() { @@ -76,13 +76,13 @@ src_install() { } pkg_postinst() { - ewarn "" + 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 "" + 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" diff --git a/net-analyzer/ipac-ng/metadata.xml b/net-analyzer/ipac-ng/metadata.xml index 0529f8a3c7f8..f6c770bde4d8 100644 --- a/net-analyzer/ipac-ng/metadata.xml +++ b/net-analyzer/ipac-ng/metadata.xml @@ -2,10 +2,5 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>netmon</herd> -<maintainer> - <email>mboman@gentoo.org</email> - <name>Michael Boman</name> - <description>Interim Maintainer</description> -</maintainer> -<longdescription>IP accounting suite for 2.4 and 2.6 series kernels with text and PNG image output like MRTG.</longdescription> +<longdescription>ip accounting suite for 2.4 and 2.6 series kernels with text and PNG image output like mrtg</longdescription> </pkgmetadata> |