diff options
author | GI_Jack | 2021-08-14 23:26:37 -0400 |
---|---|---|
committer | GI_Jack | 2021-08-14 23:26:37 -0400 |
commit | b6da2b7cf93e6d3ecea0932fb6c8fe30a4c9f528 (patch) | |
tree | ec802c7165348859de2136bb83c6dee8c99aa433 | |
parent | 691ffa9f9e8275b793e45db7ff369884df8b10b5 (diff) | |
download | aur-psad.tar.gz |
added the logrotate file, along with most of the misc crap
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 14 insertions, 3 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo(replacement shim) v8 -# Fri Aug 13 04:09:16 PM EDT 2021 +# Sat Aug 14 11:26:31 PM EDT 2021 pkgbase = psad pkgdesc = Port Scan Attack Detector: Makes use of iptables log messages to detect, alert, and (optionally) block port scans and other suspect traffic pkgver = 2.4.6 - pkgrel = 2 + pkgrel = 3 url = http://cipherdyne.org/psad/ arch = i686 arch = x86_64 @@ -6,7 +6,7 @@ pkgname=psad pkgver=2.4.6 -pkgrel=2 +pkgrel=3 pkgdesc='Port Scan Attack Detector: Makes use of iptables log messages to detect, alert, and (optionally) block port scans and other suspect traffic' arch=('i686' 'x86_64') url='http://cipherdyne.org/psad/' @@ -70,6 +70,17 @@ package () { cp "$srcdir/psadwatchd.service" "$pkgdir/usr/lib/systemd/system/psadwatchd.service" cp "$srcdir/kmsgsd.service" "$pkgdir/usr/lib/systemd/system/kmsgsd.service" + # Logrotate file + install -Dm 644 misc/logrotate.psad "${pkgdir}/etc/logrotate.d/psad" + + # misc crap + for file in misc/*.pl;do + install -Dm444 ${file} "${pkgdir}/usr/lib/psad/${file}" + done + + # pscan. + install -Dm 644 misc/pscan "${pkgdir}/usr/bin/pscan" + # Fix systemd unit # Fix the config sed -e "s|/usr/sbin|/usr/bin|g" "$pkgdir/usr/lib/systemd/system/psad.service" -i |