summaryrefslogtreecommitdiffstats
path: root/fwknop/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'fwknop/PKGBUILD')
-rw-r--r--fwknop/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/fwknop/PKGBUILD b/fwknop/PKGBUILD
new file mode 100644
index 0000000..a01caed
--- /dev/null
+++ b/fwknop/PKGBUILD
@@ -0,0 +1,36 @@
+# Contributor: Florian Pritz <f-p@gmx.at>
+pkgname=fwknop
+pkgver=1.9.8
+pkgrel=1
+pkgdesc="Single Packet Authorization and Port Knocking"
+arch=('i686' 'x86_64')
+url="http://www.cipherdyne.org/fwknop/"
+license=('GPL')
+depends=('perl')
+source=("http://www.cipherdyne.org/fwknop/download/$pkgname-$pkgver.tar.gz")
+md5sums=('8dac0e2fc52ab4508563efe3617721f0')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make || return 1
+
+ install -D -m 500 knopmd ${pkgdir}/usr/sbin/knopmd
+ install -D -m 500 fwknopd ${pkgdir}/usr/sbin/fwknopd
+ install -D -m 500 knopwatchd ${pkgdir}/usr/sbin/knopwatchd
+ install -D -m 500 knoptm ${pkgdir}/usr/sbin/knoptm
+ install -D -m 500 fwknop_serv ${pkgdir}/usr/sbin/fwknop_serv
+ install -D fwknop ${pkgdir}/usr/sbin/fwknop
+
+ install -D -m 600 access.conf ${pkgdir}/etc/fwknop/access.conf
+ install -D -m 600 fwknop.conf ${pkgdir}/etc/fwknop/fwknop.conf
+ install -D -m 600 pf.os ${pkgdir}/etc/fwknop/pf.os
+
+ install -D knopmd.8 ${pkgdir}/usr/man/man8/knopmd.8
+ install -D knopwatchd.8 ${pkgdir}/usr/man/man8/knopwatchd.8
+ install -D fwknop.8 ${pkgdir}/usr/man/man8/fwknop.8
+ install -D fwknopd.8 ${pkgdir}/usr/man/man8/fwknopd.8
+
+}
+
+# vim:set ts=2 sw=2 et: