diff options
author | kim <kim> | 1998-08-07 22:42:29 +0000 |
---|---|---|
committer | kim <kim> | 1998-08-07 22:42:29 +0000 |
commit | 63d8cf89908cdbe4da749c78eac528b77dd55207 (patch) | |
tree | 6b034e9c8d538ebd5f9b527b15f64e2bb7d4d955 /net/ntop/patches | |
parent | b0f9d8502bc25cb51a249524ec277f2bc800b0ac (diff) | |
download | pkgsrc-63d8cf89908cdbe4da749c78eac528b77dd55207.tar.gz |
Adding ntop, "network top", v0.4
Diffstat (limited to 'net/ntop/patches')
-rw-r--r-- | net/ntop/patches/patch-aa | 28 | ||||
-rw-r--r-- | net/ntop/patches/patch-ab | 27 | ||||
-rw-r--r-- | net/ntop/patches/patch-ac | 12 | ||||
-rw-r--r-- | net/ntop/patches/patch-ad | 49 | ||||
-rw-r--r-- | net/ntop/patches/patch-ae | 12 |
5 files changed, 128 insertions, 0 deletions
diff --git a/net/ntop/patches/patch-aa b/net/ntop/patches/patch-aa new file mode 100644 index 00000000000..47d35ad0d59 --- /dev/null +++ b/net/ntop/patches/patch-aa @@ -0,0 +1,28 @@ +$NetBSD: patch-aa,v 1.1 1998/08/07 22:42:29 kim Exp $ + +--- Makefile.in.orig Mon Aug 3 06:43:38 1998 ++++ Makefile.in Fri Aug 7 18:22:37 1998 +@@ -76,6 +76,8 @@ + + CLEANFILES = $(PROG) $(OBJ) $(GENSRC) + ++all: $(PROG) ++ + $(PROG): $(OBJ) @V_PCAPDEP@ + @rm -f $@ + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJ) $(LIBS) +@@ -90,12 +92,8 @@ + rm -f OS.NAME + + install: force +- $(INSTALL) -m 6111 -o root -g sys $(PROG) $(DESTDIR)$(BINDEST)/$(PROG) +- chmod gou+s $(DESTDIR)$(BINDEST)/$(PROG) +- +-install-man: force +- $(INSTALL) -m 444 -o bin -g bin $(PROG).8 \ +- $(DESTDIR)$(MANDEST)/man8/$(PROG).8 ++ $(INSTALL) -m 6550 $(PROG) $(DESTDIR)$(BINDEST)/$(PROG) ++ $(INSTALL) -m 444 $(PROG).8 $(DESTDIR)$(MANDEST)/man8/$(PROG).8 + + lint: $(GENSRC) force + lint -hbxn $(SRC) | \ diff --git a/net/ntop/patches/patch-ab b/net/ntop/patches/patch-ab new file mode 100644 index 00000000000..f1e9c68e7af --- /dev/null +++ b/net/ntop/patches/patch-ab @@ -0,0 +1,27 @@ +$NetBSD: patch-ab,v 1.1 1998/08/07 22:42:29 kim Exp $ + +--- ntop.h.orig Fri Jul 31 12:31:45 1998 ++++ ntop.h Fri Aug 7 18:07:14 1998 +@@ -16,7 +16,13 @@ + #endif + + #include <errno.h> +-#include "sn_curses.h" ++#ifdef HAVE_NCURSES_H ++#include <ncurses.h> ++#else ++#ifdef HAVE_CURSES_H ++#invlude <curses.h> ++#endif ++#endif + #include <ctype.h> + #include <sys/types.h> + #include <unistd.h> +@@ -38,7 +44,6 @@ + #include <stdio.h> + #include <stdlib.h> + #include <string.h> +-#include <ethertype.h> + #include <setjmp.h> + #include <pcap.h> + diff --git a/net/ntop/patches/patch-ac b/net/ntop/patches/patch-ac new file mode 100644 index 00000000000..ce5f0eb5add --- /dev/null +++ b/net/ntop/patches/patch-ac @@ -0,0 +1,12 @@ +$NetBSD: patch-ac,v 1.1 1998/08/07 22:42:30 kim Exp $ + +--- interface.h.ORIG Fri Jul 31 05:22:13 1998 ++++ interface.h Fri Aug 7 16:52:22 1998 +@@ -26,7 +26,6 @@ + */ + + +-#include <gnuc.h> + #ifdef HAVE_OS_PROTO_H + #include "os-proto.h" + #endif diff --git a/net/ntop/patches/patch-ad b/net/ntop/patches/patch-ad new file mode 100644 index 00000000000..ba7ed13ebc2 --- /dev/null +++ b/net/ntop/patches/patch-ad @@ -0,0 +1,49 @@ +$NetBSD: patch-ad,v 1.1 1998/08/07 22:42:30 kim Exp $ + +--- configure.in.orig Thu Jul 30 06:09:44 1998 ++++ configure.in Fri Aug 7 18:16:15 1998 +@@ -18,7 +18,7 @@ + + AC_LBL_C_INIT(V_CCOPT, V_INCLS) + +-AC_CHECK_HEADERS(fcntl.h malloc.h memory.h) ++AC_CHECK_HEADERS(fcntl.h malloc.h memory.h ncurses.h curses.h) + AC_HEADER_TIME + + AC_REPLACE_FUNCS(vfprintf) +@@ -27,6 +27,8 @@ + + AC_LBL_LIBPCAP(V_PCAPDEP, V_INCLS) + ++AC_CHECK_LIB(ncurses, main) ++ + V_GROUP=0 + case "$target_os" in + +@@ -47,19 +49,19 @@ + ;; + esac + +-if test -f /dev/bpf0 ; then +- V_GROUP=bpf +-fi ++#if test -f /dev/bpf0 ; then ++# V_GROUP=bpf ++#fi + + AC_LBL_CHECK_TYPE(int32_t, int) + AC_LBL_CHECK_TYPE(u_int32_t, u_int) + + AC_LBL_DEVEL(V_CCOPT) + +-if test -r lbl/gnuc.h ; then +- rm -f gnuc.h +- ln -s lbl/gnuc.h gnuc.h +-fi ++#if test -r lbl/gnuc.h ; then ++# rm -f gnuc.h ++# ln -s lbl/gnuc.h gnuc.h ++#fi + + AC_SUBST(V_CCOPT) + AC_SUBST(V_GROUP) diff --git a/net/ntop/patches/patch-ae b/net/ntop/patches/patch-ae new file mode 100644 index 00000000000..88db24e8fe2 --- /dev/null +++ b/net/ntop/patches/patch-ae @@ -0,0 +1,12 @@ +$NetBSD: patch-ae,v 1.1 1998/08/07 22:42:30 kim Exp $ + +--- setsignal.c.orig Fri Jul 31 05:21:22 1998 ++++ setsignal.c Fri Aug 7 18:12:53 1998 +@@ -40,7 +40,6 @@ + #include <string.h> + #endif + +-#include <gnuc.h> + #ifdef HAVE_OS_PROTO_H + #include "os-proto.h" + #endif |