Bug 196818

Summary: [PATCH] net/libnet: Backport bugfixes to version 1.1.6
Product: Ports & Packages Reporter: Kevin Hung <khung>
Component: Individual Port(s)Assignee: Po-Chuan Hsieh <sunpoet>
Status: Closed FIXED    
Severity: Affects Some People Flags: bugzilla: maintainer-feedback? (sunpoet)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
libnet_checksum.c.diff
none
libnet_cq.c.diff
none
libnet_if_addr.c.diff
none
libnet_link_bpf.c.diff
none
libnet_pblock.c.diff
none
libnet_raw.c.diff none

Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2015-01-17 06:26:52 UTC
Auto-assigned to maintainer sunpoet@FreeBSD.org
Comment 2 Kevin Hung 2015-01-17 06:27:40 UTC
Created attachment 151759 [details]
libnet_cq.c.diff
Comment 3 Kevin Hung 2015-01-17 06:28:04 UTC
Created attachment 151760 [details]
libnet_if_addr.c.diff
Comment 4 Kevin Hung 2015-01-17 06:28:26 UTC
Created attachment 151761 [details]
libnet_link_bpf.c.diff
Comment 5 Kevin Hung 2015-01-17 06:28:46 UTC
Created attachment 151762 [details]
libnet_pblock.c.diff
Comment 6 Kevin Hung 2015-01-17 06:29:14 UTC
Created attachment 151763 [details]
libnet_raw.c.diff
Comment 7 Po-Chuan Hsieh freebsd_committer freebsd_triage 2015-01-18 01:19:52 UTC
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
Comment 8 commit-hook freebsd_committer freebsd_triage 2015-01-18 10:36:29 UTC
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
Comment 9 Po-Chuan Hsieh freebsd_committer freebsd_triage 2015-01-18 12:53:13 UTC
Committed. Thanks!