mtsieve

LOW
maintainer Dylan14 0 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The package builds from the project's own SVN repository on SourceForge, which is a standard hosting platform; the source is not a prebuilt executable, and the build process compiles the code locally with transparent modifications.

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 package builds from the project's own SVN repository on SourceForge, which is a standard hosting platform; the source is not a prebuilt executable, and the build process compiles the code locally with transparent modifications.

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=("mtsieve-svn::svn+https://svn.code.sf.net/p/mtsieve/svn/")

PKGBUILD

1 offending line(s) highlighted
1#Maintainer: Dylan Delgado <dylan1496@live.com>
2
3pkgname=mtsieve
4pkgver=2.5.3.r331
5pkgrel=1
6pkgdesc='Library for sieving various types of numbers'
7url='https://sourceforge.net/projects/mtsieve/'
8license=('GPL')
9arch=('x86_64')
10depends=('gmp' 'ocl-icd' 'opencl-driver')
11source=("mtsieve-svn::svn+https://svn.code.sf.net/p/mtsieve/svn/")
12sha256sums=('SKIP')
13
14pkgver() {
15 cd "$pkgname-svn"
16 local major="$(egrep -o "([0-9]{1,1}\.)+[0-9]{1,1}" -m 1 "CHANGES.txt")"
17 local ver="$(svnversion)"
18 printf "${major}.r%s" "${ver//[[:alpha:]]}"
19}
20
21prepare() {
22 cd "${srcdir}/${pkgname}-svn"
23 sed \
24 -e 's/^CPPFLAGS =/CPPFLAGS +=/' \
25 -e "/^SVN_VERSION :=/s/=.*/= r${_pkgrev}/" \
26 -i makefile
27 sed '30 c\LD_FLAGS=-z noexecstack' -i makefile
28 cd core
29 sed '11 c\#include <cstddef>' -i MpArithVector.h
30}
31
32build() {
33 cd "${srcdir}/${pkgname}-svn"
34 CPPFLAGS+=' -march=native'
35 LD_FLAGS+=' -z noexecstack'
36 make
37
38}
39
40package() {
41 cd "${srcdir}/${pkgname}-svn"
42 install -Dm755 afsieve "${pkgdir}"/usr/bin/afsieve
43 install -Dm755 afsievecl "${pkgdir}"/usr/bin/afsievecl
44 install -Dm755 ccsieve "${pkgdir}"/usr/bin/ccsieve
45 install -Dm755 cksieve "${pkgdir}"/usr/bin/cksieve
46 install -Dm755 cksievecl "${pkgdir}"/usr/bin/cksievecl
47 install -Dm755 dmdsieve "${pkgdir}"/usr/bin/dmdsieve
48 install -Dm755 gcwsieve "${pkgdir}"/usr/bin/gcwsieve
49 install -Dm755 gcwsievecl "${pkgdir}"/usr/bin/gcwsievecl
50 install -Dm755 gfndsieve "${pkgdir}"/usr/bin/gfndsieve
51 install -Dm755 gfndsievecl "${pkgdir}"/usr/bin/gfndsievecl
52 install -Dm755 fbncsieve "${pkgdir}"/usr/bin/fbncsieve
53 install -Dm755 fkbnsieve "${pkgdir}"/usr/bin/fkbnsieve
54 install -Dm755 k1b2sieve "${pkgdir}"/usr/bin/k1b2sieve
55 install -Dm755 kbbsieve "${pkgdir}"/usr/bin/kbbsieve
56 install -Dm755 mfsieve "${pkgdir}"/usr/bin/mfsieve
57 install -Dm755 mfsievecl "${pkgdir}"/usr/bin/mfsievecl
58 install -Dm755 pixsieve "${pkgdir}"/usr/bin/pixsieve
59 install -Dm755 pixsievecl "${pkgdir}"/usr/bin/pixsievecl
60 install -Dm755 psieve "${pkgdir}"/usr/bin/psieve
61 install -Dm755 psievecl "${pkgdir}"/usr/bin/psievecl
62 install -Dm755 sgsieve "${pkgdir}"/usr/bin/sgsieve
63 install -Dm755 smsieve "${pkgdir}"/usr/bin/smsieve
64 install -Dm755 smsievecl "${pkgdir}"/usr/bin/smsievecl
65 install -Dm755 srsieve2 "${pkgdir}"/usr/bin/srsieve2
66 install -Dm755 srsieve2cl "${pkgdir}"/usr/bin/srsieve2cl
67 install -Dm755 twinsieve "${pkgdir}"/usr/bin/twinsieve
68 install -Dm755 xyyxsieve "${pkgdir}"/usr/bin/xyyxsieve
69 install -Dm755 xyyxsievecl "${pkgdir}"/usr/bin/xyyxsievecl
70}
71

Scan history

Scanned at (UTC)SeverityRules
2026-09-17 00:27:14 Low 2
2026-09-16 00:03:17 Low 2
2026-09-15 00:25:31 Low 2
2026-09-14 00:27:57 Low 2
2026-09-13 00:19:54 Low 2
2026-09-12 00:25:17 Low 2
2026-09-11 00:19:22 Low 2
2026-09-10 00:22:44 Low 2
2026-09-09 00:04:09 Low 2
2026-09-08 00:18:08 Low 2
2026-09-07 00:30:15 Low 2
2026-09-06 00:17:06 Low 2
2026-09-05 00:16:27 Low 2
2026-09-04 00:03:13 Low 2
2026-09-03 00:15:47 Low 2
2026-09-02 00:02:31 Low 2
2026-09-01 00:11:19 Low 2
2026-08-31 00:19:57 Low 2
2026-08-30 00:04:14 Low 2
2026-08-29 00:29:17 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