mtsieve
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
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)
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#Maintainer: Dylan Delgado <dylan1496@live.com>
pkgname=mtsieve
pkgver=2.5.3.r331
pkgrel=1
pkgdesc='Library for sieving various types of numbers'
url='https://sourceforge.net/projects/mtsieve/'
license=('GPL')
arch=('x86_64')
depends=('gmp' 'ocl-icd' 'opencl-driver')
source=("mtsieve-svn::svn+https://svn.code.sf.net/p/mtsieve/svn/")
sha256sums=('SKIP')
pkgver() {
cd "$pkgname-svn"
local major="$(egrep -o "([0-9]{1,1}\.)+[0-9]{1,1}" -m 1 "CHANGES.txt")"
local ver="$(svnversion)"
printf "${major}.r%s" "${ver//[[:alpha:]]}"
}
prepare() {
cd "${srcdir}/${pkgname}-svn"
sed \
-e 's/^CPPFLAGS =/CPPFLAGS +=/' \
-e "/^SVN_VERSION :=/s/=.*/= r${_pkgrev}/" \
-i makefile
sed '30 c\LD_FLAGS=-z noexecstack' -i makefile
cd core
sed '11 c\#include <cstddef>' -i MpArithVector.h
}
build() {
cd "${srcdir}/${pkgname}-svn"
CPPFLAGS+=' -march=native'
LD_FLAGS+=' -z noexecstack'
make
}
package() {
cd "${srcdir}/${pkgname}-svn"
install -Dm755 afsieve "${pkgdir}"/usr/bin/afsieve
install -Dm755 afsievecl "${pkgdir}"/usr/bin/afsievecl
install -Dm755 ccsieve "${pkgdir}"/usr/bin/ccsieve
install -Dm755 cksieve "${pkgdir}"/usr/bin/cksieve
install -Dm755 cksievecl "${pkgdir}"/usr/bin/cksievecl
install -Dm755 dmdsieve "${pkgdir}"/usr/bin/dmdsieve
install -Dm755 gcwsieve "${pkgdir}"/usr/bin/gcwsieve
install -Dm755 gcwsievecl "${pkgdir}"/usr/bin/gcwsievecl
install -Dm755 gfndsieve "${pkgdir}"/usr/bin/gfndsieve
install -Dm755 gfndsievecl "${pkgdir}"/usr/bin/gfndsievecl
install -Dm755 fbncsieve "${pkgdir}"/usr/bin/fbncsieve
install -Dm755 fkbnsieve "${pkgdir}"/usr/bin/fkbnsieve
install -Dm755 k1b2sieve "${pkgdir}"/usr/bin/k1b2sieve
install -Dm755 kbbsieve "${pkgdir}"/usr/bin/kbbsieve
install -Dm755 mfsieve "${pkgdir}"/usr/bin/mfsieve
install -Dm755 mfsievecl "${pkgdir}"/usr/bin/mfsievecl
install -Dm755 pixsieve "${pkgdir}"/usr/bin/pixsieve
install -Dm755 pixsievecl "${pkgdir}"/usr/bin/pixsievecl
install -Dm755 psieve "${pkgdir}"/usr/bin/psieve
install -Dm755 psievecl "${pkgdir}"/usr/bin/psievecl
install -Dm755 sgsieve "${pkgdir}"/usr/bin/sgsieve
install -Dm755 smsieve "${pkgdir}"/usr/bin/smsieve
install -Dm755 smsievecl "${pkgdir}"/usr/bin/smsievecl
install -Dm755 srsieve2 "${pkgdir}"/usr/bin/srsieve2
install -Dm755 srsieve2cl "${pkgdir}"/usr/bin/srsieve2cl
install -Dm755 twinsieve "${pkgdir}"/usr/bin/twinsieve
install -Dm755 xyyxsieve "${pkgdir}"/usr/bin/xyyxsieve
install -Dm755 xyyxsievecl "${pkgdir}"/usr/bin/xyyxsievecl
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |