diff options
author | niels <niels@FreeBSD.org> | 2005-06-07 20:56:27 +0000 |
---|---|---|
committer | niels <niels@FreeBSD.org> | 2005-06-07 20:56:27 +0000 |
commit | c32321a057d688a2aa655235fbe1d114b707f8b0 (patch) | |
tree | 8f999a6db14c34347ce98d244943e33813a73c72 /security/sancp/pkg-plist | |
parent | 706287a67096a3b371155765edf0eaf7e8d32841 (diff) | |
download | FreeBSD-ports-c32321a057d688a2aa655235fbe1d114b707f8b0.zip FreeBSD-ports-c32321a057d688a2aa655235fbe1d114b707f8b0.tar.gz |
New port based on submission by Paul Schmehl
Sancp is a network security tool designed to collect
statistical information regarding network traffic, as
well as, collect the traffic itself in pcap format, all
for the purpose of: auditing, historical analysis, and
network activity discovery.
PR: ports/77426
Submitted by: Paul Schmehl
Approved by: nectar (mentor)
Diffstat (limited to 'security/sancp/pkg-plist')
-rw-r--r-- | security/sancp/pkg-plist | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/security/sancp/pkg-plist b/security/sancp/pkg-plist new file mode 100644 index 0000000..71bb3ff --- /dev/null +++ b/security/sancp/pkg-plist @@ -0,0 +1,7 @@ +bin/sancp +etc/sancp.conf-sample +etc/rc.d/sancp.sh +%%DOCSDIR%%/LICENSE +@unexec if [ -f %D/etc/sancp.conf ] && ! cmp -s %D/etc/sancp.conf %D/etc/sancp.conf-sample; then rm -f %D/etc/sancp.conf; fi +@unexec if [ -d /var/log/sancp/ ] && ! rmdir /var/log/sancp/ >/dev/null 2>&1; then echo "WARNING: Unable to remove log dir '/var/log/sancp/', its probably not empty" ; fi +@unexec if [ -f %D/etc/sancp.conf ]; then echo "WARNING: The %D/etc/sancp.conf file was not removed!"; fi |