summaryrefslogtreecommitdiff
path: root/security/portsentry/files/patch-aa
diff options
context:
space:
mode:
authorJustin M. Seger <jseger@FreeBSD.org>1998-12-19 16:53:20 +0000
committerJustin M. Seger <jseger@FreeBSD.org>1998-12-19 16:53:20 +0000
commit4cb8e7095220657c526b7d2e20a87648b53be102 (patch)
tree18fd711fb95d9686f7038e486bf140e904726fcd /security/portsentry/files/patch-aa
parentupgrade to alpha-9 (diff)
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
Diffstat (limited to 'security/portsentry/files/patch-aa')
-rw-r--r--security/portsentry/files/patch-aa43
1 files changed, 43 insertions, 0 deletions
diff --git a/security/portsentry/files/patch-aa b/security/portsentry/files/patch-aa
new file mode 100644
index 000000000000..c60544fbe462
--- /dev/null
+++ b/security/portsentry/files/patch-aa
@@ -0,0 +1,43 @@
+--- Makefile.orig Thu May 28 09:24:11 1998
++++ Makefile Sat Dec 19 11:10:10 1998
+@@ -25,13 +25,13 @@
+ #CC = gcc
+
+ # Normal systems flags
+-CFLAGS = -O
++#CFLAGS = -O
+
+ # Debug mode for sentry
+ #CFLAGS = -Wall -g -DDEBUG
+
+
+-INSTALLDIR = /usr/local/abacus
++INSTALLDIR = ${PREFIX}
+
+
+ all:
+@@ -54,18 +54,13 @@
+ /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"