diff -pruN 1.10.8+repack1-1/debian/changelog 1.10.8+repack1-1ubuntu1/debian/changelog
--- 1.10.8+repack1-1/debian/changelog	2022-12-18 17:20:33.000000000 +0000
+++ 1.10.8+repack1-1ubuntu1/debian/changelog	2023-01-25 02:02:20.000000000 +0000
@@ -1,3 +1,11 @@
+hdf5 (1.10.8+repack1-1ubuntu1) lunar; urgency=low
+
+  * Merge from Debian unstable. Remaining changes:
+    - Avoid out of bounds write when signed_headers_dest is empty,
+      fixes FTBFS on s390x
+
+ -- Steve Langasek <steve.langasek@ubuntu.com>  Tue, 24 Jan 2023 18:02:20 -0800
+
 hdf5 (1.10.8+repack1-1) unstable; urgency=medium
 
   * Build against default JDK for all arches (closes: #1025232)
@@ -30,6 +38,14 @@ hdf5 (1.10.8+repack-2) unstable; urgency
 
  -- Gilles Filippini <pini@debian.org>  Wed, 16 Nov 2022 00:15:35 +0100
 
+hdf5 (1.10.8+repack-1ubuntu1) kinetic; urgency=low
+
+  * Merge from Debian unstable. Remaining changes:
+    - Avoid out of bounds write when signed_headers_dest is empty,
+      fixes FTBFS on s390x
+
+ -- Steve Langasek <steve.langasek@ubuntu.com>  Tue, 23 Aug 2022 10:56:03 -0700
+
 hdf5 (1.10.8+repack-1) unstable; urgency=medium
 
   * New release upstream
@@ -39,6 +55,19 @@ hdf5 (1.10.8+repack-1) unstable; urgency
 
  -- Gilles Filippini <pini@debian.org>  Mon, 22 Aug 2022 13:07:50 +0200
 
+hdf5 (1.10.7+repack-4ubuntu2) jammy; urgency=medium
+
+  * No-change rebuild against libssl3
+
+ -- Steve Langasek <steve.langasek@ubuntu.com>  Wed, 08 Dec 2021 23:33:27 +0000
+
+hdf5 (1.10.7+repack-4ubuntu1) jammy; urgency=medium
+
+  * Avoid out of bounds write when signed_headers_dest is empty,
+    fixes FTBFS on s390x
+
+ -- Michael Hudson-Doyle <michael.hudson@ubuntu.com>  Mon, 08 Nov 2021 15:21:45 +1300
+
 hdf5 (1.10.7+repack-4) unstable; urgency=medium
 
   * libhdf5*-dev: Depends: libssl-dev
@@ -1868,3 +1897,4 @@ hdf5 (1.4.1-1) unstable; urgency=low
   * (Closes: #81874) 
 
  -- Brian Russo <wolfie@debian.org>  Wed, 13 Jun 2001 14:31:17 +1100
+
diff -pruN 1.10.8+repack1-1/debian/control 1.10.8+repack1-1ubuntu1/debian/control
--- 1.10.8+repack1-1/debian/control	2022-12-18 17:20:33.000000000 +0000
+++ 1.10.8+repack1-1ubuntu1/debian/control	2022-12-20 05:21:59.000000000 +0000
@@ -1,5 +1,6 @@
 Source: hdf5
-Maintainer: Gilles Filippini <pini@debian.org>
+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
+XSBC-Original-Maintainer: Gilles Filippini <pini@debian.org>
 Section: science
 Priority: optional
 Build-Depends: debhelper (>= 10~),
diff -pruN 1.10.8+repack1-1/debian/control.in 1.10.8+repack1-1ubuntu1/debian/control.in
--- 1.10.8+repack1-1/debian/control.in	2022-12-18 17:20:33.000000000 +0000
+++ 1.10.8+repack1-1ubuntu1/debian/control.in	2022-12-20 05:21:59.000000000 +0000
@@ -1,5 +1,6 @@
 Source: hdf5
-Maintainer: Gilles Filippini <pini@debian.org>
+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
+XSBC-Original-Maintainer: Gilles Filippini <pini@debian.org>
 Section: science
 Priority: optional
 Build-Depends: debhelper (>= 10~),
diff -pruN 1.10.8+repack1-1/debian/patches/fix-signed_headers_dest.patch 1.10.8+repack1-1ubuntu1/debian/patches/fix-signed_headers_dest.patch
--- 1.10.8+repack1-1/debian/patches/fix-signed_headers_dest.patch	1970-01-01 00:00:00.000000000 +0000
+++ 1.10.8+repack1-1ubuntu1/debian/patches/fix-signed_headers_dest.patch	2021-11-08 02:21:41.000000000 +0000
@@ -0,0 +1,15 @@
+--- a/src/H5FDs3comms.c
++++ b/src/H5FDs3comms.c
+@@ -1717,8 +1717,10 @@
+         node = node->next;
+     } /* end while node is not NULL */
+ 
+-    /* remove trailing ';' from signed headers sequence */
+-    signed_headers_dest[HDstrlen(signed_headers_dest) - 1] = '\0';
++    if (*signed_headers_dest != '\0') {
++        /* remove trailing ';' from signed headers sequence */
++        signed_headers_dest[HDstrlen(signed_headers_dest) - 1] = '\0';
++    }
+ 
+     /* append signed headers and payload hash
+      * NOTE: at present, no HTTP body is handled, per the nature of
diff -pruN 1.10.8+repack1-1/debian/patches/series 1.10.8+repack1-1ubuntu1/debian/patches/series
--- 1.10.8+repack1-1/debian/patches/series	2022-12-18 17:20:33.000000000 +0000
+++ 1.10.8+repack1-1ubuntu1/debian/patches/series	2023-01-25 02:02:20.000000000 +0000
@@ -4,6 +4,7 @@ ullong_force.diff
 relax-version-check.patch
 fix-unaligned-accesses.patch
 reproducibility.patch
+fix-signed_headers_dest.patch
 no-rpath.patch
 java-test-TestH5Arw_array-overflow.patch
 java_use-system-jars.patch
