Date: Tuesday, July 7, 2020 @ 21:28:08 Author: foutrelis Revision: 660433
archrelease: copy trunk to community-staging-x86_64 Added: fwknop/repos/community-staging-x86_64/ fwknop/repos/community-staging-x86_64/PKGBUILD (from rev 660432, fwknop/trunk/PKGBUILD) fwknop/repos/community-staging-x86_64/fwknopd.service (from rev 660432, fwknop/trunk/fwknopd.service) -----------------+ PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++ fwknopd.service | 10 ++++++++++ 2 files changed, 54 insertions(+) Copied: fwknop/repos/community-staging-x86_64/PKGBUILD (from rev 660432, fwknop/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-07-07 21:28:08 UTC (rev 660433) @@ -0,0 +1,44 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor: Florian Pritz <f...@gmx.at> +# Contributor: Xyne <xyne at archlinux dot us> +# Contributor: thiagoc +# Contributor: Chris <chris at christopherjones dot us> +# Contributor: henning mueller <henn...@orgizm.net> +# Contributor: Fabiano Furtado <fusca14 at gmail dot com> + +pkgname=fwknop +pkgver=2.6.10 +pkgrel=2 +pkgdesc='FireWall KNock OPerator: Single Packet Authorization and Port Knocking' +url='https://www.cipherdyne.org/fwknop' +arch=('x86_64') +license=('GPL2') +backup=(etc/${pkgname}/access.conf + etc/${pkgname}/fwknopd.conf) +depends=('gpgme' 'iptables' 'libpcap' 'wget') +source=(https://cipherdyne.org/fwknop/download/fwknop-${pkgver}.tar.bz2{,.asc} + fwknopd.service) +sha512sums=('3fe0a7c673ebe3d417da9bf8e3c9a882181391ecc64d9f67e77e00a56f9f7bcec2c6d94dc51a5ee77a6c64a89f032a865dd304f1cb8ebb359580c70dc0cd374f' + 'SKIP' + 'a171682a054495bb10315e98a300ddbe4adf1f653b719d3344ecb6cfb8ccd15043cffbbd28304c4f15569a12ddcd9733409448d596f0c706e48d4fda2c877a6a') +validpgpkeys=('4D6644A9DA036904BDA2CB90E6C9E3350D3E7410') # Michael Rash (Signing key for cipherdyne.org projects) <m...@cipherdyne.org> + +build() { + cd ${pkgname}-${pkgver} + CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common + autoreconf -fiv + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --sbindir=/usr/bin + make +} + +package() { + cd ${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install + install -Dm 644 "${srcdir}/fwknopd.service" "${pkgdir}/usr/lib/systemd/system/fwknopd.service" +} + +# vim: ts=2 sw=2 et: Copied: fwknop/repos/community-staging-x86_64/fwknopd.service (from rev 660432, fwknop/trunk/fwknopd.service) =================================================================== --- community-staging-x86_64/fwknopd.service (rev 0) +++ community-staging-x86_64/fwknopd.service 2020-07-07 21:28:08 UTC (rev 660433) @@ -0,0 +1,10 @@ +[Unit] +Description=Firewall Knock Operator Daemon +After=network.target network-online.target iptables.service ip6tables.service + +[Service] +Type=forking +ExecStart=/usr/sbin/fwknopd + +[Install] +WantedBy=multi-user.target