iptstate: romster -> contrib

This commit is contained in:
Danny Rawlins 2012-01-21 16:20:55 +11:00
parent fe27137855
commit b6169ec669
4 changed files with 49 additions and 0 deletions

6
iptstate/.footprint Normal file
View File

@ -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

2
iptstate/.md5sum Normal file
View File

@ -0,0 +1,2 @@
d6faad8f6dfd59673e2e15fc5a9a4c92 iptstate-2.2.1-install.patch
5238a0c4c4f764a919aba678051698ec iptstate-2.2.3.tar.bz2

19
iptstate/Pkgfile Normal file
View File

@ -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
}

View File

@ -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: