main/libpcap: upgrade to 1.10.5

This commit is contained in:
Celeste 2024-08-31 01:11:32 +00:00
parent 6734652bf1
commit aaedd046ef
2 changed files with 4 additions and 18 deletions

View file

@ -1,15 +1,14 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libpcap
pkgver=1.10.4
pkgrel=1
pkgver=1.10.5
pkgrel=0
pkgdesc="A system-independent interface for user-level packet capture"
url="https://www.tcpdump.org/"
arch="all"
license="BSD-3-Clause"
options="!check"
makedepends="bison flex autoconf linux-headers"
source="https://www.tcpdump.org/release/libpcap-$pkgver.tar.gz
fix-headers.patch"
source="https://www.tcpdump.org/release/libpcap-$pkgver.tar.gz"
subpackages="$pkgname-doc $pkgname-dev"
# secfixes:
@ -43,6 +42,5 @@ package() {
}
sha512sums="
1f6d6ddd07dae7c557054cb246437ecdaf39d579592a5a6bdf1144eea6cb5a779ac4ca647cfed11ec1b0bb18efc63b845444e497070bacefaaed19a5787ae5e1 libpcap-1.10.4.tar.gz
77590c8fcea96427fd08e85023609695f8b280a9b24a503d19b08a3c6baf3537a949c94078a5cd577f0476d735a257050955590374d85ce6a2f35a09143da5a3 fix-headers.patch
e599a31f2f1c03bdf386defa613ea9f08f80459c87068c2dd36c55c1bd678e2622cdce6333f0a776f16812df7bd4d6747820d1c35c7a2f1d7ad4a2ffb45dbe24 libpcap-1.10.5.tar.gz
"

View file

@ -1,12 +0,0 @@
diff --git a/pcap-usb-linux.c b/pcap-usb-linux.c
index 6f8adf6..82780fa 100644
--- a/pcap-usb-linux.c
+++ b/pcap-usb-linux.c
@@ -57,6 +57,7 @@
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <sys/utsname.h>
+#include <limits.h>
#ifdef HAVE_LINUX_USBDEVICE_FS_H
/*
* We might need <linux/compiler.h> to define __user for