main/libpcap: upgrade to 1.9.1

new upstream release with secfixes and other fixes
remove empty depends variable

Closes !285
This commit is contained in:
Milan P. Stanić 2019-10-03 23:09:30 +02:00 committed by Kevin Daudt
parent 11a9c12c96
commit afa32cc79b

View File

@ -1,12 +1,11 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libpcap
pkgver=1.9.0
pkgrel=1
pkgver=1.9.1
pkgrel=0
pkgdesc="A system-independent interface for user-level packet capture"
url="http://www.tcpdump.org/"
arch="all"
license="BSD"
depends=
options="!check"
makedepends="bison flex autoconf linux-headers"
source="http://www.tcpdump.org/release/$pkgname-$pkgver.tar.gz
@ -14,6 +13,15 @@ source="http://www.tcpdump.org/release/$pkgname-$pkgver.tar.gz
subpackages="$pkgname-doc $pkgname-dev"
builddir="$srcdir"/$pkgname-$pkgver
# secfixes:
# 1.1.1-r0:
# - CVE-2019-15161
# - CVE-2019-15162
# - CVE-2019-15163
# - CVE-2019-15164
# - CVE-2019-15165
# - CVE-2018-16301
build() {
cd "$builddir"
./configure \
@ -37,5 +45,5 @@ package() {
make -j1 DESTDIR="$pkgdir" install install-shared
}
sha512sums="0ff25641f1e9d29082766caef45888c19214f770c4f378818caa73fcbc4ae54ad9195549c2499d4879ff46e35741d93b2b02cc5f3d6aa99e85a32194cf10bfe7 libpcap-1.9.0.tar.gz
sha512sums="ae0d6b0ad8253e7e059336c0f4ed3850d20d7d2f4dc1d942c2951f99a5443a690f0cc42c6f8fdc4a0ccb19e9e985192ba6f399c4bde2c7076e420f547fddfb08 libpcap-1.9.1.tar.gz
77590c8fcea96427fd08e85023609695f8b280a9b24a503d19b08a3c6baf3537a949c94078a5cd577f0476d735a257050955590374d85ce6a2f35a09143da5a3 fix-headers.patch"