mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-13 03:42:37 +01:00
49 lines
1.2 KiB
Plaintext
49 lines
1.2 KiB
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=libpcap
|
|
pkgver=1.10.1
|
|
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"
|
|
subpackages="$pkgname-doc $pkgname-dev"
|
|
|
|
# secfixes:
|
|
# 1.9.1-r0:
|
|
# - CVE-2018-16301
|
|
# - CVE-2019-15161
|
|
# - CVE-2019-15162
|
|
# - CVE-2019-15163
|
|
# - CVE-2019-15164
|
|
# - CVE-2019-15165
|
|
|
|
build() {
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--localstatedir=/var \
|
|
--enable-ipv6
|
|
|
|
# seems to be problem with timestamps
|
|
sleep 1
|
|
./config.status
|
|
|
|
make all shared
|
|
}
|
|
|
|
package() {
|
|
make -j1 DESTDIR="$pkgdir" install install-shared
|
|
}
|
|
|
|
sha512sums="
|
|
56c314f19c2b857742bf8abcb1e78066986aaa95cec339b75a3c8b70a9fa2b5167da98708352f9ec97a1cea2700cfb4e040bda108d58ac46cec9b7deab88d171 libpcap-1.10.1.tar.gz
|
|
77590c8fcea96427fd08e85023609695f8b280a9b24a503d19b08a3c6baf3537a949c94078a5cd577f0476d735a257050955590374d85ce6a2f35a09143da5a3 fix-headers.patch
|
|
"
|