summaryrefslogtreecommitdiffstats
path: root/fwknop/PKGBUILD
blob: a01d03d9b65e75128ebca42a817eca169aee2230 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# 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")

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:
md5sums=('8dac0e2fc52ab4508563efe3617721f0')
sha256sums=('cbca7184b4fd7ca14c3895bc11c96bef5d4ff3b6abacc9e5653b1362fc05be0f')