[arch-commits] Commit in sshguard/repos/community-x86_64 (8 files)

Sergej Pupykin spupykin at archlinux.org
Sat Aug 22 16:35:09 UTC 2020


    Date: Saturday, August 22, 2020 @ 16:35:08
  Author: spupykin
Revision: 686739

archrelease: copy trunk to community-x86_64

Added:
  sshguard/repos/community-x86_64/ChangeLog
    (from rev 686737, sshguard/trunk/ChangeLog)
  sshguard/repos/community-x86_64/PKGBUILD
    (from rev 686738, sshguard/trunk/PKGBUILD)
  sshguard/repos/community-x86_64/sshguard.service
    (from rev 686738, sshguard/trunk/sshguard.service)
  sshguard/repos/community-x86_64/tmpfile.conf
    (from rev 686738, sshguard/trunk/tmpfile.conf)
Deleted:
  sshguard/repos/community-x86_64/ChangeLog
  sshguard/repos/community-x86_64/PKGBUILD
  sshguard/repos/community-x86_64/sshguard.service
  sshguard/repos/community-x86_64/tmpfile.conf

------------------+
 ChangeLog        |    6 +--
 PKGBUILD         |   96 ++++++++++++++++++++++++++---------------------------
 sshguard.service |   30 ++++++++--------
 tmpfile.conf     |    2 -
 4 files changed, 67 insertions(+), 67 deletions(-)

Deleted: ChangeLog
===================================================================
--- ChangeLog	2020-08-22 16:34:39 UTC (rev 686738)
+++ ChangeLog	2020-08-22 16:35:08 UTC (rev 686739)
@@ -1,3 +0,0 @@
-2007-06-28 tardo <tardo at nagi-fanboi.net>
-* Built for x86_64
-

Copied: sshguard/repos/community-x86_64/ChangeLog (from rev 686737, sshguard/trunk/ChangeLog)
===================================================================
--- ChangeLog	                        (rev 0)
+++ ChangeLog	2020-08-22 16:35:08 UTC (rev 686739)
@@ -0,0 +1,3 @@
+2007-06-28 tardo <tardo at nagi-fanboi.net>
+* Built for x86_64
+

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-22 16:34:39 UTC (rev 686738)
+++ PKGBUILD	2020-08-22 16:35:08 UTC (rev 686739)
@@ -1,48 +0,0 @@
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-
-pkgname=sshguard
-pkgver=2.4.0
-pkgrel=3
-pkgdesc="Brute force detector for SSH, Exim, VSFTPD and more. Blocks by ip with iptables"
-arch=('x86_64')
-url="https://www.sshguard.net/"
-license=('GPL')
-optdepends=('iptables' 'nftables' 'firewalld' 'ipset')
-backup=('etc/sshguard.conf')
-source=("https://downloads.sourceforge.net/sourceforge/sshguard/sshguard-$pkgver.tar.gz"
-        "tmpfile.conf"
-        "sshguard.service")
-sha256sums=('065ca4091b3a96802714b560dbbc3d9f0e67574e99e2b6e8857aa1027d17d6c0'
-            'cd2ba683f25a650a29dd465ec7eb507826af46822d1a1ea6116a052c77c4148f'
-            '18a5674d8acb9fe2a7bb3ef760b2d7d8e8ad9dbe244b9c762b754c8a482e912a')
-
-prepare() {
-  cd "$srcdir/$pkgname-$pkgver"
-  sed -i 's|tables.target|tables.service|g' examples/sshguard.service
-}
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-  ./configure \
-    --prefix=/usr \
-    --sbindir=/usr/bin \
-    --sysconfdir=/etc \
-    --libexecdir=/usr/lib/sshguard \
-    --with-firewall=iptables
-  make
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver"
-  make DESTDIR="$pkgdir" install
-  install -Dm0644 "$srcdir/tmpfile.conf" "$pkgdir/usr/lib/tmpfiles.d/sshguard.conf"
-  install -Dm0644 "$srcdir/sshguard.service" "$pkgdir/usr/lib/systemd/system/sshguard.service"
-  install -dm0755 "$pkgdir/usr/share/doc/" "$pkgdir/etc"
-  cat <<EOF >"$pkgdir"/etc/sshguard.conf
-LOGREADER="LANG=C /usr/bin/journalctl -afb -p info -n1 -t sshd -o cat"
-BLACKLIST_FILE=120:/var/db/sshguard/blacklist.db
-BACKEND="/usr/lib/sshguard/sshg-fw-iptables"
-EOF
-  cp -a examples "$pkgdir/usr/share/doc/sshguard"
-}

