summaryrefslogtreecommitdiff
path: root/net/sntop/files/patch-aa
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2000-09-16 04:38:19 +0000
committerWill Andrews <will@FreeBSD.org>2000-09-16 04:38:19 +0000
commit9f4ba66345df66f1dd596e7345932f5c0370bef8 (patch)
tree926ed44001a119d2a5adc4ba95bd34faa32f775e /net/sntop/files/patch-aa
parentAdd urwfonts 1.0, another font collection for X. (diff)
Add a sntop 1.2.0, curses-based utility that uses [f,]ping to determine
connectivity of remote network hosts on a regular interval. PR: 20584 Submitted by: Matthew Emmerton <root@gabby.gsicomp.on.ca>
Notes
Notes: svn path=/head/; revision=32672
Diffstat (limited to 'net/sntop/files/patch-aa')
-rw-r--r--net/sntop/files/patch-aa48
1 files changed, 48 insertions, 0 deletions
diff --git a/net/sntop/files/patch-aa b/net/sntop/files/patch-aa
new file mode 100644
index 000000000000..39204dbe14b5
--- /dev/null
+++ b/net/sntop/files/patch-aa
@@ -0,0 +1,48 @@
+*** 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 -O2 -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