rogue
The source is a tarball from the maintainer's personal site, but it is the original source code being built normally, with a valid checksum; the package does not execute untrusted prebuilt binaries or run code from ambiguous sources.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a tarball from the maintainer's personal site, but it is the original source code being built normally, with a valid checksum; the package does not execute untrusted prebuilt binaries or run code from ambiguous sources.
2 higher static findings superseded - not the current verdict (shown for transparency)
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:19
source=("https://beej.us/moria/files/rogue/rogue${pkgver}-src.tar.gz" "config.guess")
orphaned_readopted
This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.
PKGBUILD
1 offending line(s) highlighted# Maintainer: Beej <beej@beej.us>
# Contributor: libele <libele@disroot.org>
# Contributor: Kyle Keen <keenerd@gmail.com>
pkgname=rogue
pkgver=5.4.4
pkgrel=3
epoch=1
pkgdesc="The original dungeon crawl game."
arch=('aarch64' 'arm' 'armv6h' 'armv7h' 'i486' 'i686' 'pentium4' 'x86_64')
url="http://rogue.rogueforge.net/rogue-5-4/"
license=('LicenseRef-custom')
depends=('ncurses')
# The main site seems to be down. I mirrored the source from the
# Internet Archive onto my Moria site for now.
#source=("http://rogue.rogueforge.net/files/rogue5.4/rogue${pkgver}-src.tar.gz" "config.guess::https://git.savannah.gnu.org/cgit/config.git/plain/config.guess?id=428664896cf9e92d264976a960c76660938dffce")
source=("https://beej.us/moria/files/rogue/rogue${pkgver}-src.tar.gz" "config.guess")
sha256sums=('7d37a61fc098bda0e6fac30799da347294067e8e079e4b40d6c781468e08e8a1'
'ac18bbd7dc3769e1646af49ebba331a391829f4a73579b735dc8d439bd1c7f07')
prepare() {
cd $pkgname$pkgver
# ncurses fix, FS#57731
sed -i '262i TERMTYPE *tp = (TERMTYPE *) (cur_term);' mdport.c
sed -i 's/cur_term->type.Strings/tp->Strings/' mdport.c
# Use wmove instead of trying to accesses fields of an opaque struct
sed -i '/curscr->_curx = ox;/d' main.c
sed -i 's/curscr->_cury = oy;/wmove(curscr, oy, ox);/' main.c
}
build() {
cd $pkgname$pkgver
cp ../config.guess config.guess
CFLAGS="-g -O2 -std=gnu18" ./configure
make
}
package() {
cd $pkgname$pkgver
install -Dm755 rogue "$pkgdir/usr/bin/rogue"
install -Dm644 rogue.6 "$pkgdir/usr/share/man/man6/rogue.6"
install -Dm644 LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/LICENSE.TXT"
}
Changes since previous scan
--- PKGBUILD @ 2026-10-27 00:23+++ PKGBUILD @ 2026-11-01 00:21@@ -1,17 +1,24 @@-# Maintainer: libele <libele@disroot.org>+# Maintainer: Beej <beej@beej.us>+# Contributor: libele <libele@disroot.org> # Contributor: Kyle Keen <keenerd@gmail.com> pkgname=rogue pkgver=5.4.4-pkgrel=2+pkgrel=3 epoch=1 pkgdesc="The original dungeon crawl game." arch=('aarch64' 'arm' 'armv6h' 'armv7h' 'i486' 'i686' 'pentium4' 'x86_64') url="http://rogue.rogueforge.net/rogue-5-4/"-license=('custom')+license=('LicenseRef-custom') depends=('ncurses')-source=("http://rogue.rogueforge.net/files/rogue5.4/rogue${pkgver}-src.tar.gz" "config.guess::https://git.savannah.gnu.org/cgit/config.git/plain/config.guess?id=428664896cf9e92d264976a960c76660938dffce")-md5sums=('033288f46444b06814c81ea69d96e075' '31425d9ff4907ea0de54624aab92336c')++# The main site seems to be down. I mirrored the source from the+# Internet Archive onto my Moria site for now.++#source=("http://rogue.rogueforge.net/files/rogue5.4/rogue${pkgver}-src.tar.gz" "config.guess::https://git.savannah.gnu.org/cgit/config.git/plain/config.guess?id=428664896cf9e92d264976a960c76660938dffce")+source=("https://beej.us/moria/files/rogue/rogue${pkgver}-src.tar.gz" "config.guess")+sha256sums=('7d37a61fc098bda0e6fac30799da347294067e8e079e4b40d6c781468e08e8a1'+ 'ac18bbd7dc3769e1646af49ebba331a391829f4a73579b735dc8d439bd1c7f07') prepare() { cd $pkgname$pkgver@@ -22,12 +29,11 @@ # Use wmove instead of trying to accesses fields of an opaque struct sed -i '/curscr->_curx = ox;/d' main.c sed -i 's/curscr->_cury = oy;/wmove(curscr, oy, ox);/' main.c- } build() { cd $pkgname$pkgver- mv ../config.guess config.guess+ cp ../config.guess config.guess CFLAGS="-g -O2 -std=gnu18" ./configure make }Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-01 00:21:48 | Low | 3 |
| 2026-10-31 00:07:41 | Low | 3 |
| 2026-10-30 00:29:30 | Low | 3 |
| 2026-10-29 00:13:55 | Low | 3 |
| 2026-10-28 00:06:54 | Low | 3 |
| 2026-10-27 21:48:49 | Medium | 2 |
| 2026-10-27 00:23:28 | Low | 3 |
| 2026-10-26 21:45:59 | Medium | 2 |
| 2026-10-26 00:12:40 | Low | 2 |
| 2026-10-25 00:20:48 | Low | 2 |
| 2026-10-24 00:14:55 | Low | 2 |
| 2026-10-23 00:02:19 | Low | 2 |
| 2026-10-22 00:13:10 | Low | 2 |
| 2026-10-21 00:12:50 | Low | 2 |
| 2026-10-20 00:10:31 | Low | 2 |
| 2026-10-19 00:03:55 | Low | 2 |
| 2026-10-18 00:06:55 | Low | 2 |
| 2026-10-17 00:21:55 | Low | 2 |
| 2026-10-16 00:12:47 | Low | 2 |
| 2026-10-15 00:28:05 | Low | 2 |