mtsieve

LOW
maintainer Dylan14 0 votes scanned 2026-11-01 00:21:48.120785
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-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

Report a package

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

0 / 4000
Your suggestion