slf-wt
maintainer malacology
· 0 votes
· base
pars-win
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a Windows executable from a plausible project-specific academic host (lillo.org.ar) for local execution via Wine/DOSBox, which is a normal use case for running legacy bioinformatics software; the source is not executed directly in the build and poses no remote code execution or supply chain risk beyond the inherent trust in the project's official release.
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 downloads a Windows executable from a plausible project-specific academic host (lillo.org.ar) for local execution via Wine/DOSBox, which is a normal use case for running legacy bioinformatics software; the source is not executed directly in the build and poses no remote code execution or supply chain risk beyond the inherent trust in the project's official release.
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=(https://www.lillo.org.ar/phylogeny/Nona-PeeWee/Pars-win.exe)
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
2
pkgbase=pars-win
3
pkgname=('nona-win' 'pee-wee' 'xpiwe' 'slf-wt' 'spa' 'phast-win' 'pars-win-extra')
4
pkgver=2014.03.10
5
pkgrel=0
6
pkgdesc="free parsimony programs"
7
arch=('x86_64')
8
url="https://www.lillo.org.ar/phylogeny/Nona-PeeWee/readme.htm"
9
license=('custom')
10
makedepends=('unrar' 'dosbox' 'wine')
11
source=(https://www.lillo.org.ar/phylogeny/Nona-PeeWee/Pars-win.exe)
12
sha256sums=('89a5eeaeef53aefbefdc9a7344b5b0e996ed1465987452045297d03d89126fce')
13
14
build(){
15
cd $srcdir
16
# extract files
17
unrar x Pars-win.exe
18
# write verify.bat
19
cat << EOF > verify.bat
20
wconvert winona yatasto BioArchLinux
21
wconvert winpiwe yatasto BioArchLinux
22
wconvert winxpiwe yatasto BioArchLinux
23
24
wconvert winspa BODEGON BioArchLinux
25
wconvert winphast BODEGON BioArchLinux
26
27
wconvert winsl surubies BioArchLinux
28
29
exit
30
EOF
31
# verify
32
env SDL_VIDEODRIVER=dummy wine verify.bat
33
# generate pkg shell
34
echo "cd /usr/share/pars-win" > basic
35
for EXE in ONA PHAST PIWE SL SPA XPIWE
36
do
37
cp basic WIN$EXE
38
echo "wine WIN$EXE.EXE" >> WIN$EXE
39
chmod +x WIN$EXE
40
done
41
# two basic dos programs
42
for EXE in CONS FQ SCG
43
do
44
echo "dosbox /usr/share/$pkgbase/$EXE.EXE" >> $EXE
45
chmod +x $EXE
46
done
47
}
48
49
package_nona-win(){
50
depends=('wine' 'bash')
51
pkgdesc="a bastard son of Pee-Wee"
52
cd $srcdir
53
_pkg=ONA
54
_doc=NONA
55
# install main
56
install -Dm 755 WIN$_pkg.EXE $pkgdir/usr/share/$pkgbase/WIN$_pkg.EXE
57
install -Dm 644 $_doc.DOC $pkgdir/usr/share/$pkgbase/$_doc.DOC
58
# install shell
59
install -Dm 755 WIN$_pkg $pkgdir/usr/bin/WIN$_pkg
60
# install doc
61
mkdir -p $pkgdir/usr/share/doc/$pkgbase
62
ln -s /usr/share/$pkgbase/$_doc.DOC $pkgdir/usr/share/doc/$pkgbase/$_doc.DOC
63
}
64
65
package_pee-wee(){
66
depends=('wine' 'bash')
67
pkgdesc="(P)arsimony and (I)mplied (WE)ights"
68
provides=('pee-wee' 'piwe')
69
cd $srcdir
70
_pkg=PIWE
71
_doc=$_pkg
72
# install main
73
install -Dm 755 WIN$_pkg.EXE $pkgdir/usr/share/$pkgbase/WIN$_pkg.EXE
74
install -Dm 644 $_doc.DOC $pkgdir/usr/share/$pkgbase/$_doc.DOC
75
# install shell
76
install -Dm 755 WIN$_pkg $pkgdir/usr/bin/WIN$_pkg
77
# install doc
78
mkdir -p $pkgdir/usr/share/doc/$pkgbase
79
ln -s /usr/share/$pkgbase/$_doc.DOC $pkgdir/usr/share/doc/$pkgbase/$_doc.DOC
80
}
81
82
package_xpiwe(){
83
depends=('wine' 'bash')
84
pkgdesc="Pee-Wee with Floating Point Precision"
85
cd $srcdir
86
_pkg=XPIWE
87
_doc=$_pkg
88
# install main
89
install -Dm 755 WIN$_pkg.EXE $pkgdir/usr/share/$pkgbase/WIN$_pkg.EXE
90
install -Dm 644 $_doc.DOC $pkgdir/usr/share/$pkgbase/$_doc.DOC
91
# install shell
92
install -Dm 755 WIN$_pkg $pkgdir/usr/bin/WIN$_pkg
93
# install doc
94
mkdir -p $pkgdir/usr/share/doc/$pkgbase
95
ln -s /usr/share/$pkgbase/$_doc.DOC $pkgdir/usr/share/doc/$pkgbase/$_doc.DOC
96
}
97
98
package_slf-wt(){
99
depends=('wine' 'bash')
100
pkgdesc="A prototype program implementing character state reconstructions under non-lineal functions of the state changes \
101
(Pee-Wee with SeLF-WeighTed) \
102
https://doi.org/10.1006/clad.1997.0043"
103
cd $srcdir
104
_pkg=SL
105
_doc=$_pkg
106
# install main
107
install -Dm 755 WIN$_pkg.EXE $pkgdir/usr/share/$pkgbase/WIN$_pkg.EXE
108
install -Dm 644 $_doc.DOC $pkgdir/usr/share/$pkgbase/$_doc.DOC
109
# install shell
110
install -Dm 755 WIN$_pkg $pkgdir/usr/bin/WIN$_pkg
111
# install doc
112
mkdir -p $pkgdir/usr/share/doc/$pkgbase
113
ln -s /usr/share/$pkgbase/$_doc.DOC $pkgdir/usr/share/doc/$pkgbase/$_doc.DOC
114
}
115
116
package_spa(){
117
depends=('wine' 'bash')
118
pkgdesc="Sankoff Parsimony Analysis \
119
https://doi.org/10.1006/clad.1998.0068"
120
cd $srcdir
121
_pkg=SPA
122
_doc=$_pkg
123
# install main
124
install -Dm 755 WIN$_pkg.EXE $pkgdir/usr/share/$pkgbase/WIN$_pkg.EXE
125
install -Dm 644 $_doc.DOC $pkgdir/usr/share/$pkgbase/$_doc.DOC
126
# install shell
127
install -Dm 755 WIN$_pkg $pkgdir/usr/bin/WIN$_pkg
128
# install doc
129
mkdir -p $pkgdir/usr/share/doc/$pkgbase
130
ln -s /usr/share/$pkgbase/$_doc.DOC $pkgdir/usr/share/doc/$pkgbase/$_doc.DOC
131
}
132
133
package_phast-win(){
134
depends=('wine' 'bash')
135
pkgdesc="PHylogenetic Analysis for Sankoff Transformations \
136
https://doi.org/10.1006/clad.1998.0068"
137
provides=('phast')
138
cd $srcdir
139
_pkg=PHAST
140
_doc=$_pkg
141
# install main
142
install -Dm 755 WIN$_pkg.EXE $pkgdir/usr/share/$pkgbase/WIN$_pkg.EXE
143
install -Dm 644 $_doc.DOC $pkgdir/usr/share/$pkgbase/$_doc.DOC
144
# install shell
145
install -Dm 755 WIN$_pkg $pkgdir/usr/bin/WIN$_pkg
146
# install doc
147
mkdir -p $pkgdir/usr/share/doc/$pkgbase
148
ln -s /usr/share/$pkgbase/$_doc.DOC $pkgdir/usr/share/doc/$pkgbase/$_doc.DOC
149
}
150
151
package_pars-win-extra(){
152
depends=('dosbox' 'bash')
153
pkgdesc="Parsimony programs extra software from Pablo A. Goloboff"
154
cd $srcdir
155
# install shell and main
156
for EXE in CONS FQ SCG
157
do
158
install -Dm 755 $EXE $pkgdir/usr/bin/$EXE
159
install -Dm 755 $EXE.EXE $pkgdir/usr/share/$pkgbase/$EXE.EXE
160
done
161
# install doc
162
mkdir -p $pkgdir/usr/share/doc/$pkgbase
163
for DOC in PROGRAMS.DOC "README_!.DOC"
164
do
165
install -Dm 644 $DOC $pkgdir/usr/share/$pkgbase/$DOC
166
ln -s /usr/share/$pkgbase/$DOC $pkgdir/usr/share/doc/$pkgbase/$DOC
167
done
168
# run
169
for RUN in $(ls *.RUN)
170
do
171
install -Dm 644 $RUN $pkgdir/usr/share/$pkgbase/scripts/$RUN
172
done
173
# dat
174
for DAT in $(ls *.DAT)
175
do
176
install -Dm 644 $DAT $pkgdir/usr/share/$pkgbase/data/$DAT
177
done
178
179
}
180
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 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 |