mingw-w64-libpaper

maintainer orphaned · 1 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The source is a standard tarball from a Debian HTTP mirror, which is a legitimate and common source for open-source packages; building from this source poses no inherent risk as it is the official upstream code being compiled, not an executable or unverifiable payload.

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-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a standard tarball from a Debian HTTP mirror, which is a legitimate and common source for open-source packages; building from this source poses no inherent risk as it is the official upstream code being compiled, not an executable or unverifiable payload.

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:15 source=("http://http.debian.net/debian/pool/main/libp/libpaper/${_pkgname}_${pkgver}${_suffix}.tar.gz"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Andrew Sun <adsun701@gmail.com>
2
3pkgname=mingw-w64-libpaper
4_pkgname=libpaper
5pkgver=1.1.28
6pkgrel=1
7_suffix=
8pkgdesc="Library for handling paper characteristics (mingw-w64)"
9arch=('any')
10url='https://packages.debian.org/unstable/source/libpaper'
11license=('GPL')
12depends=('mingw-w64-crt')
13makedepends=('mingw-w64-configure' 'gettext')
14options=('!strip' '!buildflags' 'staticlibs')
15source=("http://http.debian.net/debian/pool/main/libp/libpaper/${_pkgname}_${pkgver}${_suffix}.tar.gz"
16 "001-no-undefined.patch")
17sha256sums=('c8bb946ec93d3c2c72bbb1d7257e90172a22a44a07a07fb6b802a5bb2c95fddc'
18 'a77784a1a2dce1bf0155ee0cd889157fdbb67024e2967d3b0466a39849ac75f0')
19
20_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
21
22prepare() {
23 cd "${srcdir}/${_pkgname}-${pkgver}${_suffix}"
24 patch -p1 -i ${srcdir}/001-no-undefined.patch
25 autoreconf -vfi
26}
27
28build() {
29 cd "${srcdir}/${_pkgname}-${pkgver}${_suffix}"
30 for _arch in ${_architectures}; do
31 mkdir -p build-${_arch} && pushd build-${_arch}
32 ${_arch}-configure \
33 --sysconfdir=/usr/${_arch}/etc \
34 --sbindir=/usr/${_arch}/bin \
35 ..
36 make
37 popd
38 done
39}
40
41package() {
42 for _arch in ${_architectures}; do
43 cd "${srcdir}/${_pkgname}-${pkgver}${_suffix}/build-${_arch}"
44 make DESTDIR="${pkgdir}" install
45
46 # add systemwide default papersize read by many office applications
47 install -dm 755 ${pkgdir}/usr/${_arch}/etc
48 echo '# Simply write the paper name. See papersize(5) for possible values' > ${pkgdir}/usr/${_arch}/etc/papersize
49
50 # add libpaper.d directory other packages can use to store files
51 install -dm 755 ${pkgdir}/usr/${_arch}/etc/libpaper.d
52 # add localisation
53 pushd ${srcdir}/${_pkgname}-${pkgver}${_suffix}/debian/po
54 for i in `ls *.po`; do
55 install -dm 755 ${pkgdir}/usr/${_arch}/share/locale/${i%.po}/LC_MESSAGES/;
56 msgfmt $i -o ${pkgdir}/usr/${_arch}/share/locale/${i%.po}/LC_MESSAGES/${_pkgname}.mo;
57 done
58 popd
59
60 ${_arch}-strip --strip-unneeded "${pkgdir}"/usr/${_arch}/bin/*.exe
61 ${_arch}-strip --strip-unneeded "${pkgdir}"/usr/${_arch}/bin/*.dll
62 ${_arch}-strip -g "${pkgdir}"/usr/${_arch}/lib/*.a
63 done
64}
65

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