diff options
author | Michael Haro <mharo@FreeBSD.org> | 1999-05-17 05:21:25 +0000 |
---|---|---|
committer | Michael Haro <mharo@FreeBSD.org> | 1999-05-17 05:21:25 +0000 |
commit | 50bea79525ad3286e6b3f96b1f765bd471f3d835 (patch) | |
tree | 2b60a3b1892a961dd924c656bdd11c994a6aa2f3 /security/portsentry/files | |
parent | a1ea5250fa2445d0e8f0c96cbcd4d7e290eb899c (diff) | |
download | ports-50bea79525ad3286e6b3f96b1f765bd471f3d835.tar.gz ports-50bea79525ad3286e6b3f96b1f765bd471f3d835.zip |
Notes
Diffstat (limited to 'security/portsentry/files')
-rw-r--r-- | security/portsentry/files/patch-aa | 50 | ||||
-rw-r--r-- | security/portsentry/files/patch-ab | 16 | ||||
-rw-r--r-- | security/portsentry/files/patch-ac | 16 |
3 files changed, 24 insertions, 58 deletions
diff --git a/security/portsentry/files/patch-aa b/security/portsentry/files/patch-aa index 78b3e16ee831..a202fbc5c728 100644 --- a/security/portsentry/files/patch-aa +++ b/security/portsentry/files/patch-aa @@ -1,6 +1,6 @@ ---- Makefile.orig Thu May 28 22:54:11 1998 -+++ Makefile Sun Apr 11 20:09:52 1999 -@@ -20,18 +20,19 @@ +--- Makefile.orig Sun May 16 21:55:26 1999 ++++ Makefile Sun May 16 21:55:46 1999 +@@ -13,12 +13,13 @@ # # Generic compiler @@ -10,45 +10,9 @@ #CC = gcc # Normal systems flags --CFLAGS = -O -+CFLAGS ?= -O +-CFLAGS = -O -Wall ++CFLAGS ?= -O -Wall +CFLAGS += -DPREFIX=\"${PREFIX}\" - # 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 "" + # Debug mode for portsentry + #CFLAGS = -Wall -g -DNODAEMON -DDEBUG diff --git a/security/portsentry/files/patch-ab b/security/portsentry/files/patch-ab index 08d52d3388a4..93df81b1777d 100644 --- a/security/portsentry/files/patch-ab +++ b/security/portsentry/files/patch-ab @@ -1,17 +1,17 @@ ---- sentry.conf.orig Sat Dec 19 11:06:01 1998 -+++ sentry.conf Sat Dec 19 11:06:22 1998 +--- portsentry.conf.orig Sun May 16 21:50:55 1999 ++++ portsentry.conf Sun May 16 21:51:27 1999 @@ -80,11 +80,11 @@ ###################### # # Hosts to ignore --IGNORE_FILE="/usr/local/abacus/sentry.ignore" -+IGNORE_FILE="/usr/local/etc/sentry.ignore" +-IGNORE_FILE="/usr/local/psionic/portsentry/portsentry.ignore" ++IGNORE_FILE="__PREFIX__/etc/portsentry.ignore" # Hosts that have been denied (running history) --HISTORY_FILE="/usr/local/abacus/sentry.history" -+HISTORY_FILE="/usr/local/etc/sentry.history" +-HISTORY_FILE="/usr/local/psionic/portsentry/portsentry.history" ++HISTORY_FILE="__PREFIX__/etc/portsentry.history" # Hosts that have been denied this session only (temporary until next restart) --BLOCKED_FILE="/usr/local/abacus/sentry.blocked" -+BLOCKED_FILE="/usr/local/etc/sentry.blocked" +-BLOCKED_FILE="/usr/local/psionic/portsentry/portsentry.blocked" ++BLOCKED_FILE="__PREFIX__/etc/portsentry.blocked" ################### # Response Options# diff --git a/security/portsentry/files/patch-ac b/security/portsentry/files/patch-ac index 954c7f399943..c0d1f04f67da 100644 --- a/security/portsentry/files/patch-ac +++ b/security/portsentry/files/patch-ac @@ -1,16 +1,18 @@ ---- sentry_config.h.orig Thu May 28 22:24:11 1998 -+++ sentry_config.h Thu Jan 21 06:05:33 1999 -@@ -32,7 +32,12 @@ +--- portsentry_config.h.orig Sun May 16 21:52:00 1999 ++++ portsentry_config.h Sun May 16 21:52:54 1999 +@@ -29,9 +29,14 @@ + /************************************************************************/ + - /* These are probably ok. Be sure you change the Makefile if you */ - /* change the path */ --#define CONFIG_FILE "/usr/local/abacus/sentry.conf" +/* Installation prefix */ +#ifndef PREFIX +#define PREFIX "/usr/local" +#endif + -+#define CONFIG_FILE PREFIX"/etc/sentry.conf" + /* These are probably ok. Be sure you change the Makefile if you */ + /* change the path */ +-#define CONFIG_FILE "/usr/local/psionic/portsentry/portsentry.conf" ++#define CONFIG_FILE PREFIX"/etc/portsentry.conf" /* The location of Wietse Venema's TCP Wrapper hosts.deny file */ #define WRAPPER_HOSTS_DENY "/etc/hosts.deny" |