FreeBSD Bugzilla – Attachment 72050 Details for
Bug 104811
[MAINTAINER] net-mgmt/nfdump: update to 1.5.2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
nfdump-1.5.2.patch
nfdump-1.5.2.patch (text/plain), 5.30 KB, created by
Janos Mohacsi
on 2006-10-25 18:30:20 UTC
(
hide
)
Description:
nfdump-1.5.2.patch
Filename:
MIME Type:
Creator:
Janos Mohacsi
Created:
2006-10-25 18:30:20 UTC
Size:
5.30 KB
patch
obsolete
>diff -ruN --exclude=CVS /usr/ports/net-mgmt/nfdump.orig/Makefile /usr/ports/net-mgmt/nfdump/Makefile >--- /usr/ports/net-mgmt/nfdump.orig/Makefile Sun Apr 2 19:25:37 2006 >+++ /usr/ports/net-mgmt/nfdump/Makefile Wed Oct 25 19:22:00 2006 >@@ -6,7 +6,7 @@ > # > > PORTNAME= nfdump >-PORTVERSION= 1.5 >+PORTVERSION= 1.5.2 > CATEGORIES= net-mgmt > MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} > MASTER_SITE_SUBDIR= ${PORTNAME} >@@ -16,15 +16,18 @@ > > GNU_CONFIGURE= yes > CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} >+ >+#flow-tools support >+OPTIONS= FT2NFDUMP "With Flow-tools to nfdump converter" off \ >+ SFLOW "Build sflow collector daemon also" off >+ >+.include <bsd.port.pre.mk> >+ > #for compatibility > # > .ifndef(WITHOUT_NFDUMP14_SUPPORT) > CONFIGURE_ARGS= --enable-compat14 > .endif >-#flow-tools support >-OPTIONS= FT2NFDUMP "With Flow-tools to nfdump converter" off >- >-.include <bsd.port.pre.mk> > > PLIST_FILES= bin/nfcapd bin/nfdump bin/nfprofile bin/nfreplay bin/nfclean.pl > MAN1= nfcapd.1 nfdump.1 nfprofile.1 nfreplay.1 >@@ -36,6 +39,13 @@ > CONFIGURE_ARGS+= --enable-ftconv --with-ftpath=${LOCALBASE} > PLIST_FILES+= bin/ft2nfdump > MAN1+= ft2nfdump.1 >+.endif >+ >+#sflow capture support >+.if defined(WITH_SFLOW) >+CONFIGURE_ARGS+= --enable-sflow >+PLIST_FILES+= bin/sfcapd >+MAN1+= sfcapd.1 > .endif > > .if !defined(NOPORTDOCS) >diff -ruN --exclude=CVS /usr/ports/net-mgmt/nfdump.orig/distinfo /usr/ports/net-mgmt/nfdump/distinfo >--- /usr/ports/net-mgmt/nfdump.orig/distinfo Sun Apr 2 19:25:37 2006 >+++ /usr/ports/net-mgmt/nfdump/distinfo Wed Oct 25 18:11:07 2006 >@@ -1,3 +1,3 @@ >-MD5 (nfdump-1.5.tar.gz) = 47a823b88210d979ad36a55bc4eebcae >-SHA256 (nfdump-1.5.tar.gz) = d1c70b0f7340d1c1bdc016132310a7656f085d3c84f20eb9a6eff646344fb48d >-SIZE (nfdump-1.5.tar.gz) = 187689 >+MD5 (nfdump-1.5.2.tar.gz) = 4447c3338cc7eae6eee5288889f27d28 >+SHA256 (nfdump-1.5.2.tar.gz) = d86d5ce09a67913fba93ca19321d1c20edcbbd4139b2b87d79b663d983dd1ee5 >+SIZE (nfdump-1.5.2.tar.gz) = 224287 >diff -ruN --exclude=CVS /usr/ports/net-mgmt/nfdump.orig/files/patch-Makefile.in /usr/ports/net-mgmt/nfdump/files/patch-Makefile.in >--- /usr/ports/net-mgmt/nfdump.orig/files/patch-Makefile.in Sun Apr 2 19:25:37 2006 >+++ /usr/ports/net-mgmt/nfdump/files/patch-Makefile.in Wed Oct 25 19:09:50 2006 >@@ -1,40 +1,20 @@ > >-$FreeBSD: ports/net-mgmt/nfdump/files/patch-Makefile.in,v 1.5 2006/04/01 22:57:30 pav Exp $ >+$FreeBSD$ > > --- Makefile.in.orig > +++ Makefile.in >-@@ -90,23 +90,19 @@ >- $(CC) $(CFLAGS) -o $@ $(FT2NF_OBJ) $(FT_LDFLAGS) $(FT_LIBS) >- >- install: $(OBJECTS) >-- test -d $(PREFIX) || install -d -o root -g bin -m 755 $(PREFIX) >-- test -d $(PREFIX)/bin || install -d -o root -g bin -m 755 $(PREFIX)/bin >-- test -d $(MANDIR) || install -d -o root -g bin -m 755 $(MANDIR) >-- test -d $(MANDIR)/man1 || install -d -o root -g bin -m 755 $(MANDIR)/man1 >-- $(INSTALL) -o root -g bin -m 755 nfcapd $(PREFIX)/bin >-- $(INSTALL) -o root -g bin -m 755 nfdump $(PREFIX)/bin >-- $(INSTALL) -o root -g bin -m 755 nfprofile $(PREFIX)/bin >-- $(INSTALL) -o root -g bin -m 755 nfreplay $(PREFIX)/bin >+@@ -100,11 +100,11 @@ >+ test -d $(MANDIR)/man1 || install -d -o root -g bin -m 755 $(MANDIR)/man1 >+ for file in $(OBJECTS); do \ >+ if [ -f $$file.1 ]; then \ >+- $(INSTALL) -o root -g bin -m 755 $$file $(PREFIX)/bin ; \ >+- $(INSTALL) -o root -g bin -m 644 $$file.1 $(MANDIR)/man1 ; \ >++ $(BSD_INSTALL_PROGRAM) $$file $(PREFIX)/bin ; \ >++ $(BSD_INSTALL_MAN) $$file.1 $(MANDIR)/man1 ; \ >+ fi \ >+ done; > - test -f $(PREFIX)/bin/nfclean.pl || $(INSTALL) -o root -g bin -m 755 nfclean.pl $(PREFIX)/bin >-+ $(BSD_INSTALL_PROGRAM) nfcapd $(PREFIX)/bin >-+ $(BSD_INSTALL_PROGRAM) nfdump $(PREFIX)/bin >-+ $(BSD_INSTALL_PROGRAM) nfprofile $(PREFIX)/bin >-+ $(BSD_INSTALL_PROGRAM) nfreplay $(PREFIX)/bin >-+ $(BSD_INSTALL_SCRIPT) nfclean.pl $(PREFIX)/bin >- >-- $(INSTALL) -o root -g bin -m 644 nfcapd.1 $(MANDIR)/man1 >-- $(INSTALL) -o root -g bin -m 644 nfdump.1 $(MANDIR)/man1 >-- $(INSTALL) -o root -g bin -m 644 nfprofile.1 $(MANDIR)/man1 >-- $(INSTALL) -o root -g bin -m 644 nfreplay.1 $(MANDIR)/man1 >-+ $(BSD_INSTALL_MAN) nfcapd.1 $(MANDIR)/man1 >-+ $(BSD_INSTALL_MAN) nfdump.1 $(MANDIR)/man1 >-+ $(BSD_INSTALL_MAN) nfprofile.1 $(MANDIR)/man1 >-+ $(BSD_INSTALL_MAN) nfreplay.1 $(MANDIR)/man1 >- if test -f ft2nfdump; then \ >-- $(INSTALL) -o root -g bin -m 755 ft2nfdump $(PREFIX)/bin; \ >-- $(INSTALL) -o root -g bin -m 644 ft2nfdump.1 $(MANDIR)/man1; \ >-+ $(BSD_INSTALL_PROGRAM) ft2nfdump $(PREFIX)/bin; \ >-+ $(BSD_INSTALL_MAN) ft2nfdump.1 $(MANDIR)/man1; \ >- fi; >++ test -f $(PREFIX)/bin/nfclean.pl || $(BSD_INSTALL_SCRIPT) nfclean.pl $(PREFIX)/bin > > uninstall: >+ for file in $(OBJECTS); do \ >diff -ruN --exclude=CVS /usr/ports/net-mgmt/nfdump.orig/files/patch-ft2nfdump.c /usr/ports/net-mgmt/nfdump/files/patch-ft2nfdump.c >--- /usr/ports/net-mgmt/nfdump.orig/files/patch-ft2nfdump.c Sun Apr 2 00:57:30 2006 >+++ /usr/ports/net-mgmt/nfdump/files/patch-ft2nfdump.c Wed Oct 25 19:12:02 2006 >@@ -1,14 +1,14 @@ > >-$FreeBSD: ports/net-mgmt/nfdump/files/patch-ft2nfdump.c,v 1.1 2006/04/01 22:57:30 pav Exp $ >+$FreeBSD$ > > --- ft2nfdump.c.orig > +++ ft2nfdump.c >-@@ -54,7 +54,7 @@ >+@@ -64,7 +64,7 @@ >+ #endif > >- #include <string.h> >- #include <errno.h> >+ #include "version.h" > -#include "ftbuild.h" >-+/*#include "ftbuild.h" */ >- >- #include <sys/stat.h> >- >++/*#include "ftbuild.h"*/ >+ #include "nf_common.h" >+ #include "nffile.h" >+ #include "launch.h"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 104811
: 72050