head	1.3;
access;
symbols
	RELEASE_8_3_0:1.3
	RELEASE_9_0_0:1.3
	RELEASE_7_4_0:1.3
	RELEASE_8_2_0:1.3
	RELEASE_6_EOL:1.3
	RELEASE_8_1_0:1.3
	RELEASE_7_3_0:1.3
	RELEASE_8_0_0:1.3
	RELEASE_7_2_0:1.3
	RELEASE_7_1_0:1.3
	RELEASE_6_4_0:1.3
	RELEASE_5_EOL:1.3
	RELEASE_7_0_0:1.3
	RELEASE_6_3_0:1.3
	PRE_XORG_7:1.2
	RELEASE_4_EOL:1.2
	RELEASE_6_2_0:1.2
	RELEASE_6_1_0:1.2
	RELEASE_5_5_0:1.2
	RELEASE_6_0_0:1.1;
locks; strict;
comment	@# @;


1.3
date	2007.07.14.22.21.13;	author beech;	state Exp;
branches;
next	1.2;

1.2
date	2005.11.17.18.13.10;	author pav;	state Exp;
branches;
next	1.1;

1.1
date	2005.06.07.20.56.27;	author niels;	state Exp;
branches;
next	;


desc
@@


1.3
log
@- Update to 1.6.1_2
- Minor fixes

PR:		ports/114390
Submitted by:	Paul Schmehl <pauls@@utdallas.edu> (maintainer)
Approved by:	sat (mentor)
@
text
@bin/sancp
@@unexec if cmp -s %D/etc/sancp.conf %D/etc/sancp.conf-dist; then rm -f %D/etc/sancp.conf; fi
etc/sancp.conf-dist
@@exec cp -n %D/%F %B/sancp.conf
@


1.2
log
@- Update MASTER_SITES
- Add two vendor patches
- Fix config file handling
- Use SUB_FILES for pkg-message and better of USE_RC_SUBR

PR:		ports/89178
Submitted by:	Paul Schmehl <pauls@@utdallas.edu> (maintainer)
@
text
@d2 1
a2 2
@@unexec if [ -f %D/etc/sancp.conf ]  && cmp -s %D/etc/sancp.conf %D/etc/sancp.conf-dist; then rm -f %D/etc/sancp.conf; fi
@@unexec if [ -f %D/etc/sancp.conf ]; then    echo "WARNING: The %D/etc/sancp.conf file was not removed!"; fi
d4 1
a4 2
@@exec if [ ! -f %D/etc/sancp.conf-dist ] ; then cp -p %D/%F %B/sancp.conf; fi
%%PORTDOCS%%%%DOCSDIR%%/LICENSE
@


1.1
log
@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)
@
text
@d2 1
a2 5
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
d4 3
@

