summaryrefslogtreecommitdiffstats
path: root/extra/knock/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/knock/Pkgfile')
-rw-r--r--extra/knock/Pkgfile20
1 files changed, 20 insertions, 0 deletions
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
+}