Port for pkt-gen. An older version lives in /usr/src/tools/tools/netmap
but it's missing a number of new changes.
Details
I will be testing this with my existing test framework
Diff Detail
- Repository
- rP FreeBSD ports repository
- Lint
No Lint Coverage - Unit
No Test Coverage - Build Status
Buildable 11238 Build 11615: arc lint + arc unit
Event Timeline
net/pkt-gen/Makefile | ||
---|---|---|
5 | If this *is* the real version of the software, it is fine, though you should be using DISTVERSION and not PORTVERSION. If you made this up, and this is based on the commit date, you must prefix the version with a g (for git): DISTVERSION= g2017.08.06 | |
17 | USES should be before USE_GITHUB. See 14.7. USES and USE_x | |
29 | ${WRKSRC}/pkt-gen | |
net/pkt-gen/pkg-descr | ||
2 | The pkg-descr file must contain a description that is much longer than the COMMENT in the Makefile, usually a two or three lines paragraph. |
net/pkt-gen/Makefile | ||
---|---|---|
20–21 | Would probably be easier to do this: PATCH_WRKSRC= ${WRKSRC}/.. |
I would maybe call the hint cppc_notify with the sense being that "1" enables it and "0" disables notifications (we try to avoid "negative" hints/tunables). You would then just want to set the default value to 1 and change the last test to cppcval != 0. I would also perhaps rename cppcval to cppc_notify as well.