libwrap

LOW
maintainer solsticedhiver 9 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The package builds from source tarballs hosted on official project and Debian servers; the non-whitelisted hosts are legitimate project-related domains, and the sources are verified with matching checksums, posing no real risk.

Triggered rules

Low AI review downgraded a static finding llm_review

The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package builds from source tarballs hosted on official project and Debian servers; the non-whitelisted hosts are legitimate project-related domains, and the sources are verified with matching checksums, posing no real risk.

1 higher static finding superseded - not the current verdict (shown for transparency)
Medium source=() URL on a non-standard host source_untrusted_domain

One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).

  • PKGBUILD:19 http://ftp.porcupine.org/pub/security/tcp_wrappers_${pkgver%.*}.tar.gz
  • PKGBUILD:20 http://http.debian.net/debian/pool/main/t/tcp-wrappers/tcp-wrappers_${pkgver%.*}.q-${pkgver##*.}.debian.tar.xz

PKGBUILD

2 offending line(s) highlighted
1# Maintainer: solsTiCe d'Hiver <solstice.dhiver@gmail.com>
2# Contributor: Maxime Gauduin <alucryd@archlinux.org>
3# Contributor: Manuel Hüsers <manuel.huesers@uni-ol.de>
4# Contributor: vigo <vigo.the.unholy.carpathian@gmail.com>
5# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
6# Contributor: judd <jvinet@zeroflux.org>
7
8pkgname=libwrap
9pkgver=7.6.37
10pkgrel=1
11pkgdesc='Monitors and Controls incoming TCP connections'
12arch=(x86_64)
13url="http://ftp.porcupine.org/pub/security/index.html"
14license=('TCP-wrappers')
15depends=( glibc libnsl)
16provides=(tcp_wrappers-libs)
17conflicts=(tcp_wrappers-libs)
18source=(
19 http://ftp.porcupine.org/pub/security/tcp_wrappers_${pkgver%.*}.tar.gz
20 http://http.debian.net/debian/pool/main/t/tcp-wrappers/tcp-wrappers_${pkgver%.*}.q-${pkgver##*.}.debian.tar.xz
21 tcp-wrappers-redhat-bug11881.patch
22 hosts.allow
23 hosts.deny
24)
25
26sha256sums=('9543d7adedf78a6de0b221ccbbd1952e08b5138717f4ade814039bb489a4315d'
27 'd34f7e3ec681375d116621911a62db777b84edc2bc6a590fa344eba029ff12b8'
28 '2e527e54c1ea208de10a206c667f751e54651eb77c973271d213e3459d690403'
29 'c1b19035a14ba552e8795ec3d7171e688592c9317f2eb14373320315435565e3'
30 '969414f0a161e95fbe4cfe32df7c657a2793734d09416c00fa1116c5c0a9924f')
31
32prepare() {
33 cd tcp_wrappers_${pkgver%.*}
34 find $srcdir -type f -exec chmod +w {} \;
35
36 for patch in $(cat ../debian/patches/series); do
37 patch -Np1 -i ../debian/patches/${patch}
38 done
39 patch -Np1 -i ../tcp-wrappers-redhat-bug11881.patch
40
41 sed -i '/^config-check/ i\
42cflags: config-check\
43' Makefile
44}
45
46build() {
47 cd tcp_wrappers_${pkgver%.*}
48
49 # first run of make fails but second succeeds!???
50 # if you read this, please help me find a better fix than to run twice make
51 make \
52 COPTS="$CFLAGS" \
53 LDOPTS="$LDFLAGS" \
54 REAL_DAEMON_DIR=/usr/bin \
55 STYLE='-DPROCESS_OPTIONS' \
56 linux || make \
57 COPTS="$CFLAGS" \
58 LDOPTS="$LDFLAGS" \
59 REAL_DAEMON_DIR=/usr/bin \
60 STYLE='-DPROCESS_OPTIONS' \
61 linux
62}
63
64package() {
65
66 cd tcp_wrappers_${pkgver%.*}
67
68 install -Dm 644 tcpd.h -t "${pkgdir}"/usr/include/
69 install -Dm 644 shared/libwrap.so.0.${pkgver%.*} -t "${pkgdir}"/usr/lib/
70 ln -s libwrap.so.0.${pkgver%.*} "${pkgdir}"/usr/lib/libwrap.so.0
71 ln -s libwrap.so.0 "${pkgdir}"/usr/lib/libwrap.so
72
73 install -Dm 644 DISCLAIMER -T "${pkgdir}"/usr/share/licenses/libwrap/LICENSE
74}
75
76
77# vim: ts=2 sw=2 et:
78

Scan history

Scanned at (UTC)SeverityRules
2026-09-17 00:27:14 Low 2
2026-09-16 00:03:17 Low 2
2026-09-15 00:25:31 Low 2
2026-09-14 00:27:57 Low 2
2026-09-13 00:19:54 Low 2
2026-09-12 00:25:17 Low 2
2026-09-11 00:19:22 Low 2
2026-09-10 00:22:44 Low 2
2026-09-09 00:04:09 Low 2
2026-09-08 00:18:08 Low 2
2026-09-07 00:30:15 Low 2
2026-09-06 00:17:06 Low 2
2026-09-05 00:16:27 Low 2
2026-09-04 00:03:13 Low 2
2026-09-03 00:15:47 Low 2
2026-09-02 00:02:31 Low 2
2026-09-01 00:11:19 Low 2
2026-08-31 00:19:57 Low 2
2026-08-30 00:04:14 Low 2
2026-08-29 00:29:17 Low 2

Report a package

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

0 / 4000
Your suggestion