octave-nan
MEDIUM
maintainer pingplug
3 votes
scanned 2026-10-05 23:40:58.404909
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:25
source=("https://pub.ista.ac.at/~schloegl/matlab/NaN/$_archive")
PKGBUILD
1 offending line(s) highlighted
1
#
2
# Maintainer: Clemens Buchacher <drizzd@aon.at>
3
#
4
# You can use the newpkg script from
5
# https://github.com/drizzd/octave-forge-archlinux to automatically generate
6
# new octave-forge PKGBUILDs or update existing ones. Patches welcome.
7
#
8
9
_pack=nan
10
pkgname=octave-$_pack
11
pkgver=3.7.2
12
pkgrel=1
13
pkgdesc="A statistics and machine learning toolbox for data with and w/o missing values"
14
arch=(any)
15
url="https://gnu-octave.github.io/packages/$_pack/"
16
license=('GPL-3.0-or-later')
17
groups=('octave-forge')
18
depends=('octave>=4.4.1' 'libsvm')
19
makedepends=()
20
optdepends=()
21
backup=()
22
options=()
23
install=$pkgname.install
24
_archive=$_pack-$pkgver.tar.gz
25
source=("https://pub.ista.ac.at/~schloegl/matlab/NaN/$_archive")
26
noextract=("$_archive")
27
sha256sums=('d2d2bac3f1d790428df2f7a396c6a1ffed93e91e29ab13678f641deaf021a216')
28
29
_octave_run() {
30
octave --no-history --no-init-file --no-window-system -q -f --eval "$*"
31
}
32
33
_install_dir() {
34
src=$1
35
dst=$2
36
mkdir -p "$(dirname "$dst")"
37
cp -rT "$src" "$dst"
38
}
39
40
build() {
41
_prefix="$srcdir"/install_prefix
42
_archprefix="$srcdir"/install_archprefix
43
mkdir -p "$_prefix" "$_archprefix"
44
cd "$srcdir"
45
_octave_run "$(cat <<-EOF
46
pkg local_list octave_packages;
47
pkg prefix $_prefix $_archprefix;
48
pkg install -verbose -nodeps $_archive;
49
EOF
50
)"
51
}
52
53
package() {
54
prefix=$pkgdir/usr/share/octave/packages
55
archprefix=$pkgdir/usr/lib/octave/packages
56
_install_dir "$srcdir"/install_prefix "$prefix"
57
_install_dir "$srcdir"/install_archprefix "$archprefix"
58
}
59
Changes since previous scan
--- PKGBUILD @ 2026-06-18 16:11+++ PKGBUILD @ 2026-10-05 23:40@@ -8,12 +8,12 @@ _pack=nan pkgname=octave-$_pack-pkgver=3.7.0+pkgver=3.7.2 pkgrel=1 pkgdesc="A statistics and machine learning toolbox for data with and w/o missing values" arch=(any) url="https://gnu-octave.github.io/packages/$_pack/"-license=('GPL3')+license=('GPL-3.0-or-later') groups=('octave-forge') depends=('octave>=4.4.1' 'libsvm') makedepends=()@@ -22,9 +22,9 @@ options=() install=$pkgname.install _archive=$_pack-$pkgver.tar.gz-source=("https://downloads.sourceforge.net/octave/$_archive")+source=("https://pub.ista.ac.at/~schloegl/matlab/NaN/$_archive") noextract=("$_archive")-sha256sums=('77d27a05f34578ce4bb4caad8746e848f77d822614e362819f1aec50298a2b5b')+sha256sums=('d2d2bac3f1d790428df2f7a396c6a1ffed93e91e29ab13678f641deaf021a216') _octave_run() { octave --no-history --no-init-file --no-window-system -q -f --eval "$*"Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-05 23:40:58 | Medium | 1 |
| 2026-06-18 16:11:54 | Clean | 0 |