Commit Graph

48 Commits

Author SHA256 Message Date
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
David Disseldorp
75568bca43 Accepting request 127364 from home:k0da:ppc
- Ignore tdb run transaction expand check on ppc as well

OBS-URL: https://build.opensuse.org/request/show/127364
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=21
2012-07-07 18:54:43 +00:00
Lars Müller
be7f8d7daf Ignore tdb run transaction expand check on ppc64; (bnc#769268).
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=20
2012-06-28 22:09:02 +00:00
Lars Müller
44f1bd0149 Ignore tdb run transaction expand check; (bnc#769268).
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=19
2012-06-28 21:31:52 +00:00
d54714f441 Accepting request 125717 from openSUSE:Factory:ARM
test suite fails in qemu, disable it there for now

OBS-URL: https://build.opensuse.org/request/show/125717
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=17
2012-06-28 08:51:26 +00:00
Lars Müller
415ac7924d Remove superfluous tdb-tools rpmlintrc; (bnc#765476).
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=15
2012-06-05 12:27:17 +00:00
Lars Müller
8cd1115f2e Define library name and use it instead of libtdb1.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=14
2012-06-03 21:47:59 +00:00
Lars Müller
b9164136b4 Filter out non PIE warning for tdbbackup, tdbdump, and tdbtool.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=13
2012-06-02 20:31:43 +00:00
Lars Müller
61907ba5e7 Add tdb tar ball gpg signature as source.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=12
2012-06-02 18:42:48 +00:00
Lars Müller
1920162d01 - 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.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=9
2012-06-02 14:43:53 +00:00
Lars Müller
ad1bd51414 BuildRequire pkg-config for post-10.2 systems and else pkgconfig.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=8
2012-05-31 14:18:17 +00:00
Lars Müller
dc23193dd6 Rename libtdb1-devel to libtdb-devel.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=7
2012-05-31 12:14:24 +00:00
Lars Müller
0a1ad3d609 Define python_sitearch if undefined.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=4
2012-05-30 16:40:03 +00:00
Lars Müller
cf346bbfe4 Define missing python macros on pre-6 CentOS and RHEL systems.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=3
2012-05-30 16:11:54 +00:00
Lars Müller
40b0f71012 - Remove superfluous AutoReqProv on line.
- Require pkg-config from the devel package.
- Move python file to python-tdb subpackage.
- Build and add tdbbackup, tdbdump, tdbrestore, and tdbtool man pages.
- Cleanup BuildRequires.
- Polish package descriptions.
- Add rpmlintrc file to set badness for non PIE code to 0.
- Initial independent libtdb1 package.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=2
2012-05-30 15:37:30 +00:00