diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2001-08-22 18:06:44 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2001-08-22 18:06:44 +0000 |
commit | 04b79ace720d5c03247a15df49ce14caa7e9148b (patch) | |
tree | 65b3b8dbf94ee51118a472a1fc05589b4cbb2729 /net/ngrep/files | |
parent | Update to 1.4.1.1. (diff) |
Update to 1.40.
- update mastersite
- install more docs, use DOCSDIR
- properly support NOPORTDOCS in pkg-plist
- sync pkg-descr with current features
- update ngrep.c (the t->tm_mon+1 change has been integrated in 1.40)
- remove patch-Makefile.in (no longer necessary)
PR: 29588
Submitted by: Pete Fritchman <petef@databits.net>
Notes
Notes:
svn path=/head/; revision=46651
Diffstat (limited to 'net/ngrep/files')
-rw-r--r-- | net/ngrep/files/patch-Makefile.in | 5 | ||||
-rw-r--r-- | net/ngrep/files/patch-ngrep.c | 25 |
2 files changed, 8 insertions, 22 deletions
diff --git a/net/ngrep/files/patch-Makefile.in b/net/ngrep/files/patch-Makefile.in deleted file mode 100644 index dcb046bc6721..000000000000 --- a/net/ngrep/files/patch-Makefile.in +++ /dev/null @@ -1,5 +0,0 @@ ---- Makefile.in.orig Wed Jun 21 12:13:46 2000 -+++ Makefile.in Sun Aug 13 09:31:51 2000 -@@ -56 +56 @@ ---include .depends -+### -include .depends diff --git a/net/ngrep/files/patch-ngrep.c b/net/ngrep/files/patch-ngrep.c index a544f4d278cc..48dc19264ead 100644 --- a/net/ngrep/files/patch-ngrep.c +++ b/net/ngrep/files/patch-ngrep.c @@ -1,28 +1,19 @@ ---- ngrep.c.orig Mon Jun 26 12:52:50 2000 -+++ ngrep.c Sat Aug 26 17:34:40 2000 -@@ -48,6 +48,7 @@ - #include "regex.h" +--- ngrep.c.orig Wed Aug 8 23:36:09 2001 ++++ ngrep.c Wed Aug 8 23:36:31 2001 +@@ -62,6 +62,7 @@ + #include "ngrep.h" +extern FILE *yyin; - static char rcsver[] = "$Revision: 1.38 $"; + static char rcsver[] = "$Revision: 1.18 $"; -@@ -196,7 +197,7 @@ - free(filter); +@@ -232,7 +233,7 @@ filter = get_filter(&argv[optind-1]); + #ifdef NEED_RESTART - PCAP_RESTART(); + PCAP_RESTART(yyin); + #endif if (pcap_compile(pd, &pcapfilter, filter, 0, mask.s_addr)) { pcap_perror(pd, "pcap compile"); - clean_exit(-1); -@@ -653,7 +654,7 @@ - struct tm *t = localtime(&h->ts.tv_sec); - - printf("%02d/%02d/%02d %02d:%02d:%02d.%06d ", -- t->tm_year+1900, t->tm_mon, t->tm_mday, t->tm_hour, -+ t->tm_year+1900, t->tm_mon+1, t->tm_mday, t->tm_hour, - t->tm_min, t->tm_sec, h->ts.tv_usec); - } - |