Package Details: psad 2.4.3-1

Git Clone URL: https://aur.archlinux.org/psad.git (read-only)
Package Base: psad
Description: A collection of three lightweight system daemons (two main daemons and one helper daemon) that run on Linux machines and analyze iptables log messages to detect port scans and other suspicious traffic
Upstream URL: http://cipherdyne.org/psad/
Licenses: GPL
Submitter: SirusCloud
Maintainer: MarcinWieczorek
Last Packager: MarcinWieczorek
Votes: 2
Popularity: 0.252846
First Submitted: 2015-10-06 03:05
Last Updated: 2016-06-06 23:05

Latest Comments

MarcinWieczorek commented on 2016-10-11 20:34

Yeah I'm stuck with /usr/sbin and /var/run. I hope to get it resolved ASAP.

lifehome commented on 2016-08-20 05:44

==WARN: The build is broken as this comment published==

The following error will occur if without changes to PKGBUILD:
[*] Could not copy init-scripts/psad-init.archlinux -> /tmp/yaourt-tmp-lifehome/aur-psad/pkg/psad/etc/rc.d//psad: No such file or directory at ./install.pl line 767.

The reason why this will occur is because of there is no such file 'init-scripts/psad-init.archlinux', however iirc ArchLinux does not utilize the /etc/rc.d, therefore we should touch the file to fulfill the compile requirement:

1) Find the following line in PKGBUILD:
./install.pl --init-dir "$pkgdir/etc/rc.d/" < responses
2) Insert the following line before the above line:
touch init-scripts/psad-init.archlinux
3) Save and exit

However if we're doing this, the following error occurs:
error: failed to commit transaction (conflicting files)
psad: /usr/sbin exists in filesystem
psad: /var/run exists in filesystem

Using namcap the following info outputs:
psad W: Directory (etc/psad/snort_rules) does not have the world executable bit set.
psad W: Directory (etc/psad/archive) does not have the world executable bit set.
psad W: File (var/lib/psad) does not have the world readable bit set.
psad W: Directory (var/lib/psad) does not have the world executable bit set.
psad W: File (var/log/psad/fwdata) does not have the world readable bit set.
psad E: File (var/run/psad/) is in a temporary directory.
psad W: Potential non-FHS man page (usr/lib/psad/share/man/man3/IPTables::ChainMgr.3pm) found.
psad W: Potential non-FHS man page (usr/lib/psad/share/man/man3/IPTables::Parse.3pm) found.
psad W: Directory (usr/lib/psad/x86_64-linux-thread-multi/auto/IPTables/Parse) is empty
psad W: Directory (etc/psad/archive) is empty
psad W: Directory (usr/lib/psad/x86_64-linux-thread-multi/auto/IPTables/ChainMgr) is empty
psad W: Directory (var/run/psad) is empty
psad W: Directory (var/lib/psad) is empty
psad W: Dependency included and not needed ('perl-bit-vector')
psad W: Dependency included and not needed ('perl-date-calc')
psad W: Dependency included and not needed ('perl-iptables-chainmgr')
psad W: Dependency included and not needed ('perl-iptables-parse')
psad W: Dependency included and not needed ('perl-net-ipv4addr')
psad W: Dependency included and not needed ('perl-unix-syslog')
psad W: Dependency included and not needed ('net-tools')

Any idea?

==WARN: The build is broken as this comment published==

supersym commented on 2016-03-28 21:58

https://cipherdyne.org/psad/download/psad-2.4.3.tar.gz

New version is available.

ekuleana commented on 2015-11-14 02:55

PKGBUILD has md5sum for wrong tar file(tar.bz2 md5 used instead of tar.gz md5)

source=("http://cipherdyne.org/psad/download/$pkgname-$pkgver.tar.gz" "responses" "psad-systemdinit.archlinux" "psad.patch1")
md5sums=('c73d01e472f08775b6fc80c90378f7ce'
'2425986f9eaa44d983128ebea6c8baf4'
'29324f5fb0ccf69b443710c7d4c075fd'
'3ebc69df83f083abcd52965fa26c3cf4')

should be:
source=("http://cipherdyne.org/psad/download/$pkgname-$pkgver.tar.gz" "responses" "psad-systemdinit.archlinux" "psad.patch1")
md5sums=('35902725e1840821942599ee72e5c72a'
'2425986f9eaa44d983128ebea6c8baf4'
'29324f5fb0ccf69b443710c7d4c075fd'
'3ebc69df83f083abcd52965fa26c3cf4')

Correction allows makepkg to proceed until it dies at patch to install.pl.