diff options
Diffstat (limited to 'net-analyzer/ipac-ng/files')
-rw-r--r-- | net-analyzer/ipac-ng/files/ipac-ng-1.34-as-needed.patch | 40 | ||||
-rw-r--r-- | net-analyzer/ipac-ng/files/ipac-ng.cron.1.30 | 8 | ||||
-rwxr-xr-x | net-analyzer/ipac-ng/files/ipac-ng.rc.1.30 | 42 | ||||
-rw-r--r-- | net-analyzer/ipac-ng/files/ipac.conf.1.30 | 51 | ||||
-rw-r--r-- | net-analyzer/ipac-ng/files/rules.conf.1.30 | 32 |
5 files changed, 0 insertions, 173 deletions
diff --git a/net-analyzer/ipac-ng/files/ipac-ng-1.34-as-needed.patch b/net-analyzer/ipac-ng/files/ipac-ng-1.34-as-needed.patch deleted file mode 100644 index e94586c..0000000 --- a/net-analyzer/ipac-ng/files/ipac-ng-1.34-as-needed.patch +++ /dev/null @@ -1,40 +0,0 @@ -=== modified file 'configure.in' ---- configure.in 2011-05-24 13:09:44 +0000 -+++ configure.in 2011-05-24 13:10:12 +0000 -@@ -102,7 +102,7 @@ - test $HAVE_LIBSQLITE = no && AC_MSG_WARN([sqlite library not found! - support for optional storage \"sqlite\" will be disabled]) - --LIBS="$LIBS -L. -lipac" -+LIBS="-L. -lipac $LIBS" - - dnl Checks for header files if libraries found - HAVE_POSTGRE=no -@@ -251,7 +251,7 @@ - - storagemethod_makefiles="$storagemethod_makefiles storage/$sm/Makefile" - STORAGEMETHODLIBRARYS="$STORAGEMETHODLIBRARYS storage/$sm/libstor$sm.a" -- LIBS="$LIBS -Lstorage/$sm -lstor$sm" -+ LIBS="-Lstorage/$sm -lstor$sm $LIBS " - dnl check if the storage method requires any libraries. - test -n "$ADDLIBS" && LIBS="$LIBS $ADDLIBS" - done -@@ -309,7 +309,7 @@ - fi - billagent_makefiles="$billagent_makefiles access/$ag/Makefile" - BILLAGENTSLIBRARYS="$BILLAGENTSLIBRARYS access/$ag/libipac$ag.a" -- LIBS="$LIBS -Laccess/$ag -lipac$ag" -+ LIBS="-Laccess/$ag -lipac$ag $LIBS" - dnl check if the access agents requires any libraries. - test -n "$ADDLIBS" && LIBS="$LIBS $ADDLIBS" - done -@@ -383,7 +383,7 @@ - for ag in $ACCAGENTS; do - accagent_makefiles="$accagent_makefiles agents/$ag/Makefile" - ACCAGENTSLIBRARYS="$ACCAGENTSLIBRARYS agents/$ag/libipac$ag.a" -- LIBS="$LIBS -Lagents/$ag -lipac$ag" -+ LIBS="-Lagents/$ag -lipac$ag $LIBS" - dnl check if the accounting agents requires any libraries. - ADDLIBS=`grep 'NEEDLIBS=' agents/$ag/Makefile.in | \ - sed -e 's/^# *NEEDLIBS=//' -e 's/ *$//'` - 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 da94fbd..0000000 --- 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 100755 index 47fdb59..0000000 --- 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 1e8f1f4..0000000 --- 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 6c45c55..0000000 --- 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|||| |