diff options
Diffstat (limited to 'security/portsentry/files')
-rw-r--r-- | security/portsentry/files/patch-aa | 43 | ||||
-rw-r--r-- | security/portsentry/files/patch-ab | 17 | ||||
-rw-r--r-- | security/portsentry/files/patch-ac | 11 |
3 files changed, 71 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" diff --git a/security/portsentry/files/patch-ab b/security/portsentry/files/patch-ab new file mode 100644 index 000000000000..08d52d3388a4 --- /dev/null +++ b/security/portsentry/files/patch-ab @@ -0,0 +1,17 @@ +--- sentry.conf.orig Sat Dec 19 11:06:01 1998 ++++ sentry.conf Sat Dec 19 11:06:22 1998 +@@ -80,11 +80,11 @@ + ###################### + # + # Hosts to ignore +-IGNORE_FILE="/usr/local/abacus/sentry.ignore" ++IGNORE_FILE="/usr/local/etc/sentry.ignore" + # Hosts that have been denied (running history) +-HISTORY_FILE="/usr/local/abacus/sentry.history" ++HISTORY_FILE="/usr/local/etc/sentry.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" + + ################### + # Response Options# diff --git a/security/portsentry/files/patch-ac b/security/portsentry/files/patch-ac new file mode 100644 index 000000000000..58d6dcaa4aa5 --- /dev/null +++ b/security/portsentry/files/patch-ac @@ -0,0 +1,11 @@ +--- sentry_config.h.orig Sat Dec 19 11:05:40 1998 ++++ sentry_config.h Sat Dec 19 11:05:52 1998 +@@ -32,7 +32,7 @@ + + /* These are probably ok. Be sure you change the Makefile if you */ + /* change the path */ +-#define CONFIG_FILE "/usr/local/abacus/sentry.conf" ++#define CONFIG_FILE "/usr/local/etc/sentry.conf" + + /* The location of Wietse Venema's TCP Wrapper hosts.deny file */ + #define WRAPPER_HOSTS_DENY "/etc/hosts.deny" |