--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: bookworm-pu: package libmateweather/1.26.0-1.1+deb12u2
- From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
- Date: Sat, 06 Jan 2024 08:33:19 +0100
- Message-id: <170452639956.105392.2404395192640745241.reportbug@sunobo.fritz.box>
Package: release.debian.org
Severity: normal
Tags: bookworm
User: release.debian.org@packages.debian.org
Usertags: pu
X-Debbugs-Cc: libmateweather@packages.debian.org
Control: affects -1 + src:libmateweather
A minor fix has been released as libmateweather 1.26.3 which shall be
cherry-picked into the libmateweather version in Debian bookworm.
[ Reason ]
It turned out that the updated URL used for accessing the
aviationweather.gov service was permanent redirect. This shall be
amended with the next point release.
[ Impact ]
Minimal, mostly an issue for the service provider of aviationweather.gov
(as all Debian stable versions of libmateweather will access their
permanent redirect rather than the real target URL).
[ Tests ]
Manually.
[ Risks ]
Very low.
[ Checklist ]
[x] *all* changes are documented in the d/changelog
[x] I reviewed all changes and I approve them
[x] attach debdiff against the package in (old)stable
[x] the issue is verified as fixed in unstable
[ Changes ]
+ * debian/patches:
+ + Add follow-up patch 0004b_The-url-with-www.-is-a-permanent-redirect-308-
+ to-the.patch. The url with 'www.aviationweather.gov' is a permanent
+ redirect (308) to the url without 'www.'. (Cherry-picked from v1.26.3).
[ Other info ]
This is a direct follow-up for libmateweather 1.26.0-1.1+deb12u1.
diff -Nru libmateweather-1.26.0/debian/changelog libmateweather-1.26.0/debian/changelog
--- libmateweather-1.26.0/debian/changelog 2023-10-31 08:25:09.000000000 +0100
+++ libmateweather-1.26.0/debian/changelog 2024-01-06 08:27:01.000000000 +0100
@@ -1,3 +1,12 @@
+libmateweather (1.26.0-1.1+deb12u2) bookworm; urgency=medium
+
+ * debian/patches:
+ + Add follow-up patch 0004b_The-url-with-www.-is-a-permanent-redirect-308-
+ to-the.patch. The url with 'www.aviationweather.gov' is a permanent
+ redirect (308) to the url without 'www.'. (Cherry-picked from v1.26.3).
+
+ -- Mike Gabriel <sunweaver@debian.org> Sat, 06 Jan 2024 08:27:01 +0100
+
libmateweather (1.26.0-1.1+deb12u1) bookworm; urgency=medium
* debian/patches: Cherry-pick (and re-arrange) upstream fixes.
diff -Nru libmateweather-1.26.0/debian/patches/0004b_The-url-with-www.-is-a-permanent-redirect-308-to-the.patch libmateweather-1.26.0/debian/patches/0004b_The-url-with-www.-is-a-permanent-redirect-308-to-the.patch
--- libmateweather-1.26.0/debian/patches/0004b_The-url-with-www.-is-a-permanent-redirect-308-to-the.patch 1970-01-01 01:00:00.000000000 +0100
+++ libmateweather-1.26.0/debian/patches/0004b_The-url-with-www.-is-a-permanent-redirect-308-to-the.patch 2024-01-06 08:23:50.000000000 +0100
@@ -0,0 +1,27 @@
+From 5b068a6e73e96db512ca8c60a11d31c068a5375f Mon Sep 17 00:00:00 2001
+From: Olivier Gagnon <ogagnon@ludia.com>
+Date: Sun, 19 Nov 2023 13:47:25 -0500
+Subject: [PATCH] The url with 'www.' is a permanent redirect (308) to the url
+ without it
+
+Signed-off-by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
+---
+ libmateweather/weather-metar.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/libmateweather/weather-metar.c b/libmateweather/weather-metar.c
+index 0ae2cbb..7bc24fc 100644
+--- a/libmateweather/weather-metar.c
++++ b/libmateweather/weather-metar.c
+@@ -550,7 +550,7 @@ metar_start_open (WeatherInfo *info)
+ }
+
+ msg = soup_form_request_new (
+- "GET", "https://www.aviationweather.gov/cgi-bin/data/dataserver.php",
++ "GET", "https://aviationweather.gov/cgi-bin/data/dataserver.php",
+ "dataSource", "metars",
+ "requestType", "retrieve",
+ "format", "xml",
+--
+2.39.2
+
diff -Nru libmateweather-1.26.0/debian/patches/series libmateweather-1.26.0/debian/patches/series
--- libmateweather-1.26.0/debian/patches/series 2023-10-31 08:17:48.000000000 +0100
+++ libmateweather-1.26.0/debian/patches/series 2024-01-06 08:25:04.000000000 +0100
@@ -2,5 +2,6 @@
0002_add-San-Miguel-de-Tucuman-Argentina.patch
0003_Chicago-area-updates.patch
0004_data-server-url-changed.patch
+0004b_The-url-with-www.-is-a-permanent-redirect-308-to-the.patch
0005_fix-some-location-names.patch
0006_tbilisi-IATA-airport-code-changed.patch
--- End Message ---