FreeBSD Bugzilla – Attachment 241657 Details for
Bug 271004
net/pkt-gen: Add man pages and bump version
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
net/pkt-gen: Add man pages and bump version
net-pkt-gen-add-man-pages.patch (text/plain), 4.24 KB, created by
Jose Luis Duran
on 2023-04-22 17:11:59 UTC
(
hide
)
Description:
net/pkt-gen: Add man pages and bump version
Filename:
MIME Type:
Creator:
Jose Luis Duran
Created:
2023-04-22 17:11:59 UTC
Size:
4.24 KB
patch
obsolete
>diff --git Makefile Makefile >index 35bc8e6..59edf65 100644 >--- Makefile >+++ Makefile >@@ -1,6 +1,5 @@ > PORTNAME= pkt-gen >-PORTVERSION= g2023.03.22 >-PORTREVISION= 1 >+PORTVERSION= g2023.04.22 > CATEGORIES= net > > MAINTAINER= olivier@FreeBSD.org >@@ -13,7 +12,7 @@ USES= gmake > USE_GITHUB= yes > GH_ACCOUNT= luigirizzo > GH_PROJECT= netmap >-GH_TAGNAME= 0a53f85 >+GH_TAGNAME= eea4f11 > MAKEFILE= GNUmakefile > > OPTIONS_DEFINE= PCAP >@@ -22,7 +21,9 @@ OPTIONS_DEFAULT= PCAP > PCAP_MAKE_ARGS= WITH_PCAP=1 > > PLIST_FILES= bin/pkt-gen \ >- bin/nmreplay >+ bin/nmreplay \ >+ share/man/man8/nmreplay.8.gz \ >+ share/man/man8/pkt-gen.8.gz > > do-build: > cd ${WRKSRC}/libnetmap && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} ${MAKE_FLAGS} ${MAKEFILE} >@@ -34,5 +35,9 @@ do-install: > ${STAGEDIR}${PREFIX}/bin > ${INSTALL_PROGRAM} ${WRKSRC}/apps/nmreplay/nmreplay \ > ${STAGEDIR}${PREFIX}/bin >+ ${INSTALL_MAN} ${WRKSRC}/apps/pkt-gen/pkt-gen.8 \ >+ ${STAGEDIR}${PREFIX}/share/man/man8 >+ ${INSTALL_MAN} ${WRKSRC}/apps/nmreplay/nmreplay.8 \ >+ ${STAGEDIR}${PREFIX}/share/man/man8 > > .include <bsd.port.mk> >diff --git distinfo distinfo >index 0dae438..718b5c0 100644 >--- distinfo >+++ distinfo >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1679702302 >-SHA256 (luigirizzo-netmap-g2023.03.22-0a53f85_GH0.tar.gz) = 11af9db132407c39828b7dbf4906e01eedf8f70bac9dc178bd3d6a90aace8292 >-SIZE (luigirizzo-netmap-g2023.03.22-0a53f85_GH0.tar.gz) = 758416 >+TIMESTAMP = 1682172247 >+SHA256 (luigirizzo-netmap-g2023.04.22-eea4f11_GH0.tar.gz) = 2713a07c8a6f1b4ff51c2a20c7b73637a97b78363ccf9741dc20f7737235ba27 >+SIZE (luigirizzo-netmap-g2023.04.22-eea4f11_GH0.tar.gz) = 759487 >diff --git files/patch-apps_nmreplay_GNUmakefile files/patch-apps_nmreplay_GNUmakefile >index 01f4877..3953cda 100644 >--- files/patch-apps_nmreplay_GNUmakefile >+++ files/patch-apps_nmreplay_GNUmakefile >@@ -1,11 +1,10 @@ >---- apps/nmreplay/GNUmakefile.orig 2022-02-11 07:45:02 UTC >+--- apps/nmreplay/GNUmakefile.orig 2023-04-22 12:00:00 UTC > +++ apps/nmreplay/GNUmakefile >-@@ -10,7 +10,8 @@ VPATH = $(SRCDIR)/apps/nmreplay >+@@ -10,7 +10,7 @@ VPATH = $(SRCDIR)/apps/nmreplay > > NO_MAN= > CFLAGS = -O2 # -pipe -g > -CFLAGS += -Werror -Wall -Wunused-function >-+CFLAGS += -Wall -Wunused-function > +CFLAGS += -Wall -Wunused-function > CFLAGS += -I $(SRCDIR)/sys -I $(SRCDIR)/apps/include -I $(SRCDIR)/libnetmap > CFLAGS += -Wextra >diff --git files/patch-apps_pkt-gen_GNUmakefile files/patch-apps_pkt-gen_GNUmakefile >index f401d30..bf8152f 100644 >--- files/patch-apps_pkt-gen_GNUmakefile >+++ files/patch-apps_pkt-gen_GNUmakefile >@@ -1,11 +1,10 @@ >---- apps/pkt-gen/GNUmakefile.orig 2022-02-11 07:45:02 UTC >+--- apps/pkt-gen/GNUmakefile.orig 2023-04-22 12:00:00 UTC > +++ apps/pkt-gen/GNUmakefile >-@@ -10,7 +10,8 @@ VPATH = $(SRCDIR)/apps/pkt-gen >+@@ -10,7 +10,7 @@ VPATH = $(SRCDIR)/apps/pkt-gen > > NO_MAN= > CFLAGS = -O2 -pipe > -CFLAGS += -Werror -Wall -Wunused-function >-+CFLAGS += -Wall -Wunused-function > +CFLAGS += -Wall -Wunused-function > CFLAGS += -I $(SRCDIR)/sys -I $(SRCDIR)/apps/include -I $(SRCDIR)/libnetmap > CFLAGS += -Wextra -Wno-address-of-packed-member >diff --git files/patch-apps_pkt-gen_pkt-gen.c files/patch-apps_pkt-gen_pkt-gen.c >deleted file mode 100644 >index b059e6c..0000000 >--- files/patch-apps_pkt-gen_pkt-gen.c >+++ /dev/null >@@ -1,13 +0,0 @@ >---- apps/pkt-gen/pkt-gen.c.orig 2022-06-08 23:21:01 UTC >-+++ apps/pkt-gen/pkt-gen.c >-@@ -3251,8 +3251,8 @@ out: >- g.tx_period.tv_nsec = g.tx_period.tv_nsec % 1000000000; >- } >- if (g.td_type == TD_TYPE_SENDER) >-- D("Sending %d packets every %ld.%09ld s", >-- g.burst, g.tx_period.tv_sec, g.tx_period.tv_nsec); >-+ D("Sending %d packets every %lld.%09ld s", >-+ g.burst, (long long)g.tx_period.tv_sec, g.tx_period.tv_nsec); >- /* Install ^C handler. */ >- global_nthreads = g.nthreads; >- sigemptyset(&ss); >diff --git files/patch-libnetmap_GNUmakefile files/patch-libnetmap_GNUmakefile >index ba04a18..13bd396 100644 >--- files/patch-libnetmap_GNUmakefile >+++ files/patch-libnetmap_GNUmakefile >@@ -1,10 +1,9 @@ >---- libnetmap/GNUmakefile.orig 2022-02-11 07:45:02 UTC >+--- libnetmap/GNUmakefile.orig 2023-04-22 12:00:00 UTC > +++ libnetmap/GNUmakefile >-@@ -1,6 +1,7 @@ >+@@ -1,6 +1,6 @@ > SRCDIR ?= ../ > PREFIX ?= usr/local > -CFLAGS=-O2 -pipe -Wall -Werror >-+CFLAGS=-O2 -pipe -Wall > +CFLAGS=-O2 -pipe -Wall > CFLAGS +=-g > CFLAGS += -I $(SRCDIR)/sys
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 271004
: 241657