summaryrefslogtreecommitdiffstats
path: root/fwknop/PKGBUILD
diff options
context:
space:
mode:
authorFlorian Pritz <f-p@gmx.at>2009-02-28 14:36:14 +0100
committerFlorian Pritz <f-p@gmx.at>2009-02-28 14:36:14 +0100
commit3232f9d90114778cb8d38cc1bc8477435dc65259 (patch)
tree0eb9ffafbe853c84b9ad6b808d86a00d44668392 /fwknop/PKGBUILD
downloadaur-packages-3232f9d90114778cb8d38cc1bc8477435dc65259.tar.gz
aur-packages-3232f9d90114778cb8d38cc1bc8477435dc65259.tar.xz
initial commit
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: