levmar

maintainer zkhr6 · 25 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The source is a tarball from the project's official academic host, building its own code; non-whitelisted but plausibly legitimate, with a valid checksum.

Triggered rules

LOW AI review downgraded a static finding 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 source is a tarball from the project's official academic host, building its own code; non-whitelisted but plausibly legitimate, with a valid checksum.

1 higher static finding superseded - not the current verdict (shown for transparency)
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:11 source=('http://users.ics.forth.gr/~lourakis/levmar/levmar-2.6.tgz')

PKGBUILD

1 offending line(s) highlighted
1# maintainer: Antony Lee <anntzer dot lee at gmail dot com>
2# contributor: Carl Rogers <carl.rogers@gmail.com>
3pkgname=levmar
4pkgver=2.6
5pkgrel=3
6pkgdesc='Levenberg-Marquardt nonlinear least squares algorithms in C/C++'
7url='http://users.ics.forth.gr/~lourakis/levmar'
8arch=('i686' 'x86_64' 'aarch64')
9license=('GPL')
10depends=('f2c' 'lapack')
11source=('http://users.ics.forth.gr/~lourakis/levmar/levmar-2.6.tgz')
12md5sums=('16bc34efa1617219f241eef06427f13f')
13
14# Fool the server.
15DLAGENTS=('http::/usr/bin/curl -A not_a_bot -fLC - --retry 3 --retry-delay 3 -o %o %u')
16
17build() {
18 # Adapted from Debian packaging by Daniil Ivanov.
19 cd $pkgname-$pkgver
20 mkdir -p sobj
21 # actually use LIBS, not just define them
22 sed -i 's/#-llapack -lblas -lf2c/$\(LIBS\)/' Makefile.so
23 # add math library to LIBS
24 sed -i 's/-llapack -lblas -lf2c #/-llapack -lblas -lf2c -lm #/' Makefile.so
25 # move end line comments to a separate line
26 sed -i 's/\(.*\) #\(.*\)/#\2\n\1/' Makefile.so
27 make -f Makefile.so
28}
29
30package() {
31 cd $pkgname-$pkgver
32 install -Dpm 755 sobj/liblevmar.so.2.2 $pkgdir/usr/lib/liblevmar.so.2.2
33 install -Dpm 644 levmar.h $pkgdir/usr/include/levmar/levmar.h
34 ln -rs $pkgdir/usr/lib/liblevmar.so.2{.2,}
35 ln -rs $pkgdir/usr/lib/liblevmar.so{.2.2,}
36}
37

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 LOW 2
2026-08-02 00:16:08 LOW 2
2026-08-01 00:11:18 LOW 2
2026-07-31 00:14:10 LOW 2
2026-07-30 00:17:23 LOW 2
2026-07-29 00:25:53 LOW 2
2026-07-28 00:07:28 LOW 2
2026-07-27 00:24:32 LOW 2
2026-07-26 00:07:32 LOW 2
2026-07-25 00:13:44 LOW 2
2026-07-24 00:02:28 LOW 2
2026-07-23 00:14:47 LOW 2
2026-07-22 00:29:32 LOW 2
2026-07-21 00:24:15 LOW 2
2026-07-20 00:19:49 LOW 2
2026-07-19 00:17:08 LOW 2
2026-07-18 00:14:48 LOW 2
2026-07-17 00:06:16 LOW 2
2026-07-16 00:05:41 LOW 2
2026-07-15 00:09:25 LOW 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion