diff --git a/iptstate/.footprint b/iptstate/.footprint new file mode 100644 index 000000000..40c45af0f --- /dev/null +++ b/iptstate/.footprint @@ -0,0 +1,6 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/man/ +drwxr-xr-x root/root usr/man/man8/ +-rw-r--r-- root/root usr/man/man8/iptstate.8.gz +drwxr-xr-x root/root usr/sbin/ +-rwxr-xr-x root/root usr/sbin/iptstate diff --git a/iptstate/.md5sum b/iptstate/.md5sum new file mode 100644 index 000000000..9eb6035cc --- /dev/null +++ b/iptstate/.md5sum @@ -0,0 +1,2 @@ +d6faad8f6dfd59673e2e15fc5a9a4c92 iptstate-2.2.1-install.patch +5238a0c4c4f764a919aba678051698ec iptstate-2.2.3.tar.bz2 diff --git a/iptstate/Pkgfile b/iptstate/Pkgfile new file mode 100644 index 000000000..2f303b066 --- /dev/null +++ b/iptstate/Pkgfile @@ -0,0 +1,19 @@ +# Description: A top-like interface to your netfilter connection-tracking table. +# URL: http://www.phildev.net/iptstate/ +# Maintainer: Danny Rawlins, monster dot romster at gmail dot com +# Packager: Jürgen Daubert, juergen dot daubert at t-online dot de +# Depends on: ncurses libnetfilter_conntrack + +name=iptstate +version=2.2.3 +release=1 +source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tar.bz2 + $name-2.2.1-install.patch) + +build() { + cd $name-$version + patch -p 1 -i $SRC/$name-2.2.1-install.patch + make + make DESTDIR=$PKG install +} + diff --git a/iptstate/iptstate-2.2.1-install.patch b/iptstate/iptstate-2.2.1-install.patch new file mode 100644 index 000000000..90895281d --- /dev/null +++ b/iptstate/iptstate-2.2.1-install.patch @@ -0,0 +1,22 @@ +--- iptstate-2.2.1/Makefile-orig 2007-05-25 23:50:11.000000000 +1000 ++++ iptstate-2.2.1/Makefile 2007-05-25 23:51:52.000000000 +1000 +@@ -12,7 +12,7 @@ + SBIN?=$(PREFIX)/sbin + INSTALL?=/usr/bin/install + STRIP?=/usr/bin/strip +-MAN?=$(PREFIX)/share/man ++MAN?=$(PREFIX)/man + + ### ADVANCED USERS AND PACKAGERS MIGHT WANT TO CHANGE THIS + +@@ -63,8 +63,8 @@ + + + install: +- $(INSTALL) -D --mode=755 iptstate $(SBIN)/iptstate +- $(INSTALL) -D --mode=444 iptstate.8 $(MAN)/man8/iptstate.8 ++ $(INSTALL) -D --mode=755 iptstate $(DESTDIR)$(SBIN)/iptstate ++ $(INSTALL) -D --mode=644 iptstate.8 $(DESTDIR)$(MAN)/man8/iptstate.8 + + + clean: