tdb/tdb.changes

511 lines
18 KiB
Plaintext
Raw Permalink Normal View History

-------------------------------------------------------------------
Tue Sep 10 09:22:42 UTC 2024 - Noel Power <nopower@suse.com>
- Update to 1.4.12
* Regression fix for ABI problem
TDB_1_4_11 vs. TDB_1.4.11
- Update to 1.4.11
* Add tdbdump -x option to output all data as hex values
* Add missing overflow check for num_values in pytdb.c
* Remove Py2 related tests
* Update times in tdb_transaction_commit per fd, not per name
* Fix compilation with TDB_TRACE=1
* Allow tracing of internal tdb
-------------------------------------------------------------------
Thu May 16 11:29:15 UTC 2024 - Samuel Cabrero <scabrero@suse.de>
- Update to 1.4.10
* build with Python 3.12 (bso#15513)
* documentation fixes
* minor build fixes
-------------------------------------------------------------------
Tue Sep 26 09:40:31 UTC 2023 - Noel Power <nopower@suse.com>
- Update to 1.4.9
* Remove remaining, but broken python2 support
* Spelling fixes
* python: Safely clear structure members
-------------------------------------------------------------------
Fri Mar 17 07:52:46 UTC 2023 - Samuel Cabrero <scabrero@suse.de>
- Update to 1.4.8:
* Support python 3.12
-------------------------------------------------------------------
Sat Sep 17 07:44:38 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 1.4.7:
* configure/Makefile: export PYTHONHASHSEED=1 in all 'configure/Makefile' scripts
* lib:tdb: Reformat shell scripts
- spec file cleanups
-------------------------------------------------------------------
Wed Mar 16 11:01:29 UTC 2022 - Johannes Engel <jcnengel@gmail.com>
- Update to 1.4.6
+ Drop obsolete patch 0001-tdb-Fix-invalid-syntax-in-tdb.h.patch
+ Fix Python docstrings
+ Use atomic operations for tdb_[increment|get]_seqnum
+ Raw performance torture to beat tdb_increment_seqnum
-------------------------------------------------------------------
Fri Sep 17 08:46:03 UTC 2021 - Samuel Cabrero <scabrero@suse.de>
- Update to version 1.4.4
+ Fix a memory leak on error
+ python: remove all 'from __future__ import print_function'
+ Fix CID 1471761 String not null terminated
+ Use hex_byte() in parse_hex()
+ Use hex_byte() in read_data()
+ fix studio compiler build
+ Fix some signed/unsigned comparisons
+ also use __has_attribute macro to check for attribute support
+ Fix clang 9 missing-field-initializer warnings
+ pytdb tests: add test for storev()
+ pytdb: add python binding for storev()
+ tdbtorture: Use ARRAY_DEL_ELEMENT()
+ py3: Remove #define PyInt_FromLong PyLong_FromLong
+ py3: Remove #define PyInt_AsLong PyLong_AsLong
+ py3: Remove #define PyInt_Check PyLong_Check
+ tdb: Align integer types
- Drop obsolete patch ignore-tdb1-run-transaction-expand.diff
- Fix header file using undefined function visibility macro;
Add patch 0001-tdb-Fix-invalid-syntax-in-tdb.h.patch; (bso#14762);
-------------------------------------------------------------------
Fri Mar 6 17:02:55 UTC 2020 - Noel Power <nopower@suse.com>
- Update to version 1.4.3
+ Upgrade waf to version 2.0.18 to fix a cross-compilation issue;
(bso#13846).
+ lib/tdb/docs/tracing.txt: typo fixes
-------------------------------------------------------------------
Thu Oct 03 21:55:29 UTC 2019 - James McDonough <jmcdonough@suse.com>
- Update to version 1.4.2
+ Build fixes
+ Improve the performance by inlining the tdb_oob() checks
+ Do not propogate any errors from tdb_repack() to
tdb_transaction_commit(); (bso#13952)
+ Remove Python 2.x support except to build just the bare C library
+ Remove --extra-python (a build time mode to produce Python2 and Python3
bindings at the same time)
+ New minor version to allow Samba 4.10 to release a tdb if
required from that branch
-------------------------------------------------------------------
Tue Mar 5 17:02:59 UTC 2019 - dmulder@suse.com
- Update to 1.3.18
+ Fix build problems with older python versions.
+ C99 build fixes.
+ Fix standalone build of tdb.
-------------------------------------------------------------------
Wed Jan 23 20:36:09 UTC 2019 - dmulder@suse.com
- Update to 1.3.17
-------------------------------------------------------------------
Tue Sep 25 07:36:48 UTC 2018 - Samuel Cabrero <scabrero@suse.de>
- Update license to LGPL-3.0
-------------------------------------------------------------------
Wed Aug 8 15:01:52 UTC 2018 - dmulder@suse.com
- Update to 1.3.16.
+ Fix build on AIX
+ Python3 compatibility fixes
+ Use tdb_wipe_all in "erase" command
+ Harden allocating the tdb recovery area
+ Make sure the hash size fits
+ Harden tdb_check_used_record against overflow
+ Harden tdb_rec_read
+ Handle TDB_NEXT_LOCK_ERR in tdb_traverse_internal
+ Fix build warnings
-------------------------------------------------------------------
Fri Apr 27 14:19:38 UTC 2018 - david.mulder@suse.com
- Remove the conflicts between python3-tdb and python-tdb. These
packages don't actually conflict, and need to be installed
together in order to build samba with python3.
-------------------------------------------------------------------
Mon Oct 2 12:18:30 UTC 2017 - jengelh@inai.de
- Remove %if guards for blocks that do not affect the build result.
Fix RPM groups and summaries. Ensure neutrality of descriptions.
Drop very old SUSE support. Replace old RPM macros by new
constructs. Remove some useless ldconfig calls.
-------------------------------------------------------------------
Mon Sep 25 11:14:05 UTC 2017 - scabrero@suse.com
- Update to 1.3.15.
+ Add protection against EINTR.
+ Truncate the file after expand failure, ENOSPC
+ Use posix_fallocate() to expand the file
+ Fix GCC compiler warnings
-------------------------------------------------------------------
Wed Jul 5 08:59:08 UTC 2017 - scabrero@suse.com
- Update to version 1.3.14.
+ allow tdb_traverse_read before tdb_transaction[_prepare]_commit()
+ Improve documentation for tdb_transaction_start()
+ Add new function tdb_transaction_active()
-------------------------------------------------------------------
Fri Jun 30 11:42:43 UTC 2017 - scabrero@suse.com
- Update to version 1.3.13.
+ documentation for the tdbbackup -n option
+ correctly upgrade F_RDLCK to F_WRLCK locks
+ tdbtool: Add "storehex" command
+ fix robust mutex detection in threaded applications
(bug #12593)
+ improve debugging of transaction lock failures
-------------------------------------------------------------------
Tue Jan 24 16:58:23 UTC 2017 - ddiss@suse.com
- Update to version 1.3.12; (bsc#1032915).
+ Fix mutexes on FreeBSD
+ Only mmap the mutex area if not already mmap'ed
+ NULL out tdb->mutexes in tdb_mutex_munmap
-------------------------------------------------------------------
Wed Sep 14 08:49:43 UTC 2016 - jmcdonough@suse.com
- Update to version 1.3.11.
+ performance improvements
+ make pthread mutex code more portable
+ avoid a race condition when checking for robust mutexes
(bso#11808)
+ Remove use of strcpy in tdb test.
+ eliminate deprecation warnings in python tests
+ Only set public headers field when installing as a public library.
-------------------------------------------------------------------
Sun Feb 21 22:10:42 UTC 2016 - lmuelle@suse.com
- Add conflict between python-tdb and python3-tdb.
-------------------------------------------------------------------
Sun Feb 21 16:50:07 UTC 2016 - lmuelle@suse.com
- Avoid a file collision for non SUSE build targets; (bsc#966174).
-------------------------------------------------------------------
Wed Nov 11 17:44:42 UTC 2015 - lmuelle@suse.com
- Update to version 1.3.8; (bsc#954658).
+ Fix broken build with --disable-python
+ Minor build fixes
-------------------------------------------------------------------
Fri Oct 30 15:05:14 UTC 2015 - lmuelle@suse.com
- Add doxygen at build time to add the development documentation.
- Disable rpath-install and silent-rules while configure.
-------------------------------------------------------------------
Sun Oct 25 13:10:36 UTC 2015 - lmuelle@suse.com
- Add python3-tdb; (bsc#951911).
-------------------------------------------------------------------
Mon Sep 7 17:06:26 UTC 2015 - lmuelle@suse.com
- Update the Samba Library Distribution Key file 'tdb.keyring'; (bso#945116).
-------------------------------------------------------------------
Wed Jul 22 07:37:56 UTC 2015 - lmuelle@suse.com
- Update to version 1.3.7.
+ first fix deadlock in the interaction between fcntl and mutex locking;
(bso#11381)
+ improved python3 bindings
-------------------------------------------------------------------
Sat Jun 27 16:53:13 UTC 2015 - lmuelle@suse.com
- Update to version 1.3.6.
+ Fix runtime detection for robust mutexes in the standalone build;
(bso#11326).
+ Possible fix for the build with robust mutexes on solaris 11; (bso#11319).
- Update to version 1.3.5.
+ ABI change: tdb_chainlock_read_nonblock() has been added, a nonblock
variant of tdb_chainlock_read()
+ Do not build test binaries if it's not a standalone build
+ Fix CID 1034842 Resource leak
+ Fix CID 1034841 Resource leak
+ don't let tdb_wrap_open() segfault with name==NULL
-------------------------------------------------------------------
Tue Jan 13 14:50:54 UTC 2015 - lmuelle@suse.com
- Update to version 1.3.4.
+ toos: allow transactions with TDB_MUTEX_LOCKING
+ test: add tdb1-run-mutex-transaction1 test
+ allow transactions on on tdb's with TDB_MUTEX_LOCKING
-------------------------------------------------------------------
Sun Dec 21 19:09:06 UTC 2014 - lmuelle@suse.com
- Update to version 1.3.3.
+ test: TDB_CLEAR_IF_FIRST | TDB_MUTEX_LOCKING, O_RDONLY is a valid
combination
- Update to version 1.3.2.
+ allow tdb_open_ex() with O_RDONLY of TDB_FEATURE_FLAG_MUTEX tdbs.
+ Fix a comment
+ Fix tdb_runtime_check_for_robust_mutexes()
+ Improve wording in a comment
+ tdb.h needs bool type; obsoletes include_stdbool_bso10625.patch
+ tdb_wrap: Make mutexes easier to use
+ tdb_wrap: Only pull in samba-debug
+ tdb_wrap: Standalone compile without includes.h
+ tdb_wrap: tdb_wrap.h doesn't need struct loadparm_context
-------------------------------------------------------------------
Thu Nov 6 13:28:53 UTC 2014 - lmuelle@suse.com
- Use the upstream tar ball, as signature verification is now able to handle
compressed archives.
-------------------------------------------------------------------
Tue Oct 28 15:43:31 UTC 2014 - lmuelle@suse.com
- Remove dependency on gpg-offline as signature checking is implemented in the
source validator.
-------------------------------------------------------------------
Tue Sep 23 17:02:44 UTC 2014 - lmuelle@suse.com
- Update to version 1.3.1.
+ tools: fix a compiler warning
+ defragment the freelist in tdb_allocate_from_freelist()
+ add "freelist_size" sub-command to tdbtool
+ use tdb_freelist_merge_adjacent in tdb_freelist_size()
+ add tdb_freelist_merge_adjacent()
+ add utility function check_merge_ptr_with_left_record()
+ simplify tdb_free() using check_merge_with_left_record()
+ add utility function check_merge_with_left_record()
+ improve comments for tdb_free().
+ factor merge_with_left_record() out of tdb_free()
+ fix debug message in tdb_free()
+ reduce indentation in tdb_free() for merging left
+ increase readability of read_record_on_left()
+ factor read_record_on_left() out of tdb_free()
+ build: improve detection of srcdir.
-------------------------------------------------------------------
Fri May 23 20:48:25 UTC 2014 - lmuelle@suse.com
- Update to version 1.3.0.
+ add TDB_MUTEX_LOCKING support
+ consolidate tdb allocation code - re-use dead records at hash top.
+ don't alter errno on success of tdb_open_ex()
+ introduce tdb->hdr_ofs
+ introduce TDB_SUPPORTED_FEATURE_FLAGS
+ return ENOSYS if the tdb was created with spinlocks.
+ use asprintf() to simplify tdb_summary()
+ test: add a "skip()" macro.
add marklock deadlock test
add mutex related tests
add PING command to external-agent.c
add shutdown_agent() helper function
add UNMAP command to external-agent.c
always call fflush() after [f]printf() in tap-interface.h
avoid const warnings by using 'discard_const_p(uint8_t,' instead of
'(void *)'
correctly use stderr, not stdout, in fail()
remove "\n" in diag() arguments
+ tools: add -l option to tdbbackup
add -l option to tdbtool
add -m option to tdbtorture
Allow tdbtool to r/o open mutexed tdbs
avoid const warnings in tdbdump.c
explicitly use TDB_NOLOCK in tdbdump
+ tdb_wrap: Remove tdb_wrap_open_ again
+ wscript: maintain a global list of unit tests
- Include stdbool.h in tdb.h; (bso#10625).
+ include_stdbool_bso10625.patch
-------------------------------------------------------------------
Fri May 23 20:10:17 UTC 2014 - lmuelle@suse.com
- Don't require pkg-config from the libtdb package.
-------------------------------------------------------------------
Thu Mar 20 19:12:16 UTC 2014 - lmuelle@suse.com
- Update to version 1.2.13.
+ Reduce freelist contention
+ Make "tdb_purge_dead" internally public
+ Make "tdb_find_dead" internally public
+ Add "last_ptr" to tdb_find_dead
+ Move adding tailer space to tdb_find_dead
+ Do a best fit search for dead records
+ Don't purge records to a blocked freelist
+ Fix a tdb corruption
+ always open internal databases with incompatible hash.
+ in tdb_delete_hash, make lock/unlock bracket more obvious
+ simplify tdb_delete_hash() a bit
+ tdbtool: dump record magic with fixed number of 8 hex digits
+ tdbtool: dump record hash with fixed number of 8 hex digits
+ Avoid reallocs for lockrecs
+ Fix some typos in comments.
+ Fix CID 1034959 Uninitialized scalar variable
+ Fix CID 1034960 Uninitialized scalar variable
+ Fix typos.
-------------------------------------------------------------------
Fri Dec 6 13:29:03 UTC 2013 - lmuelle@suse.com
- Verify source tar ball gpg signature.
-------------------------------------------------------------------
Wed Dec 4 15:26:19 CET 2013 - mls@suse.de
- Adapt specfile to ppc64le.
-------------------------------------------------------------------
Thu Aug 29 12:01:12 UTC 2013 - lmuelle@suse.com
- PreReq /sbin/ldconfig from python-tdb.
-------------------------------------------------------------------
Thu Aug 29 10:55:11 UTC 2013 - lmuelle@suse.com
- Add python-tdb to baselibs.conf.
-------------------------------------------------------------------
Mon Jul 22 10:53:36 UTC 2013 - lmuelle@suse.com
- Don't package tdb tools man pages for pre-11.0 systems as they're not built
due to a missing docbook stylesheet.
-------------------------------------------------------------------
Tue Jun 4 14:45:40 UTC 2013 - lmuelle@suse.com
- Update to version 1.2.12.
+ internal code cleanups
+ crash fix for pytdb
+ fix for 4GB overflow detection
-------------------------------------------------------------------
Mon Jan 7 23:49:48 UTC 2013 - dvaleev@suse.com
- Refresh ignore-tdb1-run-transaction-expand.diff patch.
-------------------------------------------------------------------
Sun Dec 2 17:27:15 UTC 2012 - lmuelle@suse.com
- Update to version 1.2.11.
+ Make tdb robust against improper CLEAR_IF_FIRST restart
+ Make robust against shrinking tdbs
+ add -e option to tdbdump (and docment it).
+ tdbdump should log errors, and fail in that case.
+ add tdb_rescue()
+ Fix a typo
+ return unpack error on strdup failure
+ finish weaning off err.h.
+ don't use err.h in tests.
+ make TDB_NOSYNC merely disable sync.
+ remove unused debug_fprintf() macro that breaks the build
+ tests: fix use of a non-existent word (existant)
-------------------------------------------------------------------
Sat Jul 7 15:42:23 UTC 2012 - dvaleev@suse.com
- Ignore tdb run transaction expand check on ppc as well; (bnc#769268).
-------------------------------------------------------------------
Thu Jun 28 21:19:51 UTC 2012 - lmuelle@suse.com
- Ignore tdb run transaction expand check on ppc64; (bnc#769268).
-------------------------------------------------------------------
Thu Jun 21 20:40:55 UTC 2012 - adrian@suse.de
- disable test suite on qemu emulated builds
-------------------------------------------------------------------
Wed Jun 13 10:23:35 UTC 2012 - ddiss@suse.com
- Build and link binaries with PIE flags.
-------------------------------------------------------------------
Tue Jun 5 12:08:57 UTC 2012 - lmuelle@suse.com
- Remove superfluous tdb-tools rpmlintrc; (bnc#765476).
-------------------------------------------------------------------
Sun Jun 3 21:46:25 UTC 2012 - lmuelle@suse.com
- Define library name and use it instead of libtdb1.
-------------------------------------------------------------------
Sat Jun 2 18:38:42 UTC 2012 - lmuelle@suse.com
- Add tdb tar ball gpg signature as source.
-------------------------------------------------------------------
Sat Jun 2 14:32:09 UTC 2012 - lmuelle@suse.com
- Rename package to tdb and add an independent libtdb1 subpackage.
- Rename rpmlintrc file from libtdb1 to tdb-tools.
- Remove bogus requires to itself from libtdb1 package.
-------------------------------------------------------------------
Thu May 31 14:13:31 UTC 2012 - lmuelle@suse.com
- BuildRequire pkg-config for post-10.2 systems and else pkgconfig.
-------------------------------------------------------------------
Thu May 31 12:09:09 UTC 2012 - lmuelle@suse.com
- Rename libtdb1-devel to libtdb-devel.
-------------------------------------------------------------------
Wed May 30 16:39:26 UTC 2012 - lmuelle@suse.com
- Define python_sitearch if undefined.
-------------------------------------------------------------------
Wed May 30 15:36:34 UTC 2012 - lmuelle@suse.com
- Remove superfluous AutoReqProv on line.
-------------------------------------------------------------------
Wed May 16 09:09:53 UTC 2012 - lmuelle@suse.com
- Require pkg-config from the devel package.
-------------------------------------------------------------------
Wed May 16 09:01:07 UTC 2012 - lmuelle@suse.com
- Move python file to python-tdb subpackage.
- Build and add tdbbackup, tdbdump, tdbrestore, and tdbtool man pages.
-------------------------------------------------------------------
Wed May 16 08:34:17 UTC 2012 - lmuelle@suse.com
- Cleanup BuildRequires.
- Polish package descriptions.
- Add rpmlintrc file to set badness for non PIE code to 0.
-------------------------------------------------------------------
Wed Sep 7 17:52:30 UTC 2011 - lars@samba.org
- Initial independent libtdb1 package.