ncurses5-compat-libs

maintainer andreas_baumann · 585 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The source is downloaded from the official project's archive domain (invisible-island.net), which is legitimate and maintained by the ncurses author; the non-whitelisted host is not a security risk in this context as it hosts the project's official releases.

Triggered rules

LOW AI review llm_review

An AI model (qwen/qwen3-235b-a22b-07-25) reviewed this and agrees it is LOW (confidence 95%): The source is downloaded from the official project's archive domain (invisible-island.net), which is legitimate and maintained by the ncurses author; the non-whitelisted host is not a security risk in this context as it hosts the project's official releases.

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:18 source=(https://invisible-island.net/archives/ncurses/ncurses-$pkgver.tar.gz{,.asc})

PKGBUILD

1 offending line(s) highlighted
1# Contributor: Michał Wojdyła < micwoj9292 at gmail dot com >
2# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
3# Contributor: Mateusz Gozdek <mgozdekof@gmail.com>
4# Contributor: Allan McRae <allan@archlinux.org>
5# Contributor: judd <jvinet@zeroflux.org>
6
7pkgname=ncurses5-compat-libs
8_pkgname=ncurses
9pkgver=6.6
10pkgrel=2
11pkgdesc='System V Release 4.0 curses emulation library, ABI 5'
12arch=(i686 x86_64)
13url='https://invisible-island.net/ncurses/ncurses.html'
14license=(MIT)
15depends=(glibc gcc-libs sh)
16provides=(libtinfo5)
17conflicts=(libtinfo5)
18source=(https://invisible-island.net/archives/ncurses/ncurses-$pkgver.tar.gz{,.asc})
19sha256sums=('355b4cbbed880b0381a04c46617b7656e362585d52e9cf84a67e2009b749ff11'
20 'SKIP')
21validpgpkeys=('19882D92DDA4C400C22C0D56CC2AF4472167BE03') # Thomas Dickey
22
23prepare() {
24 cp -r ${_pkgname}-${pkgver}{,-no-widec}
25}
26
27build() {
28 local configure_options=(
29 --prefix=/usr
30 --mandir=/usr/share/man
31 --with-shared
32 --with-normal
33 --without-debug
34 --without-ada
35 --disable-pc-files
36 --with-cxx-binding
37 --with-cxx-shared
38 --with-versioned-syms
39 --with-abi-version=5
40 )
41
42 # allow building with gcc >= 15
43 CFLAGS+=' -std=gnu17'
44
45 cd "${srcdir}/${_pkgname}-${pkgver}"
46
47 ./configure "${configure_options[@]}" --enable-widec
48 make
49
50 cd "${srcdir}/${_pkgname}-${pkgver}-no-widec"
51
52 ./configure "${configure_options[@]}"
53 make
54}
55
56package() {
57 cd "${srcdir}/${_pkgname}-${pkgver}"
58 make DESTDIR="$pkgdir" install.libs
59 cd "${srcdir}/${_pkgname}-${pkgver}-no-widec"
60 make DESTDIR="$pkgdir" install.libs
61 install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
62 rm -rf "$pkgdir/usr/include/" "$pkgdir/usr/lib/pkgconfig" \
63 "$pkgdir"/usr/lib/*.so "$pkgdir"/usr/lib/*.a
64
65 ln -s /usr/lib/libncurses.so.5 "$pkgdir/usr/lib/libtinfo.so.5"
66 ln -s /usr/lib/libncurses.so.5 "$pkgdir/usr/lib/libtic.so.5"
67}
68

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 LOW 2
2026-08-02 00:16:08 LOW 2
2026-08-01 00:11:18 LOW 2
2026-07-31 00:14:10 LOW 2
2026-07-30 00:17:23 LOW 2
2026-07-29 00:25:53 LOW 2
2026-07-28 00:07:28 LOW 2
2026-07-27 00:24:32 LOW 2
2026-07-26 00:07:32 LOW 2
2026-07-25 00:13:44 LOW 2
2026-07-24 00:02:28 LOW 2
2026-07-23 00:14:47 LOW 2
2026-07-22 00:29:32 LOW 2
2026-07-21 00:24:15 LOW 2
2026-07-20 00:19:49 LOW 2
2026-07-19 00:17:08 LOW 2
2026-07-18 00:14:48 LOW 2
2026-07-17 00:06:16 LOW 2
2026-07-16 00:05:41 LOW 2
2026-07-15 00:09:25 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