summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorMasafumi Max NAKANE <max@FreeBSD.org>1999-01-20 21:04:29 +0000
committerMasafumi Max NAKANE <max@FreeBSD.org>1999-01-20 21:04:29 +0000
commiteedce594586d919126ce85e5893f07beb68d4024 (patch)
tree19f5c82f14a909857b43359b044d371ed030f82a /security
parentInstall README.{install,methods} to share/doc/sentry. (diff)
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.
Notes
Notes: svn path=/head/; revision=16212
Diffstat (limited to 'security')
-rw-r--r--security/portsentry/files/patch-aa14
1 files changed, 9 insertions, 5 deletions
diff --git a/security/portsentry/files/patch-aa b/security/portsentry/files/patch-aa
index c60544fbe462..e810065f8833 100644
--- a/security/portsentry/files/patch-aa
+++ b/security/portsentry/files/patch-aa
@@ -1,11 +1,11 @@
---- Makefile.orig Thu May 28 09:24:11 1998
-+++ Makefile Sat Dec 19 11:10:10 1998
+--- Makefile.orig Thu May 28 22:24:11 1998
++++ Makefile Thu Jan 21 05:57:29 1999
@@ -25,13 +25,13 @@
#CC = gcc
# Normal systems flags
-CFLAGS = -O
-+#CFLAGS = -O
++CFLAGS+= -O -DPREFIX="${PREFIX}"
# Debug mode for sentry
#CFLAGS = -Wall -g -DDEBUG
@@ -16,7 +16,7 @@
all:
-@@ -54,18 +54,13 @@
+@@ -54,21 +54,16 @@
/bin/rmdir $(INSTALLDIR)
install:
@@ -40,4 +40,8 @@
+ chmod 700 $(INSTALLDIR)/bin/sentry
@echo ""
@echo ""
- @echo "Edit $(INSTALLDIR)/sentry.conf and change"
+- @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 ""