wine32
MEDIUM
maintainer 0xjmz
23 votes
scanned 2026-09-26 09:14:41.464653
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:12
source=("https://dl.winehq.org/wine/source/11.x/wine-${pkgver}.tar.xz"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
2
# Contributor: Jan "heftig" Steffens <jan.steffens@gmail.com>
3
# Contributor: Eduardo Romero <eduardo@archlinux.org>
4
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
5
6
pkgname=wine32
7
pkgver=11.16
8
pkgrel=1
9
10
_pkgbasever=${pkgver/rc/-rc}
11
12
source=("https://dl.winehq.org/wine/source/11.x/wine-${pkgver}.tar.xz"
13
30-win32-aliases.conf
14
wine-binfmt.conf)
15
sha512sums=('e084a102989cb00bd0994aa998f18e2ef87ec8e8bcedaf18ab613df66fb5a89b03ca1e608f525ca5d0941641c3b8a4c7000a93da439e61febf7e9084c77ac62d'
16
'6e54ece7ec7022b3c9d94ad64bdf1017338da16c618966e8baf398e6f18f80f7b0576edf1d1da47ed77b96d577e4cbb2bb0156b0b11c183a0accf22654b0a2bb'
17
'bdde7ae015d8a98ba55e84b86dc05aca1d4f8de85be7e4bd6187054bfe4ac83b5a20538945b63fb073caab78022141e9545685e4e3698c97ff173cf30859e285')
18
19
pkgdesc='A compatibility layer for running Windows programs on both 32-bit and 64-bit architectures (without WoW64)'
20
url="https://www.winehq.org"
21
arch=(x86_64)
22
options=(staticlibs !lto)
23
license=(LGPL-2.1-or-later)
24
provides=(wine)
25
conflicts=(wine)
26
depends=(
27
desktop-file-utils
28
fontconfig lib32-fontconfig
29
freetype2 lib32-freetype2
30
gcc-libs lib32-gcc-libs
31
gettext lib32-gettext
32
libpcap lib32-libpcap
33
libunwind lib32-libunwind
34
libxcursor lib32-libxcursor
35
libxkbcommon lib32-libxkbcommon
36
libxi lib32-libxi
37
libxrandr lib32-libxrandr
38
wayland lib32-wayland
39
)
40
makedepends=(autoconf bison perl flex mingw-w64-gcc
41
git
42
alsa-lib lib32-alsa-lib
43
gnutls lib32-gnutls
44
gst-plugins-base-libs lib32-gst-plugins-base-libs
45
libcups lib32-libcups
46
libgphoto2
47
libpulse lib32-libpulse
48
libxcomposite lib32-libxcomposite
49
libxinerama lib32-libxinerama
50
libxxf86vm lib32-libxxf86vm
51
mesa lib32-mesa
52
mesa-libgl lib32-mesa-libgl
53
opencl-headers
54
opencl-icd-loader lib32-opencl-icd-loader
55
pcsclite lib32-pcsclite
56
samba
57
sane
58
sdl2 lib32-sdl2
59
unixodbc
60
v4l-utils lib32-v4l-utils
61
vulkan-headers
62
vulkan-icd-loader lib32-vulkan-icd-loader
63
)
64
optdepends=(
65
alsa-lib lib32-alsa-lib
66
alsa-plugins lib32-alsa-plugins
67
cups lib32-libcups
68
dosbox
69
gnutls lib32-gnutls
70
gst-plugins-bad
71
gst-plugins-base lib32-gst-plugins-base
72
gst-plugins-base-libs lib32-gst-plugins-base-libs
73
gst-plugins-good lib32-gst-plugins-good
74
gst-plugins-ugly
75
libgphoto2
76
libpulse lib32-libpulse
77
libxcomposite lib32-libxcomposite
78
libxinerama lib32-libxinerama
79
opencl-icd-loader lib32-opencl-icd-loader
80
pcsclite lib32-pcsclite
81
samba
82
sane
83
sdl2 lib32-sdl2
84
unixodbc
85
v4l-utils lib32-v4l-utils
86
wine-gecko
87
wine-mono
88
)
89
makedepends=(${makedepends[@]} ${depends[@]})
90
install=wine.install
91
92
prepare() {
93
# Get rid of old build dirs
94
rm -rf $pkgname-{32,64}-build
95
mkdir $pkgname-{32,64}-build
96
97
mv wine-${pkgver} wine
98
cd wine
99
}
100
101
build() {
102
# Wine requires GCC. Clang-built winegcc misbehaves.
103
export CC=gcc
104
export CXX=g++
105
106
# Doesn't compile without remove these flags as of 4.10
107
export CFLAGS="$CFLAGS -ffat-lto-objects"
108
109
# Apply flags for cross-compilation
110
export CROSSCFLAGS="-O2 -pipe -g"
111
export CROSSCXXFLAGS="-O2 -pipe -g"
112
export CROSSLDFLAGS="-Wl,-O1"
113
114
echo "Building Wine-64..."
115
cd "$srcdir/$pkgname-64-build"
116
../wine/configure \
117
--prefix=/usr \
118
--libdir=/usr/lib \
119
--with-x \
120
--with-wayland \
121
--with-gstreamer \
122
--enable-win64
123
124
make
125
126
echo "Building Wine-32..."
127
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
128
cd "$srcdir/$pkgname-32-build"
129
../wine/configure \
130
--prefix=/usr \
131
--libdir=/usr/lib \
132
--with-x \
133
--with-wayland \
134
--with-gstreamer \
135
--with-wine64="$srcdir/$pkgname-64-build"
136
137
make
138
}
139
140
package() {
141
echo "Packaging Wine-32..."
142
cd "$srcdir/$pkgname-32-build"
143
make prefix="$pkgdir/usr" \
144
libdir="$pkgdir/usr/lib" \
145
dlldir="$pkgdir/usr/lib/wine" install
146
147
echo "Packaging Wine-64..."
148
cd "$srcdir/$pkgname-64-build"
149
make prefix="$pkgdir/usr" \
150
libdir="$pkgdir/usr/lib" \
151
dlldir="$pkgdir/usr/lib/wine" install
152
153
# Font aliasing settings for Win32 applications
154
install -d "$pkgdir"/usr/share/fontconfig/conf.{avail,default}
155
install -m644 "$srcdir/30-win32-aliases.conf" "$pkgdir/usr/share/fontconfig/conf.avail"
156
ln -s ../conf.avail/30-win32-aliases.conf "$pkgdir/usr/share/fontconfig/conf.default/30-win32-aliases.conf"
157
install -Dm 644 "$srcdir/wine-binfmt.conf" "$pkgdir/usr/lib/binfmt.d/wine.conf"
158
}
159
160
# vim:set ts=8 sts=2 sw=2 et:
161
Changes since previous scan
--- PKGBUILD @ 2026-08-27 00:08+++ PKGBUILD @ 2026-09-26 09:14@@ -4,7 +4,7 @@ # Contributor: Giovanni Scafora <giovanni@archlinux.org> pkgname=wine32-pkgver=11.15+pkgver=11.16 pkgrel=1 _pkgbasever=${pkgver/rc/-rc}@@ -12,7 +12,7 @@ source=("https://dl.winehq.org/wine/source/11.x/wine-${pkgver}.tar.xz" 30-win32-aliases.conf wine-binfmt.conf)-sha512sums=('e6ce72331e7e8efb0dace2d39e547f3ce989d178dc7c37db1b4523cf9f200196a64fee69ca8a2bccfce0bf8e8f7800adb2c4ef4c44b0bd7d78cf937d84849232'+sha512sums=('e084a102989cb00bd0994aa998f18e2ef87ec8e8bcedaf18ab613df66fb5a89b03ca1e608f525ca5d0941641c3b8a4c7000a93da439e61febf7e9084c77ac62d' '6e54ece7ec7022b3c9d94ad64bdf1017338da16c618966e8baf398e6f18f80f7b0576edf1d1da47ed77b96d577e4cbb2bb0156b0b11c183a0accf22654b0a2bb' 'bdde7ae015d8a98ba55e84b86dc05aca1d4f8de85be7e4bd6187054bfe4ac83b5a20538945b63fb073caab78022141e9545685e4e3698c97ff173cf30859e285') Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-26 09:14:41 | Medium | 1 |
| 2026-08-27 00:08:17 | Clean | 2 |
| 2026-08-26 13:30:21 | Medium | 1 |
| 2026-08-21 00:01:35 | Clean | 2 |
| 2026-08-20 11:11:30 | Medium | 1 |
| 2026-08-20 00:05:13 | Low | 2 |
| 2026-08-19 00:15:45 | Low | 2 |
| 2026-08-18 00:03:42 | Low | 2 |
| 2026-08-17 00:18:29 | Low | 2 |
| 2026-08-16 00:03:42 | Low | 2 |
| 2026-08-15 00:26:13 | Low | 2 |
| 2026-08-14 00:03:41 | Low | 2 |
| 2026-08-13 00:17:07 | Low | 2 |
| 2026-08-12 00:27:08 | Low | 2 |
| 2026-08-11 00:07:57 | Low | 2 |
| 2026-08-10 00:09:14 | Low | 2 |
| 2026-08-09 00:07:45 | Low | 2 |
| 2026-08-08 00:18:14 | Low | 2 |
| 2026-08-07 00:19:04 | Low | 2 |
| 2026-08-06 00:26:13 | Low | 2 |