lib32-libpcap

MEDIUM
maintainer pqatsi 7 votes scanned 2026-09-13 19:15:06.142757
View on AUR
Why flagged

This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.

Triggered rules

Medium Recently orphaned & re-adopted orphaned_readopted

This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.

PKGBUILD

1# Maintainer: David Runge <dvzrv@archlinux.org>
2# Maintainer: Sven-Hendrik Haase <svenstaro@archlinux.org>
3# Contributor: Christian Hesse <mail@eworm.de>
4# Contributor: Bill Fraser <wfraser@codewise.org>
5# Contributor: Thomas Bächler <thomas@archlinux.org>
6
7pkgname=lib32-libpcap
8_name=${pkgname/*-/}
9pkgver=1.10.6
10pkgrel=1
11pkgdesc="A system-independent interface for user-level packet capture (32-bit)"
12arch=(x86_64)
13url="http://www.tcpdump.org/"
14_url=https://github.com/the-tcpdump-group/libpcap
15license=(BSD-3-Clause)
16depends=(
17 lib32-glibc
18 lib32-libnl
19 $_name=$pkgver
20)
21makedepends=(
22 bluez-libs
23 git
24 lib32-dbus
25)
26provides=(libpcap.so)
27options=(!staticlibs)
28source=(git+$_url?signed#tag=$_name-$pkgver)
29sha512sums=('2eefea34a799a8332460f1f367c9089c2392d1e1f4618553911e5905873c213b62c21c8f684d30c3a6d357ec58662faf2d7b9d8486196a5236feeec77f61b6de')
30b2sums=('1a8c4cfe387b1636d121355e730ad373e53e995885a68756d9655ca99665fc82d1a9be63e81fe55395928bd22d1ced89a5eb77150d45659c91d6c976ce83a8c0')
31validpgpkeys=('1F166A5742ABB9E0249A8D30E089DEF1D9C15D0D') # The Tcpdump Group (Package signing key) <release@tcpdump.org>
32
33prepare() {
34 cd $_name
35 autoreconf -fiv
36}
37
38build() {
39 local configure_options=(
40 --prefix=/usr
41 --libdir=/usr/lib32
42 --enable-ipv6
43 --enable-bluetooth
44 --enable-usb
45 --with-libnl
46 )
47 export CC="gcc -m32"
48 export CXX="g++ -m32"
49 export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
50
51 cd $_name
52 ./configure "${configure_options[@]}"
53 make
54}
55
56package() {
57 depends+=(
58 lib32-dbus libdbus-1.so
59 )
60
61 cd $_name
62
63 make DESTDIR="$pkgdir" install
64
65 # remove files provided by libpcap
66 rm -rf "$pkgdir/usr/"{include,share,bin}
67
68 install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
69 install -vDm 644 {CHANGES,{CONTRIBUTING,README}.md} -t "$pkgdir/usr/share/doc/$pkgname/"
70}
71

Scan history

Scanned at (UTC)SeverityRules
2026-09-13 19:15:06 Medium 1
2026-08-17 00:18:29 Clean 2
2026-08-16 21:33:47 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion