generator
MEDIUM
maintainer trya
12 votes
scanned 2026-09-09 21:20:09.481250
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:16
source=("http://www.squish.net/generator/cbiere/generator/generator-0.35-cbiere-r4.tar.bz2")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: trya <tryagainprod@gmail.com>
2
# Contributor: Zhukov Pavel <gelios@gmail.com>
3
# Contributor: Stalwart <stlwrt@gmail.com>
4
# Contributor: Leslie P. Polzer <polzer@gnu.org>
5
6
pkgname=generator
7
pkgver=0.35_cbiere_r4
8
_realver=0.35-cbiere-r4
9
pkgrel=8
10
pkgdesc="A Sega Megadrive/Genesis emulator"
11
arch=('i686' 'x86_64')
12
url="http://www.squish.net/generator"
13
license=("GPL")
14
depends=('gtk' 'sdl' 'bzip2' 'zlib' 'libjpeg.so')
15
makedepends=('nasm' 'libjpeg-turbo')
16
source=("http://www.squish.net/generator/cbiere/generator/generator-0.35-cbiere-r4.tar.bz2")
17
md5sums=('db4142912872a3f34d6d4e3bfe693b64')
18
options=(!makeflags)
19
20
prepare() {
21
cd "$srcdir/$pkgname-$_realver"
22
sed -e 's/INLINE/static INLINE/' \
23
-i ym2612/fm.c
24
sed -e 's/inline/static inline/' \
25
-i main/vdp.c
26
sed -e 's/CONTEXTMZ80 cpuz80_z80/extern CONTEXTMZ80 cpuz80_z80/' \
27
-i hdr/cpuz80.h
28
sed -e 's/gzFile \*gzf/gzFile gzf/' -e 's/RETSIGTYPE gen_sighandler/void gen_sighandler/' \
29
-i main/generator.c
30
sed -e '12i #include <sys/time.h>' \
31
-i main/ui-gtk.c
32
}
33
34
build() {
35
cd "$srcdir/$pkgname-$_realver"
36
if [ "$CARCH" = "x86_64" ]; then
37
# raze is a 32-bit-only emulator, must use a 64-bit compatible implementation
38
./configure --prefix=/usr --with-cmz80 --with-sdl-audio --with-gtk
39
else
40
# raze global macro causes an infinite recursion with recent nasm versions
41
sed -e '13d' -i raze/raze.asm.in
42
./configure --prefix=/usr --with-raze --with-sdl-audio --with-gtk
43
fi
44
make
45
}
46
47
package() {
48
cd "$srcdir/$pkgname-$_realver"
49
make DESTDIR="$pkgdir" install
50
}
51
Changes since previous scan
--- PKGBUILD @ 2026-06-19 19:07+++ PKGBUILD @ 2026-09-09 21:20@@ -11,8 +11,8 @@ arch=('i686' 'x86_64') url="http://www.squish.net/generator" license=("GPL")-depends=('gtk' 'sdl' 'bzip2' 'zlib' 'libjpeg')-makedepends=('nasm')+depends=('gtk' 'sdl' 'bzip2' 'zlib' 'libjpeg.so')+makedepends=('nasm' 'libjpeg-turbo') source=("http://www.squish.net/generator/cbiere/generator/generator-0.35-cbiere-r4.tar.bz2") md5sums=('db4142912872a3f34d6d4e3bfe693b64') options=(!makeflags)Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-09 21:20:09 | Medium | 1 |
| 2026-06-19 19:07:35 | Clean | 2 |
| 2026-06-18 16:11:54 | Medium | 1 |