SHA256
3
0
forked from pool/gdbm

Accepting request 1199838 from devel:libraries:c_c++

- 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)

OBS-URL: https://build.opensuse.org/request/show/1199838
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gdbm?expand=0&rev=46
This commit is contained in:
Ana Guerrero 2024-09-11 14:54:41 +00:00 committed by Git OBS Bridge
commit 3ec464d33a
8 changed files with 31 additions and 43 deletions

View File

@ -1,24 +0,0 @@
commit b5b8acfd30a8628061049757bb756e5714eedbcd
Author: Sergey Poznyakoff <gray@gnu.org>
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;
}

BIN
gdbm-1.23.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@ -1,7 +0,0 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iEYEABECAAYFAmH9NHYACgkQNgKwf1XQxzKLDwCfUJwbEpo7uh8seCQbsfY54eK9
Vl0AnjJQZ4KYQibd32ymasHo5phtCZem
=qsEz
-----END PGP SIGNATURE-----

3
gdbm-1.24.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:695e9827fdf763513f133910bc7e6cfdb9187943a4fec943e57449723d2b8dbf
size 1195931

BIN
gdbm-1.24.tar.gz.sig Normal file

Binary file not shown.

View File

@ -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.24.orig/src/version.c
+++ gdbm-1.23/src/version.c +++ gdbm-1.24/src/version.c
@@ -24,9 +24,6 @@ @@ -24,9 +24,6 @@
making the distdir. */ making the distdir. */
const char * gdbm_version = "GDBM version " PACKAGE_VERSION ". " const char * gdbm_version = "GDBM version " PACKAGE_VERSION ". "
"04/02/2022" "02/07/2024"
-#if defined(__STDC__) && defined(__DATE__) && defined(__TIME__) -#if defined(__STDC__) && defined(__DATE__) && defined(__TIME__)
- " (built " __DATE__ " " __TIME__ ")" - " (built " __DATE__ " " __TIME__ ")"
-#endif -#endif

View File

@ -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 <kukuk@suse.com> Wed Dec 6 16:00:27 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package gdbm # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -19,7 +19,7 @@
%define lname libgdbm6 %define lname libgdbm6
%define lcompat libgdbm_compat4 %define lcompat libgdbm_compat4
Name: gdbm Name: gdbm
Version: 1.23 Version: 1.24
Release: 0 Release: 0
Summary: GNU dbm key/data database Summary: GNU dbm key/data database
License: GPL-3.0-or-later License: GPL-3.0-or-later
@ -31,9 +31,6 @@ Source2: baselibs.conf
Source4: %{name}.keyring Source4: %{name}.keyring
# PATCH-FIX-SUSE: remove the build date from src/version.c # PATCH-FIX-SUSE: remove the build date from src/version.c
Patch4: gdbm-no-build-date.patch 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: libtool
BuildRequires: makeinfo BuildRequires: makeinfo
BuildRequires: readline-devel BuildRequires: readline-devel