Merge ~mirespace/ubuntu/+source/openssh:ubuntu/devel into ubuntu/+source/openssh:ubuntu/devel

Proposed by Miriam España Acebal
Status: Merged
Approved by: git-ubuntu bot
Approved revision: not available
Merged at revision: 3bedbaffe21f2d31761007fbe76bbdc6e650f092
Proposed branch: ~mirespace/ubuntu/+source/openssh:ubuntu/devel
Merge into: ubuntu/+source/openssh:ubuntu/devel
Diff against target: 55 lines (+33/-0)
3 files modified
debian/changelog (+7/-0)
debian/patches/fix-ftbfs-with-zlib13.patch (+25/-0)
debian/patches/series (+1/-0)
Reviewer Review Type Date Requested Status
Andreas Hasenack Approve
git-ubuntu bot Approve
Canonical Server Reporter Pending
Review via email: mp+458841@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Miriam España Acebal (mirespace) wrote :

Hi team,

ppa for this is:
https://launchpad.net/~mirespace/+archive/ubuntu/openssh-lp2049552-ftbfs-with-zlib/
ppa:mirespace/openssh-lp2049552-ftbfs-with-zlib

This imported upstream change makes the Openssh build happen.

I ran the test for that PPA here: https://autopkgtest.ubuntu.com/results/autopkgtest-noble-mirespace-openssh-lp2049552-ftbfs-with-zlib/?format=plain , but they are not yet finished.

Please, review and sponsor if LGTY... Thanks in advance,

Miriam

Revision history for this message
Andreas Hasenack (ahasenack) :
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Looks good, +1

In the future, and this is just a suggestion, please use a more meaningful branch name, not just "ubuntu/devel", as that is the default branch we get when we checkout a package from git-ubuntu :)

I'll check back later to see the dep8 results, I saw an s390x failure, but let's see what happens in the other arches.

review: Approve
Revision history for this message
git-ubuntu bot (git-ubuntu-bot) wrote :

Approvers: ahasenack, mirespace
Uploaders: ahasenack
MP auto-approved

review: Approve
Revision history for this message
Miriam España Acebal (mirespace) wrote :

> Looks good, +1
>
> In the future, and this is just a suggestion, please use a more meaningful
> branch name, not just "ubuntu/devel", as that is the default branch we get
> when we checkout a package from git-ubuntu :)
>
> I'll check back later to see the dep8 results, I saw an s390x failure, but
> let's see what happens in the other arches.

Thanks Andreas... I take note! It's the first time I use that branch (lazzy branch switching), and now I understand why I (us in general) didn't use it before: not because of the content but for the traceability.

I'll take a look tomorrow of the dep8 results too.

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

I'm told DEP8 is passing with noble release, that's sufficient. I'll upload.

review: Approve
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Uploading openssh_9.4p1-1ubuntu2.dsc
Uploading openssh_9.4p1-1ubuntu2.debian.tar.xz
Uploading openssh_9.4p1-1ubuntu2_source.buildinfo
Uploading openssh_9.4p1-1ubuntu2_source.changes

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 864c77d..41fa754 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,10 @@
6+openssh (1:9.4p1-1ubuntu2) noble; urgency=medium
7+
8+ * d/p/fix-ftbfs-with-zlib13.patch: fix ftbfs when using
9+ zlib 1.3 (LP: #2049552).
10+
11+ -- Miriam España Acebal <miriam.espana@canonical.com> Wed, 17 Jan 2024 20:00:55 +0100
12+
13 openssh (1:9.4p1-1ubuntu1) noble; urgency=medium
14
15 * Merge with Debian unstable. Remaining changes:
16diff --git a/debian/patches/fix-ftbfs-with-zlib13.patch b/debian/patches/fix-ftbfs-with-zlib13.patch
17new file mode 100644
18index 0000000..2ba6f05
19--- /dev/null
20+++ b/debian/patches/fix-ftbfs-with-zlib13.patch
21@@ -0,0 +1,25 @@
22+From cb4ed12ffc332d1f72d054ed92655b5f1c38f621 Mon Sep 17 00:00:00 2001
23+From: Darren Tucker <dtucker@dtucker.net>
24+Date: Sat, 19 Aug 2023 07:39:08 +1000
25+Subject: [PATCH] Fix zlib version check for 1.3 and future version.
26+
27+bz#3604.
28+---
29+ configure.ac | 2 +-
30+ 1 file changed, 1 insertion(+), 1 deletion(-)
31+
32+Origin: upstream, https://github.com/openssh/openssh-portable/commit/cb4ed12ffc332d1f72d054ed92655b5f1c38f621
33+Bug: https://bugzilla.mindrot.org/show_bug.cgi?id=3604
34+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/2049552
35+Last-Update: 2024-01-17
36+--- a/configure.ac
37++++ b/configure.ac
38+@@ -1488,7 +1488,7 @@
39+ [[
40+ int a=0, b=0, c=0, d=0, n, v;
41+ n = sscanf(ZLIB_VERSION, "%d.%d.%d.%d", &a, &b, &c, &d);
42+- if (n != 3 && n != 4)
43++ if (n < 1)
44+ exit(1);
45+ v = a*1000000 + b*10000 + c*100 + d;
46+ fprintf(stderr, "found zlib version %s (%d)\n", ZLIB_VERSION, v);
47diff --git a/debian/patches/series b/debian/patches/series
48index 650a6c5..4c36c2d 100644
49--- a/debian/patches/series
50+++ b/debian/patches/series
51@@ -27,3 +27,4 @@ conch-ssh-rsa.patch
52 systemd-socket-activation.patch
53 socket-activation-documentation.patch
54 test-set-UsePAM-no-on-some-tests.patch
55+fix-ftbfs-with-zlib13.patch

Subscribers

People subscribed via source and target branches