flite1-llvm
maintainer CryoTheRenegade
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is downloaded from festvox.org, a project-associated domain for the flite speech engine, and the checksums are verified; the package builds from legitimate source code with minor patches, posing no real security risk.
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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is downloaded from festvox.org, a project-associated domain for the flite speech engine, and the checksums are verified; the package builds from legitimate source code with minor patches, posing no real security risk.
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:18
source=("http://www.festvox.org/flite/packed/flite-${pkgver}/flite-${pkgver}-release.tar.bz2"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer : Daniel Bermond <dbermond@archlinux.org>
2
# Contributor: der_FeniX <derfenix@gmail.com>
3
# Contributor: Albert Graef <aggraef@gmail.com>
4
5
_pkgname=flite1
6
pkgname=${_pkgname}-llvm
7
pkgver=1.4
8
pkgrel=8
9
pkgdesc='A lighweight speech synthesis engine (version 1.x) — built with Clang and LLVM lld'
10
arch=('x86_64')
11
url='http://www.speech.cs.cmu.edu/flite/'
12
license=('custom')
13
depends=('glibc')
14
makedepends=('texlive-plaingeneric' 'ed' 'clang' 'lld' 'llvm')
15
provides=("flite=${pkgver}" 'flite1' 'flite1-patched')
16
conflicts=('flite' 'flite1' 'flite1-patched')
17
replaces=('flite1-patched')
18
source=("http://www.festvox.org/flite/packed/flite-${pkgver}/flite-${pkgver}-release.tar.bz2"
19
'010-flite1-tempfile-CVE-2014-0027.patch'
20
'020-flite1-fix-parallel-builds.patch'
21
'030-flite1-respect-destdir.patch'
22
'040-flite1-ldflags.patch'
23
'050-flite1-audio-interface.patch'
24
'060-flite1-texi.patch'
25
'070-flite1-texi2html-to-texi2any-migration.patch'
26
'080-flite1-no-rpath.patch'
27
'090-flite1-rename-conflicting-variable.patch')
28
sha256sums=('45c662160aeca6560589f78daf42ab62c6111dd4d244afc28118c4e6f553cd0c'
29
'597f1516060917faab008819e3ceb5bb487f5b3948e97eef1020dc10b62c6edf'
30
'bfd51888ea533bb9ee74cadb68b2e507cb715ab5043aa679b7f42ab52336a7a1'
31
'093538c3a7cd2b9b9edd1f0956a34c4261c3ccdd4feb55e8ecedc338562495f3'
32
'ff43e11241c9aea26483865c672c20421d12c688ae8b59b39471bafb52c1463e'
33
'405320984e098c3d788b7751935b2774972ee7970dbe0fef0718ce1e5cc725c9'
34
'd38fa5dfd4fef71970d904622ec106b9ac18ece002c671b14bc1ce9b342b56b6'
35
'1b51d528e3927b80159c6f6c2155fc022f807db7a0cf19c50e9a5e5831086efb'
36
'462b9ecdb3e4992cb2fc026b6483ec83d883ece530a3fa0794a00e4f6fbfbb1a'
37
'9ad072d57d7b3d6a623f4885cf90a6548d6c5091cd00a7c0c8ff317f4fc0f7f1')
38
39
prepare() {
40
patch -d "flite-${pkgver}-release" -Np1 -i "${srcdir}/010-flite1-tempfile-CVE-2014-0027.patch"
41
patch -d "flite-${pkgver}-release" -Np1 -i "${srcdir}/020-flite1-fix-parallel-builds.patch"
42
patch -d "flite-${pkgver}-release" -Np1 -i "${srcdir}/030-flite1-respect-destdir.patch"
43
patch -d "flite-${pkgver}-release" -Np1 -i "${srcdir}/040-flite1-ldflags.patch"
44
patch -d "flite-${pkgver}-release" -N -i "${srcdir}/050-flite1-audio-interface.patch"
45
patch -d "flite-${pkgver}-release" -Np1 -i "${srcdir}/060-flite1-texi.patch"
46
patch -d "flite-${pkgver}-release" -Np1 -i "${srcdir}/070-flite1-texi2html-to-texi2any-migration.patch"
47
patch -d "flite-${pkgver}-release" -Np1 -i "${srcdir}/080-flite1-no-rpath.patch"
48
patch -d "flite-${pkgver}-release" -Np1 -i "${srcdir}/090-flite1-rename-conflicting-variable.patch"
49
}
50
51
build() {
52
cd "flite-${pkgver}-release"
53
export CC=clang
54
export CXX=clang++
55
export AR=/usr/bin/llvm-ar
56
export RANLIB=/usr/bin/llvm-ranlib
57
export LD=/usr/bin/ld.lld
58
export NM=/usr/bin/llvm-nm
59
export OBJCOPY=/usr/bin/llvm-objcopy
60
export OBJDUMP=/usr/bin/llvm-objdump
61
export READELF=/usr/bin/llvm-readelf
62
export STRIP=/usr/bin/llvm-strip
63
export LDFLAGS="${LDFLAGS:-} -fuse-ld=lld"
64
export CFLAGS="${CFLAGS//-Wp,-D_FORTIFY_SOURCE=3/} -O3 -march=native -Wno-incompatible-pointer-types -U_FORTIFY_SOURCE"
65
export CXXFLAGS="${CXXFLAGS:-} -O3 -march=native"
66
./configure \
67
--prefix='/usr' \
68
--enable-shared \
69
--disable-static \
70
--with-vox='cmu_us_kal16'
71
make -j1 CC=clang CXX=clang++ AR=llvm-ar RANLIB=llvm-ranlib LD=clang
72
make -C doc flite.pdf
73
}
74
75
package() {
76
make -C "flite-${pkgver}-release" DESTDIR="$pkgdir" install
77
install -D -m644 "flite-${pkgver}-release/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
78
install -D -m644 "flite-${pkgver}-release/doc/flite.pdf" -t "${pkgdir}/usr/share/doc/${pkgname}"
79
}
80
Changes since previous scan
--- PKGBUILD @ 2026-07-07 17:27+++ PKGBUILD @ 2026-08-03 00:08@@ -5,14 +5,13 @@ _pkgname=flite1 pkgname=${_pkgname}-llvm pkgver=1.4-pkgrel=7+pkgrel=8 pkgdesc='A lighweight speech synthesis engine (version 1.x) — built with Clang and LLVM lld' arch=('x86_64') url='http://www.speech.cs.cmu.edu/flite/' license=('custom') depends=('glibc') makedepends=('texlive-plaingeneric' 'ed' 'clang' 'lld' 'llvm')-options=('!lto') provides=("flite=${pkgver}" 'flite1' 'flite1-patched') conflicts=('flite' 'flite1' 'flite1-patched') replaces=('flite1-patched')Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 15:32:35 | MEDIUM | 1 |
| 2026-07-07 17:27:21 | CLEAN | 3 |
| 2026-07-07 17:25:23 | MEDIUM | 2 |