head	1.4;
access;
symbols
	RELEASE_8_3_0:1.4
	RELEASE_9_0_0:1.4
	RELEASE_7_4_0:1.4
	RELEASE_8_2_0:1.4
	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.4
date	2010.12.13.00.23.32;	author wxs;	state Exp;
branches;
next	1.3;

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.4
log
@Dont declare ${sancp_flags} in command_args.
Drop .sh extension from RC script.
Drop MD5 checksum from distinfo.
Switch from adding & removing users by hand to using USERS & GROUPS.
Dont remove data gathered by app on uninstall, notify user to do it manually
should they wish to.

PR:		ports/152225, ports/152226
Submitted by:	Sevan Janiyan <venture37@@geeklan.co.uk>
Approved by:	pauls@@utdallas.edu (maintainer timeout)
@
text
@#!/bin/sh

if [ "$2" != "POST-DEINSTALL" ]; then
        exit 0
fi

PATH=/bin:/usr/bin

echo "* If you nolonger plan to run sancp delete /var/log/sancp, the user & group created during install *"
@


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
@d7 1
a7 4
PATH=/bin:/usr/sbin
USER=sancp
GROUP=${USER}
LOG_DIR=/var/log/sancp
d9 1
a9 20
# Remove the log directory
if [ -d ${LOG_DIR} ]; 
then 
	rmdir ${LOG_DIR} >/dev/null 2>&1; 
fi

if pw user show "${USER}" >/dev/null 2>&1; then
        if ! pw userdel ${USER} ;          
        then
                echo "Unable to remove user: ${USER}, remove it manually"
        fi
fi


if pw group show "${GROUP}" >/dev/null 2>&1; then
	if ! pw groupdel ${GROUP} ; 
	then
		echo "Unable to remove group: ${GROUP}, remove it manually"
	fi
fi
@


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
@d3 4
@


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
@a27 1

@

