mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-19 05:36:38 +02:00
46 lines
1 KiB
Text
46 lines
1 KiB
Text
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=libpcap
|
|
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"
|
|
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="
|
|
e599a31f2f1c03bdf386defa613ea9f08f80459c87068c2dd36c55c1bd678e2622cdce6333f0a776f16812df7bd4d6747820d1c35c7a2f1d7ad4a2ffb45dbe24 libpcap-1.10.5.tar.gz
|
|
"
|