Suricata uses libcap-ng on Linux and runs as root elsewhere.
Switch to _suricata user and group in config to avoid running as root.
To remove pid file its directory must be writable by suricata user.
Fix pid file removal if it is specified in config file.
setresuid()/gid() patch from Emmanuel Roullit
OK gonzalo@
available at build time. Add them to lib depends and wantlib
to create a package that always depends on all it needs.
Portcheck complained about an unknown VARBASE, add it to subst vars.
OK gonzalo@