Date: Monday, July 27, 2015 @ 11:58:32 Author: spupykin Revision: 137498
archrelease: copy trunk to community-i686, community-x86_64 Added: sshguard/repos/community-i686/ChangeLog (from rev 137497, sshguard/trunk/ChangeLog) sshguard/repos/community-i686/PKGBUILD (from rev 137497, sshguard/trunk/PKGBUILD) sshguard/repos/community-i686/sshguard-journalctl (from rev 137497, sshguard/trunk/sshguard-journalctl) sshguard/repos/community-i686/sshguard.install (from rev 137497, sshguard/trunk/sshguard.install) sshguard/repos/community-i686/sshguard.service (from rev 137497, sshguard/trunk/sshguard.service) sshguard/repos/community-x86_64/ChangeLog (from rev 137497, sshguard/trunk/ChangeLog) sshguard/repos/community-x86_64/PKGBUILD (from rev 137497, sshguard/trunk/PKGBUILD) sshguard/repos/community-x86_64/sshguard-journalctl (from rev 137497, sshguard/trunk/sshguard-journalctl) sshguard/repos/community-x86_64/sshguard.install (from rev 137497, sshguard/trunk/sshguard.install) sshguard/repos/community-x86_64/sshguard.service (from rev 137497, sshguard/trunk/sshguard.service) Deleted: sshguard/repos/community-i686/ChangeLog sshguard/repos/community-i686/PKGBUILD sshguard/repos/community-i686/sshguard-journalctl sshguard/repos/community-i686/sshguard.install sshguard/repos/community-i686/sshguard.service sshguard/repos/community-x86_64/ChangeLog sshguard/repos/community-x86_64/PKGBUILD sshguard/repos/community-x86_64/sshguard-journalctl sshguard/repos/community-x86_64/sshguard.install sshguard/repos/community-x86_64/sshguard.service --------------------------------------+ /ChangeLog | 6 ++ /PKGBUILD | 92 +++++++++++++++++++++++++++++++++ /sshguard-journalctl | 8 ++ /sshguard.install | 28 ++++++++++ /sshguard.service | 18 ++++++ community-i686/ChangeLog | 3 - community-i686/PKGBUILD | 43 --------------- community-i686/sshguard-journalctl | 4 - community-i686/sshguard.install | 14 ----- community-i686/sshguard.service | 10 --- community-x86_64/ChangeLog | 3 - community-x86_64/PKGBUILD | 43 --------------- community-x86_64/sshguard-journalctl | 4 - community-x86_64/sshguard.install | 14 ----- community-x86_64/sshguard.service | 10 --- 15 files changed, 152 insertions(+), 148 deletions(-) Deleted: community-i686/ChangeLog =================================================================== --- community-i686/ChangeLog 2015-07-27 09:58:11 UTC (rev 137497) +++ community-i686/ChangeLog 2015-07-27 09:58:32 UTC (rev 137498) @@ -1,3 +0,0 @@ -2007-06-28 tardo <ta...@nagi-fanboi.net> -* Built for x86_64 - Copied: sshguard/repos/community-i686/ChangeLog (from rev 137497, sshguard/trunk/ChangeLog) =================================================================== --- community-i686/ChangeLog (rev 0) +++ community-i686/ChangeLog 2015-07-27 09:58:32 UTC (rev 137498) @@ -0,0 +1,3 @@ +2007-06-28 tardo <ta...@nagi-fanboi.net> +* Built for x86_64 + Deleted: community-i686/PKGBUILD =================================================================== --- community-i686/PKGBUILD 2015-07-27 09:58:11 UTC (rev 137497) +++ community-i686/PKGBUILD 2015-07-27 09:58:32 UTC (rev 137498) @@ -1,43 +0,0 @@ -# $Id$ -# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> -# Maintainer: Massimiliano Torromeo <massimiliano.torro...@gmail.com> - -pkgname=sshguard -pkgver=1.6.0 -pkgrel=1 -pkgdesc="Brute force detector for SSH, Exim, VSFTPD and more. Blocks by ip with iptables" -arch=('i686' 'x86_64') -url="http://www.sshguard.net/" -license=('GPL') -depends=('iptables') -options=(zipman) -install=sshguard.install -source=("http://downloads.sourceforge.net/sourceforge/sshguard/sshguard-$pkgver.tar.xz" - sshguard.service - sshguard-journalctl) -sha256sums=('dce32b1fc3fb0f8d15b6c56b9822c300434faaa87240e5373c095dc22bfa07e4' - '45b1a5ffe4aa40024129bc492b4ca3c759cefc8094ead121925eb1a887442921' - 'a8f315d163128d4e8458c1d50c90082581092476937921cba2afb167f51cbe3f') - -prepare() { - cd "$srcdir/$pkgname-$pkgver" - sed -i 's|^DAYNO.*|DAYNO [0-9]?[1-9]|' src/parser/attack_scanner.l -} - -build() { - cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr --sbindir=/usr/bin --with-firewall=iptables - make -} - -check() { - cd "$srcdir/$pkgname-$pkgver" - strings src/sshguard | grep -E "^`which iptables`[[:space:]]" >/dev/null -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - make DESTDIR="$pkgdir" install - install -Dm0644 "$srcdir/sshguard.service" "$pkgdir/usr/lib/systemd/system/sshguard.service" - install -Dm0755 "$srcdir/sshguard-journalctl" "$pkgdir/usr/lib/systemd/scripts/sshguard-journalctl" -} Copied: sshguard/repos/community-i686/PKGBUILD (from rev 137497, sshguard/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2015-07-27 09:58:32 UTC (rev 137498) @@ -0,0 +1,46 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Maintainer: Massimiliano Torromeo <massimiliano.torro...@gmail.com> + +pkgname=sshguard +pkgver=1.6.0 +pkgrel=2 +pkgdesc="Brute force detector for SSH, Exim, VSFTPD and more. Blocks by ip with iptables" +arch=('i686' 'x86_64') +url="http://www.sshguard.net/" +license=('GPL') +depends=('iptables') +options=(zipman) +install=sshguard.install +source=("http://downloads.sourceforge.net/sourceforge/sshguard/sshguard-$pkgver.tar.xz" + sshguard.service + sshguard-journalctl) +sha256sums=('dce32b1fc3fb0f8d15b6c56b9822c300434faaa87240e5373c095dc22bfa07e4' + '45b1a5ffe4aa40024129bc492b4ca3c759cefc8094ead121925eb1a887442921' + 'a8f315d163128d4e8458c1d50c90082581092476937921cba2afb167f51cbe3f') +sha256sums=('dce32b1fc3fb0f8d15b6c56b9822c300434faaa87240e5373c095dc22bfa07e4' + '5be8fbec010c719b4bd8885e0d436af157800b74a6c344d6778b305fee9b4101' + 'a8f315d163128d4e8458c1d50c90082581092476937921cba2afb167f51cbe3f') + +prepare() { + cd "$srcdir/$pkgname-$pkgver" + sed -i 's|^DAYNO.*|DAYNO [0-9]?[1-9]|' src/parser/attack_scanner.l +} + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr --sbindir=/usr/bin --with-firewall=iptables + make +} + +check() { + cd "$srcdir/$pkgname-$pkgver" + strings src/sshguard | grep -E "^`which iptables`[[:space:]]" >/dev/null +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + install -Dm0644 "$srcdir/sshguard.service" "$pkgdir/usr/lib/systemd/system/sshguard.service" + install -Dm0755 "$srcdir/sshguard-journalctl" "$pkgdir/usr/lib/systemd/scripts/sshguard-journalctl" +} Deleted: community-i686/sshguard-journalctl =================================================================== --- community-i686/sshguard-journalctl 2015-07-27 09:58:11 UTC (rev 137497) +++ community-i686/sshguard-journalctl 2015-07-27 09:58:32 UTC (rev 137498) @@ -1,4 +0,0 @@ -#!/bin/sh -SSHGUARD_OPTS=$1 -shift -LANG=C /usr/bin/journalctl -afb -p info -n1 -o cat "$@" | /usr/bin/sshguard -l- $SSHGUARD_OPTS Copied: sshguard/repos/community-i686/sshguard-journalctl (from rev 137497, sshguard/trunk/sshguard-journalctl) =================================================================== --- community-i686/sshguard-journalctl (rev 0) +++ community-i686/sshguard-journalctl 2015-07-27 09:58:32 UTC (rev 137498) @@ -0,0 +1,4 @@ +#!/bin/sh +SSHGUARD_OPTS=$1 +shift +LANG=C /usr/bin/journalctl -afb -p info -n1 -o cat "$@" | /usr/bin/sshguard -l- $SSHGUARD_OPTS Deleted: community-i686/sshguard.install =================================================================== --- community-i686/sshguard.install 2015-07-27 09:58:11 UTC (rev 137497) +++ community-i686/sshguard.install 2015-07-27 09:58:32 UTC (rev 137498) @@ -1,14 +0,0 @@ -post_install() { - mkdir -p var/db/sshguard - echo "-- You should add chains to your firewall:" - echo "-- iptables -N sshguard" - echo "-- iptables -A INPUT -p tcp --dport 22 -j sshguard" - echo "-- ip6tables -N sshguard" - echo "-- ip6tables -A INPUT -p tcp --dport 22 -j sshguard" - echo "-- touch /etc/iptables/ip6tables.rules if you don't use IPv6" - echo "-- For more information, see https://wiki.archlinux.org/index.php/Sshguard" -} - -post_upgrade() { - echo "-- touch /etc/iptables/ip6tables.rules if you don't use IPv6" -} Copied: sshguard/repos/community-i686/sshguard.install (from rev 137497, sshguard/trunk/sshguard.install) =================================================================== --- community-i686/sshguard.install (rev 0) +++ community-i686/sshguard.install 2015-07-27 09:58:32 UTC (rev 137498) @@ -0,0 +1,14 @@ +post_install() { + mkdir -p var/db/sshguard + echo "-- You should add chains to your firewall:" + echo "-- iptables -N sshguard" + echo "-- iptables -A INPUT -p tcp --dport 22 -j sshguard" + echo "-- ip6tables -N sshguard" + echo "-- ip6tables -A INPUT -p tcp --dport 22 -j sshguard" + echo "-- touch /etc/iptables/ip6tables.rules if you don't use IPv6" + echo "-- For more information, see https://wiki.archlinux.org/index.php/Sshguard" +} + +post_upgrade() { + echo "-- touch /etc/iptables/ip6tables.rules if you don't use IPv6" +} Deleted: community-i686/sshguard.service =================================================================== --- community-i686/sshguard.service 2015-07-27 09:58:11 UTC (rev 137497) +++ community-i686/sshguard.service 2015-07-27 09:58:32 UTC (rev 137498) @@ -1,10 +0,0 @@ -[Unit] -Description=Block hacking attempts -After=iptables.service ip6tables.service ufw.service network.target -#Wants=iptables.service ip6tables.service ufw.service - -[Service] -ExecStart=/usr/lib/systemd/scripts/sshguard-journalctl "-b /var/db/sshguard/blacklist.db" SYSLOG_FACILITY=4 SYSLOG_FACILITY=10 - -[Install] -WantedBy=multi-user.target Copied: sshguard/repos/community-i686/sshguard.service (from rev 137497, sshguard/trunk/sshguard.service) =================================================================== --- community-i686/sshguard.service (rev 0) +++ community-i686/sshguard.service 2015-07-27 09:58:32 UTC (rev 137498) @@ -0,0 +1,9 @@ +[Unit] +Description=Block hacking attempts +After=iptables.service ip6tables.service ufw.service shorewall.service shorewall6.service network.target + +[Service] +ExecStart=/usr/lib/systemd/scripts/sshguard-journalctl "-b /var/db/sshguard/blacklist.db" SYSLOG_FACILITY=4 SYSLOG_FACILITY=10 + +[Install] +WantedBy=multi-user.target Deleted: community-x86_64/ChangeLog =================================================================== --- community-x86_64/ChangeLog 2015-07-27 09:58:11 UTC (rev 137497) +++ community-x86_64/ChangeLog 2015-07-27 09:58:32 UTC (rev 137498) @@ -1,3 +0,0 @@ -2007-06-28 tardo <ta...@nagi-fanboi.net> -* Built for x86_64 - Copied: sshguard/repos/community-x86_64/ChangeLog (from rev 137497, sshguard/trunk/ChangeLog) =================================================================== --- community-x86_64/ChangeLog (rev 0) +++ community-x86_64/ChangeLog 2015-07-27 09:58:32 UTC (rev 137498) @@ -0,0 +1,3 @@ +2007-06-28 tardo <ta...@nagi-fanboi.net> +* Built for x86_64 + Deleted: community-x86_64/PKGBUILD =================================================================== --- community-x86_64/PKGBUILD 2015-07-27 09:58:11 UTC (rev 137497) +++ community-x86_64/PKGBUILD 2015-07-27 09:58:32 UTC (rev 137498) @@ -1,43 +0,0 @@ -# $Id$ -# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> -# Maintainer: Massimiliano Torromeo <massimiliano.torro...@gmail.com> - -pkgname=sshguard -pkgver=1.6.0 -pkgrel=1 -pkgdesc="Brute force detector for SSH, Exim, VSFTPD and more. Blocks by ip with iptables" -arch=('i686' 'x86_64') -url="http://www.sshguard.net/" -license=('GPL') -depends=('iptables') -options=(zipman) -install=sshguard.install -source=("http://downloads.sourceforge.net/sourceforge/sshguard/sshguard-$pkgver.tar.xz" - sshguard.service - sshguard-journalctl) -sha256sums=('dce32b1fc3fb0f8d15b6c56b9822c300434faaa87240e5373c095dc22bfa07e4' - '45b1a5ffe4aa40024129bc492b4ca3c759cefc8094ead121925eb1a887442921' - 'a8f315d163128d4e8458c1d50c90082581092476937921cba2afb167f51cbe3f') - -prepare() { - cd "$srcdir/$pkgname-$pkgver" - sed -i 's|^DAYNO.*|DAYNO [0-9]?[1-9]|' src/parser/attack_scanner.l -} - -build() { - cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr --sbindir=/usr/bin --with-firewall=iptables - make -} - -check() { - cd "$srcdir/$pkgname-$pkgver" - strings src/sshguard | grep -E "^`which iptables`[[:space:]]" >/dev/null -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - make DESTDIR="$pkgdir" install - install -Dm0644 "$srcdir/sshguard.service" "$pkgdir/usr/lib/systemd/system/sshguard.service" - install -Dm0755 "$srcdir/sshguard-journalctl" "$pkgdir/usr/lib/systemd/scripts/sshguard-journalctl" -} Copied: sshguard/repos/community-x86_64/PKGBUILD (from rev 137497, sshguard/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2015-07-27 09:58:32 UTC (rev 137498) @@ -0,0 +1,46 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Maintainer: Massimiliano Torromeo <massimiliano.torro...@gmail.com> + +pkgname=sshguard +pkgver=1.6.0 +pkgrel=2 +pkgdesc="Brute force detector for SSH, Exim, VSFTPD and more. Blocks by ip with iptables" +arch=('i686' 'x86_64') +url="http://www.sshguard.net/" +license=('GPL') +depends=('iptables') +options=(zipman) +install=sshguard.install +source=("http://downloads.sourceforge.net/sourceforge/sshguard/sshguard-$pkgver.tar.xz" + sshguard.service + sshguard-journalctl) +sha256sums=('dce32b1fc3fb0f8d15b6c56b9822c300434faaa87240e5373c095dc22bfa07e4' + '45b1a5ffe4aa40024129bc492b4ca3c759cefc8094ead121925eb1a887442921' + 'a8f315d163128d4e8458c1d50c90082581092476937921cba2afb167f51cbe3f') +sha256sums=('dce32b1fc3fb0f8d15b6c56b9822c300434faaa87240e5373c095dc22bfa07e4' + '5be8fbec010c719b4bd8885e0d436af157800b74a6c344d6778b305fee9b4101' + 'a8f315d163128d4e8458c1d50c90082581092476937921cba2afb167f51cbe3f') + +prepare() { + cd "$srcdir/$pkgname-$pkgver" + sed -i 's|^DAYNO.*|DAYNO [0-9]?[1-9]|' src/parser/attack_scanner.l +} + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr --sbindir=/usr/bin --with-firewall=iptables + make +} + +check() { + cd "$srcdir/$pkgname-$pkgver" + strings src/sshguard | grep -E "^`which iptables`[[:space:]]" >/dev/null +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + install -Dm0644 "$srcdir/sshguard.service" "$pkgdir/usr/lib/systemd/system/sshguard.service" + install -Dm0755 "$srcdir/sshguard-journalctl" "$pkgdir/usr/lib/systemd/scripts/sshguard-journalctl" +} Deleted: community-x86_64/sshguard-journalctl =================================================================== --- community-x86_64/sshguard-journalctl 2015-07-27 09:58:11 UTC (rev 137497) +++ community-x86_64/sshguard-journalctl 2015-07-27 09:58:32 UTC (rev 137498) @@ -1,4 +0,0 @@ -#!/bin/sh -SSHGUARD_OPTS=$1 -shift -LANG=C /usr/bin/journalctl -afb -p info -n1 -o cat "$@" | /usr/bin/sshguard -l- $SSHGUARD_OPTS Copied: sshguard/repos/community-x86_64/sshguard-journalctl (from rev 137497, sshguard/trunk/sshguard-journalctl) =================================================================== --- community-x86_64/sshguard-journalctl (rev 0) +++ community-x86_64/sshguard-journalctl 2015-07-27 09:58:32 UTC (rev 137498) @@ -0,0 +1,4 @@ +#!/bin/sh +SSHGUARD_OPTS=$1 +shift +LANG=C /usr/bin/journalctl -afb -p info -n1 -o cat "$@" | /usr/bin/sshguard -l- $SSHGUARD_OPTS Deleted: community-x86_64/sshguard.install =================================================================== --- community-x86_64/sshguard.install 2015-07-27 09:58:11 UTC (rev 137497) +++ community-x86_64/sshguard.install 2015-07-27 09:58:32 UTC (rev 137498) @@ -1,14 +0,0 @@ -post_install() { - mkdir -p var/db/sshguard - echo "-- You should add chains to your firewall:" - echo "-- iptables -N sshguard" - echo "-- iptables -A INPUT -p tcp --dport 22 -j sshguard" - echo "-- ip6tables -N sshguard" - echo "-- ip6tables -A INPUT -p tcp --dport 22 -j sshguard" - echo "-- touch /etc/iptables/ip6tables.rules if you don't use IPv6" - echo "-- For more information, see https://wiki.archlinux.org/index.php/Sshguard" -} - -post_upgrade() { - echo "-- touch /etc/iptables/ip6tables.rules if you don't use IPv6" -} Copied: sshguard/repos/community-x86_64/sshguard.install (from rev 137497, sshguard/trunk/sshguard.install) =================================================================== --- community-x86_64/sshguard.install (rev 0) +++ community-x86_64/sshguard.install 2015-07-27 09:58:32 UTC (rev 137498) @@ -0,0 +1,14 @@ +post_install() { + mkdir -p var/db/sshguard + echo "-- You should add chains to your firewall:" + echo "-- iptables -N sshguard" + echo "-- iptables -A INPUT -p tcp --dport 22 -j sshguard" + echo "-- ip6tables -N sshguard" + echo "-- ip6tables -A INPUT -p tcp --dport 22 -j sshguard" + echo "-- touch /etc/iptables/ip6tables.rules if you don't use IPv6" + echo "-- For more information, see https://wiki.archlinux.org/index.php/Sshguard" +} + +post_upgrade() { + echo "-- touch /etc/iptables/ip6tables.rules if you don't use IPv6" +} Deleted: community-x86_64/sshguard.service =================================================================== --- community-x86_64/sshguard.service 2015-07-27 09:58:11 UTC (rev 137497) +++ community-x86_64/sshguard.service 2015-07-27 09:58:32 UTC (rev 137498) @@ -1,10 +0,0 @@ -[Unit] -Description=Block hacking attempts -After=iptables.service ip6tables.service ufw.service network.target -#Wants=iptables.service ip6tables.service ufw.service - -[Service] -ExecStart=/usr/lib/systemd/scripts/sshguard-journalctl "-b /var/db/sshguard/blacklist.db" SYSLOG_FACILITY=4 SYSLOG_FACILITY=10 - -[Install] -WantedBy=multi-user.target Copied: sshguard/repos/community-x86_64/sshguard.service (from rev 137497, sshguard/trunk/sshguard.service) =================================================================== --- community-x86_64/sshguard.service (rev 0) +++ community-x86_64/sshguard.service 2015-07-27 09:58:32 UTC (rev 137498) @@ -0,0 +1,9 @@ +[Unit] +Description=Block hacking attempts +After=iptables.service ip6tables.service ufw.service shorewall.service shorewall6.service network.target + +[Service] +ExecStart=/usr/lib/systemd/scripts/sshguard-journalctl "-b /var/db/sshguard/blacklist.db" SYSLOG_FACILITY=4 SYSLOG_FACILITY=10 + +[Install] +WantedBy=multi-user.target