From 3232f9d90114778cb8d38cc1bc8477435dc65259 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sat, 28 Feb 2009 14:36:14 +0100 Subject: initial commit --- fwknop/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 fwknop/PKGBUILD (limited to 'fwknop/PKGBUILD') 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 +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: -- cgit v1.2.3-24-g4f1b