mlbviewer-svn
The package builds from source using SVN and Git repositories that are plausibly the project's own; the non-standard hosts are common for open-source projects, and no unverifiable prebuilt executables are downloaded or executed.
Triggered rules
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 builds from source using SVN and Git repositories that are plausibly the project's own; the non-standard hosts are common for open-source projects, and no unverifiable prebuilt executables are downloaded or executed.
1 higher static finding 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:17
source=("${pkgname}::svn://svn.code.sf.net/p/mlbviewer/code/trunk"
PKGBUILD
1 offending line(s) highlighted# Maintainer: Jonah Bernhard <jonah.bernhard at gmail dot com>
pkgname=mlbviewer-svn
pkgver=r663
_pkgname=${pkgname%-svn}
pkgrel=1
pkgdesc="A collection of tools to view and listen to streaming baseball games from MLB.TV."
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/mlbviewer"
license=('GPL2')
depends=('libconfig' 'curl' 'python2' 'rtmpdump')
makedepends=('subversion' 'git')
optdepends=('mpv: lightweight streaming media player'
'python2-gdata: MLB classics')
conflicts=('mlbviewer')
provides=('mlbviewer')
install="${_pkgname}.install"
source=("${pkgname}::svn://svn.code.sf.net/p/mlbviewer/code/trunk"
"mlbhls::git+https://github.com/tonycpsu/mlbtv-hls-nexdef#branch=experimental")
sha1sums=('SKIP' 'SKIP')
pkgver() {
cd "$pkgname"
local ver="$(svnversion)"
printf "r%s" "${ver//[[:alpha:]]}"
}
build() {
# python2
cd ${srcdir}/${pkgname}
sed -i 's:#!/usr/bin/env python:#!/usr/bin/env python2:' *.py
# build mlbhls for nexdef
cd ${srcdir}/mlbhls
make
}
package() {
cd ${srcdir}/${pkgname}
# create package structure
install -d ${pkgdir}/usr/{bin,{lib,share/{doc,licenses}}/${_pkgname}}
# install and symlink main executables
for i in *.py; do
install -m755 $i ${pkgdir}/usr/lib/${_pkgname}
ln -s /usr/lib/${_pkgname}/$i ${pkgdir}/usr/bin/${i%.py}
done
# main program libs and tests
cp -r MLBviewer test ${pkgdir}/usr/lib/${_pkgname}
# mlbhls
install -m755 ${srcdir}/mlbhls/mlbhls ${pkgdir}/usr/bin
# documentation and license
install -m644 MLBPLAY-HELP MiLB-HELP QUICK-START README REQUIREMENTS-2015.txt TOOLS ${pkgdir}/usr/share/doc/${_pkgname}
install -m644 LICENSE.txt ${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-01 00:21:48 | Low | 2 |
| 2026-10-31 00:07:41 | Low | 2 |
| 2026-10-30 00:29:30 | Low | 2 |
| 2026-10-29 00:13:55 | Low | 2 |
| 2026-10-28 00:06:54 | Low | 2 |
| 2026-10-27 00:23:28 | Low | 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 |
| 2026-10-14 00:06:47 | Low | 2 |
| 2026-10-13 00:23:45 | Low | 2 |