summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2011-05-24 14:09:45 +0000
committerPeter Volkov <pva@gentoo.org>2011-05-24 14:09:45 +0000
commit2c0945af12a29a058028395218aaeac83c422966 (patch)
treec367e81021996a3c3dd842d62d18da43171a79f3 /net-analyzer
parentversion bump (diff)
downloadgentoo-2-2c0945af12a29a058028395218aaeac83c422966.tar.gz
gentoo-2-2c0945af12a29a058028395218aaeac83c422966.tar.bz2
gentoo-2-2c0945af12a29a058028395218aaeac83c422966.zip
net-analyzer/ipac-ng: hardmasked for year now, does not work/build with recent iptables, kernels, bug #319085.
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/ipac-ng/ChangeLog134
-rw-r--r--net-analyzer/ipac-ng/Manifest12
-rw-r--r--net-analyzer/ipac-ng/files/ipac-ng-1.31-iptables.patch17
-rw-r--r--net-analyzer/ipac-ng/files/ipac-ng-1.31-lable-at-the-end-of-compound.patch10
-rw-r--r--net-analyzer/ipac-ng/files/ipac-ng-1.31-strip.patch10
-rw-r--r--net-analyzer/ipac-ng/files/ipac-ng.cron.1.308
-rw-r--r--net-analyzer/ipac-ng/files/ipac-ng.rc.1.3042
-rw-r--r--net-analyzer/ipac-ng/files/ipac.conf.1.3051
-rw-r--r--net-analyzer/ipac-ng/files/rules.conf.1.3032
-rw-r--r--net-analyzer/ipac-ng/ipac-ng-1.31-r2.ebuild98
-rw-r--r--net-analyzer/ipac-ng/metadata.xml6
11 files changed, 0 insertions, 420 deletions
diff --git a/net-analyzer/ipac-ng/ChangeLog b/net-analyzer/ipac-ng/ChangeLog
deleted file mode 100644
index a970ed338ca1..000000000000
--- a/net-analyzer/ipac-ng/ChangeLog
+++ /dev/null
@@ -1,134 +0,0 @@
-# ChangeLog for net-analyzer/ipac-ng
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ipac-ng/ChangeLog,v 1.30 2010/06/17 21:38:18 patrick Exp $
-
- 17 Jun 2010; Patrick Lauer <patrick@gentoo.org> ipac-ng-1.31-r2.ebuild:
- Migrating away from deprecated postgres virtuals
-
- 15 Jan 2009; Jeroen Roovers <jer@gentoo.org>
- +files/ipac-ng-1.31-strip.patch, ipac-ng-1.31-r2.ebuild:
- Do not strip (bug #251977).
-
- 21 May 2008; Tiziano Müller <dev-zero@gentoo.org> ipac-ng-1.31-r2.ebuild:
- Changed dependency for postgresql from dev-db/postgresql to
- virtual/postgresql-server
-
- 28 Oct 2007; Christian Heim <phreak@gentoo.org> ipac-ng-1.31-r2.ebuild:
- Include virtual/logger in RDEPEND, as the initscript already specifies 'need
- logger'.
-
- 01 Mar 2007; <pva@gentoo.org>
- +files/ipac-ng-1.31-lable-at-the-end-of-compound.patch,
- ipac-ng-1.31-r2.ebuild:
- Fixed compilation problem reported by Nick Soveiko <gentoo-bugzilla AT
- alerik.org> in bug #168067. Fixed || ( use? ( ) ) constructs bug #168179.
-
- 01 Nov 2006; Markus Ullmann <jokey@gentoo.org> -ipac-ng-1.31.ebuild,
- ipac-ng-1.31-r2.ebuild:
- Fixing parallel make issue wrt bug #153249 and small cleanup
-
- 26 Feb 2006; Marcelo Goes <vanquirius@gentoo.org> -ipac-ng-1.30.ebuild,
- -ipac-ng-1.31-r1.ebuild, ipac-ng-1.31-r2.ebuild:
- Mark 1.31-r2 x86 stable.
-
- 16 Jan 2006; Marcelo Goes <vanquirius@gentoo.org> ipac-ng-1.31-r2.ebuild:
- Use mirror://gentoo instead of my devspace.
-
- 12 Jan 2006; Marcelo Goes <vanquirius@gentoo.org> ipac-ng-1.31-r2.ebuild:
- Update patchset for bug 93915.
-
- 10 Jan 2006; Marcelo Goes <vanquirius@gentoo.org> ipac-ng-1.31-r2.ebuild:
- Add fetchcounter patch available from sourceforge, which seems to fix the 0
- byte count problem. Thanks to Gilles Espinasse <g dot esp at free dot fr>
- for the suggestion.
-
-*ipac-ng-1.31-r2 (25 Dec 2005)
-
- 25 Dec 2005; Marcelo Goes <vanquirius@gentoo.org> +ipac-ng-1.31-r2.ebuild:
- Using patch from Ubuntu, attempting to fix problem with iptables-1.3.x. This
- should fix bug 93915. 1.31-r2 is in package.mask at the moment.
-
- 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)
-
- 28 Sep 2002; Mike Frysinger <vapier@gentoo.org> :
- Initial ebuild. Ebuild made by Philipp Lopaur <fips@fips.at> #19246.
diff --git a/net-analyzer/ipac-ng/Manifest b/net-analyzer/ipac-ng/Manifest
deleted file mode 100644
index 45f96a0a0615..000000000000
--- a/net-analyzer/ipac-ng/Manifest
+++ /dev/null
@@ -1,12 +0,0 @@
-AUX ipac-ng-1.31-iptables.patch 389 RMD160 fd15e78a6e0f8477fb2f4a4e82a55e32777a8d4e SHA1 a4e1a11b7660b7012750089834fe225922386fad SHA256 3b4454f56388652805a511787486ece70cc1589e65a87415e5d3cb622b0caf78
-AUX ipac-ng-1.31-lable-at-the-end-of-compound.patch 276 RMD160 03cfa6e064168c32e6fed47417648f39fc10e461 SHA1 4d25723c02f946a9d03655e38be8fed7f4c0d091 SHA256 404060df91c1201fd9651afad4806a15a4db446f458b4267e877c3ad1de09146
-AUX ipac-ng-1.31-strip.patch 322 RMD160 f2b7f418948807ceab092f0f51a6f79b93896360 SHA1 c6c6fd11b8a465ef241ed8e09209dc81b89b3f71 SHA256 7cd4bd4d3f05cfada84b0abdf3385313deaa48c67883bb5274d7076dc3f22782
-AUX ipac-ng.cron.1.30 216 RMD160 a34013742e76d77d0ca5cab75d96ead99ac04ae7 SHA1 e3cee763184634203e2dc68fcc499b8b24bd2e92 SHA256 fe741234fcc84fa9823ebc000bf7cab952b906dbbb9206432398b21569e580ec
-AUX ipac-ng.rc.1.30 897 RMD160 6f8afec9d8a3a8065578a95152e5d6d931d5cc71 SHA1 87d4caf973f7f62bbe42dd908c3f8d1df82d7562 SHA256 6db10bc0c47267f79ac0fe438a45296e766b4c41b284f2dda7b850dc61eb9832
-AUX ipac.conf.1.30 1820 RMD160 513e3e2d9bd9f9e281b68f3a27c717bbb0fe213a SHA1 a415aa4ccba62333b4942d08c21ab5f54b42140c SHA256 162c7e44c9c39341b0c8b1982cc190985c40441164fd7abd48b5e7318f8b05d6
-AUX rules.conf.1.30 1046 RMD160 a1dffd63f1bcc8e2427775182f56b2bdfc69a869 SHA1 6d97977481aa45f845bf97085a8e6228359a8532 SHA256 714cea1d01128c630c9a53110188877ea3a77b028fb12900b6252e793cdaee5b
-DIST ipac-ng-1.31-patches.tar.bz2 26731 RMD160 cf98e61056791f662e8f0b33f9aeee48137080dc SHA1 e0bf56f03df583aea0eb3eb2a3e5729163d9a60a SHA256 a836e32544b02eb8eb545e0b79a6739ed62911cfbdd02af46662bf0b40e22f94
-DIST ipac-ng-1.31.tar.bz2 162843 RMD160 ddab09b9136d59fe74e9aafbc1278cce2b1622d1 SHA1 a69656d328616d1c6233ce2d94fbc94ddfbeba9c SHA256 333e09c8075b576d681932f48158f44419113b64081b110c7377499e02ceb7cd
-EBUILD ipac-ng-1.31-r2.ebuild 2863 RMD160 b8e7a62aea9639a27080e4a48a35261836e2d6af SHA1 99cbb8a6d7ac635550493808fdde77bc3ae9801f SHA256 aab43d08e9900e08231a2a6da0385e2f1a4568d23421f7fd00a86fd5851c21d9
-MISC ChangeLog 5358 RMD160 e70b3870ea9fcbf980a61b9c27fc1b39f08ce25d SHA1 0fdbc174049e69bec798e08ef6f1dc0d8cefa4b3 SHA256 d1af4d97cc861b4c9d6efd323efdcd2f768f6dd9a8719a48cc49751cc67ec194
-MISC metadata.xml 286 RMD160 92f59ba848186619ed6753f6cbbfd8deb3052092 SHA1 f04be974c4bf21f3dad4a34abb3ef205726715ae SHA256 b68c20680aaf86f9886146aad86f532a115427854196c394aebf96725aa660a3
diff --git a/net-analyzer/ipac-ng/files/ipac-ng-1.31-iptables.patch b/net-analyzer/ipac-ng/files/ipac-ng-1.31-iptables.patch
deleted file mode 100644
index 23618cbcf3ef..000000000000
--- a/net-analyzer/ipac-ng/files/ipac-ng-1.31-iptables.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- agents/iptables/libiptc.c.orig 2005-01-09 16:40:43.944772856 +0930
-+++ agents/iptables/libiptc.c 2005-01-09 16:41:02.042021656 +0930
-@@ -15,14 +15,6 @@
- #define IPT_LIB_DIR "/lib/iptables"
- #endif
-
--#ifndef __OPTIMIZE__
--STRUCT_ENTRY_TARGET *
--GET_TARGET(STRUCT_ENTRY *e)
--{
-- return (void *)e + e->target_offset;
--}
--#endif
--
- static int sockfd = -1;
- static void *iptc_fn = NULL;
-
diff --git a/net-analyzer/ipac-ng/files/ipac-ng-1.31-lable-at-the-end-of-compound.patch b/net-analyzer/ipac-ng/files/ipac-ng-1.31-lable-at-the-end-of-compound.patch
deleted file mode 100644
index 39de7f6b1795..000000000000
--- a/net-analyzer/ipac-ng/files/ipac-ng-1.31-lable-at-the-end-of-compound.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- ./agents/ipchains/libipfwc.c.orig 2007-02-28 18:41:43.000000000 +0300
-+++ ./agents/ipchains/libipfwc.c 2007-02-28 18:41:52.000000000 +0300
-@@ -501,6 +501,7 @@
- " transparent proxying?)");
- break;
- default:
-+ break;
- }
- return message;
- }
diff --git a/net-analyzer/ipac-ng/files/ipac-ng-1.31-strip.patch b/net-analyzer/ipac-ng/files/ipac-ng-1.31-strip.patch
deleted file mode 100644
index 9824eadfe549..000000000000
--- a/net-analyzer/ipac-ng/files/ipac-ng-1.31-strip.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- ipac-ng-1.31/Makefile.in.orig 2004-06-15 01:37:57.000000000 +0200
-+++ ipac-ng-1.31/Makefile.in 2009-01-15 06:19:21.000000000 +0100
-@@ -21,7 +21,6 @@
- INSTALLPATH=@sbindir@
- IMANPATH=@mandir@/man8
- ACCTDIR=@ipac_datadir@
--STRIP_DEBUG=yes
- STORAGEMETHODS=@STORAGEMETHODS@
- ACCAGENTS=@ACCAGENTS@
- BILLAGENTS=@BILLAGENTS@
diff --git a/net-analyzer/ipac-ng/files/ipac-ng.cron.1.30 b/net-analyzer/ipac-ng/files/ipac-ng.cron.1.30
deleted file mode 100644
index da94fbd3782b..000000000000
--- a/net-analyzer/ipac-ng/files/ipac-ng.cron.1.30
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/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 $
-
-FI=/usr/sbin/fetchipac
-
-if [ -x ${FI} ] && [ -f /var/run/ipac.rules ]; then
- ${FI}
-fi
diff --git a/net-analyzer/ipac-ng/files/ipac-ng.rc.1.30 b/net-analyzer/ipac-ng/files/ipac-ng.rc.1.30
deleted file mode 100644
index 47fdb598304f..000000000000
--- a/net-analyzer/ipac-ng/files/ipac-ng.rc.1.30
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/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 $
-
-depend() {
- need net logger
-}
-
-start() {
- ebegin "Setting up ipac-ng iptables chains"
- /usr/sbin/fetchipac -S
- /usr/sbin/fetchipac
- eend $?
-}
-
-stop() {
- ## fetch so we dont lose data
- /usr/sbin/fetchipac
-
- IPT=/sbin/iptables
- ebegin "Removing ipac-ng iptables settings"
-
- ${IPT} -D INPUT -s 0/0 -d 0/0 -j ipac~o
- ${IPT} -D OUTPUT -s 0/0 -d 0/0 -j ipac~i
- ${IPT} -D FORWARD -s 0/0 -d 0/0 -j ipac~fi
- ${IPT} -D FORWARD -s 0/0 -d 0/0 -j ipac~fo
-
- ${IPT} -F ipac~i
- ${IPT} -F ipac~o
- ${IPT} -F ipac~fi
- ${IPT} -F ipac~fo
-
- ${IPT} -X ipac~i
- ${IPT} -X ipac~o
- ${IPT} -X ipac~fi
- ${IPT} -X ipac~fo
-
- rm -f /var/run/ipac.rules /var/run/ipac.status
-
- eend $?
-}
diff --git a/net-analyzer/ipac-ng/files/ipac.conf.1.30 b/net-analyzer/ipac-ng/files/ipac.conf.1.30
deleted file mode 100644
index 1e8f1f46fcc2..000000000000
--- a/net-analyzer/ipac-ng/files/ipac.conf.1.30
+++ /dev/null
@@ -1,51 +0,0 @@
-# $Id: ipac.conf.1.30,v 1.2 2004/10/11 23:44:03 eldad Exp $
-
-# This is the main ipac-ng configuration file. It contains the
-# configuration directives that give the ipac-ng its instructions.
-
-## mode of operations: operate only like old ipac or not
-## 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.
-
-## 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
-# supported are: 'iptables', 'ipchains'
-# (ipchains is not supported in nonclassic mode). does anybody still uses them?
-account agent = iptables
-
-## 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 (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
-# 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
-drop zero lines = yes
-
-# This parameters controls database location
-# left blank 'db host', 'db port' for local database
-# as now, both databasess (access and storage) configured by these parameters
-db host = localhost
-db name = ipac
-db user = root
-db port = 5432
-db pass = ""
diff --git a/net-analyzer/ipac-ng/files/rules.conf.1.30 b/net-analyzer/ipac-ng/files/rules.conf.1.30
deleted file mode 100644
index 6c45c558bd9b..000000000000
--- a/net-analyzer/ipac-ng/files/rules.conf.1.30
+++ /dev/null
@@ -1,32 +0,0 @@
-# Example config file with accounting rules
-# Install as /etc/ipac-ng/rules.conf.iptables
-#
-# Format:
-# Name of rule|direction|interface|protocol|source|destination|extension|
-# WARNING!!!! spaces are not allowed before and after '|'.
-#
-# where
-# Name of rule Any string to identify this rule
-# direction ipac~fi - forward in
-# ipac~fo - forward out
-# ipac~i - outgoing from machine with ipac-ng to other host(/net)
-# (or incoming to otherhost)
-# ipac~o - incoming to machine with ipac-ng
-# (or outgoing from otherhost)
-#
-# interface interface name, '+' means all interfaces (dont try to use ip numbers here!)
-# protocol tcp | udp | icmp | all
-# source \
-# destination both as described in ipfwadm(8), or empty
-#
-
-#
-# 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.31-r2.ebuild b/net-analyzer/ipac-ng/ipac-ng-1.31-r2.ebuild
deleted file mode 100644
index ab39062c9666..000000000000
--- a/net-analyzer/ipac-ng/ipac-ng-1.31-r2.ebuild
+++ /dev/null
@@ -1,98 +0,0 @@
-# Copyright 1999-2010 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-r2.ebuild,v 1.11 2010/06/17 21:38:18 patrick Exp $
-
-inherit eutils
-
-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}.tar.bz2
- mirror://gentoo/${P}-patches.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc x86"
-IUSE="gd sqlite postgres"
-
-RDEPEND="postgres? ( dev-db/postgresql-server )
- !postgres? ( sqlite? ( =dev-db/sqlite-2* )
- !sqlite? ( sys-libs/gdbm ) )"
-DEPEND="${RDEPEND}
- sys-devel/bison
- sys-devel/flex"
-RDEPEND="${RDEPEND}
- net-firewall/iptables
- virtual/cron
- dev-lang/perl
- gd? ( dev-perl/GD )
- virtual/logger"
-
-pkg_setup() {
- if use sqlite && use postgres ; then
- die "You have both sqlite and postgres in USE. Please choose one or the other."
- fi
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${WORKDIR}"/${P}-iptables-1.3.1.patch
- epatch "${WORKDIR}"/ipcop-${P}-fetchcounter.patch
- epatch "${FILESDIR}"/${P}-lable-at-the-end-of-compound.patch
- epatch "${FILESDIR}"/${P}-strip.patch
-}
-
-src_compile() {
- local db="gdbm"
- use sqlite && db="sqlite"
- use postgres && db="postgres"
-
- econf \
- --enable-default-storage=${db} \
- --enable-default-agent=iptables \
- --enable-default-access=files \
- --enable-classic=yes \
- || die "configure failed"
-
- emake -j1 || die "make failed"
-}
-
-src_test() {
- einfo "self test is broken"
-}
-
-src_install() {
- make DESTDIR="${D}" install || die "make install failed"
-
- dodir /var/lib/ipac
-
- insinto /etc/ipac-ng
- newins "${FILESDIR}"/ipac.conf.1.30 ipac.conf
- newins "${FILESDIR}"/rules.conf.1.30 rules.conf
-
- newinitd "${FILESDIR}"/ipac-ng.rc.1.30 ipac-ng
-
- exeinto /etc/cron.hourly
- newexe "${FILESDIR}"/ipac-ng.cron.1.30 ipac-ng
-
- dodoc README TODO doc/* CHANGELOG
-}
-
-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.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"
- einfo "rm /etc/ipac-ng/* and rm /var/lib/ipac/* and emerge again"
-}
diff --git a/net-analyzer/ipac-ng/metadata.xml b/net-analyzer/ipac-ng/metadata.xml
deleted file mode 100644
index f6c770bde4d8..000000000000
--- a/net-analyzer/ipac-ng/metadata.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>netmon</herd>
-<longdescription>ip accounting suite for 2.4 and 2.6 series kernels with text and PNG image output like mrtg</longdescription>
-</pkgmetadata>