Date: Sunday, September 13, 2015 @ 05:13:29 Author: anthraxx Revision: 140022
archrelease: copy trunk to community-i686, community-x86_64 Added: knockd/repos/community-i686/ knockd/repos/community-i686/PKGBUILD (from rev 140021, knockd/trunk/PKGBUILD) knockd/repos/community-i686/knockd.logrotate (from rev 140021, knockd/trunk/knockd.logrotate) knockd/repos/community-i686/knockd.service (from rev 140021, knockd/trunk/knockd.service) knockd/repos/community-i686/limits.h.patch (from rev 140021, knockd/trunk/limits.h.patch) knockd/repos/community-x86_64/ knockd/repos/community-x86_64/PKGBUILD (from rev 140021, knockd/trunk/PKGBUILD) knockd/repos/community-x86_64/knockd.logrotate (from rev 140021, knockd/trunk/knockd.logrotate) knockd/repos/community-x86_64/knockd.service (from rev 140021, knockd/trunk/knockd.service) knockd/repos/community-x86_64/limits.h.patch (from rev 140021, knockd/trunk/limits.h.patch) -----------------------------------+ community-i686/PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++ community-i686/knockd.logrotate | 5 ++++ community-i686/knockd.service | 9 +++++++ community-i686/limits.h.patch | 10 ++++++++ community-x86_64/PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++ community-x86_64/knockd.logrotate | 5 ++++ community-x86_64/knockd.service | 9 +++++++ community-x86_64/limits.h.patch | 10 ++++++++ 8 files changed, 132 insertions(+) Copied: knockd/repos/community-i686/PKGBUILD (from rev 140021, knockd/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2015-09-13 03:13:29 UTC (rev 140022) @@ -0,0 +1,42 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor: Mike Sampson <mike at sambodata dot com> +# Contributor: Steven <steven at stebalien dot com> +# Contributor: Aaron Griffin <aa...@archlinux.org> +# Contributor: judd <jvi...@zeroflux.org> + +pkgname=knockd +pkgver=0.7 +pkgrel=2 +pkgdesc="A simple port-knocking daemon" +url="http://www.zeroflux.org/projects/knock" +arch=('i686' 'x86_64') +license=('GPL2') +depends=('libpcap>=1.0.0') +backup=('etc/knockd.conf') +source=(${pkgname}-${pkgver}.tar.gz::http://www.zeroflux.org/proj/knock/files/knock-${pkgver}.tar.gz + knockd.logrotate + knockd.service + limits.h.patch) +sha512sums=('eab5d855f7111d9411e84a56a15e8ea74f41c5bd9dee27ab49f0d8d509eeeb96a60c508928c92916dc0ec9b737c447ca8ca5ed4db6479b389549d60e76a85aa7' + '3ea2ae9392d3d79bb5df6b75090f6c1a9548979e01dcd4a75471cfa46dbc70401a166496b5158f90fc61326a554acacc38f8605aab02b5b53b75d60a7d80648a' + '6e5fec91e07fb74169798f320607bd413258af0af48bd2a9c006a02bc97ce4ea9a5293eb9e166b9870c086bf147fca1462b98b3d914d7a28708e9fa2cc9c85cb' + '5776b8670aa439e77d5ac873b63dd5e4d4b5bfb8f1e8fbf49c7d0c3c8f97e47dca761ef1374b742182b0d9928dba4b719442c5f01ca29249a6aa6da6cbf283ed') + +prepare() { + cd knock-${pkgver} + patch -Np0 < "${srcdir}/limits.h.patch" +} + +build() { + cd knock-${pkgver} + ./configure --prefix=/usr --sbin=/usr/bin --sysconfdir=/etc + make +} + +package() { + cd knock-${pkgver} + make DESTDIR="${pkgdir}" MANDIR=/usr/share/man install + install -Dm 644 "${srcdir}/knockd.service" "${pkgdir}/usr/lib/systemd/system/knockd.service" + install -Dm 644 "${srcdir}/knockd.logrotate" "${pkgdir}/etc/logrotate.d/knockd" + install -Dm 644 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README" +} Copied: knockd/repos/community-i686/knockd.logrotate (from rev 140021, knockd/trunk/knockd.logrotate) =================================================================== --- community-i686/knockd.logrotate (rev 0) +++ community-i686/knockd.logrotate 2015-09-13 03:13:29 UTC (rev 140022) @@ -0,0 +1,5 @@ +/var/log/knockd.log { + missingok + notifempty + delaycompress +} Copied: knockd/repos/community-i686/knockd.service (from rev 140021, knockd/trunk/knockd.service) =================================================================== --- community-i686/knockd.service (rev 0) +++ community-i686/knockd.service 2015-09-13 03:13:29 UTC (rev 140022) @@ -0,0 +1,9 @@ +[Unit] +Description=Port-Knocking Daemon +After=network.target + +[Service] +ExecStart=/usr/bin/knockd + +[Install] +WantedBy=multi-user.target Copied: knockd/repos/community-i686/limits.h.patch (from rev 140021, knockd/trunk/limits.h.patch) =================================================================== --- community-i686/limits.h.patch (rev 0) +++ community-i686/limits.h.patch 2015-09-13 03:13:29 UTC (rev 140022) @@ -0,0 +1,10 @@ +--- src/knockd.c.orig 2008-12-03 07:21:14.643255773 +0000 ++++ src/knockd.c 2008-12-03 07:24:59.606701396 +0000 +@@ -46,6 +46,7 @@ + #include <syslog.h> + #include <pcap.h> + #include <errno.h> ++#include <limits.h> + #include "list.h" + + static char version[] = "0.5"; Copied: knockd/repos/community-x86_64/PKGBUILD (from rev 140021, knockd/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2015-09-13 03:13:29 UTC (rev 140022) @@ -0,0 +1,42 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor: Mike Sampson <mike at sambodata dot com> +# Contributor: Steven <steven at stebalien dot com> +# Contributor: Aaron Griffin <aa...@archlinux.org> +# Contributor: judd <jvi...@zeroflux.org> + +pkgname=knockd +pkgver=0.7 +pkgrel=2 +pkgdesc="A simple port-knocking daemon" +url="http://www.zeroflux.org/projects/knock" +arch=('i686' 'x86_64') +license=('GPL2') +depends=('libpcap>=1.0.0') +backup=('etc/knockd.conf') +source=(${pkgname}-${pkgver}.tar.gz::http://www.zeroflux.org/proj/knock/files/knock-${pkgver}.tar.gz + knockd.logrotate + knockd.service + limits.h.patch) +sha512sums=('eab5d855f7111d9411e84a56a15e8ea74f41c5bd9dee27ab49f0d8d509eeeb96a60c508928c92916dc0ec9b737c447ca8ca5ed4db6479b389549d60e76a85aa7' + '3ea2ae9392d3d79bb5df6b75090f6c1a9548979e01dcd4a75471cfa46dbc70401a166496b5158f90fc61326a554acacc38f8605aab02b5b53b75d60a7d80648a' + '6e5fec91e07fb74169798f320607bd413258af0af48bd2a9c006a02bc97ce4ea9a5293eb9e166b9870c086bf147fca1462b98b3d914d7a28708e9fa2cc9c85cb' + '5776b8670aa439e77d5ac873b63dd5e4d4b5bfb8f1e8fbf49c7d0c3c8f97e47dca761ef1374b742182b0d9928dba4b719442c5f01ca29249a6aa6da6cbf283ed') + +prepare() { + cd knock-${pkgver} + patch -Np0 < "${srcdir}/limits.h.patch" +} + +build() { + cd knock-${pkgver} + ./configure --prefix=/usr --sbin=/usr/bin --sysconfdir=/etc + make +} + +package() { + cd knock-${pkgver} + make DESTDIR="${pkgdir}" MANDIR=/usr/share/man install + install -Dm 644 "${srcdir}/knockd.service" "${pkgdir}/usr/lib/systemd/system/knockd.service" + install -Dm 644 "${srcdir}/knockd.logrotate" "${pkgdir}/etc/logrotate.d/knockd" + install -Dm 644 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README" +} Copied: knockd/repos/community-x86_64/knockd.logrotate (from rev 140021, knockd/trunk/knockd.logrotate) =================================================================== --- community-x86_64/knockd.logrotate (rev 0) +++ community-x86_64/knockd.logrotate 2015-09-13 03:13:29 UTC (rev 140022) @@ -0,0 +1,5 @@ +/var/log/knockd.log { + missingok + notifempty + delaycompress +} Copied: knockd/repos/community-x86_64/knockd.service (from rev 140021, knockd/trunk/knockd.service) =================================================================== --- community-x86_64/knockd.service (rev 0) +++ community-x86_64/knockd.service 2015-09-13 03:13:29 UTC (rev 140022) @@ -0,0 +1,9 @@ +[Unit] +Description=Port-Knocking Daemon +After=network.target + +[Service] +ExecStart=/usr/bin/knockd + +[Install] +WantedBy=multi-user.target Copied: knockd/repos/community-x86_64/limits.h.patch (from rev 140021, knockd/trunk/limits.h.patch) =================================================================== --- community-x86_64/limits.h.patch (rev 0) +++ community-x86_64/limits.h.patch 2015-09-13 03:13:29 UTC (rev 140022) @@ -0,0 +1,10 @@ +--- src/knockd.c.orig 2008-12-03 07:21:14.643255773 +0000 ++++ src/knockd.c 2008-12-03 07:24:59.606701396 +0000 +@@ -46,6 +46,7 @@ + #include <syslog.h> + #include <pcap.h> + #include <errno.h> ++#include <limits.h> + #include "list.h" + + static char version[] = "0.5";