perl-readonly-xs
maintainer jnbek
· 53 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a standard CPAN tarball from the official Perl module host search.mcpan.org, which is a legitimate and expected source for Perl modules; building from this host, even if not whitelisted, is normal and low 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-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a standard CPAN tarball from the official Perl module host search.mcpan.org, which is a legitimate and expected source for Perl modules; building from this host, even if not whitelisted, is normal and low 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:14
source=('http://search.mcpan.org/CPAN/authors/id/R/RO/ROODE/Readonly-XS-1.05.tar.gz')
PKGBUILD
1 offending line(s) highlighted
1
# Contributor: John D Jones III <jnbek1972 -_AT_- g m a i l -_Dot_- com>
2
# Generator : CPANPLUS::Dist::Arch 1.28
3
4
pkgname='perl-readonly-xs'
5
pkgver='1.05'
6
pkgrel='2'
7
pkgdesc="Companion module for Readonly.pm, to speed up read-only"
8
arch=('any')
9
license=('PerlArtistic' 'GPL')
10
options=('!emptydirs')
11
depends=('perl-readonly>=1.02')
12
makedepends=()
13
url='http://search.mcpan.org/dist/Readonly-XS'
14
source=('http://search.mcpan.org/CPAN/authors/id/R/RO/ROODE/Readonly-XS-1.05.tar.gz')
15
md5sums=('df71f29abfcbd14c963f912d6d6ded6b')
16
sha512sums=('0e3a8e55e7776e556b7ce995510d73d8d07b51a98f3d4772c291f4c76134c395b196a0485a6ceca39acd536258da5c91cddfdf3f61ef3309c518c807bb0f4dd4')
17
_distdir="Readonly-XS-1.05"
18
19
build() {
20
( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
21
PERL_AUTOINSTALL=--skipdeps \
22
PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
23
PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
24
MODULEBUILDRC=/dev/null
25
26
cd "$srcdir/$_distdir"
27
/usr/bin/perl Makefile.PL
28
make
29
)
30
}
31
32
check() {
33
cd "$srcdir/$_distdir"
34
( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
35
make test
36
)
37
}
38
39
package() {
40
cd "$srcdir/$_distdir"
41
make install
42
43
find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
44
}
45
46
# Local Variables:
47
# mode: shell-script
48
# sh-basic-offset: 2
49
# End:
50
# vim:set ts=2 sw=2 et:
51
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |