21753385 include pcap-int.h in package
authorPetr Hoffmann <petr.hoffmann@oracle.com>
Mon, 21 Sep 2015 05:55:19 -0700
changeset 4879 1e773d04c242
parent 4878 a720ef1bf2de
child 4880 7bf19af9de1b
21753385 include pcap-int.h in package
components/libpcap/libpcap.p5m
components/libpcap/patches/Makefile.in.patch
--- a/components/libpcap/libpcap.p5m	Fri Sep 18 10:23:23 2015 -0700
+++ b/components/libpcap/libpcap.p5m	Mon Sep 21 05:55:19 2015 -0700
@@ -41,6 +41,7 @@
 file path=usr/bin/$(MACH64)/pcap-config
 file path=usr/bin/pcap-config
 file path=usr/include/pcap-bpf.h
+file path=usr/include/pcap-int.h
 file path=usr/include/pcap-namedb.h
 file path=usr/include/pcap.h
 file path=usr/include/pcap/bluetooth.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/libpcap/patches/Makefile.in.patch	Mon Sep 21 05:55:19 2015 -0700
@@ -0,0 +1,20 @@
+# This patch comes from Oracle. It makes pcap-int.h available
+# for inclusion into the resulting package delivering libpcap.
+# It is needed to build pflogd (we need 'struct pcap' at least).
+#
+# I filed a bug for upstream at
+#   https://github.com/the-tcpdump-group/libpcap/issues/457
+# however, upstream does not like this idea as they consider
+# this header file 'internal' and subject to possible future
+# changes that would break its consumers.
+
+--- ORIGINAL/Makefile.in	2015-08-28 02:11:53.366420716 -0700
++++ libpcap-1.7.4/Makefile.in	2015-08-28 02:15:07.102236830 -0700
[email protected]@ -101,6 +101,7 @@
+ PUBHDR = \
+ 	pcap.h \
+ 	pcap-bpf.h \
++	pcap-int.h \
+ 	pcap-namedb.h \
+ 	pcap/bpf.h \
+ 	pcap/bluetooth.h \