perl-crypt-gcrypt

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

The package downloads source code from CPAN and Debian's official HTTP domain, both legitimate sources; the non-whitelisted host is a standard Debian mirror used for obtaining patches, and the patches are applied to fix known issues, which is a common and safe practice in packaging.

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 package downloads source code from CPAN and Debian's official HTTP domain, both legitimate sources; the non-whitelisted host is a standard Debian mirror used for obtaining patches, and the patches are applied to fix known issues, which is a common and safe practice in packaging.

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 'http://http.debian.net/debian/pool/main/libc/libcrypt-gcrypt-perl/libcrypt-gcrypt-perl_1.26-5.debian.tar.xz')

PKGBUILD

1 offending line(s) highlighted
1# Maintainer : int <int [ate] arcor [dot] de>
2# Generator : CPANPLUS::Dist::Arch 1.32
3
4pkgname='perl-crypt-gcrypt'
5pkgver='1.26'
6pkgrel='1'
7pkgdesc="Perl/CPAN Module Crypt::GCyrpt: Perl interface to the GNU Cryptographic library"
8arch=('i686' 'x86_64')
9license=('PerlArtistic' 'GPL')
10options=('!emptydirs')
11depends=('perl' 'libgcrypt>=1.8.1')
12makedepends=()
13url='https://metacpan.org/release/Crypt-GCrypt'
14# The source package of debian contains three patches that fix different issues
15# e.g. https://rt.cpan.org/Public/Bug/Display.html?id=97201
16# We want them.
17source=("http://search.cpan.org/CPAN/authors/id/A/AA/AAR/Crypt-GCrypt-$pkgver.tar.gz"
18 'http://http.debian.net/debian/pool/main/libc/libcrypt-gcrypt-perl/libcrypt-gcrypt-perl_1.26-5.debian.tar.xz')
19md5sums=( 'd23084ed878e5d12d4956c39e6f2b813'
20 'feadad19cee085c510e0d4e3030c5a90')
21sha512sums=('26a55539297ab0ba12d8732a15e3797aa5ee74fad01edc11ef55f25f0b26d8d03381696e65ec057e191866a6a5221f34af97572680c48e1336b08ab50cad3e89'
22 'cd7bad47b7b09f2fb98c4cac351f712450051fa7481dcf44ba58370440597d0e115f03108b5fee7b7d19ac8dab6e0a7a5be9c170448fe2ab60258d4c5662b3ee')
23_distdir="Crypt-GCrypt-$pkgver"
24
25prepare() {
26 cd "$srcdir/$_distdir"
27
28 patch -p1 < ../debian/patches/gcrypt-1.6.patch
29 patch -p1 < ../debian/patches/gcc5-warnings.patch
30 patch -p1 < ../debian/patches/0001-Use-an-encryption-key-in-the-test-suite.patch
31}
32
33build() {
34 ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
35 PERL_AUTOINSTALL=--skipdeps \
36 PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
37 PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
38 MODULEBUILDRC=/dev/null
39
40 cd "$srcdir/$_distdir"
41 /usr/bin/perl Makefile.PL
42 make
43 )
44}
45
46check() {
47 cd "$srcdir/$_distdir"
48 ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
49 make test
50 )
51}
52
53package() {
54 cd "$srcdir/$_distdir"
55 make install
56
57 find "$pkgdir" "(" -name .packlist -o -name perllocal.pod ")" -delete
58}
59
60# Local Variables:
61# mode: shell-script
62# sh-basic-offset: 2
63# End:
64# vim:set ts=2 sw=2 et:
65

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