summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b7400a9e20f3fdb6fd9105a807d99fb773e5a18d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Elmar Klausmeier <Elmar.Klausmeier@gmail.com>

pkgname=ssshguard
pkgver=1.0.0
pkgrel=1
pkgdesc="Brute force detector for SSH. Simplified version of SSHGuard. Blocks access via ipset."
arch=('x86_64')
url="https://eklausmeier.goip.de/blog/2024/08-25-replacing-sshguard-with-20-lines-of-perl-code"
license=('GPL')
optdepends=('iptables' 'perl' 'ipset')
source=("ssshguard" "ssshguard.service")
md5sums=('194213cf44155f6c9e3357db230f113b'
         'e6177b5a6ca5b70627062e77637af1a5')


package() {
	cd "$srcdir"
	install -Dm0755 "$srcdir/ssshguard" "$pkgdir/usr/bin/ssshguard"
	install -Dm0644 "$srcdir/ssshguard.service" "$pkgdir/usr/lib/systemd/system/ssshguard.service"
}