head	1.7;
access;
symbols
	RELEASE_5_4_0:1.6
	RELEASE_4_11_0:1.6
	RELEASE_5_3_0:1.6
	RELEASE_4_10_0:1.6
	RELEASE_5_2_1:1.6
	RELEASE_5_2_0:1.6
	RELEASE_4_9_0:1.6
	RELEASE_5_1_0:1.6
	RELEASE_4_8_0:1.6
	RELEASE_5_0_0:1.6
	RELEASE_4_7_0:1.6
	RELEASE_4_6_2:1.6
	RELEASE_4_6_1:1.6
	RELEASE_4_6_0:1.6
	RELEASE_5_0_DP1:1.6
	RELEASE_4_5_0:1.6
	RELEASE_4_4_0:1.6
	RELEASE_4_3_0:1.5
	RELEASE_4_2_0:1.5
	RELEASE_4_1_1:1.5
	RELEASE_4_1_0:1.5
	RELEASE_3_5_0:1.5
	RELEASE_4_0_0:1.5
	RELEASE_3_4_0:1.5
	RELEASE_3_3_0:1.5
	RELEASE_3_2_0:1.4
	RELEASE_3_1_0:1.3
	v0_61:1.1.1.1
	CHRIS:1.1.1;
locks; strict;
comment	@# @;


1.7
date	2005.04.18.13.16.47;	author vs;	state dead;
branches;
next	1.6;

1.6
date	2001.09.13.02.01.11;	author lioux;	state Exp;
branches;
next	1.5;

1.5
date	99.05.17.05.21.21;	author mharo;	state Exp;
branches;
next	1.4;

1.4
date	99.04.16.10.39.44;	author kris;	state Exp;
branches;
next	1.3;

1.3
date	99.01.20.21.52.06;	author max;	state Exp;
branches;
next	1.2;

1.2
date	99.01.20.21.04.29;	author max;	state Exp;
branches;
next	1.1;

1.1
date	98.12.19.16.53.20;	author jseger;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	98.12.19.16.53.20;	author jseger;	state Exp;
branches;
next	;


desc
@@


1.7
log
@- Add (non-rcNG) startup-script (patches welcome)
- Cleanup port (me)

PR:		ports/72759
Submitted by:	Alex de Kruijff
@
text
@--- Makefile.orig	Wed Jul 11 16:57:27 2001
+++ Makefile	Wed Sep 12 22:25:13 2001
@@@@ -20,13 +20,12 @@@@
 #
 #
 # Generic compiler (usually linked to gcc on most platforms)
-CC = cc
 
 # GNU..
 #CC = gcc 
 
 # Normal systems flags
-CFLAGS = -O -Wall
+CFLAGS += -DPREFIX=\"${PREFIX}\"
 
 # Debug mode for portsentry
 #CFLAGS = -Wall -g -DNODAEMON -DDEBUG
@


1.6
log
@o Update to 1.1
o Don't install ${PREFIX}/etc/portsentry.conf ever. Just let
  ${PREFIX}/etc/portsentry.conf.default be the way to go

PR:		30460
Submitted by:	MAINTAINER
@
text
@@


1.5
log
@Upgrade to 0.90

Noticed by: Jim Dutton <jimd@@dutton3.it.siu.edu>
@
text
@d1 3
a3 3
--- Makefile.orig	Sun May 16 21:55:26 1999
+++ Makefile	Sun May 16 21:55:46 1999
@@@@ -13,12 +13,13 @@@@
d5 3
a8 3
 # Generic compiler
-CC = cc
+CC ?= cc
a13 1
+CFLAGS ?= -O -Wall
@


1.4
log
@Respect CC and CFLAGS
@
text
@d1 3
a3 3
--- Makefile.orig	Thu May 28 22:54:11 1998
+++ Makefile	Sun Apr 11 20:09:52 1999
@@@@ -20,18 +20,19 @@@@
d13 2
a14 2
-CFLAGS = -O  
+CFLAGS ?= -O
d17 2
a18 38
 # Debug mode for sentry
 #CFLAGS = -Wall -g -DDEBUG
 
 
-INSTALLDIR = /usr/local/abacus
+INSTALLDIR = ${PREFIX}
 
 
 all:
@@@@ -54,21 +55,16 @@@@
 		/bin/rmdir $(INSTALLDIR)
 
 install:	
-		@@echo "Creating abacus directory $(INSTALLDIR)"
-		@@if [ ! -d $(INSTALLDIR) ]; then /bin/mkdir $(INSTALLDIR); fi
-		@@echo "Setting directory permissions"
-		chmod 700 $(INSTALLDIR)
-		@@echo "Copying files"
-		cp ./sentry.conf $(INSTALLDIR)
-		cp ./sentry.ignore $(INSTALLDIR)
-		cp ./sentry $(INSTALLDIR)
+		cp ./sentry.conf $(INSTALLDIR)/etc
+		cp ./sentry.ignore $(INSTALLDIR)/etc
+		cp ./sentry $(INSTALLDIR)/bin
 		@@echo "Setting permissions"
-		chmod 600 $(INSTALLDIR)/sentry.ignore
-		chmod 600 $(INSTALLDIR)/sentry.conf
-		chmod 700 $(INSTALLDIR)/sentry
+		chmod 600 $(INSTALLDIR)/etc/sentry.ignore
+		chmod 600 $(INSTALLDIR)/etc/sentry.conf
+		chmod 700 $(INSTALLDIR)/bin/sentry
 		@@echo ""
 		@@echo ""
-		@@echo "Edit $(INSTALLDIR)/sentry.conf and change"
+		@@echo "Edit $(INSTALLDIR)/etc/sentry.conf and change"
 		@@echo "your settings if you haven't already. (route, etc)" 
 		@@echo ""
 		@@echo ""
@


1.3
log
@Oops, double-quotes need to be escaped in Makefiles.
@
text
@d1 9
a9 3
--- Makefile.orig	Thu May 28 22:24:11 1998
+++ Makefile	Thu Jan 21 05:57:29 1999
@@@@ -25,13 +25,13 @@@@
d14 2
a15 1
+CFLAGS+= -O  -DPREFIX=\"${PREFIX}\"
d26 1
a26 1
@@@@ -54,21 +54,16 @@@@
@


1.2
log
@Modify this patch to change the distributed Makefile to:
* Let the install target print correct location of the conf file.
* Use CFLAGS+= instead of commenting it out.
* Add -DPREFIX="${PREFIX}" to the CFLAGS.
@
text
@d8 1
a8 1
+CFLAGS+= -O  -DPREFIX="${PREFIX}"
@


1.1
log
@Initial revision
@
text
@d1 2
a2 2
--- Makefile.orig	Thu May 28 09:24:11 1998
+++ Makefile	Sat Dec 19 11:10:10 1998
d8 1
a8 1
+#CFLAGS = -O  
d19 1
a19 1
@@@@ -54,18 +54,13 @@@@
d43 5
a47 1
 		@@echo "Edit $(INSTALLDIR)/sentry.conf and change"
@


1.1.1.1
log
@Import of abacus sentry v 0.61

Sentry is part of the Abacus Project suite of security tools.
It is a program designed to detect and respond to port scans
against a target host in real-time. There are other port scan
detectors that peform similar detection of scans,but the Sentry
has some unique features that may make it worth looking into.

PR:		ports/5475
Submitted by:	chris@@still.whet.org
@
text
@@
