Commit Graph

43 Commits

Author SHA256 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
c099ea95c1 Remove extra and add empty lines for better readability.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=11
2012-06-02 15:24:42 +00:00
Lars Müller
7b056291ab Move BuildRequires from libtdb1 sub package to the main package.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=10
2012-06-02 15:21:33 +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
4c7d1a3456 Use simplified conditional python_sitearch define.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=6
2012-05-30 18:11:24 +00:00
Lars Müller
2a72fca66f Check if python_sitearch is undefined else define it.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=5
2012-05-30 17:04:53 +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