diff options
| author | Koen Kooi <koen@dominion.thruhere.net> | 2025-10-29 10:52:05 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-10-29 21:02:20 -0700 |
| commit | 8e1c6cfe78c3b3efbd28bcdfc97e14f9aa49bdbf (patch) | |
| tree | 7ec3a713bf8c1364928ba40f91cfe5984a7a9b2e | |
| parent | 72a647e67837a1440e694ec4a674e5d7aabfeffb (diff) | |
| download | meta-openembedded-8e1c6cfe78c3b3efbd28bcdfc97e14f9aa49bdbf.tar.gz | |
gpsd: update to 3.26.1
The `gpsmon` tool is really deprecated now, after years of its use being
discouraged. The `cgps` tool can be used as a replacement, with the
added benefit that it's more power-efficient because it doesn't reparse
with a slightly different parses like `gpsmon` did.
Drop patch that was applied upstream in https://gitlab.com/gpsd/gpsd/-/merge_requests/406
Upstream changelog:
3.26.1: 17 May 2025
Increment libgps version
Update Debian Trixie in build.adoc
Fix buffer overrun in cgps.
Make gpsmon deprecation slightly more obvious.
Fix some *BSD compiler warnings
Fix numerous typos.
3.26: 11 May 2025
Handle NTRIPv2 that comes in "chunks".
Add many UBX decodes. Mostly in ubxtool, some in gpsd.
Improve TSIP and UBX initialization.
Gather Antenna Status (ant_stat) and Jamming (jam) and send to JSON.
Always build u-blox, RTCM104V2, RTCM104V3 drivers.
Add partial support for badly documented ALLYSTAR GNSS messages.
Add minimal support for Unicore GNSS messages.
Add minimal support for CASIC GNSS messages.
Add minimal support for buggy Inertial Sense GNSS messages.
Try to work better as non-root using non-standard "capabilities".
Add SUBSYSTEM=gnss rule to gpsd.rules
Moved ntploggps from NTPSec to GPSD and renamed to gpslogntp.
Fix many build, Coverity, and Codacy warnings.
Improved Python interface for the lexer.
Add support for new BeiDou PRNs and subframes.
Officially deprecate gpsmon.
Improve support for NMEA 4.11 (a stealthy moving target).
Remove Oceanserver IMU support. Never worked well.
Always with build ubx, NMEA 103, rtcm104v2 and rtcm104v3 support.
Add support for jamming detection.
Add Go client example.
Add support for RTCM3.2
Note: The new "chunk" code led to a short lived bug that led to
CVE-2023-43628, a buffer overrun. That bug never appeared in
any gpsd release.
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-navigation/gpsd/gpsd/fix-pps_strerror_r.patch | 51 | ||||
| -rw-r--r-- | meta-oe/recipes-navigation/gpsd/gpsd_3.26.1.bb (renamed from meta-oe/recipes-navigation/gpsd/gpsd_3.25.bb) | 3 |
2 files changed, 1 insertions, 53 deletions
diff --git a/meta-oe/recipes-navigation/gpsd/gpsd/fix-pps_strerror_r.patch b/meta-oe/recipes-navigation/gpsd/gpsd/fix-pps_strerror_r.patch deleted file mode 100644 index 8942b39524..0000000000 --- a/meta-oe/recipes-navigation/gpsd/gpsd/fix-pps_strerror_r.patch +++ /dev/null | |||
| @@ -1,51 +0,0 @@ | |||
| 1 | From c72a489e2eb13296c7b514b7341033114abf430a Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Miroslav Lichvar <mlichvar@redhat.com> | ||
| 3 | Date: Mon, 22 Apr 2024 11:31:24 +0200 | ||
| 4 | Subject: [PATCH 1/2] SConscript: provide variable names to MergeFlags | ||
| 5 | |||
| 6 | If the scons MergeFlags() function is provided with a list of | ||
| 7 | compiler/linker options, it needs to guess what options belong where. If | ||
| 8 | it doesn't recognize an option, it is silently ignored. There are also | ||
| 9 | ambiguous options that could be both in CFLAGS and LINKFLAGS (e.g. -spec). | ||
| 10 | |||
| 11 | Provide MergeFlags() with a dict instead of list to avoid the guesswork | ||
| 12 | in order to pass all options, even if some are not recognized by scons. | ||
| 13 | Switch LDFLAGS to LINKFLAGS for better compatibility with existing | ||
| 14 | scripts. | ||
| 15 | |||
| 16 | Upstream-Status: Submitted [https://gitlab.com/gpsd/gpsd/-/merge_requests/406] | ||
| 17 | Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | ||
| 18 | |||
| 19 | --- | ||
| 20 | SConscript | 11 ++++++----- | ||
| 21 | 1 file changed, 6 insertions(+), 5 deletions(-) | ||
| 22 | |||
| 23 | diff --git a/SConscript b/SConscript | ||
| 24 | index dab481654..ee90d87c4 100644 | ||
| 25 | --- a/SConscript | ||
| 26 | +++ b/SConscript | ||
| 27 | @@ -585,8 +585,8 @@ env['SC_PYTHON'] = sys.executable # Path to SCons Python | ||
| 28 | # explicitly quote them or (better yet) use the "=" form of GNU option | ||
| 29 | # settings. | ||
| 30 | # | ||
| 31 | -# Scons also uses different internal names than most other build-systems. | ||
| 32 | -# So we rely on MergeFlags/ParseFlags to do the right thing for us. | ||
| 33 | +# Scons also uses different internal names than most other build-systems, | ||
| 34 | +# e.g. it uses LINKFLAGS instead of LDFLAGS. | ||
| 35 | # | ||
| 36 | # scons uses gcc, or clang, to link. Thus LDFLAGS does not serve its | ||
| 37 | # traditional function of providing arguments to ln. LDFLAGS set in the | ||
| 38 | @@ -618,7 +618,10 @@ for i in ["ARFLAGS", | ||
| 39 | "SHLINKFLAGS", | ||
| 40 | ]: | ||
| 41 | if i in os.environ: | ||
| 42 | - env.MergeFlags(Split(os.getenv(i))) | ||
| 43 | + t = i | ||
| 44 | + if t == "LDFLAGS": | ||
| 45 | + t = "LINKFLAGS" | ||
| 46 | + env.MergeFlags({t: Split(os.getenv(i))}) | ||
| 47 | |||
| 48 | |||
| 49 | # Keep scan-build options in the environment | ||
| 50 | -- | ||
| 51 | GitLab | ||
diff --git a/meta-oe/recipes-navigation/gpsd/gpsd_3.25.bb b/meta-oe/recipes-navigation/gpsd/gpsd_3.26.1.bb index 0d5232c88c..e4a571daa6 100644 --- a/meta-oe/recipes-navigation/gpsd/gpsd_3.25.bb +++ b/meta-oe/recipes-navigation/gpsd/gpsd_3.26.1.bb | |||
| @@ -9,9 +9,8 @@ HOMEPAGE = "https://gpsd.io/" | |||
| 9 | 9 | ||
| 10 | SRC_URI = "${SAVANNAH_GNU_MIRROR}/${BPN}/${BP}.tar.gz \ | 10 | SRC_URI = "${SAVANNAH_GNU_MIRROR}/${BPN}/${BP}.tar.gz \ |
| 11 | file://gpsd.init \ | 11 | file://gpsd.init \ |
| 12 | file://fix-pps_strerror_r.patch \ | ||
| 13 | " | 12 | " |
| 14 | SRC_URI[sha256sum] = "b368b6a305e3f7a6382d23a0cbfc1d78923060b6b7f54cf7987a73c7b4a9afc2" | 13 | SRC_URI[sha256sum] = "dc7e465968c1540e61bc57c7586d6a57a0047212a014efdad348f907bc2e0990" |
| 15 | 14 | ||
| 16 | inherit scons update-rc.d python3-dir python3native systemd update-alternatives pkgconfig | 15 | inherit scons update-rc.d python3-dir python3native systemd update-alternatives pkgconfig |
| 17 | 16 | ||
