summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extra/knock/.footprint13
-rw-r--r--extra/knock/.md5sum1
-rw-r--r--extra/knock/Pkgfile20
3 files changed, 34 insertions, 0 deletions
diff --git a/extra/knock/.footprint b/extra/knock/.footprint
new file mode 100644
index 000000000..2a5eb76a7
--- /dev/null
+++ b/extra/knock/.footprint
@@ -0,0 +1,13 @@
+drwxr-xr-x root/root etc/
+-rw-r--r-- root/root etc/knockd.conf
+drwxr-xr-x root/root etc/rc.d/
+drwxr-xr-x root/root etc/rc.d/init.d/
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/knock
+drwxr-xr-x root/root usr/man/
+drwxr-xr-x root/root usr/man/man1/
+-rw-r--r-- root/root usr/man/man1/knock.1
+-rw-r--r-- root/root usr/man/man1/knockd.1
+drwxr-xr-x root/root usr/sbin/
+-rwxr-xr-x root/root usr/sbin/knockd
diff --git a/extra/knock/.md5sum b/extra/knock/.md5sum
new file mode 100644
index 000000000..eae76a833
--- /dev/null
+++ b/extra/knock/.md5sum
@@ -0,0 +1 @@
+ca09d61458974cff90a700aba6120891 knock-0.5.tar.gz
diff --git a/extra/knock/Pkgfile b/extra/knock/Pkgfile
new file mode 100644
index 000000000..7c9e15ca0
--- /dev/null
+++ b/extra/knock/Pkgfile
@@ -0,0 +1,20 @@
+# Description: Port knocking
+# URL: http://www.zeroflux.org/projects/knock
+# Maintainer: Cobex4
+# Packager: cobex4 at gmail dot com
+# Depends on: libpcap
+
+name=knock
+version=0.5
+release=1
+source=(http://www.zeroflux.org/proj/knock/files/$name-$version.tar.gz)
+
+build() {
+ cd $name-$version
+ # build-time config
+ echo "#include <limits.h>" >> src/list.h
+
+ ./configure --prefix=/usr
+ make
+ make DESTDIR=$PKG install
+}