Your message dated Sat, 29 Apr 2023 10:54:14 +0100
with message-id 
<502b8fb37ece620c9723446611a9287974ba5a0c.ca...@adam-barratt.org.uk>
and subject line Closing p-u requests for fixes included in 11.7
has caused the Debian Bug report #1028486,
regarding bullseye-pu: package jersey1/1.19.3-6
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1028486: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1028486
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
Tags: bullseye
User: [email protected]
Usertags: pu
X-Debbugs-Cc: [email protected]

Hello,

I would like to update jersey1 in Bullseye. The package currently
FTBFS because of the latest security update of libjettison-java. The
fix is trivial. Please find attached the debdiff.

Regards,

Markus
diff -Nru jersey1-1.19.3/debian/changelog jersey1-1.19.3/debian/changelog
--- jersey1-1.19.3/debian/changelog     2019-03-02 02:04:24.000000000 +0100
+++ jersey1-1.19.3/debian/changelog     2022-12-31 16:49:13.000000000 +0100
@@ -1,3 +1,10 @@
+jersey1 (1.19.3-6+deb11u1) bullseye; urgency=medium
+
+  * Team upload.
+  * Fix FTBFS with libjettison-java 1.5.3.
+
+ -- Markus Koschany <[email protected]>  Sat, 31 Dec 2022 16:49:13 +0100
+
 jersey1 (1.19.3-6) unstable; urgency=medium
 
   * Fixed the build failure with librome-java >= 1.6
diff -Nru jersey1-1.19.3/debian/control jersey1-1.19.3/debian/control
--- jersey1-1.19.3/debian/control       2019-03-02 02:04:14.000000000 +0100
+++ jersey1-1.19.3/debian/control       2022-12-31 16:49:13.000000000 +0100
@@ -19,7 +19,7 @@
  libjackson-json-java,
  libjaxb-java,
  libjdom1-java,
- libjettison-java,
+ libjettison-java (>= 1.5.3),
  libjsr311-api-java,
  libmail-java,
  libmaven-bundle-plugin-java,
diff -Nru jersey1-1.19.3/debian/patches/libjettison-java-1.5.3.patch 
jersey1-1.19.3/debian/patches/libjettison-java-1.5.3.patch
--- jersey1-1.19.3/debian/patches/libjettison-java-1.5.3.patch  1970-01-01 
01:00:00.000000000 +0100
+++ jersey1-1.19.3/debian/patches/libjettison-java-1.5.3.patch  2022-12-31 
16:49:13.000000000 +0100
@@ -0,0 +1,27 @@
+From: Markus Koschany <[email protected]>
+Date: Sat, 31 Dec 2022 11:56:31 +0100
+Subject: libjettison-java 1.5.3
+
+Fix FTBFS with libjettison-java 1.5.3.
+---
+ .../src/main/java/com/sun/jersey/json/impl/JSONTransformer.java       | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git 
a/jersey-json/src/main/java/com/sun/jersey/json/impl/JSONTransformer.java 
b/jersey-json/src/main/java/com/sun/jersey/json/impl/JSONTransformer.java
+index e7c001f..46c7361 100644
+--- a/jersey-json/src/main/java/com/sun/jersey/json/impl/JSONTransformer.java
++++ b/jersey-json/src/main/java/com/sun/jersey/json/impl/JSONTransformer.java
+@@ -85,11 +85,11 @@ final class JSONTransformer {
+         return result;
+     }
+     
+-    static String asJsonArray(Collection<? extends Object> collection) {
++    static String asJsonArray(Collection<? extends Object> collection) throws 
JSONException {
+         return (null == collection) ? "[]" : (new 
JSONArray(collection)).toString();
+     }
+     
+-    static String asJsonObject(Map map) {
++    static String asJsonObject(Map map) throws JSONException {
+         return (null == map) ? "{}" : (new JSONObject(map)).toString();
+     }
+ }
diff -Nru jersey1-1.19.3/debian/patches/series 
jersey1-1.19.3/debian/patches/series
--- jersey1-1.19.3/debian/patches/series        2019-03-02 01:54:20.000000000 
+0100
+++ jersey1-1.19.3/debian/patches/series        2022-12-31 16:49:13.000000000 
+0100
@@ -2,3 +2,4 @@
 02-disable-moxy-support.patch
 03-add-enterprise-dependencies.patch
 04-rome-compatibility.patch
+libjettison-java-1.5.3.patch

--- End Message ---
--- Begin Message ---
Package: release.debian.org
Version: 11.7

Hi,

Each of the updates referred to in these requests was included in this
morning's 11.7 point release.

Regards,

Adam

--- End Message ---

Reply via email to