Commit Graph

119 Commits

Author SHA256 Message Date
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
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
Ismail Dönmez
b9cead75e9 Accepting request 143822 from network:samba:STABLE
- 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/request/show/143822
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tdb?expand=0&rev=6
2012-12-05 13:09:47 +00:00
Lars Müller
863a36e03b Refresh build_pie.patch
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=28
2012-12-02 17:30:18 +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
Stephan Kulow
9aac9c1d7f Accepting request 134899 from network:samba:STABLE
The PIE flags build fix merges back an older fix from a different branch
and therefore is placed at the particular position in time in the
package change log.

The same package content as this one got merged into openSUSE 12.2 as an
update.

The package change log is in chronological order.

The change dated from 'Wed Jun 13 10:23:35 UTC 2012' was merged from a
different repository.

The actual changes are:
- Ignore tdb run transaction expand check on ppc as well; (bnc#769268). 
- Build and link binaries with PIE flags.

OBS-URL: https://build.opensuse.org/request/show/134899
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tdb?expand=0&rev=5
2012-09-23 19:15:49 +00:00
Lars Müller
1f16f92a12 Add patch header.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=25
2012-08-15 18:25:16 +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
Stephan Kulow
bf7754a432 Accepting request 127365 from network:samba:STABLE
- Ignore tdb run transaction expand check on ppc as well (forwarded request 127364 from k0da)

OBS-URL: https://build.opensuse.org/request/show/127365
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tdb?expand=0&rev=4
2012-07-09 11:34:34 +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