lib32-duktape
MEDIUM
maintainer groctel
1 votes
scanned 2026-08-30 19:44:01.063593
Why flagged
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
Triggered rules
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:17
source=("https://duktape.org/duktape-$pkgver.tar.xz")
Medium
Recently orphaned & re-adopted
orphaned_readopted
This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2
# Contributor: Alexander F. Rødseth <xyproto@archlinux.org>
3
4
pkgname=lib32-duktape
5
pkgver=2.7.0
6
pkgrel=7
7
pkgdesc='Embeddable Javascript engine (32-bit)'
8
url='https://duktape.org/'
9
arch=(x86_64)
10
license=(MIT)
11
depends=(
12
duktape
13
lib32-glibc
14
lib32-gcc-libs
15
)
16
provides=(libduktape{,d}.so)
17
source=("https://duktape.org/duktape-$pkgver.tar.xz")
18
b2sums=('da5eea88758201177f32c5611a3757433ef1b0173d6430eff1f067abd7535f3e4b9c3717290fbd8475827a53f7a2a74818287a65e563f14e91761f5cd0fe30d5')
19
20
# https://duktape.org/download.html
21
md5sums=('b3200b02ab80125b694bae887d7c1ca6')
22
23
prepare() {
24
cd duktape-$pkgver
25
26
# tools/configure.py needs Python 2
27
sed -i 's/^#undef DUK_USE_FASTINT$/#define DUK_USE_FASTINT/' src/duk_config.h
28
29
# Add missing NEEDED on libm.so
30
sed -i 's/duktape\.c/& -lm/' Makefile.sharedlibrary
31
}
32
33
_make() (
34
local make_options=(
35
-f Makefile.sharedlibrary
36
INSTALL_PREFIX=/usr
37
LIBDIR=/lib32
38
CC='gcc -m32'
39
)
40
41
make "${make_options[@]}" "$@"
42
)
43
44
build() {
45
cd duktape-$pkgver
46
_make
47
}
48
49
package() {
50
cd duktape-$pkgver
51
_make DESTDIR="$pkgdir" install
52
rm -r "$pkgdir/usr/include"
53
install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 LICENSE.txt
54
}
55
56
# getver: github.com/svaarala/duktape
57
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-30 19:44:01 | Medium | 3 |
| 2026-08-23 11:22:25 | Clean | 3 |
| 2026-08-23 11:20:29 | Medium | 2 |