Commit Graph

80 Commits

Author SHA256 Message Date
Stephan Kulow
4bae31e680 Accepting request 343927 from network:samba:STABLE
- Update to version 1.3.8; (bsc#954658).
  + Fix broken build with --disable-python
  + Minor build fixes

OBS-URL: https://build.opensuse.org/request/show/343927
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tdb?expand=0&rev=27
2015-11-24 21:21:02 +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
Dominique Leuenberger
522f1444dd Accepting request 341822 from network:samba:STABLE
- Add doxygen at build time to add the development documentation.
- Disable rpath-install and silent-rules while configure.

OBS-URL: https://build.opensuse.org/request/show/341822
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tdb?expand=0&rev=26
2015-11-10 09:01:21 +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
Dominique Leuenberger
c13af10dde Accepting request 340873 from network:samba:STABLE
Add python3-tdb; (bsc#951911).

OBS-URL: https://build.opensuse.org/request/show/340873
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tdb?expand=0&rev=25
2015-10-28 16:29:39 +00:00
Lars Müller
95ac5298da Accepting request 340854 from home:lmuelle:pyton3-samba
Add _tdb_text.cpython-*.py[co] on CentOS, Fedora, and RHEL systems

OBS-URL: https://build.opensuse.org/request/show/340854
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=75
2015-10-25 17:14:54 +00:00
Lars Müller
ace536a054 Accepting request 340848 from home:lmuelle:pyton3-samba
Add python3-tdb to baselibs.conf

OBS-URL: https://build.opensuse.org/request/show/340848
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=74
2015-10-25 15:37:35 +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
Stephan Kulow
f02fce83dd Accepting request 330107 from network:samba:STABLE
Update the Samba Library Distribution Key file 'tdb.keyring'; (bso#945116).

OBS-URL: https://build.opensuse.org/request/show/330107
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tdb?expand=0&rev=24
2015-09-19 04:53:49 +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
Dominique Leuenberger
2fb83937f8 Accepting request 329602 from network:samba:STABLE
1

OBS-URL: https://build.opensuse.org/request/show/329602
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tdb?expand=0&rev=23
2015-09-09 18:20:12 +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
Dominique Leuenberger
3f74b7ad6a Accepting request 317882 from network:samba:STABLE
- 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/request/show/317882
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tdb?expand=0&rev=22
2015-07-27 07:09:33 +00:00
Lars Müller
f99506fec4 Add _tdb_text.py* to python-tdb
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=67
2015-07-22 09:54:15 +00:00
Lars Müller
245365104f Add _tdb_text.py to python-tdb
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=66
2015-07-22 09:33:49 +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
Stephan Kulow
37816df02e Accepting request 314209 from network:samba:STABLE
- 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/314209
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tdb?expand=0&rev=21
2015-07-05 15:53:13 +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
Stephan Kulow
d11a2cd99a Accepting request 281055 from network:samba:STABLE
- 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/request/show/281055
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tdb?expand=0&rev=20
2015-01-21 20:55:47 +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
Dominique Leuenberger
128e53713b Accepting request 266104 from network:samba:STABLE
- 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/request/show/266104
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tdb?expand=0&rev=19
2014-12-23 10:50:17 +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
Stephan Kulow
c4eea377b6 Accepting request 260075 from network:samba:STABLE
- Use the upstream tar ball, as signature verification is now able to handle
  compressed archives.

- Remove dependency on gpg-offline as signature checking is implemented in the
  source validator.

OBS-URL: https://build.opensuse.org/request/show/260075
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tdb?expand=0&rev=18
2014-11-07 08:05:15 +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
Stephan Kulow
99cf5f535f Accepting request 251713 from network:samba:STABLE
- 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/request/show/251713
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tdb?expand=0&rev=17
2014-09-25 07:33:36 +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
Stephan Kulow
7418571c96 Accepting request 235284 from network:samba:STABLE
- 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

- Don't require pkg-config from the libtdb package.

OBS-URL: https://build.opensuse.org/request/show/235284
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tdb?expand=0&rev=15
2014-05-26 12:40:12 +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
Tomáš Chvátal
81d03267b3 Accepting request 226901 from network:samba:STABLE
- 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/request/show/226901
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tdb?expand=0&rev=14
2014-03-23 21:29:24 +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
Stephan Kulow
5eba80d43f Accepting request 209669 from network:samba:STABLE
- Verify source tar ball gpg signature.

- Adapt specfile to ppc64le.

OBS-URL: https://build.opensuse.org/request/show/209669
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tdb?expand=0&rev=13
2013-12-09 06:19:43 +00:00
Lars Müller
efbaf77bc9 Rename pubkey filename to follow upstream naming convention.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=44
2013-12-06 16:56:01 +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
Stephan Kulow
8386022102 Accepting request 196774 from network:samba:STABLE
- PreReq /sbin/ldconfig from python-tdb.

- Add python-tdb to baselibs.conf.

OBS-URL: https://build.opensuse.org/request/show/196774
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tdb?expand=0&rev=11
2013-08-30 09:51:07 +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
2d0df9ae2d PreReq /sbin/ldconfig from python-tdb as we us it in %post and %postun.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=38
2013-08-29 11:58:02 +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
Stephan Kulow
aad57eea9e Accepting request 184606 from network:samba:STABLE
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/184606
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tdb?expand=0&rev=10
2013-07-30 17:11:54 +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
Stephan Kulow
60c3be2933 Accepting request 178566 from network:samba:STABLE
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/178566
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tdb?expand=0&rev=9
2013-06-18 13:36:49 +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
Stephan Kulow
1a4ed70f62 Accepting request 147839 from network:samba:STABLE
Refresh ignore-tdb1-run-transaction-expand.diff patch.

OBS-URL: https://build.opensuse.org/request/show/147839
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tdb?expand=0&rev=7
2013-01-24 14:45:45 +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