libpcap: update to 1.9.0.

This commit is contained in:
maxice8 2018-07-22 18:21:18 -03:00
parent 8e734f187b
commit b9c9e1d98c
2 changed files with 18 additions and 9 deletions

View File

@ -0,0 +1,10 @@
--- pcap-usb-linux.c
+++ pcap-usb-linux.c
@@ -50,6 +50,7 @@
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
+#include <limits.h>
#include <string.h>
#include <dirent.h>
#include <byteswap.h>

View File

@ -1,21 +1,19 @@
# Template file for 'libpcap' # Template file for 'libpcap'
pkgname=libpcap pkgname=libpcap
version=1.8.1 version=1.9.0
revision=1 revision=1
build_style=gnu-configure build_style=gnu-configure
configure_args="--enable-ipv6 --with-libnl --with-pcap=linux configure_args="--enable-ipv6 --with-libnl --with-pcap=linux
$(vopt_enable bluetooth) $(vopt_enable dbus) $(vopt_enable usb)" $(vopt_enable bluetooth) $(vopt_enable dbus) $(vopt_enable usb)"
hostmakedepends="pkg-config flex" hostmakedepends="pkg-config flex"
makedepends="libnl3-devel makedepends="libnl3-devel $(vopt_if bluetooth libbluetooth-devel)
$(vopt_if bluetooth libbluetooth-devel) $(vopt_if dbus dbus-devel) $(vopt_if usb libusb-devel)"
$(vopt_if dbus dbus-devel)
$(vopt_if usb libusb-devel)"
short_desc="System-independent interface for user-level packet capture" short_desc="System-independent interface for user-level packet capture"
maintainer="Juan RP <xtraeme@voidlinux.eu>" maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.tcpdump.org/" license="BSD-3-Clause"
license="BSD" homepage="https://www.tcpdump.org/"
distfiles="http://www.tcpdump.org/release/$pkgname-$version.tar.gz" distfiles="https://www.tcpdump.org/release/${pkgname}-${version}.tar.gz"
checksum=673dbc69fdc3f5a86fb5759ab19899039a8e5e6c631749e48dcd9c6f0c83541e checksum=2edb88808e5913fdaa8e9c1fcaf272e19b2485338742b5074b9fe44d68f37019
build_options="bluetooth dbus usb" build_options="bluetooth dbus usb"
build_options_default="usb" build_options_default="usb"
@ -41,6 +39,7 @@ libpcap-devel_package() {
vmove usr/share/man/man5 vmove usr/share/man/man5
vmove usr/share/man/man7/pcap-linktype.7 vmove usr/share/man/man7/pcap-linktype.7
vmove usr/share/man/man7/pcap-tstamp.7 vmove usr/share/man/man7/pcap-tstamp.7
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a" vmove "usr/lib/*.a"
vmove "usr/lib/*.so" vmove "usr/lib/*.so"
} }