Merge ~mkukri/ubuntu/+source/gnutls28:rebuild into ubuntu/+source/gnutls28:debian/sid

Proposed by Mate Kukri
Status: Merged
Merge reported by: Mate Kukri
Merged at revision: 33b591e1f27e935d1b876ba729349aded4e4aedc
Proposed branch: ~mkukri/ubuntu/+source/gnutls28:rebuild
Merge into: ubuntu/+source/gnutls28:debian/sid
Diff against target: 896 lines (+663/-17)
9 files modified
debian/changelog (+257/-0)
debian/conf/config (+4/-0)
debian/control (+2/-1)
debian/libgnutls30.install (+1/-0)
debian/patches/9259100633b77a0dc03f83047d7cf778466bf9f3.patch (+384/-0)
debian/patches/series (+3/-0)
debian/rules (+1/-0)
debian/tests/control (+2/-1)
debian/tests/run-upstream-testsuite (+9/-15)
Reviewer Review Type Date Requested Status
Ubuntu Sponsors Pending
git-ubuntu import Pending
Review via email: mp+456191@code.launchpad.net

Commit message

Rebuild

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/debian/changelog b/debian/changelog
2index 9f1e9d3..2716fdf 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,38 @@
6+gnutls28 (3.8.1-4ubuntu5) UNRELEASED; urgency=medium
7+
8+ * armhf (-fstack-clash-protection) breakage rebuild
9+
10+ -- Mate Kukri <mate.kukri@canonical.com> Thu, 23 Nov 2023 15:13:53 +0000
11+
12+gnutls28 (3.8.1-4ubuntu4) noble; urgency=medium
13+
14+ * Don't run the testsuite under the influence of a configuration file.
15+
16+ -- Adrien Nader <adrien.nader@canonical.com> Fri, 17 Nov 2023 11:08:39 +0100
17+
18+gnutls28 (3.8.1-4ubuntu3) noble; urgency=medium
19+
20+ * Forcefully disable TLS 1.0 and 1.1 through /etc/gnutls/config.
21+
22+ -- Adrien Nader <adrien.nader@canonical.com> Fri, 27 Oct 2023 17:41:58 -0400
23+
24+gnutls28 (3.8.1-4ubuntu2) noble; urgency=medium
25+
26+ * Rebuild against latest libunistring
27+
28+ -- Jeremy BĂ­cha <jbicha@ubuntu.com> Fri, 27 Oct 2023 06:48:46 -0400
29+
30+gnutls28 (3.8.1-4ubuntu1) mantic; urgency=medium
31+
32+ * Merge from Debian unstable. Remaining changes:
33+ - Enable CET.
34+ - Set default priority string to only allow TLS1.2, DTLS1.2, and
35+ TLS1.3 with medium security profile (2048 RSA keys minimum, and
36+ similar).
37+ * Fix logic for i386 autopkgtest on an amd64 host
38+
39+ -- Dan Bungert <daniel.bungert@canonical.com> Tue, 22 Aug 2023 16:30:06 -0600
40+
41 gnutls28 (3.8.1-4) unstable; urgency=medium
42
43 * Fix autopkgtest for 32 bit archs.
44@@ -8,6 +43,16 @@ gnutls28 (3.8.1-4) unstable; urgency=medium
45
46 -- Andreas Metzler <ametzler@debian.org> Sat, 19 Aug 2023 11:28:08 +0200
47
48+gnutls28 (3.8.1-3ubuntu1) mantic; urgency=low
49+
50+ * Merge from Debian unstable. Remaining changes:
51+ - Enable CET.
52+ - Set default priority string to only allow TLS1.2, DTLS1.2, and
53+ TLS1.3 with medium security profile (2048 RSA keys minimum, and
54+ similar).
55+
56+ -- Steve Langasek <steve.langasek@ubuntu.com> Tue, 08 Aug 2023 12:33:16 -0500
57+
58 gnutls28 (3.8.1-3) unstable; urgency=low
59
60 * 50-0001-Fix-build-on-GNU-Hurd.patch (Thanks, Samuel Thibault) from
61@@ -67,6 +112,16 @@ gnutls28 (3.8.0+git20230413-1) experimental; urgency=medium
62
63 -- Andreas Metzler <ametzler@debian.org> Sat, 29 Apr 2023 11:51:27 +0200
64
65+gnutls28 (3.7.9-2ubuntu1) mantic; urgency=low
66+
67+ * Merge from Debian unstable. Remaining changes:
68+ - Enable CET.
69+ - Set default priority string to only allow TLS1.2, DTLS1.2, and
70+ TLS1.3 with medium security profile (2048 RSA keys minimum, and
71+ similar).
72+
73+ -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 05 May 2023 09:48:08 +0200
74+
75 gnutls28 (3.7.9-2) unstable; urgency=medium
76
77 * CI: Do not try to run tests/ktls.sh, it uses a helper binary. (Plus gnutls
78@@ -82,6 +137,16 @@ gnutls28 (3.7.9-1) unstable; urgency=medium
79
80 -- Andreas Metzler <ametzler@debian.org> Sat, 18 Feb 2023 07:00:58 +0100
81
82+gnutls28 (3.7.8-5ubuntu1) lunar; urgency=medium
83+
84+ * Merge from Debian unstable. Remaining changes:
85+ - Enable CET.
86+ - Set default priority string to only allow TLS1.2, DTLS1.2, and
87+ TLS1.3 with medium security profile (2048 RSA keys minimum, and
88+ similar).
89+
90+ -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Fri, 17 Feb 2023 08:00:36 -0500
91+
92 gnutls28 (3.7.8-5) unstable; urgency=high
93
94 [ Debian Janitor ]
95@@ -98,6 +163,18 @@ gnutls28 (3.7.8-5) unstable; urgency=high
96
97 -- Andreas Metzler <ametzler@debian.org> Fri, 10 Feb 2023 07:29:17 +0100
98
99+gnutls28 (3.7.8-4ubuntu1) lunar; urgency=medium
100+
101+ * Merge from Debian unstable. Remaining changes:
102+ - Enable CET.
103+ - Set default priority string to only allow TLS1.2, DTLS1.2, and
104+ TLS1.3 with medium security profile (2048 RSA keys minimum, and
105+ similar).
106+ * Dropped changes:
107+ - Reduce parallelism in build to 2 to address FTBFS with lto
108+
109+ -- Adrien Nader <adrien.nader@canonical.com> Thu, 19 Jan 2023 14:47:39 +0100
110+
111 gnutls28 (3.7.8-4) unstable; urgency=low
112
113 * Replace 50_Fix-removal-of-duplicate-certs-during-verification.patch with
114@@ -130,6 +207,24 @@ gnutls28 (3.7.8-1) experimental; urgency=low
115
116 -- Andreas Metzler <ametzler@debian.org> Sat, 01 Oct 2022 13:48:17 +0200
117
118+gnutls28 (3.7.7-2ubuntu2) kinetic; urgency=medium
119+
120+ * Fix Segmentation Fault due to misdetected Intel AVX support
121+ (LP: #1988398)
122+
123+ -- Gregor Jasny <gjasny@googlemail.com> Thu, 01 Sep 2022 07:42:53 +0100
124+
125+gnutls28 (3.7.7-2ubuntu1) kinetic; urgency=low
126+
127+ * Merge from Debian unstable. Remaining changes:
128+ - Enable CET.
129+ - Set default priority string to only allow TLS1.2, DTLS1.2, and
130+ TLS1.3 with medium security profile (2048 RSA keys minimum, and
131+ similar).
132+ - Reduce parallelism in build to 2 to address FTBFS with lto
133+
134+ -- Gianfranco Costamagna <locutusofborg@debian.org> Mon, 01 Aug 2022 09:33:38 +0200
135+
136 gnutls28 (3.7.7-2) unstable; urgency=medium
137
138 * 50_01-Avoid-redirection-bashism-in-testsuite.patch: Fix CI error.
139@@ -145,6 +240,17 @@ gnutls28 (3.7.7-1) unstable; urgency=low
140
141 -- Andreas Metzler <ametzler@debian.org> Sat, 30 Jul 2022 14:09:32 +0200
142
143+gnutls28 (3.7.6-2ubuntu1) kinetic; urgency=low
144+
145+ * Merge from Debian unstable. Remaining changes:
146+ - Enable CET.
147+ - Set default priority string to only allow TLS1.2, DTLS1.2, and
148+ TLS1.3 with medium security profile (2048 RSA keys minimum, and
149+ similar).
150+ - Reduce parallelism in build to 2 to address FTBFS with lto
151+
152+ -- Gianfranco Costamagna <locutusofborg@debian.org> Sun, 19 Jun 2022 12:43:43 +0200
153+
154 gnutls28 (3.7.6-2) unstable; urgency=low
155
156 * Upload to unstable.
157@@ -164,6 +270,17 @@ gnutls28 (3.7.5-1) experimental; urgency=low
158
159 -- Andreas Metzler <ametzler@debian.org> Sun, 22 May 2022 08:16:07 +0200
160
161+gnutls28 (3.7.4-2ubuntu1) kinetic; urgency=low
162+
163+ * Merge from Debian unstable. Remaining changes:
164+ - Enable CET.
165+ - Set default priority string to only allow TLS1.2, DTLS1.2, and
166+ TLS1.3 with medium security profile (2048 RSA keys minimum, and
167+ similar).
168+ - Reduce parallelism in build to 2 to address FTBFS with lto
169+
170+ -- Gianfranco Costamagna <locutusofborg@debian.org> Fri, 29 Apr 2022 10:25:13 +0200
171+
172 gnutls28 (3.7.4-2) unstable; urgency=low
173
174 * 40_srptest_doubletimeout.diff: Increase timeout for tests/srp to fix
175@@ -184,6 +301,17 @@ gnutls28 (3.7.4-1) experimental; urgency=low
176
177 -- Andreas Metzler <ametzler@debian.org> Sun, 03 Apr 2022 13:30:32 +0200
178
179+gnutls28 (3.7.3-4ubuntu1) jammy; urgency=low
180+
181+ * Merge from Debian unstable. Remaining changes:
182+ - Enable CET.
183+ - Set default priority string to only allow TLS1.2, DTLS1.2, and
184+ TLS1.3 with medium security profile (2048 RSA keys minimum, and
185+ similar).
186+ - Reduce parallelism in build to 2 to address FTBFS with lto
187+
188+ -- Gianfranco Costamagna <locutusofborg@debian.org> Mon, 24 Jan 2022 09:23:08 +0100
189+
190 gnutls28 (3.7.3-4) unstable; urgency=low
191
192 [ Helmut Grohne ]
193@@ -222,6 +350,17 @@ gnutls28 (3.7.3-1) experimental; urgency=low
194
195 -- Andreas Metzler <ametzler@debian.org> Tue, 18 Jan 2022 18:58:41 +0100
196
197+gnutls28 (3.7.2-5ubuntu1) jammy; urgency=low
198+
199+ * Merge from Debian unstable. Remaining changes:
200+ - Enable CET.
201+ - Set default priority string to only allow TLS1.2, DTLS1.2, and
202+ TLS1.3 with medium security profile (2048 RSA keys minimum, and
203+ similar).
204+ - Reduce parallelism in build to 2 to address FTBFS with lto
205+
206+ -- Gianfranco Costamagna <locutusofborg@debian.org> Sat, 08 Jan 2022 21:03:33 +0100
207+
208 gnutls28 (3.7.2-5) unstable; urgency=medium
209
210 * 40_fix-gtk-mkhtml.patch by Dennis Filder fixes gtk-doc generation.
211@@ -230,6 +369,17 @@ gnutls28 (3.7.2-5) unstable; urgency=medium
212
213 -- Andreas Metzler <ametzler@debian.org> Wed, 05 Jan 2022 18:46:29 +0100
214
215+gnutls28 (3.7.2-4ubuntu1) jammy; urgency=low
216+
217+ * Merge from Debian unstable. Remaining changes:
218+ - Enable CET.
219+ - Set default priority string to only allow TLS1.2, DTLS1.2, and
220+ TLS1.3 with medium security profile (2048 RSA keys minimum, and
221+ similar).
222+ - Reduce parallelism in build to 2 to address FTBFS with lto
223+
224+ -- Gianfranco Costamagna <locutusofborg@debian.org> Mon, 20 Dec 2021 21:29:48 +0100
225+
226 gnutls28 (3.7.2-4) unstable; urgency=low
227
228 * Run wrap-and-sort -ast, and drop depends/b-d on libgmp > 2:6 since even
229@@ -244,6 +394,17 @@ gnutls28 (3.7.2-3) experimental; urgency=medium
230
231 -- Andreas Metzler <ametzler@debian.org> Sun, 29 Aug 2021 14:29:40 +0200
232
233+gnutls28 (3.7.2-2ubuntu1) jammy; urgency=low
234+
235+ * Merge from Debian unstable. Remaining changes:
236+ - Enable CET.
237+ - Set default priority string to only allow TLS1.2, DTLS1.2, and
238+ TLS1.3 with medium security profile (2048 RSA keys minimum, and
239+ similar).
240+ - Reduce parallelism in build to 2 to address FTBFS with lto
241+
242+ -- Gianfranco Costamagna <locutusofborg@debian.org> Wed, 03 Nov 2021 09:23:28 +0100
243+
244 gnutls28 (3.7.2-2) unstable; urgency=low
245
246 * Invoke dh_autoreconf with GTKDOCIZE=echo for arch-only builds, fixing
247@@ -261,6 +422,18 @@ gnutls28 (3.7.2-1) experimental; urgency=medium
248
249 -- Andreas Metzler <ametzler@debian.org> Sun, 20 Jun 2021 13:49:44 +0200
250
251+gnutls28 (3.7.1-5ubuntu1) impish; urgency=low
252+
253+ * Merge from Debian unstable (LP: #1939739). Remaining changes:
254+ - Enable CET.
255+ - Set default priority string to only allow TLS1.2, DTLS1.2, and
256+ TLS1.3 with medium security profile (2048 RSA keys minimum, and
257+ similar).
258+ - Reduce parallelism in build to 2 to address FTBFS with lto
259+ * Add LP bug number to previous merge entry in changelog
260+
261+ -- William 'jawn-smith' Wilson <william.wilson@canonical.com> Thu, 12 Aug 2021 13:17:53 -0600
262+
263 gnutls28 (3.7.1-5) unstable; urgency=medium
264
265 * Another fix from 3.7.2:
266@@ -270,6 +443,17 @@ gnutls28 (3.7.1-5) unstable; urgency=medium
267
268 -- Andreas Metzler <ametzler@debian.org> Sat, 29 May 2021 12:14:30 +0200
269
270+gnutls28 (3.7.1-4ubuntu1) impish; urgency=low
271+
272+ * Merge from Debian unstable (LP: #1929229). Remaining changes:
273+ - Enable CET.
274+ - Set default priority string to only allow TLS1.2, DTLS1.2, and
275+ TLS1.3 with medium security profile (2048 RSA keys minimum, and
276+ similar).
277+ * Fix FTBFS with lto - reduce parallelism to 2. LP: #1922004
278+
279+ -- William 'jawn-smith' Wilson <william.wilson@canonical.com> Fri, 21 May 2021 10:29:32 -0600
280+
281 gnutls28 (3.7.1-4) unstable; urgency=medium
282
283 * Pull fixes from upstream Git master
284@@ -293,6 +477,18 @@ gnutls28 (3.7.1-4) unstable; urgency=medium
285
286 -- Andreas Metzler <ametzler@debian.org> Sun, 25 Apr 2021 12:55:14 +0200
287
288+gnutls28 (3.7.1-3ubuntu1) hirsute; urgency=medium
289+
290+ * Merge from Debian unstable. Remaining changes:
291+ - Enable CET.
292+ - Set default priority string to only allow TLS1.2, DTLS1.2, and
293+ TLS1.3 with medium security profile (2048 RSA keys minimum, and
294+ similar).
295+ * Fix FTBFS with lto - reduce parallelism to 2. LP: #1922004
296+ * Merge CVE fixes CVE-2021-20231 CVE-2021-20232
297+
298+ -- Dimitri John Ledkov <xnox@ubuntu.com> Wed, 14 Apr 2021 15:44:37 +0100
299+
300 gnutls28 (3.7.1-3) unstable; urgency=low
301
302 * Rename/refetch
303@@ -361,6 +557,16 @@ gnutls28 (3.7.0-6) unstable; urgency=medium
304
305 -- Andreas Metzler <ametzler@debian.org> Mon, 08 Feb 2021 18:04:21 +0100
306
307+gnutls28 (3.7.0-5ubuntu1) hirsute; urgency=low
308+
309+ * Merge from Debian unstable LP: #1893924. Remaining changes:
310+ - Enable CET.
311+ - Set default priority string to only allow TLS1.2, DTLS1.2, and
312+ TLS1.3 with medium security profile (2048 RSA keys minimum, and
313+ similar).
314+
315+ -- Dimitri John Ledkov <xnox@ubuntu.com> Thu, 31 Dec 2020 15:56:50 +0000
316+
317 gnutls28 (3.7.0-5) unstable; urgency=low
318
319 * Update from upstream GIT master, replace patches, add new ones.
320@@ -412,6 +618,17 @@ gnutls28 (3.7.0-1) experimental; urgency=low
321
322 -- Andreas Metzler <ametzler@debian.org> Thu, 03 Dec 2020 18:40:03 +0100
323
324+gnutls28 (3.6.15-4ubuntu2) groovy; urgency=low
325+
326+ * Merge from Debian unstable LP: #1893924. Remaining changes:
327+ - Enable CET.
328+ - Set default priority string to only allow TLS1.2, DTLS1.2, and
329+ TLS1.3 with medium security profile (2048 RSA keys minimum, and
330+ similar).
331+ * Add patch to fix ftbfs gnulib with new glibc.
332+
333+ -- Dimitri John Ledkov <xnox@ubuntu.com> Thu, 24 Sep 2020 12:03:44 +0100
334+
335 gnutls28 (3.6.15-4) unstable; urgency=medium
336
337 * autopkgtest: Require build-essential.
338@@ -484,6 +701,45 @@ gnutls28 (3.6.14-1) unstable; urgency=high
339
340 -- Andreas Metzler <ametzler@debian.org> Sat, 06 Jun 2020 14:11:30 +0200
341
342+gnutls28 (3.6.13-4ubuntu5) groovy; urgency=medium
343+
344+ * SECURITY UPDATE: null pointer deref via no_renegotiation alert
345+ - debian/patches/CVE-2020-24659.patch: reject no_renegotiation alert if
346+ handshake is incomplete in lib/gnutls_int.h, lib/handshake.c.
347+ - CVE-2020-24659
348+
349+ -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Tue, 08 Sep 2020 10:09:39 -0400
350+
351+gnutls28 (3.6.13-4ubuntu4) groovy; urgency=medium
352+
353+ * No change rebuild against new libnettle8 and libhogweed6 ABI.
354+
355+ -- Dimitri John Ledkov <xnox@ubuntu.com> Mon, 29 Jun 2020 22:24:52 +0100
356+
357+gnutls28 (3.6.13-4ubuntu3) groovy; urgency=medium
358+
359+ * Enable CET.
360+
361+ -- Dimitri John Ledkov <xnox@ubuntu.com> Sun, 28 Jun 2020 23:48:44 +0100
362+
363+gnutls28 (3.6.13-4ubuntu2) groovy; urgency=medium
364+
365+ * SECURITY UPDATE: flaw in TLS session ticket key construction
366+ - debian/patches/CVE-2020-13777.patch: differentiate initial state from
367+ valid time window of TOTP in lib/stek.c,
368+ tests/resume-with-previous-stek.c, tests/tls13/prf-early.c.
369+ - CVE-2020-13777
370+
371+ -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Fri, 05 Jun 2020 13:12:39 -0400
372+
373+gnutls28 (3.6.13-4ubuntu1) groovy; urgency=medium
374+
375+ * Resynchronize with Debian; remaining changes:
376+ Set default priority string to only allow TLS1.2, DTLS1.2, and TLS1.3
377+ with medium security profile (2048 RSA keys minimum, and similar).
378+
379+ -- Sebastien Bacher <seb128@ubuntu.com> Fri, 05 Jun 2020 15:12:03 +0200
380+
381 gnutls28 (3.6.13-4) unstable; urgency=medium
382
383 * Output some network related debugging from debian/rules.
384@@ -4233,3 +4489,4 @@ gnutls8 (0.9.94-1) experimental; urgency=low
385 * debian/rules: Run auto* after the patches have been applied.
386
387 -- Ivo Timmermans <ivo@debian.org> Fri, 31 Oct 2003 18:47:09 +0100
388+
389diff --git a/debian/conf/config b/debian/conf/config
390new file mode 100644
391index 0000000..447fe0c
392--- /dev/null
393+++ b/debian/conf/config
394@@ -0,0 +1,4 @@
395+[overrides]
396+disabled-version = tls1.0
397+disabled-version = tls1.1
398+
399diff --git a/debian/control b/debian/control
400index f4f827d..f192e61 100644
401--- a/debian/control
402+++ b/debian/control
403@@ -1,7 +1,8 @@
404 Source: gnutls28
405 Section: libs
406 Priority: optional
407-Maintainer: Debian GnuTLS Maintainers <pkg-gnutls-maint@lists.alioth.debian.org>
408+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
409+XSBC-Original-Maintainer: Debian GnuTLS Maintainers <pkg-gnutls-maint@lists.alioth.debian.org>
410 Uploaders:
411 Andreas Metzler <ametzler@debian.org>,
412 Eric Dorland <eric@debian.org>,
413diff --git a/debian/libgnutls30.install b/debian/libgnutls30.install
414index 8856fe2..2362556 100644
415--- a/debian/libgnutls30.install
416+++ b/debian/libgnutls30.install
417@@ -1,2 +1,3 @@
418 debian/tmp/usr/lib/*/libgnutls.so.*
419 debian/tmp/usr/share/locale/*
420+debian/conf/config etc/gnutls
421diff --git a/debian/patches/9259100633b77a0dc03f83047d7cf778466bf9f3.patch b/debian/patches/9259100633b77a0dc03f83047d7cf778466bf9f3.patch
422new file mode 100644
423index 0000000..c99819b
424--- /dev/null
425+++ b/debian/patches/9259100633b77a0dc03f83047d7cf778466bf9f3.patch
426@@ -0,0 +1,384 @@
427+From 9259100633b77a0dc03f83047d7cf778466bf9f3 Mon Sep 17 00:00:00 2001
428+From: "H.J. Lu" <hjl.tools@gmail.com>
429+Date: Fri, 28 Feb 2020 14:02:21 -0800
430+Subject: [PATCH] Update x86-64 assembly codes with CET support
431+
432+---
433+ lib/accelerated/x86/elf/aes-ssse3-x86_64.s | 21 +++++++++++++++
434+ lib/accelerated/x86/elf/aesni-gcm-x86_64.s | 16 +++++++++++
435+ lib/accelerated/x86/elf/aesni-x86_64.s | 27 +++++++++++++++++++
436+ lib/accelerated/x86/elf/e_padlock-x86_64.s | 16 +++++++++++
437+ lib/accelerated/x86/elf/ghash-x86_64.s | 22 +++++++++++++++
438+ lib/accelerated/x86/elf/sha1-ssse3-x86_64.s | 16 +++++++++++
439+ lib/accelerated/x86/elf/sha256-ssse3-x86_64.s | 16 +++++++++++
440+ lib/accelerated/x86/elf/sha512-ssse3-x86_64.s | 16 +++++++++++
441+ 8 files changed, 150 insertions(+)
442+
443+Index: gnutls28-3.7.0-5ubuntu1/lib/accelerated/x86/elf/aes-ssse3-x86_64.s
444+===================================================================
445+--- gnutls28-3.7.0-5ubuntu1.orig/lib/accelerated/x86/elf/aes-ssse3-x86_64.s
446++++ gnutls28-3.7.0-5ubuntu1/lib/accelerated/x86/elf/aes-ssse3-x86_64.s
447+@@ -635,6 +635,7 @@ _vpaes_schedule_mangle:
448+ .align 16
449+ vpaes_set_encrypt_key:
450+ .cfi_startproc
451++.byte 243,15,30,250
452+ movl %esi,%eax
453+ shrl $5,%eax
454+ addl $5,%eax
455+@@ -653,6 +654,7 @@ vpaes_set_encrypt_key:
456+ .align 16
457+ vpaes_set_decrypt_key:
458+ .cfi_startproc
459++.byte 243,15,30,250
460+ movl %esi,%eax
461+ shrl $5,%eax
462+ addl $5,%eax
463+@@ -676,6 +678,7 @@ vpaes_set_decrypt_key:
464+ .align 16
465+ vpaes_encrypt:
466+ .cfi_startproc
467++.byte 243,15,30,250
468+ movdqu (%rdi),%xmm0
469+ call _vpaes_preheat
470+ call _vpaes_encrypt_core
471+@@ -689,6 +692,7 @@ vpaes_encrypt:
472+ .align 16
473+ vpaes_decrypt:
474+ .cfi_startproc
475++.byte 243,15,30,250
476+ movdqu (%rdi),%xmm0
477+ call _vpaes_preheat
478+ call _vpaes_decrypt_core
479+@@ -701,6 +705,7 @@ vpaes_decrypt:
480+ .align 16
481+ vpaes_cbc_encrypt:
482+ .cfi_startproc
483++.byte 243,15,30,250
484+ xchgq %rcx,%rdx
485+ subq $16,%rcx
486+ jc .Lcbc_abort
487+@@ -865,3 +870,19 @@ _vpaes_consts:
488+ .size _vpaes_consts,.-_vpaes_consts
489+
490+ .section .note.GNU-stack,"",%progbits
491++ .section ".note.gnu.property", "a"
492++ .p2align 3
493++ .long 1f - 0f
494++ .long 4f - 1f
495++ .long 5
496++0:
497++ .asciz "GNU"
498++1:
499++ .p2align 3
500++ .long 0xc0000002
501++ .long 3f - 2f
502++2:
503++ .long 3
504++3:
505++ .p2align 3
506++4:
507+Index: gnutls28-3.7.0-5ubuntu1/lib/accelerated/x86/elf/aesni-gcm-x86_64.s
508+===================================================================
509+--- gnutls28-3.7.0-5ubuntu1.orig/lib/accelerated/x86/elf/aesni-gcm-x86_64.s
510++++ gnutls28-3.7.0-5ubuntu1/lib/accelerated/x86/elf/aesni-gcm-x86_64.s
511+@@ -828,3 +828,19 @@ aesni_gcm_encrypt:
512+ .align 64
513+
514+ .section .note.GNU-stack,"",%progbits
515++ .section ".note.gnu.property", "a"
516++ .p2align 3
517++ .long 1f - 0f
518++ .long 4f - 1f
519++ .long 5
520++0:
521++ .asciz "GNU"
522++1:
523++ .p2align 3
524++ .long 0xc0000002
525++ .long 3f - 2f
526++2:
527++ .long 3
528++3:
529++ .p2align 3
530++4:
531+Index: gnutls28-3.7.0-5ubuntu1/lib/accelerated/x86/elf/aesni-x86_64.s
532+===================================================================
533+--- gnutls28-3.7.0-5ubuntu1.orig/lib/accelerated/x86/elf/aesni-x86_64.s
534++++ gnutls28-3.7.0-5ubuntu1/lib/accelerated/x86/elf/aesni-x86_64.s
535+@@ -44,6 +44,7 @@
536+ .align 16
537+ aesni_encrypt:
538+ .cfi_startproc
539++.byte 243,15,30,250
540+ movups (%rdi),%xmm2
541+ movl 240(%rdx),%eax
542+ movups (%rdx),%xmm0
543+@@ -70,6 +71,7 @@ aesni_encrypt:
544+ .align 16
545+ aesni_decrypt:
546+ .cfi_startproc
547++.byte 243,15,30,250
548+ movups (%rdi),%xmm2
549+ movl 240(%rdx),%eax
550+ movups (%rdx),%xmm0
551+@@ -557,6 +559,7 @@ _aesni_decrypt8:
552+ .align 16
553+ aesni_ecb_encrypt:
554+ .cfi_startproc
555++.byte 243,15,30,250
556+ andq $-16,%rdx
557+ jz .Lecb_ret
558+
559+@@ -901,6 +904,7 @@ aesni_ecb_encrypt:
560+ .align 16
561+ aesni_ccm64_encrypt_blocks:
562+ .cfi_startproc
563++.byte 243,15,30,250
564+ movl 240(%rcx),%eax
565+ movdqu (%r8),%xmm6
566+ movdqa .Lincrement64(%rip),%xmm9
567+@@ -966,6 +970,7 @@ aesni_ccm64_encrypt_blocks:
568+ .align 16
569+ aesni_ccm64_decrypt_blocks:
570+ .cfi_startproc
571++.byte 243,15,30,250
572+ movl 240(%rcx),%eax
573+ movups (%r8),%xmm6
574+ movdqu (%r9),%xmm3
575+@@ -1065,6 +1070,7 @@ aesni_ccm64_decrypt_blocks:
576+ .align 16
577+ aesni_ctr32_encrypt_blocks:
578+ .cfi_startproc
579++.byte 243,15,30,250
580+ cmpq $1,%rdx
581+ jne .Lctr32_bulk
582+
583+@@ -1643,6 +1649,7 @@ aesni_ctr32_encrypt_blocks:
584+ .align 16
585+ aesni_xts_encrypt:
586+ .cfi_startproc
587++.byte 243,15,30,250
588+ leaq (%rsp),%r11
589+ .cfi_def_cfa_register %r11
590+ pushq %rbp
591+@@ -2113,6 +2120,7 @@ aesni_xts_encrypt:
592+ .align 16
593+ aesni_xts_decrypt:
594+ .cfi_startproc
595++.byte 243,15,30,250
596+ leaq (%rsp),%r11
597+ .cfi_def_cfa_register %r11
598+ pushq %rbp
599+@@ -2620,6 +2628,7 @@ aesni_xts_decrypt:
600+ .align 32
601+ aesni_ocb_encrypt:
602+ .cfi_startproc
603++.byte 243,15,30,250
604+ leaq (%rsp),%rax
605+ pushq %rbx
606+ .cfi_adjust_cfa_offset 8
607+@@ -3047,6 +3056,7 @@ __ocb_encrypt1:
608+ .align 32
609+ aesni_ocb_decrypt:
610+ .cfi_startproc
611++.byte 243,15,30,250
612+ leaq (%rsp),%rax
613+ pushq %rbx
614+ .cfi_adjust_cfa_offset 8
615+@@ -3484,6 +3494,7 @@ __ocb_decrypt1:
616+ .align 16
617+ aesni_cbc_encrypt:
618+ .cfi_startproc
619++.byte 243,15,30,250
620+ testq %rdx,%rdx
621+ jz .Lcbc_ret
622+
623+@@ -4513,3 +4524,19 @@ __aesni_set_encrypt_key:
624+ .align 64
625+
626+ .section .note.GNU-stack,"",%progbits
627++ .section ".note.gnu.property", "a"
628++ .p2align 3
629++ .long 1f - 0f
630++ .long 4f - 1f
631++ .long 5
632++0:
633++ .asciz "GNU"
634++1:
635++ .p2align 3
636++ .long 0xc0000002
637++ .long 3f - 2f
638++2:
639++ .long 3
640++3:
641++ .p2align 3
642++4:
643+Index: gnutls28-3.7.0-5ubuntu1/lib/accelerated/x86/elf/e_padlock-x86_64.s
644+===================================================================
645+--- gnutls28-3.7.0-5ubuntu1.orig/lib/accelerated/x86/elf/e_padlock-x86_64.s
646++++ gnutls28-3.7.0-5ubuntu1/lib/accelerated/x86/elf/e_padlock-x86_64.s
647+@@ -1068,3 +1068,19 @@ padlock_ctr32_encrypt:
648+ .section .note.GNU-stack,"",%progbits
649+
650+
651++ .section ".note.gnu.property", "a"
652++ .p2align 3
653++ .long 1f - 0f
654++ .long 4f - 1f
655++ .long 5
656++0:
657++ .asciz "GNU"
658++1:
659++ .p2align 3
660++ .long 0xc0000002
661++ .long 3f - 2f
662++2:
663++ .long 3
664++3:
665++ .p2align 3
666++4:
667+Index: gnutls28-3.7.0-5ubuntu1/lib/accelerated/x86/elf/ghash-x86_64.s
668+===================================================================
669+--- gnutls28-3.7.0-5ubuntu1.orig/lib/accelerated/x86/elf/ghash-x86_64.s
670++++ gnutls28-3.7.0-5ubuntu1/lib/accelerated/x86/elf/ghash-x86_64.s
671+@@ -45,6 +45,7 @@
672+ .align 16
673+ gcm_gmult_4bit:
674+ .cfi_startproc
675++.byte 243,15,30,250
676+ pushq %rbx
677+ .cfi_adjust_cfa_offset 8
678+ .cfi_offset %rbx,-16
679+@@ -156,6 +157,7 @@ gcm_gmult_4bit:
680+ .align 16
681+ gcm_ghash_4bit:
682+ .cfi_startproc
683++.byte 243,15,30,250
684+ pushq %rbx
685+ .cfi_adjust_cfa_offset 8
686+ .cfi_offset %rbx,-16
687+@@ -903,6 +905,7 @@ gcm_init_clmul:
688+ .align 16
689+ gcm_gmult_clmul:
690+ .cfi_startproc
691++.byte 243,15,30,250
692+ .L_gmult_clmul:
693+ movdqu (%rdi),%xmm0
694+ movdqa .Lbswap_mask(%rip),%xmm5
695+@@ -956,6 +959,7 @@ gcm_gmult_clmul:
696+ .align 32
697+ gcm_ghash_clmul:
698+ .cfi_startproc
699++.byte 243,15,30,250
700+ .L_ghash_clmul:
701+ movdqa .Lbswap_mask(%rip),%xmm10
702+
703+@@ -1450,6 +1454,7 @@ gcm_init_avx:
704+ .align 32
705+ gcm_gmult_avx:
706+ .cfi_startproc
707++.byte 243,15,30,250
708+ jmp .L_gmult_clmul
709+ .cfi_endproc
710+ .size gcm_gmult_avx,.-gcm_gmult_avx
711+@@ -1458,6 +1463,7 @@ gcm_gmult_avx:
712+ .align 32
713+ gcm_ghash_avx:
714+ .cfi_startproc
715++.byte 243,15,30,250
716+ vzeroupper
717+
718+ vmovdqu (%rdi),%xmm10
719+@@ -1886,3 +1892,19 @@ gcm_ghash_avx:
720+ .align 64
721+
722+ .section .note.GNU-stack,"",%progbits
723++ .section ".note.gnu.property", "a"
724++ .p2align 3
725++ .long 1f - 0f
726++ .long 4f - 1f
727++ .long 5
728++0:
729++ .asciz "GNU"
730++1:
731++ .p2align 3
732++ .long 0xc0000002
733++ .long 3f - 2f
734++2:
735++ .long 3
736++3:
737++ .p2align 3
738++4:
739+Index: gnutls28-3.7.0-5ubuntu1/lib/accelerated/x86/elf/sha1-ssse3-x86_64.s
740+===================================================================
741+--- gnutls28-3.7.0-5ubuntu1.orig/lib/accelerated/x86/elf/sha1-ssse3-x86_64.s
742++++ gnutls28-3.7.0-5ubuntu1/lib/accelerated/x86/elf/sha1-ssse3-x86_64.s
743+@@ -5489,3 +5489,19 @@ K_XX_XX:
744+ .align 64
745+
746+ .section .note.GNU-stack,"",%progbits
747++ .section ".note.gnu.property", "a"
748++ .p2align 3
749++ .long 1f - 0f
750++ .long 4f - 1f
751++ .long 5
752++0:
753++ .asciz "GNU"
754++1:
755++ .p2align 3
756++ .long 0xc0000002
757++ .long 3f - 2f
758++2:
759++ .long 3
760++3:
761++ .p2align 3
762++4:
763+Index: gnutls28-3.7.0-5ubuntu1/lib/accelerated/x86/elf/sha256-ssse3-x86_64.s
764+===================================================================
765+--- gnutls28-3.7.0-5ubuntu1.orig/lib/accelerated/x86/elf/sha256-ssse3-x86_64.s
766++++ gnutls28-3.7.0-5ubuntu1/lib/accelerated/x86/elf/sha256-ssse3-x86_64.s
767+@@ -5495,3 +5495,19 @@ sha256_block_data_order_avx2:
768+ .size sha256_block_data_order_avx2,.-sha256_block_data_order_avx2
769+
770+ .section .note.GNU-stack,"",%progbits
771++ .section ".note.gnu.property", "a"
772++ .p2align 3
773++ .long 1f - 0f
774++ .long 4f - 1f
775++ .long 5
776++0:
777++ .asciz "GNU"
778++1:
779++ .p2align 3
780++ .long 0xc0000002
781++ .long 3f - 2f
782++2:
783++ .long 3
784++3:
785++ .p2align 3
786++4:
787+Index: gnutls28-3.7.0-5ubuntu1/lib/accelerated/x86/elf/sha512-ssse3-x86_64.s
788+===================================================================
789+--- gnutls28-3.7.0-5ubuntu1.orig/lib/accelerated/x86/elf/sha512-ssse3-x86_64.s
790++++ gnutls28-3.7.0-5ubuntu1/lib/accelerated/x86/elf/sha512-ssse3-x86_64.s
791+@@ -5500,3 +5500,19 @@ sha512_block_data_order_avx2:
792+ .size sha512_block_data_order_avx2,.-sha512_block_data_order_avx2
793+
794+ .section .note.GNU-stack,"",%progbits
795++ .section ".note.gnu.property", "a"
796++ .p2align 3
797++ .long 1f - 0f
798++ .long 4f - 1f
799++ .long 5
800++0:
801++ .asciz "GNU"
802++1:
803++ .p2align 3
804++ .long 0xc0000002
805++ .long 3f - 2f
806++2:
807++ .long 3
808++3:
809++ .p2align 3
810++4:
811diff --git a/debian/patches/series b/debian/patches/series
812index 5c8eb27..79a0f79 100644
813--- a/debian/patches/series
814+++ b/debian/patches/series
815@@ -2,3 +2,6 @@
816 40_srptest_doubletimeout.diff
817 50-0001-Fix-build-on-GNU-Hurd.patch
818 50-0002-Move-the-GNUTLS_NO_EXTENSIONS-compatibility-define-t.patch
819+
820+# Ubuntu patches
821+9259100633b77a0dc03f83047d7cf778466bf9f3.patch
822diff --git a/debian/rules b/debian/rules
823index 3863017..ce0e6b5 100755
824--- a/debian/rules
825+++ b/debian/rules
826@@ -22,6 +22,7 @@ CONFIGUREARGS = \
827 --with-packager=Debian \
828 --with-packager-bug-reports=http://bugs.debian.org/ \
829 --with-packager-version=$(DEB_VERSION) \
830+ --with-default-priority-string='NORMAL:-VERS-ALL:+VERS-TLS1.3:+VERS-TLS1.2:+VERS-DTLS1.2:%PROFILE_MEDIUM'
831
832 BDIR = -O--builddirectory=b4deb
833
834diff --git a/debian/tests/control b/debian/tests/control
835index 7cc0ef3..4579247 100644
836--- a/debian/tests/control
837+++ b/debian/tests/control
838@@ -5,7 +5,8 @@ Depends:
839 datefudge,
840 freebsd-net-tools [kfreebsd-i386 kfreebsd-amd64],
841 net-tools [!kfreebsd-i386 !kfreebsd-amd64],
842- openssl,
843+ openssl [!i386],
844+ openssl:i386 [i386],
845 softhsm2,
846 @,
847 Restrictions: rw-build-tree, allow-stderr
848diff --git a/debian/tests/run-upstream-testsuite b/debian/tests/run-upstream-testsuite
849index f8d0329..bf88154 100755
850--- a/debian/tests/run-upstream-testsuite
851+++ b/debian/tests/run-upstream-testsuite
852@@ -14,10 +14,14 @@ export FAKETIME="datefudge"
853 export FAKETIME_F_OPT="-s"
854 export ac_cv_faketime_works="yes"
855
856-if [ `dpkg-architecture -qDEB_HOST_ARCH_BITS` = 64 ] ; then
857- export ac_cv_sizeof_time_t=8
858-else
859- export ac_cv_sizeof_time_t=4
860+# Set the sizeof(time_t) to the correct value for the platform, to ensure we
861+# run the correct tests.
862+if test -z "${ac_cv_sizeof_time_t}"; then
863+ test_arch=$(dpkg --status gnutls-bin|awk '/Architecture/ {print $2}')
864+ case "$test_arch" in
865+ i386|armhf) export ac_cv_sizeof_time_t=4;;
866+ *) export ac_cv_sizeof_time_t=8;;
867+ esac
868 fi
869
870 cd "$PKGTDIR"
871@@ -32,16 +36,6 @@ export CLI=/usr/bin/gnutls-cli \
872 ENABLE_GOST=1 \
873 PKCS12_ITER_COUNT=600000
874
875-# Set the sizeof(time_t) to the correct value for the platform, to ensure we
876-# run the correct tests.
877-if test -z "${ac_cv_sizeof_time_t}"; then
878- if [ "$(date --date=@2147483648 +%Y 2>/dev/null)" = "2038" ]; then
879- export ac_cv_sizeof_time_t=8
880- else
881- export ac_cv_sizeof_time_t=4
882- fi
883-fi
884-
885 count=1
886 for i in $(find ../../tests/ -type f -name '*.sh' | \
887 grep -Ev 'tests/gnutls-cli-debug.sh|tests/system-override-hash.sh|tests/pkgconfig.sh|tests/system-override-sig.sh|tests/system-override-sig-allowlist.sh|tests/system-override-sig-tls.sh|tests/tls13/prf-early.sh|tests/dtls/dtls.sh|tests/dtls/dtls-resume.sh|tests/cert-tests/tolerate-invalid-time.sh|tests/slow/|tests/protocol-set-allowlist.sh|tests/system-override-hash-allowlist.sh|tests/system-override-curves-allowlist.sh|tests/ktls.sh|tests/ktls_keyupdate.sh' \
888@@ -57,7 +51,7 @@ for i in $(find ../../tests/ -type f -name '*.sh' | \
889 *)
890 d="";;
891 esac
892- if env srcdir=../../tests/$d sh $i ; then
893+ if env GNUTLS_SYSTEM_PRIORITY_FILE= srcdir=../../tests/$d sh $i ; then
894 echo SUCCESS [$count]$i
895 else
896 if [ $? = 77 ] ; then

Subscribers

People subscribed via source and target branches