Copied: sshguard/repos/community-x86_64/PKGBUILD (from rev 686738, sshguard/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-08-22 16:35:08 UTC (rev 686739)
@@ -0,0 +1,48 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=sshguard
+pkgver=2.4.1
+pkgrel=1
+pkgdesc="Brute force detector for SSH, Exim, VSFTPD and more. Blocks by ip with iptables"
+arch=('x86_64')
+url="https://www.sshguard.net/"
+license=('GPL')
+optdepends=('iptables' 'nftables' 'firewalld' 'ipset')
+backup=('etc/sshguard.conf')
+source=("https://downloads.sourceforge.net/sourceforge/sshguard/sshguard-$pkgver.tar.gz"
+        "tmpfile.conf"
+        "sshguard.service")
+sha256sums=('875d02e6e67dced614790ed5e36aef1160edea940f353a79306cbb1852af3c67'
+            'cd2ba683f25a650a29dd465ec7eb507826af46822d1a1ea6116a052c77c4148f'
+            '18a5674d8acb9fe2a7bb3ef760b2d7d8e8ad9dbe244b9c762b754c8a482e912a')
+
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver"
+  sed -i 's|tables.target|tables.service|g' examples/sshguard.service
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  ./configure \
+    --prefix=/usr \
+    --sbindir=/usr/bin \
+    --sysconfdir=/etc \
+    --libexecdir=/usr/lib/sshguard \
+    --with-firewall=iptables
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+  install -Dm0644 "$srcdir/tmpfile.conf" "$pkgdir/usr/lib/tmpfiles.d/sshguard.conf"
+  install -Dm0644 "$srcdir/sshguard.service" "$pkgdir/usr/lib/systemd/system/sshguard.service"
+  install -dm0755 "$pkgdir/usr/share/doc/" "$pkgdir/etc"
+  cat <<EOF >"$pkgdir"/etc/sshguard.conf
+LOGREADER="LANG=C /usr/bin/journalctl -afb -p info -n1 -t sshd -o cat"
+BLACKLIST_FILE=120:/var/db/sshguard/blacklist.db
+BACKEND="/usr/lib/sshguard/sshg-fw-iptables"
+EOF
+  cp -a examples "$pkgdir/usr/share/doc/sshguard"
+}

Deleted: sshguard.service
===================================================================
--- sshguard.service	2020-08-22 16:34:39 UTC (rev 686738)
+++ sshguard.service	2020-08-22 16:35:08 UTC (rev 686739)
@@ -1,15 +0,0 @@
-[Unit]
-Description=SSHGuard - blocks brute-force login attempts
-After=syslog.target
-After=iptables.service
-After=ip6tables.service
-After=libvirtd.service
-After=firewalld.service
-After=nftables.service
-
-[Service]
-ExecStart=/usr/sbin/sshguard
-Restart=always
-
-[Install]
-WantedBy=multi-user.target

Copied: sshguard/repos/community-x86_64/sshguard.service (from rev 686738, sshguard/trunk/sshguard.service)
===================================================================
--- sshguard.service	                        (rev 0)
+++ sshguard.service	2020-08-22 16:35:08 UTC (rev 686739)
@@ -0,0 +1,15 @@
+[Unit]
+Description=SSHGuard - blocks brute-force login attempts
+After=syslog.target
+After=iptables.service
+After=ip6tables.service
+After=libvirtd.service
+After=firewalld.service
+After=nftables.service
+
+[Service]
+ExecStart=/usr/sbin/sshguard
+Restart=always
+
+[Install]
+WantedBy=multi-user.target

Deleted: tmpfile.conf
===================================================================
--- tmpfile.conf	2020-08-22 16:34:39 UTC (rev 686738)
+++ tmpfile.conf	2020-08-22 16:35:08 UTC (rev 686739)
@@ -1 +0,0 @@
-d /var/db/sshguard 0755 - - -

Copied: sshguard/repos/community-x86_64/tmpfile.conf (from rev 686738, sshguard/trunk/tmpfile.conf)
===================================================================
--- tmpfile.conf	                        (rev 0)
+++ tmpfile.conf	2020-08-22 16:35:08 UTC (rev 686739)
@@ -0,0 +1 @@
+d /var/db/sshguard 0755 - - -



More information about the arch-commits mailing list