mtsieve

maintainer Dylan14 · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
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-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