Skip to contentSkip to conversation

gpsd: upgrade 3.27.5 -> 3.28

PATCH New Krzysztof Kaszubski 1 participant 1 message Nov 26

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gpsd: upgrade 3.27.5 -> 3.28

Upgrade gpsd to 3.28. Notably, this release includes upstream commit 8f7a59f7 ("include/gpsd.h: revert shmTime Sec fields back to time_t"), which restores the 96-byte struct shmTime layout on 32-bit architectures built with -D_TIME_BITS=64 and fixes SHM compatibility with chrony.

Drop following patches:
* CVE-2026-58459-1.patch
* CVE-2026-58459-2.patch
* CVE-2026-58459-3.patch
* CVE-2026-60122.patch
as they are included in 3.28.

---
 .../gpsd/gpsd/CVE-2026-58459-1.patch          | 48 ---------------
 .../gpsd/gpsd/CVE-2026-58459-2.patch          | 46 ---------------
 .../gpsd/gpsd/CVE-2026-58459-3.patch          | 58 -------------------
 .../gpsd/gpsd/CVE-2026-60122.patch            | 45 --------------
 .../gpsd/{gpsd_3.27.5.bb => gpsd_3.28.bb}     |  6 +-
 5 files changed, 1 insertion(+), 202 deletions(-)
 delete mode 100644 meta-oe/recipes-navigation/gpsd/gpsd/CVE-2026-58459-1.patch
 delete mode 100644 meta-oe/recipes-navigation/gpsd/gpsd/CVE-2026-58459-2.patch
 delete mode 100644 meta-oe/recipes-navigation/gpsd/gpsd/CVE-2026-58459-3.patch
 delete mode 100644 meta-oe/recipes-navigation/gpsd/gpsd/CVE-2026-60122.patch
 rename meta-oe/recipes-navigation/gpsd/{gpsd_3.27.5.bb => gpsd_3.28.bb} (95%)
meta-oe/recipes-navigation/gpsd/gpsd/CVE-2026-58459-1.patch deleted +0 -48
deleted file mode 100644
index aec3acdeb2..0000000000
@@ -1,48 +0,0 @@
-From 485b793ee3a54865ff9d8efffd2fe9a309666be0 Mon Sep 17 00:00:00 2001
-From: "Gary E. Miller" <[email protected]>
-Date: Wed, 1 Jul 2026 17:55:57 -0700
-Subject: [PATCH 1/1] clients/gpsprof.py.in: Quote double quotes in title.
-
-Someone could use the double quote to break out of the
-string and add gnuplot commnds.
-
-For issue 404.
-Reported by: CuB3y0nd, and Wade Sparks <[email protected]>
-
-(cherry picked from commit 5581ba196d826a984fbfaf792b7d58535f9911ce)
-
-CVE: CVE-2026-58459
-Upstream-Status: Backport [https://gitlab.com/gpsd/gpsd/-/commit/5581ba196d826a984fbfaf792b7d58535f9911ce]
-Signed-off-by: Ankur Tyagi <[email protected]>
----
- clients/gpsprof.py.in | 8 ++++++--
- 1 file changed, 6 insertions(+), 2 deletions(-)
-
-diff --git a/clients/gpsprof.py.in b/clients/gpsprof.py.in
-index 5c18f50ff..261e72665 100644
---- a/clients/gpsprof.py.in
-+++ b/clients/gpsprof.py.in
-@@ -198,6 +198,10 @@ class plotter(object):
-         if 'subtype' in self.device:
-             desc += "\\n%s" % self.device['subtype']
- 
-+        # escape ", and \n, for gnuplot, to not break strings
-+        desc = desc.replace('"', '\\042')
-+        desc = desc.replace('\n', '')
-+
-         return desc
- 
-     def collect(self, verb, log_fp=None):
-@@ -1262,10 +1266,10 @@ if __name__ == '__main__':
-         # Ship the plot to standard output
-         if not options.title:
-             options.title = plot.whatami()
--            # escape " for gnuplot
--            options.title = options.title.replace('"', '\\"')
-         if options.subtitle:
-             options.title += '\\n' + options.subtitle
-+        # escape " for gnuplot, to not break strings
-+        options.title = options.title.replace('"', '\\042')
-         term_opts = ""
-         truecolor_terms = ['png', 'sixelgd', 'wxt']
-         if options.terminal in truecolor_terms:
meta-oe/recipes-navigation/gpsd/gpsd/CVE-2026-58459-2.patch deleted +0 -46

46 lines not on this page · raw message

meta-oe/recipes-navigation/gpsd/gpsd/CVE-2026-58459-3.patch deleted +0 -58

58 lines not on this page · raw message

meta-oe/recipes-navigation/gpsd/gpsd/CVE-2026-60122.patch deleted +0 -45

45 lines not on this page · raw message

meta-oe/recipes-navigation/gpsd/gpsd_3.28.bb renamed from meta-oe/recipes-navigation/gpsd/gpsd_3.27.5.bb +1 -5
similarity index 95%
rename from meta-oe/recipes-navigation/gpsd/gpsd_3.27.5.bb
rename to meta-oe/recipes-navigation/gpsd/gpsd_3.28.bb
index 2bb70aca46..2894ceb72c 100644
@@ -8,13 +8,9 @@ BUGTRACKER = "https://gitlab.com/gpsd/gpsd/-/issues"
 HOMEPAGE = "https://gpsd.io/"
 
 SRC_URI = "${SAVANNAH_GNU_MIRROR}/${BPN}/${BP}.tar.gz \
-           file://CVE-2026-58459-1.patch \
-           file://CVE-2026-58459-2.patch \
-           file://CVE-2026-58459-3.patch \
-           file://CVE-2026-60122.patch \
            file://gpsd.init \
            "
-SRC_URI[sha256sum] = "409873f5048462ef1ac413a51ab35caa8b50b31be62b3347bee1cc2994e7c649"
+SRC_URI[sha256sum] = "72f7937f36d98fb348e9fa044ad1e72955982ec5938609b18e4ee7c9e04f83f2"
 
 inherit scons update-rc.d python3-dir python3native systemd update-alternatives pkgconfig
 
Signature · 1 line
2.43.0