upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / fwknop / trunk / PKGBUILD
blobe0b2060ee70cc9661903f24fe19fe186fe0c8390
1 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
2 # Contributor: Florian Pritz <f-p@gmx.at>
3 # Contributor: Xyne <xyne at archlinux dot us>
4 # Contributor: thiagoc
5 # Contributor: Chris <chris at christopherjones dot us>
6 # Contributor: henning mueller <henning@orgizm.net>
7 # Contributor: Fabiano Furtado <fusca14 at gmail dot com>
9 pkgname=fwknop
10 pkgver=2.6.10
11 pkgrel=2
12 pkgdesc='FireWall KNock OPerator: Single Packet Authorization and Port Knocking'
13 url='https://www.cipherdyne.org/fwknop'
14 arch=('x86_64')
15 license=('GPL2')
16 backup=(etc/${pkgname}/access.conf
17         etc/${pkgname}/fwknopd.conf)
18 depends=('gpgme' 'iptables' 'libpcap' 'wget')
19 source=(https://cipherdyne.org/fwknop/download/fwknop-${pkgver}.tar.bz2{,.asc}
20         fwknopd.service)
21 sha512sums=('3fe0a7c673ebe3d417da9bf8e3c9a882181391ecc64d9f67e77e00a56f9f7bcec2c6d94dc51a5ee77a6c64a89f032a865dd304f1cb8ebb359580c70dc0cd374f'
22             'SKIP'
23             'a171682a054495bb10315e98a300ddbe4adf1f653b719d3344ecb6cfb8ccd15043cffbbd28304c4f15569a12ddcd9733409448d596f0c706e48d4fda2c877a6a')
24 validpgpkeys=('4D6644A9DA036904BDA2CB90E6C9E3350D3E7410') # Michael Rash (Signing key for cipherdyne.org projects) <mbr@cipherdyne.org>
26 build() {
27   cd ${pkgname}-${pkgver}
28   CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
29   autoreconf -fiv
30   ./configure \
31     --prefix=/usr \
32     --sysconfdir=/etc \
33     --localstatedir=/var \
34     --sbindir=/usr/bin
35   make
38 package() {
39   cd ${pkgname}-${pkgver}
40   make DESTDIR="${pkgdir}" install
41   install -Dm 644 "${srcdir}/fwknopd.service" "${pkgdir}/usr/lib/systemd/system/fwknopd.service"
44 # vim: ts=2 sw=2 et: