aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/libpcap/libpcap_1.6.1.bb
diff options
context:
space:
mode:
authorCristian Iorga <cristian.iorga@intel.com>2014-08-29 16:10:41 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-31 23:39:11 +0100
commitff962963de4dea9143f11ded480d0cca79a66d99 (patch)
treeb42d3c28d674bc1f8b319d9455bc8d5a674bb36b /meta/recipes-connectivity/libpcap/libpcap_1.6.1.bb
parent0e56f9277da053b702cc7ce709988dfd54f1f09f (diff)
downloadopenembedded-core-contrib-ff962963de4dea9143f11ded480d0cca79a66d99.tar.gz
libpcap: upgrade to 1.6.1
- Still BSD licensed, some changes into pcap triggered a checksum change; - ieee80215-arphrd.patch removed, obsolete. - switched to ${BP} variable; Changelog from previous version: Saturday Jul. 19, 2014 mcr@sandelman.ca Summary for 1.6.1 libpcap release some fixes for the any device changes for how --enable-XXX works Wednesday Jul. 2, 2014 mcr@sandelman.ca Summary for 1.6.0 libpcap release Don't support D-Bus sniffing on OS X fixes for byte order issues with NFLOG captures Handle using cooked mode for DLT_NETLINK in activate_new(). on platforms where you can not capture on down interfaces, do not list them but: do list interfaces which are down, if you can capture on them! Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/libpcap/libpcap_1.6.1.bb')
-rw-r--r--meta/recipes-connectivity/libpcap/libpcap_1.6.1.bb22
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/libpcap/libpcap_1.6.1.bb b/meta/recipes-connectivity/libpcap/libpcap_1.6.1.bb
new file mode 100644
index 0000000000..f570ebba95
--- /dev/null
+++ b/meta/recipes-connectivity/libpcap/libpcap_1.6.1.bb
@@ -0,0 +1,22 @@
+require libpcap.inc
+
+SRC_URI += "file://aclocal.patch"
+SRC_URI[md5sum] = "5eb05edf6b6c6e63d536d1c9fbfb2f7c"
+SRC_URI[sha256sum] = "116cbb3ac9e96d5dd7b39638a2f894a67fa3dcf06d794e6dae2b9a942ad13476"
+
+#
+# make install doesn't cover the shared lib
+# make install-shared is just broken (no symlinks)
+#
+
+do_configure_prepend () {
+ #remove hardcoded references to /usr/include
+ sed 's|\([ "^'\''I]\+\)/usr/include/|\1${STAGING_INCDIR}/|g' -i ${S}/configure.in
+}
+
+do_install_prepend () {
+ install -d ${D}${libdir}
+ install -d ${D}${bindir}
+ oe_runmake install-shared DESTDIR=${D}
+ oe_libinstall -a -so libpcap ${D}${libdir}
+}