summaryrefslogtreecommitdiff
path: root/net/sntop/files/patch-aa
diff options
context:
space:
mode:
authorDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2002-05-08 16:20:36 +0000
committerDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2002-05-08 16:20:36 +0000
commitf1185bc7db4e96d6bf694661c81e8fe23b1cc524 (patch)
tree0ec02bf2a483ee99a2d23847640f8cc0a7567deb /net/sntop/files/patch-aa
parentUpdate to 4.3.20 (diff)
Update to 1.4.3
PR: 36824 Submitted by: obraun@informatik.unibw-muenchen.de
Notes
Notes: svn path=/head/; revision=58713
Diffstat (limited to 'net/sntop/files/patch-aa')
-rw-r--r--net/sntop/files/patch-aa84
1 files changed, 36 insertions, 48 deletions
diff --git a/net/sntop/files/patch-aa b/net/sntop/files/patch-aa
index 46b62ff2230d..115c1d12cafd 100644
--- a/net/sntop/files/patch-aa
+++ b/net/sntop/files/patch-aa
@@ -1,48 +1,36 @@
-*** Makefile.in.orig Sat Aug 5 22:01:28 2000
---- Makefile.in Sat Aug 5 22:03:43 2000
-***************
-*** 31,37 ****
-! CFLAGS = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer @DEFS@
- INCLUDE = .
- INSTDIR = @bindir@
-! ETCDIR = /etc
- LIBS = @LIBS@
- OBJS = @LIBOBJS@
- DOWENEEDGETOPT = @LIBOBJS@
---- 31,37 ----
-! CFLAGS += -Wall -Wstrict-prototypes -fomit-frame-pointer @DEFS@
- INCLUDE = .
- INSTDIR = @bindir@
-! ETCDIR = @sysconfdir@
- LIBS = @LIBS@
- OBJS = @LIBOBJS@
- DOWENEEDGETOPT = @LIBOBJS@
-***************
-*** 64,77 ****
- fi
- @if [ -d $(ETCDIR) ]; \
- then \
-! if [ ! -f $(ETCDIR)/sntoprc ]; \
- then \
-! cp sntoprc.EXAMPLE $(ETCDIR)/sntoprc; \
-! chmod 644 $(ETCDIR)/sntoprc; \
-! echo "sntop: Config installed in $(ETCDIR)"; \
-! else \
-! echo "sntop: conf file exists at $(ETCDIR)/sntoprc, we wont overwrite it"; \
-! fi \
- else \
- echo "sntop: $(ETCDIR) does not exist"; false; \
- fi
---- 64,75 ----
- fi
- @if [ -d $(ETCDIR) ]; \
- then \
-! if [ ! -f $(ETCDIR)/sntoprc.sample ]; \
- then \
-! cp sntoprc.EXAMPLE $(ETCDIR)/sntoprc.sample; \
-! chmod 644 $(ETCDIR)/sntoprc.sample; \
-! fi; \
-+ echo "sntop: Sample config exists at $(ETCDIR)/sntoprc.sample"; \
- else \
- echo "sntop: $(ETCDIR) does not exist"; false; \
- fi
+--- Makefile.in.orig Sun Nov 11 22:54:15 2001
++++ Makefile.in Sat Apr 6 23:49:08 2002
+@@ -36,7 +36,7 @@
+ MANDIR = @mandir@/man1
+ SNTOPRC = $(ETCDIR)/sntoprc
+ CC = @CC@
+-CFLAGS = -Wall -Wstrict-prototypes -O2 @DEFS@ -DCONF_SFILE=\"$(SNTOPRC)\"
++CFLAGS+= -Wall -Wstrict-prototypes @DEFS@ -DCONF_SFILE=\"$(SNTOPRC)\"
+
+ proper: clean sntop
+
+@@ -65,12 +65,12 @@
+ fi
+ @if [ -d $(ETCDIR) ]; \
+ then \
+- if [ ! -f $(ETCDIR)/sntoprc ]; \
++ if [ ! -f $(ETCDIR)/sntoprc.sample ]; \
+ then \
+- cp sntoprc.EXAMPLE $(ETCDIR)/sntoprc; \
+- chmod 644 $(ETCDIR)/sntoprc; \
++ cp sntoprc.EXAMPLE $(ETCDIR)/sntoprc.sample; \
++ chmod 644 $(ETCDIR)/sntoprc.sample; \
+ fi; \
+- echo "sntop: Sample config exists at $(ETCDIR)/sntoprc"; \
++ echo "sntop: Sample config exists at $(ETCDIR)/sntoprc.sample"; \
+ else \
+ echo "sntop: $(ETCDIR) does not exist"; false; \
+ fi
+@@ -78,7 +78,6 @@
+ then \
+ cp sntop.1 $(MANDIR); \
+ chmod 644 $(MANDIR)/sntop.1; \
+- gzip -9 $(MANDIR)/sntop.1; \
+ echo "sntop: Man file installed in $(MANDIR)"; \
+ else \
+ echo "sntop: $(MANDIR) does not exist, not installing man file"; \