Skip to content

Commit b63d1fe

Browse files
Update PHP versions and add Alpine 3.22 support
Updates PHP versions across all major branches: - PHP 8.1: 8.1.31 → 8.1.32 - PHP 8.2: 8.2.27 → 8.2.28 - PHP 8.3: 8.3.17 → 8.3.22 - PHP 8.4: 8.4.4 → 8.4.8 Adds Alpine 3.22 as a new supported platform with corresponding Docker image variants for improved compatibility and longer-term support. Updates versions.json and versions.sh to reflect these changes.
1 parent 732e80b commit b63d1fe

File tree

186 files changed

+14577
-312
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

186 files changed

+14577
-312
lines changed

8.1/alpine3.20/cli/Dockerfile

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

8.1/alpine3.20/fpm-zts/Dockerfile

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

8.1/alpine3.20/fpm/Dockerfile

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

8.1/alpine3.20/zts/Dockerfile

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

8.1/alpine3.21/cli/Dockerfile

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

8.1/alpine3.21/fpm-zts/Dockerfile

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

8.1/alpine3.21/fpm/Dockerfile

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

8.1/alpine3.21/zts/Dockerfile

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

8.1/alpine3.22/cli/CURL_APKBUILD

Lines changed: 258 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,258 @@
1+
# Contributor: Sergei Lukin <[email protected]>
2+
# Contributor: Valery Kartel <[email protected]>
3+
# Contributor: Łukasz Jendrysik <[email protected]>
4+
# Maintainer: Natanael Copa <[email protected]>
5+
6+
# RESTRICTED: Do NOT enable the rustls or hyper backends, as they depend on Rust
7+
# and Rust is not yet available on all architectures. Any commit which changes
8+
# this aport from arch=all WILL be reverted.
9+
10+
pkgname=curl
11+
pkgver=8.12.1
12+
pkgrel=0
13+
pkgdesc="URL retrival utility and library"
14+
url="https://curl.se/"
15+
arch="all"
16+
license="curl"
17+
depends="ca-certificates-bundle"
18+
depends_dev="
19+
brotli-dev
20+
c-ares-dev
21+
libidn2-dev
22+
libpsl-dev
23+
nghttp2-dev
24+
openssl-dev>3
25+
zlib-dev
26+
zstd-dev
27+
"
28+
checkdepends="nghttp2 python3"
29+
makedepends_host="$depends_dev"
30+
makedepends_build="groff perl"
31+
subpackages="$pkgname-dbg $pkgname-static $pkgname-doc $pkgname-dev libcurl"
32+
if [ -z "$BOOTSTRAP" ] && [ -z "$APORTS_BOOTSTRAP" ]; then
33+
subpackages="$subpackages $pkgname-zsh-completion"
34+
fi
35+
source="https://curl.se/download/curl-$pkgver.tar.xz"
36+
options="net" # Required for running tests
37+
if [ -n "$BOOTSTRAP" ] || [ -n "$APORTS_BOOTSTRAP" ]; then
38+
options="$options !check" # remove python3 dependency
39+
fi
40+
41+
# secfixes:
42+
# 8.12.0-r0:
43+
# - CVE-2025-0167
44+
# - CVE-2025-0665
45+
# - CVE-2025-0725
46+
# 8.11.1-r0:
47+
# - CVE-2024-11053
48+
# 8.11.0-r0:
49+
# - CVE-2024-9681
50+
# 8.10.0-r0:
51+
# - CVE-2024-8096
52+
# 8.9.1-r0:
53+
# - CVE-2024-7264
54+
# 8.9.0-r0:
55+
# - CVE-2024-6197
56+
# - CVE-2024-6874
57+
# 8.7.1-r0:
58+
# - CVE-2024-2004
59+
# - CVE-2024-2379
60+
# - CVE-2024-2398
61+
# - CVE-2024-2466
62+
# 8.6.0-r0:
63+
# - CVE-2024-0853
64+
# 8.5.0-r0:
65+
# - CVE-2023-46218
66+
# - CVE-2023-46219
67+
# 8.4.0-r0:
68+
# - CVE-2023-38545
69+
# - CVE-2023-38546
70+
# 8.3.0-r0:
71+
# - CVE-2023-38039
72+
# 8.1.0-r0:
73+
# - CVE-2023-28319
74+
# - CVE-2023-28320
75+
# - CVE-2023-28321
76+
# - CVE-2023-28322
77+
# 8.0.0-r0:
78+
# - CVE-2023-27533
79+
# - CVE-2023-27534
80+
# - CVE-2023-27535
81+
# - CVE-2023-27536
82+
# - CVE-2023-27537
83+
# - CVE-2023-27538
84+
# 7.88.0-r0:
85+
# - CVE-2023-23914
86+
# - CVE-2023-23915
87+
# - CVE-2023-23916
88+
# 7.87.0-r0:
89+
# - CVE-2022-43551
90+
# - CVE-2022-43552
91+
# 7.86.0-r0:
92+
# - CVE-2022-32221
93+
# - CVE-2022-35260
94+
# - CVE-2022-42915
95+
# - CVE-2022-42916
96+
# 7.85.0-r0:
97+
# - CVE-2022-35252
98+
# 7.84.0-r0:
99+
# - CVE-2022-32205
100+
# - CVE-2022-32206
101+
# - CVE-2022-32207
102+
# - CVE-2022-32208
103+
# 7.83.1-r0:
104+
# - CVE-2022-27778
105+
# - CVE-2022-27779
106+
# - CVE-2022-27780
107+
# - CVE-2022-27781
108+
# - CVE-2022-27782
109+
# - CVE-2022-30115
110+
# 7.83.0-r0:
111+
# - CVE-2022-22576
112+
# - CVE-2022-27774
113+
# - CVE-2022-27775
114+
# - CVE-2022-27776
115+
# 7.79.0-r0:
116+
# - CVE-2021-22945
117+
# - CVE-2021-22946
118+
# - CVE-2021-22947
119+
# 7.78.0-r0:
120+
# - CVE-2021-22922
121+
# - CVE-2021-22923
122+
# - CVE-2021-22924
123+
# - CVE-2021-22925
124+
# 7.77.0-r0:
125+
# - CVE-2021-22898
126+
# - CVE-2021-22901
127+
# 7.76.0-r0:
128+
# - CVE-2021-22876
129+
# - CVE-2021-22890
130+
# 7.74.0-r0:
131+
# - CVE-2020-8284
132+
# - CVE-2020-8285
133+
# - CVE-2020-8286
134+
# 7.72.0-r0:
135+
# - CVE-2020-8231
136+
# 7.71.0-r0:
137+
# - CVE-2020-8169
138+
# - CVE-2020-8177
139+
# 7.66.0-r0:
140+
# - CVE-2019-5481
141+
# - CVE-2019-5482
142+
# 7.65.0-r0:
143+
# - CVE-2019-5435
144+
# - CVE-2019-5436
145+
# 7.64.0-r0:
146+
# - CVE-2018-16890
147+
# - CVE-2019-3822
148+
# - CVE-2019-3823
149+
# 7.62.0-r0:
150+
# - CVE-2018-16839
151+
# - CVE-2018-16840
152+
# - CVE-2018-16842
153+
# 7.61.1-r0:
154+
# - CVE-2018-14618
155+
# 7.61.0-r0:
156+
# - CVE-2018-0500
157+
# 7.60.0-r0:
158+
# - CVE-2018-1000300
159+
# - CVE-2018-1000301
160+
# 7.59.0-r0:
161+
# - CVE-2018-1000120
162+
# - CVE-2018-1000121
163+
# - CVE-2018-1000122
164+
# 7.57.0-r0:
165+
# - CVE-2017-8816
166+
# - CVE-2017-8817
167+
# - CVE-2017-8818
168+
# 7.56.1-r0:
169+
# - CVE-2017-1000257
170+
# 7.55.0-r0:
171+
# - CVE-2017-1000099
172+
# - CVE-2017-1000100
173+
# - CVE-2017-1000101
174+
# 7.54.0-r0:
175+
# - CVE-2017-7468
176+
# 7.53.1-r2:
177+
# - CVE-2017-7407
178+
# 7.53.0-r0:
179+
# - CVE-2017-2629
180+
# 7.52.1-r0:
181+
# - CVE-2016-9594
182+
# 7.51.0-r0:
183+
# - CVE-2016-8615
184+
# - CVE-2016-8616
185+
# - CVE-2016-8617
186+
# - CVE-2016-8618
187+
# - CVE-2016-8619
188+
# - CVE-2016-8620
189+
# - CVE-2016-8621
190+
# - CVE-2016-8622
191+
# - CVE-2016-8623
192+
# - CVE-2016-8624
193+
# - CVE-2016-8625
194+
# 7.50.3-r0:
195+
# - CVE-2016-7167
196+
# 7.50.2-r0:
197+
# - CVE-2016-7141
198+
# 7.50.1-r0:
199+
# - CVE-2016-5419
200+
# - CVE-2016-5420
201+
# - CVE-2016-5421
202+
# 7.36.0-r0:
203+
# - CVE-2014-0138
204+
# - CVE-2014-0139
205+
# 0:
206+
# - CVE-2021-22897
207+
208+
build() {
209+
./configure \
210+
--build=$CBUILD \
211+
--host=$CHOST \
212+
--prefix=/usr \
213+
--enable-ares \
214+
--enable-ipv6 \
215+
--enable-unix-sockets \
216+
--enable-static \
217+
--with-libidn2 \
218+
--with-nghttp2 \
219+
--with-openssl \
220+
--with-ca-bundle=/etc/ssl/cert.pem \
221+
--with-zsh-functions-dir \
222+
--disable-ldap \
223+
--with-pic \
224+
--enable-websockets \
225+
--without-libssh2 # https://bugs.alpinelinux.org/issues/10222
226+
make
227+
228+
# generation of completions is not supported when cross-compiling.
229+
if [ -z "$BOOTSTRAP" ] && [ -z "$APORTS_BOOTSTRAP" ]; then
230+
make -C scripts/
231+
fi
232+
}
233+
234+
check() {
235+
make -C tests
236+
make -j1 -C tests TFLAGS="-j$JOBS" nonflaky-test
237+
}
238+
239+
package() {
240+
# depends on exactly the same build of libcurl
241+
depends="libcurl=$pkgver-r$pkgrel"
242+
243+
make install DESTDIR="$pkgdir"
244+
if [ -z "$BOOTSTRAP" ] && [ -z "$APORTS_BOOTSTRAP" ]; then
245+
install -Dm644 scripts/_curl -t \
246+
"$pkgdir"/usr/share/zsh/site-functions/
247+
fi
248+
}
249+
250+
libcurl() {
251+
pkgdesc="The multiprotocol file transfer library"
252+
253+
amove usr/lib
254+
}
255+
256+
sha512sums="
257+
88915468fa1bb7256e3dd6c9d058ada6894faa1e3e7800c7d9bfee3e8be4081ae57e7f2bf260c5342b709499fc4302ddc2d7864e25bfa3300fa07f118a3de603 curl-8.12.1.tar.xz
258+
"

0 commit comments

Comments
 (0)