Commit Graph

64 Commits

Author SHA256 Message Date
Noel Power
f09b3a7da0 OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=118 2024-05-20 09:09:03 +00:00
c12ab47401 Accepting request 1114105 from home:npower:branches:network:samba:STABLE
-  Update to 1.4.9
    * Remove remaining, but broken python2 support
    * Spelling fixes
    * python: Safely clear structure members

OBS-URL: https://build.opensuse.org/request/show/1114105
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=116
2023-09-29 07:25:11 +00:00
Noel Power
91376e0d6e OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=114 2023-03-20 10:00:14 +00:00
David Mulder
d0ad59c11b Accepting request 1006430 from home:npower:update_samba
- update to 1.4.7:
  * configure/Makefile: export PYTHONHASHSEED=1 in all 'configure/Makefile' scripts
  * lib:tdb: Reformat shell scripts
- spec file cleanups

OBS-URL: https://build.opensuse.org/request/show/1006430
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=112
2022-09-29 14:50:07 +00:00
Noel Power
59c1b7448a OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=110 2022-04-04 08:30:43 +00:00
David Mulder
3c601addf3 Accepting request 921746 from home:scabrero:branches:network:samba:STABLE
- Fix header file using undefined function visibility macro;
  Add patch 0001-tdb-Fix-invalid-syntax-in-tdb.h.patch; (bso#14762);

OBS-URL: https://build.opensuse.org/request/show/921746
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=109
2021-09-27 14:27:06 +00:00
Noel Power
8c58a1e2e9 OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=108 2021-09-23 10:24:08 +00:00
4c99eee79d Accepting request 785993 from home:npower:update_factory_4.12.0
- 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

OBS-URL: https://build.opensuse.org/request/show/785993
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=106
2020-03-18 15:35:28 +00:00
a80a14c1e2 Accepting request 735426 from home:jmcdough:branches:network:samba:STABLE:g2be_giw
update to 1.4.2 for samba 4.11 prep

OBS-URL: https://build.opensuse.org/request/show/735426
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=104
2019-10-07 08:19:41 +00:00
585094fed9 Accepting request 688781 from network:samba:TESTING
- Update to 1.3.18
  + Fix build problems with older python versions.
  + C99 build fixes.
  + Fix standalone build of tdb.
- Update to 1.3.17

OBS-URL: https://build.opensuse.org/request/show/688781
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=102
2019-04-22 17:09:40 +00:00
David Mulder
f9b89e05c9 Accepting request 638022 from home:scabrero:branches:network:samba:STABLE
- Update license to LGPL-3.0

OBS-URL: https://build.opensuse.org/request/show/638022
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=100
2018-09-25 14:59:13 +00:00
32b774618b Accepting request 628175 from home:dmulder:branches:samba_gpo_test
- 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

OBS-URL: https://build.opensuse.org/request/show/628175
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=98
2018-08-08 16:03:06 +00:00
David Mulder
532e099189 - 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.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=96
2018-04-27 14:20:58 +00:00
3720ec60e5 Accepting request 530461 from home:jengelh:branches:network:samba:STABLE
- 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.

OBS-URL: https://build.opensuse.org/request/show/530461
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=93
2017-10-03 11:23:12 +00:00
93853eb470 Accepting request 529902 from network:samba:TESTING
1

OBS-URL: https://build.opensuse.org/request/show/529902
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=92
2017-10-01 11:53:32 +00:00
David Disseldorp
8bdc541d12 add bsc#1032915 reference to changelog
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=90
2017-04-10 14:34:56 +00:00
Aurelien Aptel
afd937bc7b Accepting request 452422 from home:dmdiss:samba-ceph-ctdb
- Update to version 1.3.12.
  + Fix mutexes on FreeBSD
  + Only mmap the mutex area if not already mmap'ed
  + NULL out tdb->mutexes in tdb_mutex_munmap

OBS-URL: https://build.opensuse.org/request/show/452422
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=87
2017-01-25 17:59:14 +00:00
ec21f39384 Accepting request 427562 from home:jmcdough:samba450
Update to 1.3.11

OBS-URL: https://build.opensuse.org/request/show/427562
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=85
2016-09-14 09:33:26 +00:00
Lars Müller
21302ffc4f Add conflict between python-tdb and python3-tdb.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=83
2016-02-21 22:17:39 +00:00
Lars Müller
eed81cedbc Accepting request 360746 from home:lmuelle:bsc966174
Avoid a file collision for non SUSE build targets; (bsc#966174).

OBS-URL: https://build.opensuse.org/request/show/360746
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=81
2016-02-21 19:22:24 +00:00
Lars Müller
9c2e4d2b74 - Update to version 1.3.8; (bsc#954658).
+ Fix broken build with --disable-python
  + Minor build fixes

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=79
2015-11-11 18:12:18 +00:00
Lars Müller
58a13182fd - Add doxygen at build time to add the development documentation.
- Disable rpath-install and silent-rules while configure.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=77
2015-10-30 15:06:02 +00:00
Lars Müller
ae0c24ff5e Accepting request 340844 from home:lmuelle:pyton3-samba
Add python3-tdb; (bsc#951911).

OBS-URL: https://build.opensuse.org/request/show/340844
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=73
2015-10-25 15:03:17 +00:00
Lars Müller
3ea3c7ae9d Update the Samba Library Distribution Key file 'tdb.keyring'; (bso#945116).
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=71
2015-09-09 20:25:32 +00:00
Lars Müller
e07e8e1ead Accepting request 329600 from home:lmuelle:branches:network:samba:STABLE
Update the Samba Library Distribution Key file 'tdb.keyring'.

OBS-URL: https://build.opensuse.org/request/show/329600
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=69
2015-09-07 22:04:45 +00:00
Lars Müller
fd62340c20 - Update to version 1.3.7.
+ first fix deadlock in the interaction between fcntl and mutex locking;
    (bso#11381)
  + improved python3 bindings

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=65
2015-07-22 07:41:06 +00:00
Lars Müller
cf11e0e92c Accepting request 314128 from home:lmuelle
- 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

OBS-URL: https://build.opensuse.org/request/show/314128
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=63
2015-06-27 20:09:28 +00:00
Lars Müller
f04c30be0a - 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

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=61
2015-01-13 14:55:49 +00:00
Lars Müller
a745e2d2fc - 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

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=59
2014-12-21 20:03:43 +00:00
Lars Müller
b28b3c8892 Use the upstream tar ball, as signature verification is now able to handle
compressed archives.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=57
2014-11-06 13:32:51 +00:00
Lars Müller
fd8b7f6a84 Remove dependency on gpg-offline as signature checking is implemented in the
source validator.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=56
2014-10-28 16:02:47 +00:00
Lars Müller
3141f05da0 - 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.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=54
2014-09-23 17:16:14 +00:00
Lars Müller
38e23e8fd5 Improve the 'Don't require pkg-config from' change message.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=52
2014-05-24 12:41:00 +00:00
Lars Müller
2ddd811569 Reduce indention by one char.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=51
2014-05-23 21:38:25 +00:00
Lars Müller
1b2c8329e7 - 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

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=50
2014-05-23 21:23:11 +00:00
Lars Müller
edc43b224d Don't require pkg-config from the main package.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=49
2014-05-23 20:11:37 +00:00
Lars Müller
e44866c44b Don't BuildRequire pkg-config from the main and libtdb package.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=48
2014-05-23 17:19:09 +00:00
Lars Müller
bef1198f3e - 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.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=46
2014-03-20 19:16:10 +00:00
Lars Müller
e973865a64 Verify source tar ball gpg signature.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=43
2013-12-06 13:37:45 +00:00
Lars Müller
7b7921c076 Start the change log sentence with an uppercase letter and end with a dot.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=42
2013-12-05 13:13:39 +00:00
David Disseldorp
e00e354520 Accepting request 209418 from openSUSE:Factory:PowerLE
fix ppc64le build, please forward to factory

OBS-URL: https://build.opensuse.org/request/show/209418
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=41
2013-12-04 16:29:59 +00:00
Lars Müller
d815ad8bfd PreReq /sbin/ldconfig from python-tdb.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=39
2013-08-29 12:04:14 +00:00
Lars Müller
1fd282e529 Add python-tdb to baselibs.conf.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=37
2013-08-29 10:55:34 +00:00
Lars Müller
c4cdbd86cd Don't package tdb tools man pages for pre-11.0 systems as they're not built
due to a missing docbook stylesheet.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=35
2013-07-22 11:04:31 +00:00
Lars Müller
38a94b9f0c - Update to version 1.2.12.
+ internal code cleanups
  + crash fix for pytdb
  + fix for 4GB overflow detection

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=33
2013-06-04 15:12:30 +00:00
Lars Müller
1ac5f30da2 Minor package change log adjustment.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=31
2013-01-08 13:41:42 +00:00
Lars Müller
a6aa008ac3 Accepting request 147462 from home:k0da:ppc
- refresh ignore-tdb1-run-transaction-expand.diff patch

OBS-URL: https://build.opensuse.org/request/show/147462
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=30
2013-01-08 13:36:43 +00:00
Lars Müller
afb1ea09df - 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)

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=27
2012-12-02 17:28:55 +00:00
Lars Müller
aecc9cf7fa Build and link binaries with PIE flags.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=24
2012-08-15 17:14:48 +00:00
Lars Müller
2c43a5f155 Add bnc reference to the package change log.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=23
2012-07-12 15:26:16 +00:00