Created attachment 151758 [details] libnet_checksum.c.diff There have been a few bugfixes to libnet since 1.1.6. As 1.2 is not out yet, I propose to include them as patches in the port. The included patches are for the following commits in the libnet repository: https://github.com/sam-github/libnet/commit/c9390bf8f3379c280ba8ceec67fbd8e908675d96 https://github.com/sam-github/libnet/commit/2e724b2f5cd614d7362f8dcbc57dc1fca6e437b3 https://github.com/sam-github/libnet/commit/18cbe497dd84afc471a5320e4ef3a7cde87c2c4e https://github.com/sam-github/libnet/commit/875ae1c0b59c862df6d05abac4535d35485ae884 https://github.com/sam-github/libnet/commit/408fa2266a4af402152cc0f1e9a40b56477b995a
Auto-assigned to maintainer sunpoet@FreeBSD.org
Created attachment 151759 [details] libnet_cq.c.diff
Created attachment 151760 [details] libnet_if_addr.c.diff
Created attachment 151761 [details] libnet_link_bpf.c.diff
Created attachment 151762 [details] libnet_pblock.c.diff
Created attachment 151763 [details] libnet_raw.c.diff
It seems netinet/in.h patch [1] is not necessary. It's covered by existing patch-libnet.h.in (will renamed to patch-include-libnet.h.in). [1] https://github.com/sam-github/libnet/commit/875ae1c0b59c862df6d05abac4535d35485ae884
A commit references this bug: Author: sunpoet Date: Sun Jan 18 10:36:18 UTC 2015 New revision: 377316 URL: https://svnweb.freebsd.org/changeset/ports/377316 Log: - Backport upstream fixes (from 1.2 to 1.1.6) - Bump PORTREVISION for package change - While I'm here, rename patch-libnet.h.in to patch-include-libnet.h.in PR: 196818 Submitted by: Kevin Hung <khung@nullaxiom.com> (via email) Obtained from: https://github.com/sam-github/libnet/commit/18cbe497dd84afc471a5320e4ef3a7cde87c2c4e https://github.com/sam-github/libnet/commit/2e724b2f5cd614d7362f8dcbc57dc1fca6e437b3 https://github.com/sam-github/libnet/commit/408fa2266a4af402152cc0f1e9a40b56477b995a https://github.com/sam-github/libnet/commit/c9390bf8f3379c280ba8ceec67fbd8e908675d96 Changes: head/net/libnet/Makefile head/net/libnet/files/patch-include-libnet.h.in head/net/libnet/files/patch-libnet.h.in head/net/libnet/files/patch-src-libnet_cq.c head/net/libnet/files/patch-src-libnet_if_addr.c head/net/libnet/files/patch-src-libnet_link_bpf.c
Committed. Thanks!