diff --git a/bsc1209583.patch b/bsc1209583.patch deleted file mode 100644 index 0bf694b..0000000 --- a/bsc1209583.patch +++ /dev/null @@ -1,24 +0,0 @@ -commit b5b8acfd30a8628061049757bb756e5714eedbcd -Author: Sergey Poznyakoff -Date: Wed Feb 23 23:10:27 2022 +0200 - - Bugfix - - * tools/parseopt.c (parseopt_next): Don't call parseopt_free. This - triggered coredumps if, e.g. parseopt_print_help() got called after - parsing the arguments. The bug was introduced by 203601fb06 in an - attempt to pacify valgrind an similar tools. - -diff --git a/tools/parseopt.c b/tools/parseopt.c -index 2d646ff..19a6576 100644 ---- a/tools/parseopt.c -+++ b/tools/parseopt.c -@@ -709,8 +709,5 @@ parseopt_next (void) - } - while (handle_option (rc)); - -- if (rc == EOF || rc == '?') -- parseopt_free (); -- - return rc; - } diff --git a/gdbm-1.23.tar.gz b/gdbm-1.23.tar.gz deleted file mode 100644 index 291f02c..0000000 --- a/gdbm-1.23.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:74b1081d21fff13ae4bd7c16e5d6e504a4c26f7cde1dca0d963a484174bbcacd -size 1115854 diff --git a/gdbm-1.23.tar.gz.sig b/gdbm-1.23.tar.gz.sig deleted file mode 100644 index a634ff9..0000000 --- a/gdbm-1.23.tar.gz.sig +++ /dev/null @@ -1,7 +0,0 @@ ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1 - -iEYEABECAAYFAmH9NHYACgkQNgKwf1XQxzKLDwCfUJwbEpo7uh8seCQbsfY54eK9 -Vl0AnjJQZ4KYQibd32ymasHo5phtCZem -=qsEz ------END PGP SIGNATURE----- diff --git a/gdbm-1.24.tar.gz b/gdbm-1.24.tar.gz new file mode 100644 index 0000000..4ab28ff --- /dev/null +++ b/gdbm-1.24.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:695e9827fdf763513f133910bc7e6cfdb9187943a4fec943e57449723d2b8dbf +size 1195931 diff --git a/gdbm-1.24.tar.gz.sig b/gdbm-1.24.tar.gz.sig new file mode 100644 index 0000000..f255825 Binary files /dev/null and b/gdbm-1.24.tar.gz.sig differ diff --git a/gdbm-no-build-date.patch b/gdbm-no-build-date.patch index 057701f..35603eb 100644 --- a/gdbm-no-build-date.patch +++ b/gdbm-no-build-date.patch @@ -1,11 +1,11 @@ -Index: gdbm-1.23/src/version.c +Index: gdbm-1.24/src/version.c =================================================================== ---- gdbm-1.23.orig/src/version.c -+++ gdbm-1.23/src/version.c +--- gdbm-1.24.orig/src/version.c ++++ gdbm-1.24/src/version.c @@ -24,9 +24,6 @@ making the distdir. */ const char * gdbm_version = "GDBM version " PACKAGE_VERSION ". " - "04/02/2022" + "02/07/2024" -#if defined(__STDC__) && defined(__DATE__) && defined(__TIME__) - " (built " __DATE__ " " __TIME__ ")" -#endif diff --git a/gdbm.changes b/gdbm.changes index a2c937f..f62e224 100644 --- a/gdbm.changes +++ b/gdbm.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Tue Sep 10 08:16:24 UTC 2024 - pgajdos@suse.com + +- version update to 1.24 + * New gdbm_load option: --update + * Fix semantics of gdbm_load -r + * Use getline in gdbmtool shell. + * New function: gdbm_load_from_file_ext + * Bugfixes + ** Fix binary dump format for key and/or data of zero size. + (see https://puszcza.gnu.org.ua/bugs/?565) + ** Fix location tracking and recover command in gdbtool. + (see https://puszcza.gnu.org.ua/bugs/?566) + ** Fix possible buffer underflow in gdbmload. + ** Ensure any padding bytes in avail_elem structure are filled with 0. + (fixes https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1031276) + ** Improve the documentation. +- modified patches + % gdbm-no-build-date.patch (refreshed) +- deleted patches + - bsc1209583.patch (upstreamed) + ------------------------------------------------------------------- Wed Dec 6 16:00:27 UTC 2023 - Thorsten Kukuk diff --git a/gdbm.spec b/gdbm.spec index e7fe514..709a70f 100644 --- a/gdbm.spec +++ b/gdbm.spec @@ -1,7 +1,7 @@ # # spec file for package gdbm # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %define lname libgdbm6 %define lcompat libgdbm_compat4 Name: gdbm -Version: 1.23 +Version: 1.24 Release: 0 Summary: GNU dbm key/data database License: GPL-3.0-or-later @@ -31,9 +31,6 @@ Source2: baselibs.conf Source4: %{name}.keyring # PATCH-FIX-SUSE: remove the build date from src/version.c Patch4: gdbm-no-build-date.patch -# PATCH-FIX-UPSTREAM danilo.spinella@suse.com bsc#1209583 -# gdbm_load and gdbm_dump receive a SEGFAULT if run without arguments -Patch5: bsc1209583.patch BuildRequires: libtool BuildRequires: makeinfo BuildRequires: readline-devel