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 /PKGBUILD | |
parent | 691ffa9f9e8275b793e45db7ff369884df8b10b5 (diff) | |
download | aur-psad.tar.gz |
added the logrotate file, along with most of the misc crap
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -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 |