perl-crypt-gcrypt
maintainer int
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
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
4
pkgname='perl-crypt-gcrypt'
5
pkgver='1.26'
6
pkgrel='1'
7
pkgdesc="Perl/CPAN Module Crypt::GCyrpt: Perl interface to the GNU Cryptographic library"
8
arch=('i686' 'x86_64')
9
license=('PerlArtistic' 'GPL')
10
options=('!emptydirs')
11
depends=('perl' 'libgcrypt>=1.8.1')
12
makedepends=()
13
url='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.
17
source=("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')
19
md5sums=( 'd23084ed878e5d12d4956c39e6f2b813'
20
'feadad19cee085c510e0d4e3030c5a90')
21
sha512sums=('26a55539297ab0ba12d8732a15e3797aa5ee74fad01edc11ef55f25f0b26d8d03381696e65ec057e191866a6a5221f34af97572680c48e1336b08ab50cad3e89'
22
'cd7bad47b7b09f2fb98c4cac351f712450051fa7481dcf44ba58370440597d0e115f03108b5fee7b7d19ac8dab6e0a7a5be9c170448fe2ab60258d4c5662b3ee')
23
_distdir="Crypt-GCrypt-$pkgver"
24
25
prepare() {
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
33
build() {
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
46
check() {
47
cd "$srcdir/$_distdir"
48
( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
49
make test
50
)
51
}
52
53
package() {
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) | 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 |