acroread-dc-wine
MEDIUM
maintainer Smoolak
2 votes
scanned 2026-09-20 17:33:19.607430
Why flagged
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
Triggered rules
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:48
"https://ardownload2.adobe.com/pub/adobe/acrobat/win/AcrobatDC/${_pkgver_nodots}/${_installer}" -
PKGBUILD:49
"${_wine_srcdir}.tar.bz2::https://gitlab.winehq.org/ajkhoury/wine/-/archive/${_wine_commit}/${_wine_srcdir}.tar.bz2"
PKGBUILD
2 offending line(s) highlighted
1
# Maintainer: Smoolak <smoolak@gmail.com>
2
# Contributor: Based on mmtrt's snap package
3
4
pkgname=acroread-dc-wine
5
pkgver=26.002.21900
6
pkgrel=1
7
pkgdesc="Adobe Acrobat Reader DC - PDF viewer (via Wine)"
8
arch=('x86_64')
9
url="https://www.adobe.com/products/reader.html"
10
license=('LicenseRef-proprietary' 'LGPL-2.1-or-later')
11
depends=(
12
'bash'
13
'wine'
14
'wine-mono'
15
'wine-gecko'
16
'winetricks'
17
'7zip'
18
'hicolor-icon-theme'
19
)
20
optdepends=(
21
'cups: printing support'
22
'lib32-libcups: 32-bit printing support'
23
'lib32-gnutls: HTTPS support'
24
'lib32-libpulse: audio support'
25
'xorg-xrandr: screen resolution detection for virtual desktop'
26
)
27
makedepends=(
28
'bison'
29
'cabextract'
30
'desktop-file-utils'
31
'flex'
32
'icoutils'
33
'mingw-w64-gcc'
34
)
35
checkdepends=('xorg-server-xvfb')
36
install=acroread-dc-wine.install
37
options=('!debug')
38
39
# Language selection - change this to your preferred language
40
# Available: en_US, fr_FR, de_DE, es_ES, ja_JP, it_IT, nl_NL, pt_BR, fi_FI, da_DK, nb_NO, sv_SE
41
_lang="en_US"
42
43
_pkgver_nodots="${pkgver//./}"
44
_installer="AcroRdrDCx64${_pkgver_nodots}_${_lang}.exe"
45
_wine_commit="11a9c08f0acdd7d3cac863d90f6670840c778c34"
46
_wine_srcdir="wine-${_wine_commit}"
47
source=(
48
"https://ardownload2.adobe.com/pub/adobe/acrobat/win/AcrobatDC/${_pkgver_nodots}/${_installer}"
49
"${_wine_srcdir}.tar.bz2::https://gitlab.winehq.org/ajkhoury/wine/-/archive/${_wine_commit}/${_wine_srcdir}.tar.bz2"
50
"mspatcha-pe-validation.patch"
51
"acroread-dc.sh"
52
"acroread-dc-setup.sh"
53
"acroread-dc.desktop"
54
"acroread-dc.reg"
55
)
56
sha256sums=('7164487442ca3b198ec8b395499939ca658c750030be227c2112ba78ed6da7c2'
57
'349941ca58b0bc175161716234a4eda3fe3ec5c5b1f3d256e327da2b66aa7107'
58
'a0eec4268a0b990aa31eac35f007d9fd58d2a2f58e70a448ef27ceca6ec99e8b'
59
'a69382a6c60b16e84ec10c65e0f0bcb771e739976d0ee503fd284bea621d48fc'
60
'ee0b3e2aabcbedbc26c708235fc337b4850d1eb588b5e463faeca7bf245ecbb4'
61
'e04eacab60902549a0de3aa72c3bdb64f78a71b508bb942fc9a1117716376275'
62
'2be03c810ba30b402e0406910ce7db5bee2588bfab8b7f60fda003c0c929e134')
63
noextract=("$_installer")
64
65
prepare() {
66
cd "$_wine_srcdir"
67
patch -Np1 -i "$srcdir/mspatcha-pe-validation.patch"
68
}
69
70
build() {
71
local _configure_flags=(
72
'--enable-archs=i386,x86_64'
73
'--without-alsa'
74
'--without-cups'
75
'--without-dbus'
76
'--without-fontconfig'
77
'--without-freetype'
78
'--without-gnutls'
79
'--without-gstreamer'
80
'--without-opencl'
81
'--without-pcap'
82
'--without-pulse'
83
'--without-sdl'
84
'--without-udev'
85
'--without-unwind'
86
'--without-usb'
87
'--without-vulkan'
88
'--without-wayland'
89
'--without-x'
90
)
91
92
mkdir -p build-mspatcha
93
cd build-mspatcha
94
"../$_wine_srcdir/configure" "${_configure_flags[@]}"
95
96
make \
97
dlls/mspatcha/i386-windows/mspatcha.dll \
98
dlls/mspatcha/x86_64-windows/mspatcha.dll
99
100
tools/winegcc/winegcc \
101
-o "$srcdir/mspatcha-x64.dll" \
102
--wine-objdir . \
103
-b x86_64-w64-mingw32 \
104
-shared \
105
"../$_wine_srcdir/dlls/mspatcha/mspatcha.spec" \
106
dlls/mspatcha/x86_64-windows/lzxd_dec.o \
107
dlls/mspatcha/x86_64-windows/md5.o \
108
dlls/mspatcha/x86_64-windows/mspatcha_main.o \
109
dlls/mspatcha/x86_64-windows/pa19.o \
110
dlls/mspatcha/version.res \
111
dlls/winecrt0/x86_64-windows/libwinecrt0.a \
112
dlls/ucrtbase/x86_64-windows/libucrtbase.a \
113
dlls/kernel32/x86_64-windows/libkernel32.a \
114
dlls/ntdll/x86_64-windows/libntdll.a
115
116
tools/winegcc/winegcc \
117
-o "$srcdir/mspatcha-x86.dll" \
118
--wine-objdir . \
119
-b i686-w64-mingw32 \
120
-shared \
121
"../$_wine_srcdir/dlls/mspatcha/mspatcha.spec" \
122
dlls/mspatcha/i386-windows/lzxd_dec.o \
123
dlls/mspatcha/i386-windows/md5.o \
124
dlls/mspatcha/i386-windows/mspatcha_main.o \
125
dlls/mspatcha/i386-windows/pa19.o \
126
dlls/mspatcha/version.res \
127
dlls/winecrt0/i386-windows/libwinecrt0.a \
128
dlls/ucrtbase/i386-windows/libucrtbase.a \
129
dlls/kernel32/i386-windows/libkernel32.a \
130
dlls/ntdll/i386-windows/libntdll.a \
131
-Wl,--disable-stdcall-fixup
132
133
x86_64-w64-mingw32-strip --strip-unneeded "$srcdir/mspatcha-x64.dll"
134
i686-w64-mingw32-strip --strip-unneeded "$srcdir/mspatcha-x86.dll"
135
}
136
137
check() {
138
cd "$srcdir"
139
140
bash -n acroread-dc.sh acroread-dc-setup.sh
141
desktop-file-validate acroread-dc.desktop
142
143
local _listing
144
_listing="$(7z l "$_installer")"
145
grep -Fq "FileVersion: ${pkgver/002/2}.0" <<< "$_listing"
146
grep -Fq "AcroRdrDCx64Upd${_pkgver_nodots}.msp" <<< "$_listing"
147
grep -Fq "setup.exe" <<< "$_listing"
148
7z t "$_installer" >/dev/null
149
150
make -C build-mspatcha \
151
dlls/mspatcha/tests/i386-windows/mspatcha_test.exe \
152
dlls/mspatcha/tests/x86_64-windows/mspatcha_test.exe
153
154
# Wine rejects prefixes with mismatched ownership on root-mapped FUSE
155
# mounts. Create the test prefix on a native temporary filesystem.
156
local _test_root
157
_test_root="$(mktemp -d "${TMPDIR:-/tmp}/mspatcha-test.XXXXXXXX")"
158
local _test_prefix="$_test_root/prefix"
159
local _test_runtime="$_test_root/runtime"
160
install -dm700 "$_test_runtime"
161
install -dm755 "$_test_root/x86" "$_test_root/x64"
162
install -m755 mspatcha-x86.dll "$_test_root/x86/mspatcha.dll"
163
install -m755 mspatcha-x64.dll "$_test_root/x64/mspatcha.dll"
164
install -m755 \
165
build-mspatcha/dlls/mspatcha/tests/i386-windows/mspatcha_test.exe \
166
"$_test_root/x86/"
167
install -m755 \
168
build-mspatcha/dlls/mspatcha/tests/x86_64-windows/mspatcha_test.exe \
169
"$_test_root/x64/"
170
171
export WINEPREFIX="$_test_prefix"
172
export WINEARCH='win64'
173
export WINEDEBUG='-all'
174
export XDG_RUNTIME_DIR="$_test_runtime"
175
xvfb-run -a \
176
-s '-screen 0 1280x1024x24 -extension GLX -nolisten tcp' \
177
wineboot -u
178
wineserver -w
179
install -m755 mspatcha-x64.dll \
180
"$_test_prefix/drive_c/windows/system32/mspatcha.dll"
181
install -m755 mspatcha-x86.dll \
182
"$_test_prefix/drive_c/windows/syswow64/mspatcha.dll"
183
export WINEDLLOVERRIDES='mspatcha=n,b'
184
185
local _arch _suite
186
for _arch in x64 x86; do
187
for _suite in apply_patch signature; do
188
xvfb-run -a \
189
-s '-screen 0 1280x1024x24 -extension GLX -nolisten tcp' \
190
wine "$_test_root/$_arch/mspatcha_test.exe" "$_suite"
191
done
192
done
193
wineserver -w
194
rm -rf "$_test_root"
195
}
196
197
package() {
198
cd "$srcdir"
199
200
install -dm755 "$pkgdir/opt/$pkgname"
201
install -dm755 "$pkgdir/usr/bin"
202
install -dm755 "$pkgdir/usr/share/applications"
203
install -dm755 "$pkgdir/usr/share/icons/hicolor/256x256/apps"
204
205
install -Dm644 "$_installer" "$pkgdir/opt/$pkgname/$_installer"
206
install -Dm644 mspatcha-x64.dll "$pkgdir/opt/$pkgname/mspatcha-x64.dll"
207
install -Dm644 mspatcha-x86.dll "$pkgdir/opt/$pkgname/mspatcha-x86.dll"
208
install -Dm755 acroread-dc.sh "$pkgdir/opt/$pkgname/acroread-dc.sh"
209
install -Dm755 acroread-dc-setup.sh "$pkgdir/opt/$pkgname/acroread-dc-setup.sh"
210
install -Dm644 acroread-dc.reg "$pkgdir/opt/$pkgname/acroread-dc.reg"
211
install -Dm644 "$_wine_srcdir/COPYING.LIB" \
212
"$pkgdir/usr/share/licenses/$pkgname/Wine-COPYING.LIB"
213
214
wrestool -x -t 14 -n 128 -o AcroRead.ico "$_installer"
215
icotool -x AcroRead.ico -o "$srcdir"
216
install -Dm644 AcroRead_1_256x256x32.png \
217
"$pkgdir/usr/share/icons/hicolor/256x256/apps/acroread-dc.png"
218
219
mkdir -p eula
220
7z e "$_installer" -oeula Core.cab -y >/dev/null
221
cabextract -q -F license.html_A207C02C2B9D452BA2534E38026A90BF \
222
-d eula eula/Core.cab
223
install -Dm644 eula/license.html_A207C02C2B9D452BA2534E38026A90BF \
224
"$pkgdir/usr/share/licenses/$pkgname/Adobe-EULA.html"
225
226
install -Dm644 acroread-dc.desktop "$pkgdir/usr/share/applications/acroread-dc.desktop"
227
ln -s "/opt/$pkgname/acroread-dc.sh" "$pkgdir/usr/bin/acroread-dc"
228
}
229
Changes since previous scan
--- PKGBUILD @ 2026-06-20 00:18+++ PKGBUILD @ 2026-09-20 17:33@@ -2,18 +2,19 @@ # Contributor: Based on mmtrt's snap package pkgname=acroread-dc-wine-pkgver=26.001.21529+pkgver=26.002.21900 pkgrel=1 pkgdesc="Adobe Acrobat Reader DC - PDF viewer (via Wine)" arch=('x86_64') url="https://www.adobe.com/products/reader.html"-license=('LicenseRef-proprietary')+license=('LicenseRef-proprietary' 'LGPL-2.1-or-later') depends=(+ 'bash' 'wine' 'wine-mono' 'wine-gecko' 'winetricks'- 'p7zip'+ '7zip' 'hicolor-icon-theme' ) optdepends=(@@ -23,28 +24,175 @@ 'lib32-libpulse: audio support' 'xorg-xrandr: screen resolution detection for virtual desktop' )-makedepends=('icoutils')+makedepends=(+ 'bison'+ 'cabextract'+ 'desktop-file-utils'+ 'flex'+ 'icoutils'+ 'mingw-w64-gcc'+)+checkdepends=('xorg-server-xvfb') install=acroread-dc-wine.install-options=('!strip')+options=('!debug') # Language selection - change this to your preferred language # Available: en_US, fr_FR, de_DE, es_ES, ja_JP, it_IT, nl_NL, pt_BR, fi_FI, da_DK, nb_NO, sv_SE _lang="en_US" _pkgver_nodots="${pkgver//./}"+_installer="AcroRdrDCx64${_pkgver_nodots}_${_lang}.exe"+_wine_commit="11a9c08f0acdd7d3cac863d90f6670840c778c34"+_wine_srcdir="wine-${_wine_commit}" source=(- "https://ardownload2.adobe.com/pub/adobe/reader/win/AcrobatDC/${_pkgver_nodots}/AcroRdrDC${_pkgver_nodots}_${_lang}.exe"+ "https://ardownload2.adobe.com/pub/adobe/acrobat/win/AcrobatDC/${_pkgver_nodots}/${_installer}"+ "${_wine_srcdir}.tar.bz2::https://gitlab.winehq.org/ajkhoury/wine/-/archive/${_wine_commit}/${_wine_srcdir}.tar.bz2"+ "mspatcha-pe-validation.patch" "acroread-dc.sh" "acroread-dc-setup.sh" "acroread-dc.desktop" "acroread-dc.reg" )-sha256sums=('SKIP'- 'ee3011920d382c6b0309198e2baaf2445afd410cc77f10b40985662bd2f157ec'- '24fe45e3fe55f7b0c5365c9344d589b6617f86800a41f62cadfbe4b2cc6eb771'- '4c3defab70b10298b8c1f66f16a385878d62b2443320256bf3c089824884c20d'- '11716e061f9a96d14aa2362daebbe24242e2e4b14215e1a8d953e17cd165be3e')-noextract=("AcroRdrDC${_pkgver_nodots}_${_lang}.exe")+sha256sums=('7164487442ca3b198ec8b395499939ca658c750030be227c2112ba78ed6da7c2'+ '349941ca58b0bc175161716234a4eda3fe3ec5c5b1f3d256e327da2b66aa7107'+ 'a0eec4268a0b990aa31eac35f007d9fd58d2a2f58e70a448ef27ceca6ec99e8b'+ 'a69382a6c60b16e84ec10c65e0f0bcb771e739976d0ee503fd284bea621d48fc'+ 'ee0b3e2aabcbedbc26c708235fc337b4850d1eb588b5e463faeca7bf245ecbb4'+ 'e04eacab60902549a0de3aa72c3bdb64f78a71b508bb942fc9a1117716376275'+ '2be03c810ba30b402e0406910ce7db5bee2588bfab8b7f60fda003c0c929e134')+noextract=("$_installer")++prepare() {+ cd "$_wine_srcdir"+ patch -Np1 -i "$srcdir/mspatcha-pe-validation.patch"+}++build() {+ local _configure_flags=(+ '--enable-archs=i386,x86_64'+ '--without-alsa'+ '--without-cups'+ '--without-dbus'+ '--without-fontconfig'+ '--without-freetype'+ '--without-gnutls'+ '--without-gstreamer'+ '--without-opencl'+ '--without-pcap'+ '--without-pulse'+ '--without-sdl'+ '--without-udev'+ '--without-unwind'+ '--without-usb'+ '--without-vulkan'+ '--without-wayland'+ '--without-x'+ )++ mkdir -p build-mspatcha+ cd build-mspatcha+ "../$_wine_srcdir/configure" "${_configure_flags[@]}"++ make \+ dlls/mspatcha/i386-windows/mspatcha.dll \+ dlls/mspatcha/x86_64-windows/mspatcha.dll++ tools/winegcc/winegcc \+ -o "$srcdir/mspatcha-x64.dll" \+ --wine-objdir . \+ -b x86_64-w64-mingw32 \+ -shared \+ "../$_wine_srcdir/dlls/mspatcha/mspatcha.spec" \+ dlls/mspatcha/x86_64-windows/lzxd_dec.o \+ dlls/mspatcha/x86_64-windows/md5.o \+ dlls/mspatcha/x86_64-windows/mspatcha_main.o \+ dlls/mspatcha/x86_64-windows/pa19.o \+ dlls/mspatcha/version.res \+ dlls/winecrt0/x86_64-windows/libwinecrt0.a \+ dlls/ucrtbase/x86_64-windows/libucrtbase.a \+ dlls/kernel32/x86_64-windows/libkernel32.a \+ dlls/ntdll/x86_64-windows/libntdll.a++ tools/winegcc/winegcc \+ -o "$srcdir/mspatcha-x86.dll" \+ --wine-objdir . \+ -b i686-w64-mingw32 \+ -shared \+ "../$_wine_srcdir/dlls/mspatcha/mspatcha.spec" \+ dlls/mspatcha/i386-windows/lzxd_dec.o \+ dlls/mspatcha/i386-windows/md5.o \+ dlls/mspatcha/i386-windows/mspatcha_main.o \+ dlls/mspatcha/i386-windows/pa19.o \+ dlls/mspatcha/version.res \+ dlls/winecrt0/i386-windows/libwinecrt0.a \+ dlls/ucrtbase/i386-windows/libucrtbase.a \+ dlls/kernel32/i386-windows/libkernel32.a \+ dlls/ntdll/i386-windows/libntdll.a \+ -Wl,--disable-stdcall-fixup++ x86_64-w64-mingw32-strip --strip-unneeded "$srcdir/mspatcha-x64.dll"+ i686-w64-mingw32-strip --strip-unneeded "$srcdir/mspatcha-x86.dll"+}++check() {+ cd "$srcdir"++ bash -n acroread-dc.sh acroread-dc-setup.sh+ desktop-file-validate acroread-dc.desktop++ local _listing+ _listing="$(7z l "$_installer")"+ grep -Fq "FileVersion: ${pkgver/002/2}.0" <<< "$_listing"+ grep -Fq "AcroRdrDCx64Upd${_pkgver_nodots}.msp" <<< "$_listing"+ grep -Fq "setup.exe" <<< "$_listing"+ 7z t "$_installer" >/dev/null++ make -C build-mspatcha \+ dlls/mspatcha/tests/i386-windows/mspatcha_test.exe \+ dlls/mspatcha/tests/x86_64-windows/mspatcha_test.exe++ # Wine rejects prefixes with mismatched ownership on root-mapped FUSE+ # mounts. Create the test prefix on a native temporary filesystem.+ local _test_root+ _test_root="$(mktemp -d "${TMPDIR:-/tmp}/mspatcha-test.XXXXXXXX")"+ local _test_prefix="$_test_root/prefix"+ local _test_runtime="$_test_root/runtime"+ install -dm700 "$_test_runtime"+ install -dm755 "$_test_root/x86" "$_test_root/x64"+ install -m755 mspatcha-x86.dll "$_test_root/x86/mspatcha.dll"+ install -m755 mspatcha-x64.dll "$_test_root/x64/mspatcha.dll"+ install -m755 \+ build-mspatcha/dlls/mspatcha/tests/i386-windows/mspatcha_test.exe \+ "$_test_root/x86/"+ install -m755 \+ build-mspatcha/dlls/mspatcha/tests/x86_64-windows/mspatcha_test.exe \+ "$_test_root/x64/"++ export WINEPREFIX="$_test_prefix"+ export WINEARCH='win64'+ export WINEDEBUG='-all'+ export XDG_RUNTIME_DIR="$_test_runtime"+ xvfb-run -a \+ -s '-screen 0 1280x1024x24 -extension GLX -nolisten tcp' \+ wineboot -u+ wineserver -w+ install -m755 mspatcha-x64.dll \+ "$_test_prefix/drive_c/windows/system32/mspatcha.dll"+ install -m755 mspatcha-x86.dll \+ "$_test_prefix/drive_c/windows/syswow64/mspatcha.dll"+ export WINEDLLOVERRIDES='mspatcha=n,b'++ local _arch _suite+ for _arch in x64 x86; do+ for _suite in apply_patch signature; do+ xvfb-run -a \+ -s '-screen 0 1280x1024x24 -extension GLX -nolisten tcp' \+ wine "$_test_root/$_arch/mspatcha_test.exe" "$_suite"+ done+ done+ wineserver -w+ rm -rf "$_test_root"+} package() { cd "$srcdir"@@ -54,20 +202,26 @@ install -dm755 "$pkgdir/usr/share/applications" install -dm755 "$pkgdir/usr/share/icons/hicolor/256x256/apps" - install -Dm644 "AcroRdrDC${_pkgver_nodots}_${_lang}.exe" "$pkgdir/opt/$pkgname/AcroRdrDC_installer.exe"+ install -Dm644 "$_installer" "$pkgdir/opt/$pkgname/$_installer"+ install -Dm644 mspatcha-x64.dll "$pkgdir/opt/$pkgname/mspatcha-x64.dll"+ install -Dm644 mspatcha-x86.dll "$pkgdir/opt/$pkgname/mspatcha-x86.dll" install -Dm755 acroread-dc.sh "$pkgdir/opt/$pkgname/acroread-dc.sh" install -Dm755 acroread-dc-setup.sh "$pkgdir/opt/$pkgname/acroread-dc-setup.sh" install -Dm644 acroread-dc.reg "$pkgdir/opt/$pkgname/acroread-dc.reg"-- 7z x -o"$srcdir/extracted" "AcroRdrDC${_pkgver_nodots}_${_lang}.exe" -y > /dev/null 2>&1 || true- if [[ -f "$srcdir/extracted/AcroRead.ico" ]]; then- icotool -x "$srcdir/extracted/AcroRead.ico" -o "$srcdir/" 2>/dev/null || true- if [[ -f "$srcdir/AcroRead_1_256x256x32.png" ]]; then- install -Dm644 "$srcdir/AcroRead_1_256x256x32.png" "$pkgdir/usr/share/icons/hicolor/256x256/apps/acroread-dc.png"- elif [[ -f "$srcdir/AcroRead_1_48x48x32.png" ]]; then- install -Dm644 "$srcdir/AcroRead_1_48x48x32.png" "$pkgdir/usr/share/icons/hicolor/256x256/apps/acroread-dc.png"- fi- fi+ install -Dm644 "$_wine_srcdir/COPYING.LIB" \+ "$pkgdir/usr/share/licenses/$pkgname/Wine-COPYING.LIB"++ wrestool -x -t 14 -n 128 -o AcroRead.ico "$_installer"+ icotool -x AcroRead.ico -o "$srcdir"+ install -Dm644 AcroRead_1_256x256x32.png \+ "$pkgdir/usr/share/icons/hicolor/256x256/apps/acroread-dc.png"++ mkdir -p eula+ 7z e "$_installer" -oeula Core.cab -y >/dev/null+ cabextract -q -F license.html_A207C02C2B9D452BA2534E38026A90BF \+ -d eula eula/Core.cab+ install -Dm644 eula/license.html_A207C02C2B9D452BA2534E38026A90BF \+ "$pkgdir/usr/share/licenses/$pkgname/Adobe-EULA.html" install -Dm644 acroread-dc.desktop "$pkgdir/usr/share/applications/acroread-dc.desktop" ln -s "/opt/$pkgname/acroread-dc.sh" "$pkgdir/usr/bin/acroread-dc"Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-20 17:33:19 | Medium | 1 |
| 2026-06-20 00:18:46 | Medium | 1 |
| 2026-06-19 23:51:18 | Clean | 2 |
| 2026-06-19 19:07:35 | Low | 2 |
| 2026-06-18 16:11:54 | Medium | 1 |