diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 17:46:10 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 17:46:10 +0000 |
commit | 5f3dfa0191c256c769a27cda0de962eadb849fdd (patch) | |
tree | c781abc701e92e804c26889f35ea072cd4b09c93 | |
parent | Adding upstream version 1.4.8. (diff) | |
download | tdb-9efeafb81f47de80ca1e24631642d9d0c83767ad.tar.xz tdb-9efeafb81f47de80ca1e24631642d9d0c83767ad.zip |
Adding debian version 1.4.8-2.debian/1.4.8-2debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
38 files changed, 2325 insertions, 0 deletions
diff --git a/debian/build-orig.sh b/debian/build-orig.sh new file mode 100755 index 0000000..b3c0982 --- /dev/null +++ b/debian/build-orig.sh @@ -0,0 +1,21 @@ +#!/bin/bash -e + +if [ -z "$SAMBA_GIT_URL" ]; then + SAMBA_GIT_URL=git://git.samba.org/samba.git +fi + +TDBTMP=`mktemp -d` +version=$( dpkg-parsechangelog -l`dirname $0`/changelog | sed -n 's/^Version: \(.*:\|\)//p' | sed 's/-[0-9.]\+$//' ) +if [ -d $SAMBA_GIT_URL/.bzr ]; then + bzr co --lightweight $SAMBA_GIT_URL $TDBTMP +else + git clone --depth 1 $SAMBA_GIT_URL $TDBTMP +fi + +pushd $TDBTMP/lib/tdb +./configure +make dist +popd +version=$( dpkg-parsechangelog -l`dirname $0`/changelog | sed -n 's/^Version: \(.*:\|\)//p' | sed 's/-[0-9.]\+$//' ) +mv $TDBTMP/lib/tdb/tdb-*.tar.gz tdb_$version.orig.tar.gz +rm -rf $TALLOCTMP diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..02f5b31 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,825 @@ +tdb (1.4.8-2) unstable; urgency=medium + + * d/rules: build for all installed py3versions + instead of default/supported (not enabled still) + * d/control: Standards-Version: 4.6.2 (no changes) + * d/control: remove unused ${python3:Provides} + * d/control: put all doc-generating build-deps into one line + * little prep for cross-compilation + * d/control: work around autodep8 #904999 again + + -- Michael Tokarev <mjt@tls.msk.ru> Sat, 04 Feb 2023 17:12:31 +0300 + +tdb (1.4.8-1) unstable; urgency=medium + + * new upstream release (1.4.8, from samba 4.18): + - Support python 3.12 + * d/libtdb1.symbols: add new version + + -- Michael Tokarev <mjt@tls.msk.ru> Sat, 21 Jan 2023 10:33:25 +0300 + +tdb (1.4.7-3) unstable; urgency=medium + + * Allow building for multiple python3 versions (disabled for now) + * d/rules: support "terse" build option for non-verbose build + * d/source/lintian-overrides: add 2 overrides + * d/salsa-ci.yml: + - instead of allowing blhc to (always) fail, disable it + - disable crossbuild-arm64 test (samba does not cross-build) + + -- Michael Tokarev <mjt@tls.msk.ru> Fri, 20 Jan 2023 18:48:56 +0300 + +tdb (1.4.7-2) unstable; urgency=medium + + * d/rules: inline parallel check from dpkg/buildopts.mk + * d/rules: use ${} for variables consistently + * d/rules: use $(filter) instead of $(findstring) to look for nocheck + in ${DEB_BUILD_OPTIONS} + + -- Michael Tokarev <mjt@tls.msk.ru> Sun, 30 Oct 2022 11:51:37 +0300 + +tdb (1.4.7-1) unstable; urgency=medium + + * new upstream release 1.4.7 + * remove 0001-Add-support-for-GNU-kFreeBSD.patch (applied upstream) + * d/libtdb1.symbols: add new version + * d/control: bump std-version to 4.6.1 (no changes) + + -- Michael Tokarev <mjt@tls.msk.ru> Fri, 09 Sep 2022 13:34:49 +0300 + +tdb (1.4.6-3) unstable; urgency=medium + + * many tweaks for d/rules: + - switch from --with python to dh-sequence-python3 + and stop overriding --fail-missing with dh=13 + - replace slow architecture.mk with fast inline version + - reorder targets for readability + - reorder configure arguments for readability + - rework clean target + - move libtdb.a build to build target and build it in bin/ + - restrict targets for which we run dh + - stop overriding dh_makeshlibdeps, + set DPKG_GENSYMBOLS_CHECK_LEVEL instead + - make configure & build depend on config-stamp + to stop configure rerun on each build + - set SHELL to /bin/sh -e + * remove _PUBLIC_ define from the public header entirely, + not only the usage of this define, to stop polluting + the namespace + + -- Michael Tokarev <mjt@tls.msk.ru> Wed, 04 May 2022 20:11:55 +0300 + +tdb (1.4.6-2) unstable; urgency=medium + + * d/rules include buildflags.mk instead of open-coding CFLAGS etc definitions + * d/rules: remove _PUBLIC_ markers from public header file + fixing samba-4.16 ftbfs + * d/rules: clean up bin/ not build/ + + -- Michael Tokarev <mjt@tls.msk.ru> Sat, 26 Mar 2022 19:23:34 +0300 + +tdb (1.4.6-1) unstable; urgency=medium + + * New upstream version 1.4.6 + - update symbols + * Switch to debhelper-compat = 13 + * Add myself to Uploaders + + -- Michael Tokarev <mjt@tls.msk.ru> Wed, 23 Mar 2022 12:31:55 +0300 + +tdb (1.4.5-2) unstable; urgency=medium + + * CI: Allow failures for te bhlc job + * Add 0001-Add-support-for-GNU-kFreeBSD.patch (Closes: #990877) + + -- Mathieu Parent <sathieu@debian.org> Tue, 14 Dec 2021 20:45:23 +0100 + +tdb (1.4.5-1) unstable; urgency=medium + + [ Debian Janitor ] + * Avoid explicitly specifying -Wl,--as-needed linker flag. + + [ Mathieu Parent ] + * New upstream version 1.4.5 + - Update symbols + - Update 30_tdb_logging_func.diff + * Standards-Version: 4.6.0, no change + * d/copyright: Remove duplicate globbing pattern + * Update watch file format version to 4. + + -- Mathieu Parent <sathieu@debian.org> Mon, 13 Dec 2021 21:52:11 +0100 + +tdb (1.4.3-1) unstable; urgency=medium + + [ Debian Janitor ] + * Use dh $@ sequencer. + * Update standards version to 4.5.0, no changes needed. + + [ Mathieu Parent ] + * New upstream version 1.4.3 + - Update symbols + + -- Mathieu Parent <sathieu@debian.org> Sun, 21 Jun 2020 08:54:45 +0200 + +tdb (1.4.2-3) unstable; urgency=medium + + [ Jelmer Vernooij ] + * Use secure URI in Homepage field. + * Remove obsolete fields Name, Contact from debian/upstream/metadata. + * Rely on pre-initialized dpkg-architecture variables. + + [ Debian Janitor ] + * Update standards version to 4.4.1, no changes needed. + + [ Mathieu Parent ] + * Build on hurd-i386 too (Closes: #759008) + + -- Mathieu Parent <sathieu@debian.org> Sun, 17 Nov 2019 14:33:20 +0100 + +tdb (1.4.2-2) unstable; urgency=medium + + * Upload to unstable + + -- Mathieu Parent <sathieu@debian.org> Sat, 14 Sep 2019 09:51:38 +0200 + +tdb (1.4.2-1) experimental; urgency=medium + + * Upload to experimental + * New upstream version 1.4.2 + - d/watch Unpin to tdb 1.3.x + - Drop python-tdb (Closes: #938630) + - Update override_dh_auto_clean for Python3 + - Update debian/libtdb1.symbols + + -- Mathieu Parent <sathieu@debian.org> Fri, 13 Sep 2019 07:38:01 +0200 + +tdb (1.3.18-2) unstable; urgency=medium + + * Upload to unstable + * Update salsa-ci.yml + * Standards-Version: 4.4.0 + * Bump debhelper from old 11 to 12. + - dh_install --list-missing removed in compat 12 + * Use dh_missing --fail-missing + * d/copyright + - s/GPL-3+/GPL-3.0+/ and s/LGPL-3+/LGPL-3.0+/ + - Move License details to end of file + - Add waf licences + - Add lib/replace licences + + -- Mathieu Parent <sathieu@debian.org> Thu, 29 Aug 2019 13:58:32 +0200 + +tdb (1.3.18-1) experimental; urgency=medium + + [ Mathieu Parent ] + * Lintian: + - Fix public-upstream-key-not-minimal + - Add Build-Depends-Package field in d/*.symbols + - Standards-Version: 4.3.0 + * Add Debian pipeline (debian/gitlab-ci.yml) + * d/watch: Pin to tdb 1.3.x for now as 1.4.x drop --extra-python support + * New upstream version 1.3.18 + + [ Andreas Hasenack ] + * d/p/40_test_transaction_expand_non_fatal.diff: refresh to get rid of fuzz + * d/rules: cleanup more pyc files waf is leaving behind + * d/rules: unset PYTHON, and now extra python version is 2 since 3 is default + * d/libtdb1.symbols: added new symbols for 1.3.17 and 1.3.18 + * d/libtdb-dev.install: also install the static library + + -- Mathieu Parent <sathieu@debian.org> Sat, 23 Mar 2019 15:11:32 +0100 + +tdb (1.3.16-2) unstable; urgency=medium + + * Add debian/upstream/metadata. + + -- Jelmer Vernooij <jelmer@debian.org> Tue, 23 Oct 2018 09:08:42 +0000 + +tdb (1.3.16-1) unstable; urgency=medium + + * New upstream version 1.3.16 (Closes: #907187) + - Update symbols, no change + * d/changelog: Fix file-contains-trailing-whitespace + * d/control: Rules-Requires-Root: no + * d/control: Standards-Version: 4.2.1 + * d/rules: Remove dbgsym-migration in override_dh_strip + + -- Mathieu Parent <sathieu@debian.org> Mon, 17 Sep 2018 21:24:47 +0200 + +tdb (1.3.15-4) unstable; urgency=low + + * Upload to unstable + + -- Mathieu Parent <sathieu@debian.org> Tue, 15 May 2018 15:42:07 +0200 + +tdb (1.3.15-3) experimental; urgency=medium + + * Upload to experimental + * Repository moved to salsa: Update Vcs-* fields + * Fix global-files-wildcard-not-first-paragraph-in-dep5-copyright + * Move to debhelper 11, no expected change + * Standards-Version: 4.1.3, no change + * Remove trailing whitespaces in debian/changelog + + -- Mathieu Parent <sathieu@debian.org> Sun, 11 Mar 2018 21:34:04 +0100 + +tdb (1.3.15-2) unstable; urgency=medium + + * Upload to sid + + -- Mathieu Parent <sathieu@debian.org> Thu, 26 Oct 2017 10:26:41 +0200 + +tdb (1.3.15-1) experimental; urgency=medium + + * New upstream version 1.3.15 + - Update symbols + * Use https form of the copyright-format URL (Debian Policy 4.0.0) + * Standards-Version: 4.0.0 + + -- Mathieu Parent <sathieu@debian.org> Thu, 28 Sep 2017 23:22:46 +0200 + +tdb (1.3.13-2) unstable; urgency=medium + + * Upload to unstable + + -- Mathieu Parent <sathieu@debian.org> Mon, 19 Jun 2017 17:23:50 +0200 + +tdb (1.3.13-1) experimental; urgency=medium + + * New upstream version 1.3.13 + - Update symbols (no change) + * Remove Replaces+Conflicts: tdb-dev (<< 1.2.0-1). Wheezy has 1.2.10-2 + + -- Mathieu Parent <sathieu@debian.org> Thu, 08 Jun 2017 22:42:07 +0200 + +tdb (1.3.11-2) unstable; urgency=medium + + * Use automatic debug packages (-dbgsym) + * Mark libtdb-dev Multi-Arch: same + + -- Mathieu Parent <sathieu@debian.org> Sun, 09 Oct 2016 18:04:12 +0200 + +tdb (1.3.11-1) unstable; urgency=medium + + * New upstream release. + - Update symbols (added tdb_storev) + * Add me to uploaders + * Use secure Vcs-* uris + * Remove XS-Testsuite header in debian/control + * Fix copyright-refers-to-symlink-license + * Use https and verify upstream tarball from uscan + * Add missing GPL-3+ license paragraph in debian/copyright + * Bump standards version to 3.9.8 (no changes) + * Enable all hardening and use DEB_*FLAGS_APPEND + + -- Mathieu Parent <sathieu@debian.org> Sun, 09 Oct 2016 15:56:21 +0200 + +tdb (1.3.9-1) unstable; urgency=medium + + * New upstream release. + + -- Jelmer Vernooij <jelmer@debian.org> Mon, 02 May 2016 15:20:32 +0000 + +tdb (1.3.8-2) unstable; urgency=medium + + [ Jelmer Vernooij ] + * Drop '-b unstable' flag to Vcs-Git. + + [ Matthias Klose ] + * Build Python3 bindings. Closes: #815141 + + [ Jelmer Vernooij ] + * Bump standards version to 3.9.7 (no changes). + + -- Jelmer Vernooij <jelmer@debian.org> Sun, 13 Dec 2015 16:10:29 +0000 + +tdb (1.3.8-1) unstable; urgency=medium + + * New upstream release. + + -- Jelmer Vernooij <jelmer@debian.org> Sun, 08 Nov 2015 21:24:17 +0000 + +tdb (1.3.7-1) unstable; urgency=medium + + * New upstream release. + * debian/copyright: Fix license name uniqueness. + + -- Jelmer Vernooij <jelmer@debian.org> Sat, 19 Sep 2015 02:57:15 +0000 + +tdb (1.3.5-1) unstable; urgency=medium + + * Fix watch URL. + * New upstream release. + * Drop 01_reproducible_builds.diff: applied upstream. + + -- Jelmer Vernooij <jelmer@debian.org> Thu, 30 Apr 2015 23:48:52 +0000 + +tdb (1.3.4-2) unstable; urgency=medium + + * debian/rules: Pass CPPFLAGS from dpkg-buildflags onto configure, + enabling hardening. + * Make libtdb2-dbg Multi-Arch: same. + * Add patch 01_reproducible_builds.diff: Make build reproducible by + adding set dates to manpages. + * debian/copyright: Fix paths for lib/replace. + * debian/copyright: Add paragraph for most of tdb. + + -- Jelmer Vernooij <jelmer@debian.org> Sun, 26 Apr 2015 10:14:38 +0000 + +tdb (1.3.4-1) unstable; urgency=medium + + * New upstream release. + + -- Jelmer Vernooij <jelmer@debian.org> Fri, 09 Jan 2015 15:03:02 +0000 + +tdb (1.3.3-1) unstable; urgency=medium + + * New upstream release. + * Update 40_test_transaction_expand_non_fatal.diff: Remove + ignoring of tdb1-run-mutex-openflags2 test output, + as the test was fixed upstream. + + * Add dh-python to Build-Depends. + + -- Jelmer Vernooij <jelmer@debian.org> Tue, 02 Dec 2014 21:03:18 +0000 + +tdb (1.3.2-1) unstable; urgency=medium + + * New upstream release. + + Fixes __attribute__((visibility)) check to not use nested functions. + Closes: #749986 + * Drop missing-stdbool-include.patch; now included upstream. + * Update 40_test_transaction_expand_non_fatal.diff: Ignore tdb1-run- + mutex-openflags2 test output, since newly added test fails on + Debian. + * Bump standards version to 3.9.6 (no changes). + + -- Jelmer Vernooij <jelmer@debian.org> Mon, 01 Dec 2014 21:44:24 +0000 + +tdb (1.3.1-1) unstable; urgency=medium + + * New upstream release. + * Use canonical URL in Vcs-Git header. + * Specify branch in Vcs-Git header. + + -- Jelmer Vernooij <jelmer@debian.org> Sun, 06 Jul 2014 01:36:22 +0200 + +tdb (1.3.0-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Cherry-pick patch from upstream bug #10625 to fix FTBFS of + reverse-build-deps which include <tdb.h> due to missing <stdbool.h> + include. (Closes: #750572) + + -- Iain Lane <laney@debian.org> Wed, 04 Jun 2014 16:10:40 +0100 + +tdb (1.3.0-1) unstable; urgency=medium + + * New upstream release. + + -- Jelmer Vernooij <jelmer@debian.org> Mon, 02 Jun 2014 01:17:31 +0200 + +tdb (1.2.13-4) unstable; urgency=medium + + * Fix libtdb-dev architecture to not build on hurd. + * Stop autopkgtest depending on build. + + -- Jelmer Vernooij <jelmer@debian.org> Sun, 25 May 2014 16:54:35 +0200 + +tdb (1.2.13-3) unstable; urgency=medium + + * Only build on linux-any and kfreebsd-any, since the Hurd does not + yet support byte range locking (bug #190367). + + -- Jelmer Vernooij <jelmer@debian.org> Sat, 24 May 2014 03:51:19 +0200 + +tdb (1.2.13-2) unstable; urgency=medium + + * Allow output on standard error from python testsuite. + + -- Jelmer Vernooij <jelmer@debian.org> Mon, 21 Apr 2014 14:46:36 +0200 + +tdb (1.2.13-1) unstable; urgency=low + + * New upstream release. + * Add basic autopkgtest for running python tests. + * Change maintainer to Samba Debian maintainers, move myself to uploaders. + * Bump standards version to 3.9.5 (no changes). + * Fix --as-needed with waf. + + -- Jelmer Vernooij <jelmer@debian.org> Tue, 20 Aug 2013 01:04:01 +0000 + +tdb (1.2.12-1) unstable; urgency=low + + [ Andrew Bartlett ] + * New upstream release. + + Drop 08_waf_python_config integrated upstream. + + Fixes two FTBFS bugs. Closes: #710342, #713098 + + [ Jelmer Vernooij ] + * Migrate to Git. + * Bump standards version to 3.9.4. + * Fix duplicate line in copyright file. + * Use dpkg-buildflags, enabling hardening. + + -- Jelmer Vernooij <jelmer@debian.org> Sun, 11 Aug 2013 13:37:12 +0000 + +tdb (1.2.11-2.1) experimental; urgency=low + + * Non-maintainer upload with maintainer's agreement. + * New upstream release. + + Add 08_waf_python_config to cope with python-config no longer + being a script. + + Adapt 40_test_transaction_expand_non_fatal.diff after conflicts + + -- Andrew Bartlett <abartlet@samba.org> Tue, 12 Feb 2013 20:43:55 +1100 + +tdb (1.2.10-2) unstable; urgency=high + + [ Ivo De Decker ] + * Make transaction-expand test non-fatal. Fixes FTBFS. Closes: #674749 + * Fix version in symbols file to make lintian happy. + + -- Jelmer Vernooij <jelmer@debian.org> Mon, 28 May 2012 00:16:23 +0200 + +tdb (1.2.10-1.1) unstable; urgency=high + + * Fix version in symbols file to make lintian happy. + + -- Ivo De Decker <ivo.dedecker@ugent.be> Sun, 27 May 2012 12:55:11 +0200 + +tdb (1.2.10-1) unstable; urgency=low + + * debian/rules: Remove unnecessary clean: target. + * Properly clean up after building. + * New upstream release. + + -- Jelmer Vernooij <jelmer@debian.org> Wed, 11 Apr 2012 15:46:13 +0200 + +tdb (1.2.9+git20120207-2) unstable; urgency=low + + * Bump standards version to 3.9.3 (no changes). + * Use parseable format for copyright file. + + -- Jelmer Vernooij <jelmer@debian.org> Tue, 28 Feb 2012 15:45:33 +0100 + +tdb (1.2.9+git20120207-1) unstable; urgency=low + + * New upstream snapshot. + + Unpacks waf sourcecode. Closes: #654509 + + Fixes build issues when IOV_MAX is not available, as is + the case on Hurd systems. Closes: #657021 + + -- Jelmer Vernooij <jelmer@debian.org> Tue, 07 Feb 2012 14:38:34 +0100 + +tdb (1.2.9-4) unstable; urgency=low + + * Explicitly use dh_python2. + * Use system Python. Closes: #577435 + + -- Jelmer Vernooij <jelmer@debian.org> Sun, 25 Sep 2011 19:13:08 +0200 + +tdb (1.2.9-3) unstable; urgency=low + + * Upload to unstable. + * Use new style debhelper. + + -- Jelmer Vernooij <jelmer@debian.org> Thu, 28 Jul 2011 16:30:26 +0200 + +tdb (1.2.9-2) experimental; urgency=low + + * Add python-tdb-dbg and libtdb1-dbg packages. + * Bump standards version to 3.9.2. + * Use --disable-rpath-install only, simplifies testsuite running. + * Switch from dh_pycentral to dh_python2. Closes: #617120 + * Drop transitional package tdb-dev. + * Add support for multiarch to libtdb1. + + -- Jelmer Vernooij <jelmer@debian.org> Tue, 26 Jul 2011 20:36:40 +0200 + +tdb (1.2.9-1) unstable; urgency=low + + * New upstream release. + + -- Jelmer Vernooij <jelmer@debian.org> Sun, 23 Jan 2011 22:23:33 -0800 + +tdb (1.2.8-1) unstable; urgency=low + + * New upstream release. + + Introduces symbol versioning. + * Switch to python-support. + * Run testsuite during build. + * Link with --as-needed. + + -- Jelmer Vernooij <jelmer@debian.org> Tue, 21 Dec 2010 19:30:08 +0100 + +tdb (1.2.7+git20101021-1) unstable; urgency=low + + * New upstream snapshot. + + Removes use of _PUBLIC_ from tdb.h. Closes: #600898 + + -- Jelmer Vernooij <jelmer@debian.org> Thu, 21 Oct 2010 16:38:46 +0200 + +tdb (1.2.7-1) unstable; urgency=low + + * New upstream release. + + -- Jelmer Vernooij <jelmer@debian.org> Mon, 04 Oct 2010 21:55:48 +0200 + +tdb (1.2.3~git20100819-1) experimental; urgency=low + + * New upstream snapshot. + * Bump standards version to 3.9.1 (no changes). + * Switch to bzr. + + -- Jelmer Vernooij <jelmer@debian.org> Sun, 22 Aug 2010 14:21:07 +0200 + +tdb (1.2.2~git20100507-1) experimental; urgency=low + + * New upstream snapshot. + * Build with standard system python. Closes: #577435 + * Remove `tdb_transaction_recover` symbol which was also removed upstream. + This symbol was never intended to be public and would have been hard to + use anyway. + + -- Jelmer Vernooij <jelmer@debian.org> Thu, 13 May 2010 18:42:16 +0200 + +tdb (1.2.1-2) unstable; urgency=low + + * Add missing build dependency on xsltproc, docbook-xsl. Closes: + #570950 + + -- Jelmer Vernooij <jelmer@debian.org> Mon, 22 Feb 2010 14:28:59 +0100 + +tdb (1.2.1-1) unstable; urgency=low + + * New upstream release. + + Adds manual pages for tdb-tools. Closes: #557819 + * Use source format 3. + * Bump standards version to 3.8.4. + + -- Jelmer Vernooij <jelmer@debian.org> Mon, 22 Feb 2010 03:24:06 +0100 + +tdb (1.2.0-1) unstable; urgency=low + + * New upstream release. + * Rename tdb-dev -> libtdb-dev. + * Bump standards version to 3.8.3. + + -- Jelmer Vernooij <jelmer@debian.org> Mon, 07 Dec 2009 22:18:51 +0100 + +tdb (1.1.5-2) unstable; urgency=low + + * Provide a symbols file. + * Provide deprecated replacement of public tdb_logging_function symbol + removed upstream without soname bump. Closes: #511011 + * Fix use of --as-needed. + * Bump standards version to 3.8.2. + + -- Jelmer Vernooij <jelmer@debian.org> Sat, 18 Jul 2009 12:15:43 +0200 + +tdb (1.1.5-1) unstable; urgency=low + + * New upstream release. + + -- Jelmer Vernooij <jelmer@debian.org> Wed, 17 Jun 2009 16:57:30 +0200 + +tdb (1.1.4~git20090604-1) experimental; urgency=low + + * New upstream snapshot. + + -- Jelmer Vernooij <jelmer@debian.org> Fri, 05 Jun 2009 00:54:27 +0200 + +tdb (1.1.3-1) unstable; urgency=low + + * New upstream release. + * Bump standards version to 3.8.1. + + -- Jelmer Vernooij <jelmer@debian.org> Sat, 16 May 2009 03:39:51 +0200 + +tdb (1.1.3~git20090221-1) unstable; urgency=low + + * New upstream snapshot. + * Upload to unstable. + * Link with --as-needed. + + -- Jelmer Vernooij <jelmer@debian.org> Sat, 21 Feb 2009 17:27:45 +0100 + +tdb (1.1.3~git20081222-2) experimental; urgency=low + + * Switch to python-central. + * Add dummy watchfile explaining how to obtain an upstream tarball. + * Fix version number. (Closes: #510885) + * Bump shlibs because of newly added tdb_repack() symbol. (Closes: #510886) + * Remove use of absolute paths per policy §6.1. (Closes: #510944) + + -- Jelmer Vernooij <jelmer@debian.org> Sun, 25 Jan 2009 00:13:16 +0100 + +tdb (1.1.2~git20081222-1) unstable; urgency=low + + * New upstream snapshot. + + -- Jelmer Vernooij <jelmer@samba.org> Mon, 22 Dec 2008 23:59:23 +0100 + +tdb (1.1.2~git20080615-1) unstable; urgency=low + + * New upstream snapshot. + * Bump standards version to 3.8.0. + + -- Jelmer Vernooij <jelmer@samba.org> Mon, 16 Jun 2008 00:41:17 +0200 + +tdb (1.1.2~git20080521-1) unstable; urgency=low + + * New upstream snapshot. + * Fix soname symlink. (Closes: #482008, Closes: #482228) + + -- Jelmer Vernooij <jelmer@samba.org> Wed, 21 May 2008 17:41:28 +0200 + +tdb (1.1.2~git20080520-1) unstable; urgency=low + + * New upstream snapshot. + + -- Jelmer Vernooij <jelmer@samba.org> Tue, 20 May 2008 01:52:37 +0200 + +tdb (1.1.1~svn26294-2) unstable; urgency=low + + * Add patch to clear spinlocks if set and opening a TDB in write mode. + (Closes: #425716) + * Change tdb-dev section to libdevel. + + -- Jelmer Vernooij <jelmer@samba.org> Tue, 25 Mar 2008 21:43:50 +0100 + +tdb (1.1.1~svn26294-1.1) unstable; urgency=low + + * Non-maintainer upload. + * 10_include_signalh.diff (Closes: #460302). + + Include signal.h in tdb.h. + * Re-add manpages. (Closes: #439809). + + Fix manpage sections. + + Escape hyphens as minus signs. + * Fix return value in tdb_delete.3. (Closes: #385389). + * Add ${shlibs:Depends} on python-tdb package. + + -- Barry deFreese <bddebian@comcast.net> Sat, 08 Mar 2008 22:34:03 -0500 + +tdb (1.1.1~svn26294-1) unstable; urgency=low + + * New upstream snapshot. + * Set Vcs-Svn field. + * Support building twice in a row. (Closes: #442743) + * Install SWIG file. + * Upload to unstable. + + -- Jelmer Vernooij <jelmer@samba.org> Tue, 04 Dec 2007 19:23:26 +0100 + +tdb (1.1.1~svn26181-1) unstable; urgency=low + + * Set homepage field. + * New upstream snapshot. + * Add python-tdb package. + * Allow Debian Maintainer uploads. + + -- Jelmer Vernooij <jelmer@samba.org> Sun, 25 Nov 2007 16:31:28 +0000 + +tdb (1.1.0-1) unstable; urgency=low + + * New upstream release. + * Removes spinlock code. (Closes: #400802) + * References to tdb_lockkeys() were removed. (Closes: #309994) + * Provide tdb_chain(un)lock() functions. (Closes: #412817) + * New maintainer. (Closes: #411687) + * Drop dependency on gdbm-dev. + * Fix typo in copyright file. (Closes: #337506) + + -- Jelmer Vernooij <jelmer@samba.org> Wed, 02 May 2007 20:02:08 +0200 + +tdb (1.0.6-13) unstable; urgency=high + + * Closes: #307214: ctrlproxy: FTBFS: /usr/include/tdb.h:150: error: + parse error before '*' token + * Thanks to Wilmer van der Gaast <lintux@debian.org> for providing + the patch to fix the above issue. + * Closes: #290211: Improper copyright file + * Closes: #262490: tdb_1.0.6-8_mips: FTBFS: opcode not supported on + this processor: mips1. Spinlocks are not used on mips. + + -- Marek Habersack <grendel@debian.org> Wed, 4 May 2005 11:11:22 -0400 + +tdb (1.0.6-12) unstable; urgency=medium + + * Closes: #305771: libtdb is LGPL, rather than GPL as stated in + copyright + * Updated the configure file with the correct license information. + * The binaries accompanying the library are _mostly_ marked as licensed + under the GPL. As the effect, I'm (for now) assumming that those binaries + that do not bear the license text are GPL-ed as well. + * The sources have been updated from the Samba 3.0.14a release. + * Closes: #305867: tdb fails to build on athlon64 running sarge/i386. + Thanks to Len Sorensen <lennartsorensen@ruggedcom.com> for noticing that + and providing the fix. + + -- Marek Habersack <grendel@debian.org> Fri, 22 Apr 2005 17:39:20 -0400 + +tdb (1.0.6-11) unstable; urgency=high + + * Added #include <signal.h> in tdb.h, to get the definition of + sig_atomic_t (closes: Bug#264601) + + -- Marek Habersack <grendel@debian.org> Mon, 9 Aug 2004 20:05:36 +0200 + +tdb (1.0.6-10) unstable; urgency=high + + * tdbbackup is registered with the alternatives system now so that it + does not conflict with the Samba package (closes: Bug#262605) + + -- Marek Habersack <grendel@debian.org> Mon, 2 Aug 2004 01:58:39 +0200 + +tdb (1.0.6-9) unstable; urgency=high + + * MIPS doesn't want to cooperate on the spinlocks. Disabling it for the + architecture (closes: Bug#262490). + + -- Marek Habersack <grendel@debian.org> Sun, 1 Aug 2004 03:07:55 +0200 + +tdb (1.0.6-8) unstable; urgency=low + + * Updated the sources to their versions from the samba 3.0.5 package. + The interface is 100% backward compatible. + * Updated the Standards Version. No changes. + * Enabled spinlocks for architectures that are supported (x86,sparc, + mips,powerpc) + + -- Marek Habersack <grendel@debian.org> Sat, 31 Jul 2004 03:23:39 +0200 + +tdb (1.0.6-7) unstable; urgency=high + + * Updated the libtool version (closes: Bug#201928) + + -- Marek Habersack <grendel@debian.org> Fri, 18 Jul 2003 14:24:00 -0400 + +tdb (1.0.6-6) unstable; urgency=high + + * Bumped the standards version + * Depends on debconf > 4.0 + * Fixed the build-time dependencies. Correctly depends on libgdbm-dev + instead of on libgdbm1-dev (closes: Bug#199608) + + -- Marek Habersack <grendel@debian.org> Tue, 1 Jul 2003 18:16:09 -0400 + +tdb (1.0.6-5) unstable; urgency=low + + * Modified tdbtool.c to properly use multi-line strings + (closes: Bug#195257) + * Corrected the copyright file to not use the boilerplate. + + -- Marek Habersack <grendel@debian.org> Thu, 29 May 2003 15:25:54 -0400 + +tdb (1.0.6-4) unstable; urgency=high + + * made dependencies right for tdb-dev (closes: #143517) + + -- Marek Habersack <grendel@debian.org> Thu, 18 Apr 2002 23:55:53 +0200 + +tdb (1.0.6-3) unstable; urgency=high + + * Added the shared library module. It is needed for some packages on hppa. + + -- Marek Habersack <grendel@debian.org> Mon, 15 Apr 2002 19:28:09 +0200 + +tdb (1.0.6-2) unstable; urgency=high + + * Upgraded the config.guess and config.sub files (closes: #138609) + + -- Marek Habersack <grendel@debian.org> Sun, 17 Mar 2002 00:35:25 +0100 + +tdb (1.0.6-1) unstable; urgency=medium + + * Latest upstream (closes: #137972) + + -- Marek Habersack <grendel@debian.org> Wed, 13 Mar 2002 02:43:47 +0100 + +tdb (1.0.3-4) unstable; urgency=low + + * Updated config.guess and config.sub (closes: #103348) + * Binaries in tdb-tools no longer are linked against the shared + tdb library (closes: #102498) + + -- Marek Habersack <grendel@debian.org> Wed, 4 Jul 2001 11:48:34 +0200 + +tdb (1.0.3-3) unstable; urgency=low + + * Fixed incorrect dependency on tdb1 + + -- Marek Habersack <grendel@debian.org> Thu, 17 May 2001 13:21:11 +0200 + +tdb (1.0.3-2) unstable; urgency=low + + * Changed the package description. Closes: #97636 + + -- Marek Habersack <grendel@debian.org> Wed, 16 May 2001 10:47:10 +0200 + +tdb (1.0.3-1) unstable; urgency=low + + * Initial Release. + + -- Marek Habersack <grendel@debian.org> Mon, 7 May 2001 18:03:17 +0200 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..8d18a83 --- /dev/null +++ b/debian/control @@ -0,0 +1,70 @@ +Source: tdb +Section: devel +Priority: optional +Maintainer: Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org> +Uploaders: Jelmer Vernooij <jelmer@debian.org>, + Mathieu Parent <sathieu@debian.org>, + Michael Tokarev <mjt@tls.msk.ru> +Build-Depends: debhelper-compat (= 13), + dh-sequence-python3, + docbook-xml, docbook-xsl, xsltproc, +# use {python3,libpython3}-ALL-dev to build for all python3 versions (+#904999): + python3-dev:any | python3-dev, libpython3-dev, +# host python is needed for selftests + python3 <!nocheck>, +Rules-Requires-Root: no +Homepage: https://tdb.samba.org/ +Standards-Version: 4.6.2 +Vcs-Browser: https://salsa.debian.org/samba-team/tdb +Vcs-Git: https://salsa.debian.org/samba-team/tdb.git + +Package: libtdb1 +Pre-Depends: ${misc:Pre-Depends} +Multi-Arch: same +Architecture: any +Section: libs +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: Trivial Database - shared library + This is a simple database API. It is modelled after the structure + of GDBM. TDB features, unlike GDBM, multiple writers support with + appropriate locking and transactions. + . + This package contains the shared library file. + +Package: tdb-tools +Section: utils +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: Trivial Database - bundled binaries + This is a simple database API. It is modelled after the structure + of GDBM. TDB features, unlike GDBM, multiple writers support with + appropriate locking and transactions. + . + This package contains bundled test and utility binaries + +Package: libtdb-dev +Multi-Arch: same +Provides: tdb-dev +Section: libdevel +Architecture: any +Depends: libc6-dev, libtdb1 (= ${binary:Version}), ${misc:Depends} +Description: Trivial Database - development files + This is a simple database API. It is modelled after the structure + of GDBM. TDB features, unlike GDBM, multiple writers support with + appropriate locking and transactions. + . + This package contains the development files. + +Package: python3-tdb +Section: python +Architecture: any +Depends: libtdb1 (= ${binary:Version}), + ${misc:Depends}, + ${python3:Depends}, + ${shlibs:Depends} +Description: Python3 bindings for TDB + This is a simple database API. It is modelled after the structure + of GDBM. TDB features, unlike GDBM, multiple writers support with + appropriate locking and transactions. + . + This package contains the Python3 bindings. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..7f3b00b --- /dev/null +++ b/debian/copyright @@ -0,0 +1,528 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: tdb +Upstream-Contact: Rusty Russell <rusty@samba.org> +Source: http://tdb.samba.org/ + +Files: * +Copyright: + 1999-2005 Andrew Tridgell <tridge@samba.org> + 2000-2012 Rusty Russell <rusty@samba.org> + 2000-2003 Jeremy Allison <jra@samba.org> + 2012-2013 Volker Lendecke <vl@samba.org> + 2013-2014 Stefan Metzmacher <metze@samba.org> + 2014 Michael Adam <obnox@samba.org> +License: LGPL-3.0+ + +Files: debian/* +Copyright: + 2001-2005 Marek Habersack <grendel@debian.org> on + 2007-2012 Jelmer Vernooij <jelmer@samba.org> +License: LGPL-3.0+ + +Files: common/*.c +Copyright: + Copyright (c) Andrew Tridgell 1999-2006 + Copyright (c) Paul `Rusty' Russell 2000 + Copyright (c) Jeremy Allison 2000-2003,2007 +License: LGPL-3.0+ + +Files: tools/*.c +Copyright: + Copyright (c) Andrew Tridgell 1999-2006 + Copyright (c) Paul `Rusty' Russell 2000 + Copyright (c) Jeremy Allison 2000-2003,2007 + Copyright (c) Andrew Esh 2001 +License: GPL-3.0+ + +Files: pytdb.c +Copyright: + Copyright (c) Tim Potter <tpot@samba.org> 2004-2006 + Copyright (c) Jelmer Vernooij 2006-2008 +License: LGPL-3.0+ + +Files: lib/replace/*.c +Comment: This file is not used when building the Debian package. +Copyright: + Copyright (c) Andrew Tridgell 1994-2006 + Copyright (c) Jeremy Allison 2000-2003,2007 + Copyright (c) Michael Adam <obnox@samba.org> 2008 + Copyright (c) Patrick Powell 1995 + Copyright (c) Free Software Foundation, Inc. 1991-2001 + Copyright (c) Jelmer Vernooij 2006-2009 + Copyright (c) Andreas Schneider 2009-2015 + Copyright (c) Volker Lendecke 2011-2016 + Copyright (c) Internet Software Consortium 1996-2001 + Copyright (c) Aris Adamantiadis 2003-2009 + Copyright (c) Aleksandar Kanchev 2009 + Copyright (c) Matthieu Patou 2010 +License: LGPL-3.0+ + +Files: lib/replace/getaddrinfo.* +Comment: This file is not used when building the Debian package. +Copyright: + Copyright (c) PostgreSQL Global Development Group 1996-2007 + Copyright (c) The Regents of the University of California 1994 +License: PostgreSQL + Permission to use, copy, modify, and distribute this software and its + documentation for any purpose, without fee, and without a written agreement + is hereby granted, provided that the above copyright notice and this paragraph + and the following two paragraphs appear in all copies. + . + IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR + DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + EVEN IF THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + . + THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES, + INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS + ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATIONS + TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + +Files: lib/replace/inet_ntop.c lib/replace/inet_pton.c +Comment: This file is not used when building the Debian package. +Copyright: Internet Software Consortium. 1996-2001 +License: ISC + +Files: lib/replace/snprintf.c +Comment: This file is not used when building the Debian package. +Copyright: + Copyright (c) Patrick Powell 1995 + Copyright (c) Brandon Long <blong@fiction.net> 1997 + Copyright (c) Thomas Roessler <roessler@guug.de> 1998 + Copyright (c) Michael Elkins <me@cs.hmc.edu> 1998 + Copyright (c) Andrew Tridgell (tridge@samba.org) 1998-2001 + Copyright (c) Martin Pool 2003 + Copyright (c) Darren Tucker (dtucker@zip.com.au) 2005 + Copyright (c) Simo Sorce (idra@samba.org) 2006 +License: BSD-3 + +Files: lib/replace/strptime.c +Comment: This file is not used when building the Debian package. +Copyright: + Copyright (c) Ulrich Drepper <drepper@cygnus.com>, 1996 +License: LGPL-3.0+ + +Files: lib/replace/timegm.c +Comment: This file is not used when building the Debian package. +Copyright: + Copyright (c) Kungliga Tekniska Högskolan 1997 +License: BSD-3 + +Files: lib/replace/xattr.c +Comment: This file is not used when building the Debian package. +Copyright: + Copyright (c) Jeremy Allison 1998-2005 + Copyright (C) Timur Bakeyev 2005 + Copyright (C) Bjoern Jacke 2006-2007 + Copyright (C) Herb Lewis 2003 + Copyright (C) Andrew Bartlett 2012 +License: LGPL-3.0+ + +Files: + buildtools/bin/waf + buildtools/wafsamba/stale_files.py + third_party/waf/* +Comment: See https://gitlab.com/ita1024/waf/blob/master/waf-light#L6 +Copyright: + Copyright Scott Newton, 2005 (scottn) + Copyright Thomas Nagy, 2005-2018 (ita) +License: BSD-3 + +Files: + third_party/waf/waflib/extras/bjam.py + third_party/waf/waflib/extras/proc.py + third_party/waf/waflib/extras/softlink_libs.py +Copyright: + Copyright rosengren 2011 +License: BSD-3 + +Files: third_party/waf/waflib/extras/blender.py +Copyright: + Copyright Michal Proszek, 2014 (poxip) +License: BSD-3 + +Files: third_party/waf/waflib/extras/boo.py +Copyright: + Copyright Yannick LM 2011 +License: BSD-3 + +Files: third_party/waf/waflib/extras/boost.py +Copyright: + Copyright Gernot Vormayr + Copyright Ruediger Sonderfeld <ruediger@c-plusplus.de>, 2008 + Copyright Bjoern Michaelsen, 2008 + Copyright Luca Fossati, 2008 + Copyright Thomas Nagy, 2008 + Copyright Sylvain Rouquette, 2011 +License: BSD-3 + +Files: third_party/waf/waflib/extras/buildcopy.py +Copyright: + Copyright Calle Rosenquist, 2017 (xbreak) +License: BSD-3 + +Files: third_party/waf/waflib/extras/cabal.py +Copyright: + Copyright Anton Feldmann, 2012 +License: BSD-3 + +Files: + third_party/waf/waflib/extras/c_bgxlc.py + third_party/waf/waflib/extras/c_nec.py + third_party/waf/waflib/extras/fc_bgxlf.py + third_party/waf/waflib/extras/fc_cray.py + third_party/waf/waflib/extras/fc_nag.py + third_party/waf/waflib/extras/fc_nec.py + third_party/waf/waflib/extras/fc_open64.py + third_party/waf/waflib/extras/fc_solstudio.py + third_party/waf/waflib/extras/fc_xlf.py +Copyright: + Copyright harald at klimachs.de +License: BSD-3 + +Files: third_party/waf/waflib/extras/clang_compilation_database.py +Copyright: + Copyright Christoph Koke, 2013 +License: BSD-3 + +Files: third_party/waf/waflib/extras/codelite.py +Copyright: + Copyright Christian Klein (chrikle@berlios.de) +License: BSD-3 + +Files: + third_party/waf/waflib/extras/color_gcc.py + third_party/waf/waflib/extras/color_rvct.py + third_party/waf/waflib/extras/cross_gnu.py + third_party/waf/waflib/extras/dcc.py + third_party/waf/waflib/extras/halide.py + third_party/waf/waflib/extras/qnxnto.py + third_party/waf/waflib/extras/remote.py + third_party/waf/waflib/extras/rst.py + third_party/waf/waflib/extras/ticgt.py +Copyright: + Copyright Jérôme Carretero, 2011-2014 +License: BSD-3 + +Files: third_party/waf/waflib/extras/cppcheck.py +Copyright: + Copyright Michel Mooij, michel.mooij7@gmail.com +License: BSD-3 + +Files: + third_party/waf/waflib/extras/cpplint.py + third_party/waf/waflib/extras/freeimage.py + third_party/waf/waflib/extras/pep8.py +Copyright: + Copyright Sylvain Rouquette, 2011-2014 +License: BSD-3 + +Files: third_party/waf/waflib/extras/dpapi.py +Copyright: + Copyright Matt Clarkson, 2012 +License: BSD-3 + +Files: third_party/waf/waflib/extras/eclipse.py +Copyright: + Copyright Richard Quirk 2009-1011 +License: BSD-3 + +Files: third_party/waf/waflib/extras/erlang.py +Copyright: + Copyright Thomas Nagy, 2010 (ita) + Copyright Przemyslaw Rzepecki, 2016 +License: BSD-3 + +Files: third_party/waf/waflib/extras/fluid.py third_party/waf/waflib/extras/objcopy.py +Copyright: + Copyright Grygoriy Fuchedzhy 2009-2010 +License: BSD-3 + +Files: third_party/waf/waflib/extras/gdbus.py third_party/waf/waflib/extras/msvcdeps.py +Copyright: + Copyright Copyright Garmin International or its subsidiaries, 2012-2018 +License: BSD-3 + +Files: + third_party/waf/waflib/extras/gob2.py + third_party/waf/waflib/Tools/dbus.py + third_party/waf/waflib/Tools/gnu_dirs.py +Copyright: + Copyright Ali Sabil, 2007 +License: BSD-3 + +Files: third_party/waf/waflib/extras/javatest.py third_party/waf/waflib/extras/pyqt5.py +Copyright: + Copyright Federico Pellegrin, 2016-2018 (fedepell) +License: BSD-3 + +Files: third_party/waf/waflib/extras/midl.py +Copyright: + Copyright ultrix gmail com +License: BSD-3 + +Files: third_party/waf/waflib/extras/msvs.py +Copyright: + Copyright Avalanche Studios 2009-2011 + Copyright Thomas Nagy 2011 +License: BSD-3 + +Files: third_party/waf/waflib/extras/pch.py +Copyright: + Copyright Alexander Afanasyev (UCLA), 2014 +License: BSD-3 + +Files: third_party/waf/waflib/extras/pgicc.py third_party/waf/waflib/extras/pgicxx.py +Copyright: + Copyright Antoine Dechaume 2011 +License: BSD-3 + +Files: third_party/waf/waflib/extras/protoc.py +Copyright: + Copyright Philipp Bender, 2012 + Copyright Matt Clarkson, 2012 +License: BSD-3 + +Files: third_party/waf/waflib/extras/pytest.py +Copyright: + Copyright Calle Rosenquist, 2016-2018 (xbreak) +License: BSD-3 + +Files: third_party/waf/waflib/extras/review.py +Copyright: + Copyright Laurent Birtz, 2011 +License: BSD-3 + +Files: + third_party/waf/waflib/extras/run_do_script.py + third_party/waf/waflib/extras/run_m_script.py + third_party/waf/waflib/extras/run_py_script.py + third_party/waf/waflib/extras/run_r_script.py +Copyright: + Copyright Hans-Martin von Gaudecker, 2012 +License: BSD-3 + +Files: third_party/waf/waflib/extras/sas.py +Copyright: + Copyright Mark Coggeshall, 2010 +License: BSD-3 + +Files: third_party/waf/waflib/extras/swig.py +Copyright: + Copyright Petar Forai + Copyright Thomas Nagy 2008-2010 (ita) +License: BSD-3 + +Files: third_party/waf/waflib/extras/use_config.py +Copyright: + Copyright Mathieu Courtois - EDF R&D, 2013 - http://www.code-aster.org +License: BSD-3 + +Files: third_party/waf/waflib/extras/valadoc.py +Copyright: + Copyright Nicolas Joseph 2009 +License: BSD-3 + +Files: third_party/waf/waflib/extras/xcode6.py +Copyright: + Copyright Nicolas Mercier 2011 + Copyright Simon Warg 2015, https://github.com/mimom +License: BSD-3 + +Files: third_party/waf/waflib/Tools/ar.py +Copyright: + Copyright Thomas Nagy, 2006-2018 (ita) + Copyright Ralf Habacker, 2006 (rh) +License: BSD-3 + +Files: third_party/waf/waflib/Tools/bison.py +Copyright: + Copyright John O'Meara, 2006 + Copyright Thomas Nagy 2009-2018 (ita) +License: BSD-3 + +Files: third_party/waf/waflib/Tools/clang.py +Copyright: + Copyright Krzysztof Kosiński 2014 +License: BSD-3 + +Files: third_party/waf/waflib/Tools/compiler_c.py third_party/waf/waflib/Tools/compiler_cxx.py +Copyright: + Copyright Matthias Jahn jahn dôt matthias ât freenet dôt de, 2007 (pmarat) +License: BSD-3 + +Files: + third_party/waf/waflib/Tools/compiler_d.py + third_party/waf/waflib/Tools/dmd.py + third_party/waf/waflib/Tools/d.py + third_party/waf/waflib/Tools/gdc.py + third_party/waf/waflib/Tools/waf_unit_test.py +Copyright: + Copyright Carlos Rafael Giani, 2006-2007 (dv) + Copyright Thomas Nagy, 2008-2018 (ita) +License: BSD-3 + +Files: third_party/waf/waflib/Tools/flex.py +Copyright: + Copyright John O'Meara, 2006 + Thomas Nagy, 2006-2018 (ita) +License: BSD-3 + +Files: third_party/waf/waflib/Tools/g95.py +Copyright: + Copyright KWS 2010 + Copyright Thomas Nagy 2016-2018 (ita) +License: BSD-3 + +Files: third_party/waf/waflib/Tools/gcc.py third_party/waf/waflib/Tools/gxx.py +Copyright: + Copyright Thomas Nagy, 2006-2018 (ita) + Copyright Ralf Habacker, 2006 (rh) + Copyright Yinon Ehrlich, 2009 +License: BSD-3 + +Files: third_party/waf/waflib/Tools/icc.py +Copyright: + Copyright Stian Selnes 2008 + Copyright Thomas Nagy 2009-2018 (ita) +License: BSD-3 + +Files: third_party/waf/waflib/Tools/ldc2.py +Copyright: + Copyright Alex Rønne Petersen, 2012 (alexrp/Zor) +License: BSD-3 + +Files: third_party/waf/waflib/Tools/lua.py +Copyright: + Copyright Sebastian Schlingmann, 2008 + Copyright Thomas Nagy, 2008-2018 (ita) +License: BSD-3 + +Files: third_party/waf/waflib/Tools/msvc.py +Copyright: + Copyright Carlos Rafael Giani, 2006 (dv) + Copyright Tamas Pal, 2007 (folti) + Copyright Nicolas Mercier, 2009 + Copyright Matt Clarkson, 2012 +License: BSD-3 + +Files: third_party/waf/waflib/Tools/perl.py +Copyright: + Copyright andersg at 0x63.nu 2007 + Copyright Thomas Nagy 2016-2018 (ita) +License: BSD-3 + +Files: third_party/waf/waflib/Tools/python.py +Copyright: + Copyright Thomas Nagy, 2007-2015 (ita) + Copyright Gustavo Carneiro (gjc), 2007 +License: BSD-3 + +Files: third_party/waf/waflib/Tools/ruby.py +Copyright: + Copyright daniel.svensson at purplescout.se 2008 + Copyright Thomas Nagy 2016-2018 (ita) +License: BSD-3 + +Files: third_party/waf/waflib/Tools/suncc.py third_party/waf/waflib/Tools/suncxx.py +Copyright: + Copyright Thomas Nagy, 2006-2018 (ita) + Copyright Ralf Habacker, 2006 (rh) +License: BSD-3 + +Files: third_party/waf/waflib/Tools/vala.py +Copyright: + Copyright Ali Sabil, 2007 + Copyright Radosław Szkodziński, 2010 +License: BSD-3 + +Files: third_party/waf/waflib/Tools/winres.py +Copyright: + Copyright Brant Young, 2007 +License: BSD-3 + +Files: third_party/waf/waflib/Tools/xlc.py third_party/waf/waflib/Tools/xlcxx.py +Copyright: + Copyright Thomas Nagy, 2006-2018 (ita) + Copyright Ralf Habacker, 2006 (rh) + Copyright Yinon Ehrlich, 2009 + Copyright Michael Kuhn, 2009 +License: BSD-3 + +License: ISC + Permission to use, copy, modify, and distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + . + THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM + DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL + INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, + INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING + FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, + NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION + WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +License: BSD-3 + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + . + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + . + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + . + 3. Neither the name of the Institute nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + +License: LGPL-3.0+ + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 3 of the License, or (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + . + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see <https://www.gnu.org/licenses/>. + . + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in "/usr/share/common-licenses/LGPL-3". + +License: GPL-3.0+ + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see <https://www.gnu.org/licenses/>. + . + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..0a3b09a --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,3 @@ +[DEFAULT] +sign-tags = True +pristine-tar = True diff --git a/debian/header-remove-_PUBLIC_-define.patch b/debian/header-remove-_PUBLIC_-define.patch new file mode 100644 index 0000000..10557d1 --- /dev/null +++ b/debian/header-remove-_PUBLIC_-define.patch @@ -0,0 +1,29 @@ +From: Michael Tokarev <mjt@tls.msk.ru> +Date: Sun, 10 Apr 2022 00:06:35 +0300 +Subject: header: remove _PUBLIC_ define + +Samba installs public headers with _PUBLIC_ markers for all externally-visible +symbols. And it also defines _PUBLIC_ if it is not already defined. +This define should be removed, because it is in an reserved namespace, and +because it already stays in conflict with samba own headers of libraries it +is building internally. The markers for every symbol are removed separately, +this patch removes the _PUBLIC_ definition itself. + +diff --git a/talloc.h b/talloc.h +index 06e81d7..dbf35b5 100644 +--- a/talloc.h ++++ b/talloc.h +@@ -36,13 +35,0 @@ extern "C" { +-/* for old gcc releases that don't have the feature test macro __has_attribute */ +-#ifndef __has_attribute +-#define __has_attribute(x) 0 +-#endif +- +-#ifndef _PUBLIC_ +-#if __has_attribute(visibility) +-#define _PUBLIC_ __attribute__((visibility("default"))) +-#else +-#define _PUBLIC_ +-#endif +-#endif +- diff --git a/debian/libtdb-dev.dirs b/debian/libtdb-dev.dirs new file mode 100644 index 0000000..4418816 --- /dev/null +++ b/debian/libtdb-dev.dirs @@ -0,0 +1,2 @@ +usr/lib +usr/include diff --git a/debian/libtdb-dev.docs b/debian/libtdb-dev.docs new file mode 100644 index 0000000..dca5b3b --- /dev/null +++ b/debian/libtdb-dev.docs @@ -0,0 +1 @@ +docs/README diff --git a/debian/libtdb-dev.install b/debian/libtdb-dev.install new file mode 100644 index 0000000..4371dc0 --- /dev/null +++ b/debian/libtdb-dev.install @@ -0,0 +1,4 @@ +usr/include/* +usr/lib/*/lib*.so +usr/lib/*/lib*.a +usr/lib/*/pkgconfig/tdb.pc diff --git a/debian/libtdb-dev.manpages b/debian/libtdb-dev.manpages new file mode 100644 index 0000000..2fb19fb --- /dev/null +++ b/debian/libtdb-dev.manpages @@ -0,0 +1 @@ +debian/manpages/* diff --git a/debian/libtdb1.install b/debian/libtdb1.install new file mode 100644 index 0000000..3ddde58 --- /dev/null +++ b/debian/libtdb1.install @@ -0,0 +1 @@ +usr/lib/*/lib*.so.* diff --git a/debian/libtdb1.symbols b/debian/libtdb1.symbols new file mode 100644 index 0000000..b840c6d --- /dev/null +++ b/debian/libtdb1.symbols @@ -0,0 +1,117 @@ +libtdb.so.1 libtdb1 #MINVER# +* Build-Depends-Package: libtdb-dev + TDB_1.2.10@TDB_1.2.10 1.2.10 + TDB_1.2.11@TDB_1.2.11 1.2.11 + TDB_1.2.12@TDB_1.2.12 1.2.12 + TDB_1.2.13@TDB_1.2.13 1.2.13 + TDB_1.2.1@TDB_1.2.1 1.2.7+git20101215 + TDB_1.2.2@TDB_1.2.2 1.2.7+git20101215 + TDB_1.2.3@TDB_1.2.3 1.2.9+git20120207 + TDB_1.2.4@TDB_1.2.4 1.2.9+git20120207 + TDB_1.2.5@TDB_1.2.5 1.2.7+git20101215 + TDB_1.2.6@TDB_1.2.6 1.2.9+git20120207 + TDB_1.2.7@TDB_1.2.7 1.2.9+git20120207 + TDB_1.2.8@TDB_1.2.8 1.2.9+git20120207 + TDB_1.2.9@TDB_1.2.9 1.2.9 + TDB_1.3.0@TDB_1.3.0 1.3.0 + TDB_1.3.1@TDB_1.3.1 1.3.1 + TDB_1.3.2@TDB_1.3.2 1.3.2 + TDB_1.3.3@TDB_1.3.3 1.3.3 + TDB_1.3.4@TDB_1.3.4 1.3.4 + TDB_1.3.5@TDB_1.3.5 1.3.5 + TDB_1.3.6@TDB_1.3.6 1.3.6 + TDB_1.3.7@TDB_1.3.7 1.3.7 + TDB_1.3.8@TDB_1.3.8 1.3.8 + TDB_1.3.9@TDB_1.3.9 1.3.9 + TDB_1.3.10@TDB_1.3.10 1.3.10 + TDB_1.3.11@TDB_1.3.11 1.3.11 + TDB_1.3.12@TDB_1.3.12 1.3.12 + TDB_1.3.13@TDB_1.3.13 1.3.13 + TDB_1.3.14@TDB_1.3.14 1.3.14 + TDB_1.3.15@TDB_1.3.15 1.3.15 + TDB_1.3.16@TDB_1.3.16 1.3.16 + TDB_1.3.17@TDB_1.3.17 1.3.17 + TDB_1.3.18@TDB_1.3.18 1.3.18 + TDB_1.4.0@TDB_1.4.0 1.4.0 + TDB_1.4.1@TDB_1.4.1 1.4.1 + TDB_1.4.2@TDB_1.4.2 1.4.2 + TDB_1.4.3@TDB_1.4.3 1.4.3 + TDB_1.4.4@TDB_1.4.4 1.4.4 + TDB_1.4.5@TDB_1.4.5 1.4.5 + TDB_1.4.6@TDB_1.4.6 1.4.6 + TDB_1.4.7@TDB_1.4.7 1.4.7 + TDB_1.4.8@TDB_1.4.8 1.4.8 + tdb_add_flags@TDB_1.2.1 1.2.7+git20101214 + tdb_append@TDB_1.2.1 1.2.7+git20101214 + tdb_chainlock@TDB_1.2.1 1.2.7+git20101214 + tdb_chainlock_mark@TDB_1.2.1 1.2.7+git20101214 + tdb_chainlock_nonblock@TDB_1.2.1 1.2.7+git20101214 + tdb_chainlock_read@TDB_1.2.1 1.2.7+git20101214 + tdb_chainlock_read_nonblock@TDB_1.3.5 1.3.5 + tdb_chainlock_unmark@TDB_1.2.1 1.2.7+git20101214 + tdb_chainunlock@TDB_1.2.1 1.2.7+git20101214 + tdb_chainunlock_read@TDB_1.2.1 1.2.7+git20101214 + tdb_check@TDB_1.2.1 1.2.7+git20101214 + tdb_close@TDB_1.2.1 1.2.7+git20101214 + tdb_delete@TDB_1.2.1 1.2.7+git20101214 + tdb_dump_all@TDB_1.2.1 1.2.7+git20101214 + tdb_enable_seqnum@TDB_1.2.1 1.2.7+git20101214 + tdb_error@TDB_1.2.1 1.2.7+git20101214 + tdb_errorstr@TDB_1.2.1 1.2.7+git20101214 + tdb_exists@TDB_1.2.1 1.2.7+git20101214 + tdb_fd@TDB_1.2.1 1.2.7+git20101214 + tdb_fetch@TDB_1.2.1 1.2.7+git20101214 + tdb_firstkey@TDB_1.2.1 1.2.7+git20101214 + tdb_freelist_size@TDB_1.2.1 1.2.7+git20101214 + tdb_get_flags@TDB_1.2.1 1.2.7+git20101214 + tdb_get_logging_private@TDB_1.2.1 1.2.7+git20101214 + tdb_get_seqnum@TDB_1.2.1 1.2.7+git20101214 + tdb_hash_size@TDB_1.2.1 1.2.7+git20101214 + tdb_increment_seqnum_nonblock@TDB_1.2.1 1.2.7+git20101214 + tdb_jenkins_hash@TDB_1.2.5 1.2.7+git20101214 + tdb_lock_nonblock@TDB_1.2.1 1.2.10 + tdb_lockall@TDB_1.2.1 1.2.7+git20101214 + tdb_lockall_mark@TDB_1.2.1 1.2.7+git20101214 + tdb_lockall_nonblock@TDB_1.2.1 1.2.7+git20101214 + tdb_lockall_read@TDB_1.2.1 1.2.7+git20101214 + tdb_lockall_read_nonblock@TDB_1.2.1 1.2.7+git20101214 + tdb_lockall_unmark@TDB_1.2.1 1.2.7+git20101214 + tdb_log_fn@TDB_1.2.1 1.2.7+git20101214 + tdb_logging_function@TDB_1.2.1 1.2.7+git20101214 + tdb_map_size@TDB_1.2.1 1.2.7+git20101214 + tdb_name@TDB_1.2.1 1.2.7+git20101214 + tdb_nextkey@TDB_1.2.1 1.2.7+git20101214 + tdb_null@TDB_1.2.2 1.2.7+git20101214 + tdb_open@TDB_1.2.1 1.2.7+git20101214 + tdb_open_ex@TDB_1.2.1 1.2.7+git20101214 + tdb_parse_record@TDB_1.2.1 1.2.7+git20101214 + tdb_printfreelist@TDB_1.2.1 1.2.7+git20101214 + tdb_remove_flags@TDB_1.2.1 1.1.2~git20080520 + tdb_reopen@TDB_1.2.1 1.2.7+git20101214 + tdb_reopen_all@TDB_1.2.1 1.2.7+git20101214 + tdb_repack@TDB_1.2.1 1.1.2~git20081222 + tdb_rescue@TDB_1.2.11 1.2.11 + tdb_runtime_check_for_robust_mutexes@TDB_1.3.0 1.3.0 + tdb_set_logging_function@TDB_1.2.1 1.2.7+git20101214 + tdb_set_max_dead@TDB_1.2.1 1.2.7+git20101214 + tdb_setalarm_sigptr@TDB_1.2.1 1.2.7+git20101214 + tdb_store@TDB_1.2.1 1.2.7+git20101214 + tdb_storev@TDB_1.3.11 1.3.11 + tdb_summary@TDB_1.2.9 1.2.9 + tdb_transaction_active@TDB_1.3.14 1.3.14 + tdb_transaction_cancel@TDB_1.2.1 1.2.7+git20101214 + tdb_transaction_commit@TDB_1.2.1 1.2.7+git20101214 + tdb_transaction_prepare_commit@TDB_1.2.1 1.2.7+git20101214 + tdb_transaction_start@TDB_1.2.1 1.2.7+git20101214 + tdb_transaction_start_nonblock@TDB_1.2.1 1.2.7+git20101214 + tdb_transaction_write_lock_mark@TDB_1.2.10 1.2.10 + tdb_transaction_write_lock_unmark@TDB_1.2.10 1.2.10 + tdb_traverse@TDB_1.2.1 1.2.7+git20101214 + tdb_traverse_chain@TDB_1.3.17 1.3.17 + tdb_traverse_key_chain@TDB_1.3.17 1.3.17 + tdb_traverse_read@TDB_1.2.1 1.2.7+git20101214 + tdb_unlock@TDB_1.2.1 1.2.10 + tdb_unlockall@TDB_1.2.1 1.2.7+git20101214 + tdb_unlockall_read@TDB_1.2.1 1.2.7+git20101214 + tdb_validate_freelist@TDB_1.2.1 1.2.7+git20101214 + tdb_wipe_all@TDB_1.2.1 1.1.2~git20080520 diff --git a/debian/manpages/tdb.3 b/debian/manpages/tdb.3 new file mode 100644 index 0000000..9b4dc04 --- /dev/null +++ b/debian/manpages/tdb.3 @@ -0,0 +1,32 @@ +.TH TDB 3 "Aug 16, 2000" "Samba" "Linux Programmer's Manual" +.SH NAME +tdb - trivial database +.SH SYNOPSIS +A database similar to gdbm which allows multiple simultaneous writers. +.SH DESCRIPTION +This is a simple database API. It was inspired by the realisation that +in Samba we have several ad-hoc bits of code that essentially +implement small databases for sharing structures between parts of +Samba. As I was about to add another I realised that a generic +database module was called for to replace all the ad-hoc bits. +.sp +I based the interface on gdbm. I couldn't use gdbm as we need to be +able to have multiple writers to the databases at one time. +.SH AUTHORS +Software: Andrew Tridgell <tridge@linuxcare.com> and +Luke Kenneth Casson Leighton +Man page: Ben Woodard <ben@valinux.com> +.SH "SEE ALSO" +.BR gdbm (3), +.BR tdb_open (3), +.BR tdb_close (3), +.BR tdb_delete (3), +.BR tdb_error (3), +.BR tdb_exists (3), +.BR tdb_fetch (3), +.BR tdb_firstkey (3), +.BR tdb_store (3), +.BR tdb_traverse (3), +.BR tdb_lockall (3), +.BR tdb_lockkeys (3), +.BR tdb_chainlock (3) diff --git a/debian/manpages/tdb_chainlock.3 b/debian/manpages/tdb_chainlock.3 new file mode 100644 index 0000000..ffc56ff --- /dev/null +++ b/debian/manpages/tdb_chainlock.3 @@ -0,0 +1,31 @@ +.TH TDB_CHAINLOCK 3 "Oct 13, 2000" "Samba" "Linux Programmer's Manual" +.SH NAME +tdb_chainlock \- lock a group of keys +tdb_chainunlock \- unlock a previously locked group of keys +.SH SYNOPSIS +.nf +.B #include <tdb.h> +.sp +.BI "int tdb_chainlock(TDB_CONTEXT *" tdb ", TDB_DATA " key ");" +.BI "void tdb_chainunlock(TDB_CONTEXT *" tdb ", TDB_DATA " key ");" +.sp +.SH DESCRIPTION +.I tdb_chainlock +is a low\-level function used to lock a particular key (and a number of +other keys) without any checking: any other process attempting to +perform tdb operations on those keys will block until +.I tdb_chainunlock +is called. +.SH NOTES +It is the user's responsibility to ensure that they do not deadlock +the database using these functions: something which is impossible +using the other access functions. +.SH "RETURN VALUE" +A return value of 0 indicates success and \-1 indicates failure. +.SH AUTHORS +Software: Andrew Tridgell <tridge@linuxcare.com> +Man page: Rusty. +.SH "SEE ALSO" +.BR gdbm (3), +.BR tdb (3), +.BR tdb_lockall (3). diff --git a/debian/manpages/tdb_close.3 b/debian/manpages/tdb_close.3 new file mode 100644 index 0000000..a666657 --- /dev/null +++ b/debian/manpages/tdb_close.3 @@ -0,0 +1,19 @@ +.TH TDB_CLOSE 3 "Aug 16, 2000" "Samba" "Linux Programmer's Manual" +.SH NAME +tdb_close \- close a tdb database +.SH SYNOPSIS +.nf +.B #include <tdb.h> +.sp +.BI "int tdb_close(TDB_CONTEXT *" tdb ");" +.sp +.SH DESCRIPTION +Closes a TDB database and frees memory any memory that was used. +.SH "RETURN VALUE" +Returns zero on success and \-1 on failure. +.SH AUTHORS +Software: Andrew Tridgell and Luke Kenneth Casson Leighton +Man page: Ben Woodard <ben@valinux.com> +.SH "SEE ALSO" +.BR gdbm (3), +.BR tdb(3) diff --git a/debian/manpages/tdb_delete.3 b/debian/manpages/tdb_delete.3 new file mode 100644 index 0000000..dd3d0ad --- /dev/null +++ b/debian/manpages/tdb_delete.3 @@ -0,0 +1,35 @@ +.TH TDB_DELETE 3 "Aug 16, 2000" "Samba" "Linux Programmer's Manual" +.SH NAME +tdb_delete \- delete a record from a tdb database +.SH SYNOPSIS +.nf +.B #include <tdb.h> +.sp +.BI "int tdb_delete(TDB_CONTEXT *" tdb ", TDB_DATA " key ");" +.sp +.SH DESCRIPTION +Delete the record from the +.I tdb +database whose key matches +.I key +, a lump of data that is used as the index into the database. The +TDB_DATA structure is defined as: +.PP +.RS +.nf +typedef struct { + char *dptr; + size_t dsize; +} TDB_DATA; +.fi +.RE +.PP +.SH "RETURN VALUE" +A return value of 0 indicates success and \-1 indicates failure. +.SH AUTHORS +Software: Andrew Tridgell <tridge@linuxcare.com> and +Luke Kenneth Casson Leighton +Man page: Ben Woodard <ben@valinux.com> +.SH "SEE ALSO" +.BR gdbm (3), +.BR tdb(3) diff --git a/debian/manpages/tdb_error.3 b/debian/manpages/tdb_error.3 new file mode 100644 index 0000000..f7f9d0a --- /dev/null +++ b/debian/manpages/tdb_error.3 @@ -0,0 +1,25 @@ +.TH TDB_ERROR 3 "Aug 16, 2000" "Samba" "Linux Programmer's Manual" +.SH NAME +tdb_error - return tdb database error state information. +tdb_errorstr - return a printable string representing the error state of a tdb\ + database +.SH SYNOPSIS +.nf +.B #include <tdb.h> +.sp +.BI "enum TDB_ERROR tdb_error(TDB_CONTEXT *" tdb ");" +.BI "char *tdb_errorstr(TDB_CONTEXT *" tdb ");" +.sp +.SH DESCRIPTION +.I tdb_error returns the current error state of the +.I tdb +database. +.I tdb_errorstr +returns a printable string that describes the error state of the +database. +.SH AUTHORS +Software: Andrew Tridgell <tridge@linuxcare.com> and Luke Kenneth +Casson Leighton Man page: Ben Woodard <ben@valinux.com> +.SH "SEE ALSO" +.BR gdbm (3), +.BR tdb(3) diff --git a/debian/manpages/tdb_exists.3 b/debian/manpages/tdb_exists.3 new file mode 100644 index 0000000..c1a1c13 --- /dev/null +++ b/debian/manpages/tdb_exists.3 @@ -0,0 +1,37 @@ +.TH TDB_EXISTS 3 "Aug 17, 2000" "Samba" "Linux Programmer's Manual" +.SH NAME +tdb_exists - check for the existence of a record in a tdb database +.SH SYNOPSIS +.nf +.B #include <tdb.h> +.sp +.BI "int tdb_exists(TDB_CONTEXT *" tdb ", TDB_DATA " key ");" +.sp +.SH DESCRIPTION +Test to see if a key exists. +.I tdb +is a pointer returned by +.B tdb_open +and +.I key +is a lump of data that is used as the index into the database. The TDB_DATA +structure is defined as: +.PP +.RS +.nf +typedef struct { + char *dptr; + size_t dsize; +} TDB_DATA; +.fi +.RE +.PP +.SH "RETURN VALUE" +If the key is found, 1 is returned; otherwise 0 is returned. +.SH AUTHORS +Software: Andrew Tridgell <tridge@linuxcare.com> and +Luke Kenneth Casson Leighton +Man page: Ben Woodard <ben@valinux.com> +.SH "SEE ALSO" +.BR gdbm (3), +.BR tdb(3) diff --git a/debian/manpages/tdb_fetch.3 b/debian/manpages/tdb_fetch.3 new file mode 100644 index 0000000..9f3df51 --- /dev/null +++ b/debian/manpages/tdb_fetch.3 @@ -0,0 +1,45 @@ +.TH TDB_FETCH 3 "Aug 16, 2000" "Samba" "Linux Programmer's Manual" +.SH NAME +tdb_fetch - fetch a record from a tdb database +.SH SYNOPSIS +.nf +.B #include <tdb.h> +.sp +.BI "TDB_DATA tdb_fetch(TDB_CONTEXT *" tdb ", TDB_DATA " key ");" +.sp +.SH DESCRIPTION +Fetch the record from the +.I tdb +database whose key matches +.I key +, a lump of data that is used as the index into the database. +.sp +The TDB_DATA structure used for both the key and the return value is +defined as: +.PP +.RS +.nf +typedef struct { + char *dptr; + size_t dsize; +} TDB_DATA; +.fi +.RE +.PP +.SH "RETURN VALUE" +If the call succeeds, then a TDB_DATA structure is returned with the +.I dptr +structure filled in. If the call fails then +.I dptr +will be set to NULL. +.sp +.B NOTE: +The caller is responsible for freeing the data pointed to by +.I dptr. +.SH AUTHORS +Software: Andrew Tridgell <tridge@linuxcare.com> and +Luke Kenneth Casson Leighton +Man page: Ben Woodard <ben@valinux.com> +.SH "SEE ALSO" +.BR gdbm (3), +.BR tdb(3) diff --git a/debian/manpages/tdb_firstkey.3 b/debian/manpages/tdb_firstkey.3 new file mode 100644 index 0000000..ca902a4 --- /dev/null +++ b/debian/manpages/tdb_firstkey.3 @@ -0,0 +1,82 @@ +.TH TDB_FIRSTKEY 3 "Aug 16, 2000" "Samba" "Linux Programmer's Manual" +.SH NAME +tdb_firstkey - return the key of the first record in a tdb database +tdb_nextkey - return the key of next record in the tdb database +.SH SYNOPSIS +.nf +.B #include <tdb.h> +.sp +.BI "TDB_DATA tdb_firstkey(TDB_CONTEXT *" tdb ");" +.BI "TDB_DATA tdb_nextkey(TDB_CONTEXT *" tdb ", TDB_DATA " prev_key ");" +.sp +.SH DESCRIPTION +.I tdb_firstkey +fetches the key of the first entry in the +.I tdb +database. +.I tdb_nextkey +fetches the key of the entry immediately after +.I prev_key +in the database. +.sp +The TDB_DATA structure returned by both these functions is defined as: +.PP +.RS +.nf +typedef struct { + char *dptr; + size_t dsize; +} TDB_DATA; +.fi +.RE +.PP +.sp +The order in which this traverses the database is its own internal +hash order. Do not expect the keys to be in any recognizably sorted +order. +.sp +These functions are reliable even if other writers are accessing the +database (or you are replacing or deleting elements as you traverse), +except in the case of nested +.I tdb_firstkey +or +.I tdb_nextkey +calls. For example, the following outer traversal may fail to +traverse all the elements, or may even traverse elements twice if +other processes are manipulating the database: +.PP +.RS +.nf + TDB_DATA i, j; + + for (i = tdb_firstkey(tdb); i.dptr; i = tdb_nextkey(tdb, i)) { + for (j = tdb_firstkey(tdb); j.dptr; j = tdb_nextkey(tdb, j)) { + ... + } + } +.fi +.RE +.PP +If such behaviour is desired, use +.I tdb_traverse +instead. +.sp +.SH "RETURN VALUE" +If the call succeeds, then a TDB_DATA structure is returned with the +.I dptr +structure filled in. If the call fails or you have reached the end of +the database then +.I dptr +will be set to NULL. +.sp +.B NOTE: +The caller is responsible for freeing the data pointed to by +.I dptr +. +.SH AUTHORS +Software: Andrew Tridgell <tridge@linuxcare.com> and +Luke Kenneth Casson Leighton +Man page: Ben Woodard <ben@valinux.com> +.SH "SEE ALSO" +.BR gdbm (3), +.BR tdb(3) diff --git a/debian/manpages/tdb_open.3 b/debian/manpages/tdb_open.3 new file mode 100644 index 0000000..595274b --- /dev/null +++ b/debian/manpages/tdb_open.3 @@ -0,0 +1,59 @@ +.TH TDB_OPEN 3 "Aug 16, 2000" "Samba" "Linux Programmer's Manual" +.SH NAME +tdb_open \- Open a tdb database. +.SH SYNOPSIS +.nf +.B #include <tdb.h> +.sp +.BI "TDB_CONTEXT *tdb_open(const char *" pathname ", int " hash_size "," +.BI " int " tdb_flags ", int " open_flags ", mode_t " mode " );" +.sp +.SH DESCRIPTION +Open the database, creating it if necessary. The +.I hash +size is advisory, use zero for a default value. +.I tdb_flags +can be one of +.TP +.B TDB_CLEAR_IF_FIRST +Clear database if we are the only one with it open. +.TP +.B TDB_INTERNAL +Don't use a file, instead store the data in memory. The +.I pathname +, +.I open_flags +, and +.I mode +are ignored in +this case. This is useful if you need a quick associative array or map. +.TP +.B TDB_NOLOCK +Don't do any locking (this is always turned on for read-only file +descriptors) +.TP +.B TDB_NOMMAP +Don't use mmap. +.TP +.B TDB_CONVERT +Create a database in the reverse of native endian: normally when the +database is created (or cleared with TDB_CLEAR_IF_FIRST), it is +created in native endian order. This flag is set (or unset) +automatically for existing databases. +.PP +The +.I open_flags +and +.I mode +are passed straight to the open call on the database file. A flags +value of O_WRONLY is invalid. +.SH "RETURN VALUE" +On success a pointer to an opaque data structure, a TDB_CONTEXT is +returned. On error a NULL is returned. +.SH AUTHORS +Software: Andrew Tridgell <tridge@linuxcare.com> and Luke Kenneth Casson Leighton +Man page: Ben Woodard <ben@valinux.com> +.SH "SEE ALSO" +.BR open (2), +.BR gdbm (3), +.BR tdb(3) diff --git a/debian/manpages/tdb_store.3 b/debian/manpages/tdb_store.3 new file mode 100644 index 0000000..d701963 --- /dev/null +++ b/debian/manpages/tdb_store.3 @@ -0,0 +1,55 @@ +.TH TDB_STORE 3 "Aug 16, 2000" "Samba" "Linux Programmer's Manual" +.SH NAME +tdb_store \- store a record in a tdb database. +.SH SYNOPSIS +.nf +.B #include <tdb.h> +.sp +.BI "int tdb_store(TDB_CONTEXT *" tdb ", TDB_DATA " key ", TDB_DATA " record ", int " flag ");" +.sp +.SH DESCRIPTION +Store a lump of data pointed to by +.I record +in the +.I tdb +database under the index pointed to by +.I key. +The TDB_DATA structure used by both +.I key +and +.I record +is defined as: +.PP +.RS +.nf +typedef struct { + char *dptr; + size_t dsize; +} TDB_DATA; +.fi +.RE +.PP +The +.I flag +determines the way that tdb_store behaves and can be any one of the +following values. +.TP +.B TDB_REPLACE +Insert a record creating a new one or overwriting an existing one. +.TP +.B TDB_INSERT +Insert a new entry but refuse to overwrite an existing entry. +.TP +.B TDB_MODIFY +Replace an existing record with a new one. This will fail if, +a record does not already exist. +.PP +.SH "RETURN VALUE" +A return value of 0 indicates success and \-1 indicates failure. +.SH AUTHORS +Software: Andrew Tridgell <tridge@linuxcare.com> and +Luke Kenneth Casson Leighton +Man page: Ben Woodard <ben@valinux.com> +.SH "SEE ALSO" +.BR gdbm (3), +.BR tdb(3) diff --git a/debian/manpages/tdb_traverse.3 b/debian/manpages/tdb_traverse.3 new file mode 100644 index 0000000..f2c9f22 --- /dev/null +++ b/debian/manpages/tdb_traverse.3 @@ -0,0 +1,52 @@ +.TH TDB_TRAVERSE 3 "Aug 16, 2000" "Samba" "Linux Programmer's Manual" +.SH NAME +tdb_traverse \- visit every element in a tdb database +.SH SYNOPSIS +.nf +.B #include <tdb.h> +.sp +.BI "int tdb_traverse(TDB_CONTEXT *" tdb ", " +.BI " int (*" fn ")(TDB_CONTEXT *,TDB_DATA,TDB_DATA,void *)," +.BI " void *state);" +.sp +.SH DESCRIPTION +.I tdb_traverse is the only sure way to visit all the items within a +given database, +.I tdb +Because this function has intimate knowledge of the internals of the +database, it is able to cope with writers touching the database at the +same time it is trying to traverse it. +.sp +If +.I fn +is supplied it will be called with the +.I state parameter +for each element in the database, as the forth argument. The First argument is +the database +.I tdb +the second is the key and the third is the data. If this function call returns +anything but 0, the traversal will stop. Unlike in tdb_fetch() the programmer +is not required to free either the pointer from either the key or data +parameters that are passed into the function. The +.I fn +function should have the prototype: +.nf +.in 10 +int (*tdb_traverse_func)(TDB_CONTEXT *, TDB_DATA, TDB_DATA, void *); +.fi +.PP +.sp +Calling tdb_traverse with a NULL +.I fn +parameter is the appropriate way to count the number of elements in +the database. +.SH "RETURN VALUE" +The return value is the number of elements traversed or \-1 if there +was an error. +.SH AUTHORS +Software: Andrew Tridgell <tridge@linuxcare.com> and +Luke Kenneth Casson Leighton +Man page: Ben Woodard <ben@valinux.com> +.SH "SEE ALSO" +.BR gdbm (3), +.BR tdb(3) diff --git a/debian/patches/30_tdb_logging_func.diff b/debian/patches/30_tdb_logging_func.diff new file mode 100644 index 0000000..2135442 --- /dev/null +++ b/debian/patches/30_tdb_logging_func.diff @@ -0,0 +1,43 @@ +Author: Jelmer Vernooij <jelmer@samba.org> +Status: Not forwarded upstream +Description: Provide public symbol tdb_logging_function removed upstream without major version change. (bug #511011) + +diff -ur tdb-1.2.9/ABI/tdb-1.2.1.sigs tdb-1.2.9+git20120207.new/ABI/tdb-1.2.1.sigs +--- tdb-1.2.9/ABI/tdb-1.2.1.sigs 2012-02-07 15:07:35.000000000 +0100 ++++ tdb-1.2.9+git20120207.new/ABI/tdb-1.2.1.sigs 2012-02-07 15:23:51.000000000 +0100 +@@ -48,6 +48,7 @@ + tdb_lockall_read_nonblock: int (struct tdb_context *) + tdb_lockall_unmark: int (struct tdb_context *) + tdb_log_fn: tdb_log_func (struct tdb_context *) ++tdb_logging_function: void tdb_logging_function(struct tdb_context *, tdb_log_func) + tdb_map_size: size_t (struct tdb_context *) + tdb_mmap: void (struct tdb_context *) + tdb_munmap: int (struct tdb_context *) +diff -ur tdb-1.2.9/common/open.c tdb-1.2.9+git20120207.new/common/open.c +--- tdb-1.2.9/common/open.c 2012-02-07 15:07:35.000000000 +0100 ++++ tdb-1.2.9+git20120207.new/common/open.c 2012-02-07 15:23:51.000000000 +0100 +@@ -539,6 +539,11 @@ + tdb->log = *log_ctx; + } + ++_PUBLIC_ void tdb_logging_function(struct tdb_context *tdb, tdb_log_func fn) ++{ ++ tdb->log.log_fn = fn; ++} ++ + _PUBLIC_ void *tdb_get_logging_private(struct tdb_context *tdb) + { + return tdb->log.log_private; +diff -ur tdb-1.2.9/include/tdb.h tdb-1.2.9+git20120207.new/include/tdb.h +--- tdb-1.2.9/include/tdb.h 2012-02-07 15:07:35.000000000 +0100 ++++ tdb-1.2.9+git20120207.new/include/tdb.h 2012-02-07 15:24:06.000000000 +0100 +@@ -233,6 +233,9 @@ + */ + _PUBLIC_ int tdb_reopen_all(int parent_longlived); + ++ ++__attribute__((deprecated)) void tdb_logging_function(struct tdb_context *tdb, tdb_log_func); ++ + /** + * @brief Set a different tdb logging function. + * diff --git a/debian/patches/40_test_transaction_expand_non_fatal.diff b/debian/patches/40_test_transaction_expand_non_fatal.diff new file mode 100644 index 0000000..e1812a6 --- /dev/null +++ b/debian/patches/40_test_transaction_expand_non_fatal.diff @@ -0,0 +1,22 @@ +Description: Make test transaction-expand non-fatal + The test tdb1-run-transaction-expand fails on some architectures. This patch + makes the test non-fatal for now. +Author: Ivo De Decker <ivo.dedecker@ugent.be> +Bug-Debian: http://bugs.debian.org/674749 +Forwarded: no +Last-Update: 2012-05-28 + +--- a/wscript ++++ b/wscript +@@ -238,8 +238,9 @@ + if ret != 0: + print("%s failed:" % f) + samba_utils.RUN_COMMAND("cat " + os.path.join(testdir, 'test-output')) +- ecode = ret +- break ++ if f != 'tdb1-run-transaction-expand': ++ ecode = ret ++ break + + if ecode == 0: + cmd = os.path.join(blddir, 'tdbtorture') diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..c7610ae --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,2 @@ +30_tdb_logging_func.diff +40_test_transaction_expand_non_fatal.diff diff --git a/debian/python3-tdb.install b/debian/python3-tdb.install new file mode 100644 index 0000000..4606faa --- /dev/null +++ b/debian/python3-tdb.install @@ -0,0 +1 @@ +usr/lib/python3* diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..ecdaa61 --- /dev/null +++ b/debian/rules @@ -0,0 +1,91 @@ +#!/usr/bin/make -f +SHELL = /bin/sh -e + +export DEB_BUILD_MAINT_OPTIONS = hardening=+all +export DEB_CFLAGS_MAINT_APPEND = -g -Wall +export DPKG_GENSYMBOLS_CHECK_LEVEL = 4 + +# Fast version of dpkg/architecture.mk defining all vars in one go +ifeq (${DEB_HOST_MULTIARCH},) + $(foreach d, $(shell dpkg-architecture | sed 's/=/?=/'), $(eval export $d)) +endif +include /usr/share/dpkg/buildtools.mk +include /usr/share/dpkg/buildflags.mk +V := $(if $(filter terse, ${DEB_BUILD_OPTIONS}),,1) +WAF := PYTHONHASHSEED=1 ./buildtools/bin/waf \ + $(patsubst parallel=%,-j%,$(filter parallel=%,${DEB_BUILD_OPTIONS})) + +ifeq (linux,${DEB_HOST_ARCH_OS}) +# for cross-build or build with foreign python binary (it is _gnu0_i386-gnu on hurd) +export _PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata__${DEB_HOST_ARCH_OS}_${DEB_HOST_MULTIARCH} +endif + +# All supported installed python versions we build for +export PY3VERSIONS := $(or ${PY3VERSIONS}, $(shell py3versions -i)) + +DESTDIR := ${CURDIR}/debian/tmp + +build-arch build-indep build \ +install-arch install-indep install \ +binary-arch binary-indep binary \ +: %: + dh $@ + +# Build in bld/pyNN/ subdirs (named after python version), +# Since wafsamba can't build things in a named subdir, +# we have to copy (link) whole source dir into each build subdir. + +.NOTPARALLEL: # don't run commands at this level in parallel + +py-targets = $(patsubst %, bld/%/$(strip $1), ${PY3VERSIONS}) + +override_dh_auto_configure: $(call py-targets, stamp-config) +$(call py-targets, stamp-config): %/stamp-config: + @echo "=== running configure in $* ===" + mkdir -p $* + cp -al $$(ls -1 | egrep -v '^(bld|debian)$$') $* + cd $*; \ + CC="${CC}" CPP="${CPP}" LD="${LD}" PKGCONFIG="${PKG_CONFIG}" \ + CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \ + PYTHON=$(notdir $*) PYTHON_CONFIG=${DEB_HOST_MULTIARCH}-$(notdir $*)-config \ + ${WAF} -j1 -C configure \ + --prefix=/usr \ + --libdir=/usr/lib/${DEB_HOST_MULTIARCH} \ + --disable-rpath --disable-rpath-install \ + --bundled-libraries=NONE \ + + touch $@ + +override_dh_auto_build: $(call py-targets, stamp-build) +$(call py-targets, stamp-build): %/stamp-build: %/stamp-config + @echo "=== running build in $* ===" + cd $*; ${WAF} $(if $V,-v) build + # Waf should be doing this.. + ar cr $*/bin/libtdb.a $*/bin/default/common/*.o + +# the testsuite does not test python bindings so there's no reason to test all pyversions +override_dh_auto_test: \ + $(if $(filter nocheck,${DEB_BUILD_OPTIONS}), , $(firstword $(call py-targets, test))) +$(call py-targets, test): %/test: %/stamp-build + @echo "=== running test in $* ===" + cd $*; ${WAF} test + +$(call py-targets, install): %/install: %/stamp-build + @echo "=== running install in $* ===" + cd $*; ${WAF} install --destdir=${DESTDIR} + cp $*/bin/libtdb.a ${DESTDIR}/usr/lib/${DEB_HOST_MULTIARCH}/ +override_dh_auto_install: $(call py-targets, install) + mv ${DESTDIR}/usr/bin/tdbbackup \ + ${DESTDIR}/usr/bin/tdbbackup.tdbtools + mv ${DESTDIR}/usr/share/man/man8/tdbbackup.8 \ + ${DESTDIR}/usr/share/man/man8/tdbbackup.tdbtools.8 + #HACK alert: fix up wrong markers in the common include file + sed -i 's/^_PUBLIC_ //' ${DESTDIR}/usr/include/tdb.h + # ..and remove the #define itself + patch --batch ${DESTDIR}/usr/include/tdb.h debian/header-remove-_PUBLIC_-define.patch + +clean: + dh_clean bld/ + +get-packaged-orig-source: + ./debian/build-orig.sh diff --git a/debian/salsa-ci.yml b/debian/salsa-ci.yml new file mode 100644 index 0000000..bf1704c --- /dev/null +++ b/debian/salsa-ci.yml @@ -0,0 +1,9 @@ +--- +include: + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/recipes/debian.yml + +variables: + # Until https://bugs.debian.org/976175 is fixed in blhc + SALSA_CI_DISABLE_BLHC: 1 + # cross-building never worked + SALSA_CI_DISABLE_CROSSBUILD_ARM64: 1 diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides new file mode 100644 index 0000000..7cfb9c4 --- /dev/null +++ b/debian/source/lintian-overrides @@ -0,0 +1,4 @@ +# these are buildtools examples not tdb examples: +tdb source: package-does-not-install-examples *buildtools/examples/* +# these are binary files: +tdb source: very-long-line-length-in-source-file * [test/*] diff --git a/debian/tdb-tools.install b/debian/tdb-tools.install new file mode 100644 index 0000000..f418ff7 --- /dev/null +++ b/debian/tdb-tools.install @@ -0,0 +1,2 @@ +usr/bin/tdb* +usr/share/man/man8/*.8 diff --git a/debian/tdb-tools.postinst b/debian/tdb-tools.postinst new file mode 100644 index 0000000..0fbc2a4 --- /dev/null +++ b/debian/tdb-tools.postinst @@ -0,0 +1,27 @@ +#! /bin/sh +# postinst script for tdb-tools +# +# see: dh_installdeb(1) + +set -e + +case "$1" in + configure) + update-alternatives --install /usr/bin/tdbbackup tdbbackup /usr/bin/tdbbackup.tdbtools 10 --slave /usr/share/man/man8/tdbbackup.8.gz tdbbackup.8.gz /usr/share/man/man8/tdbbackup.tdbtools.8.gz + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 + + diff --git a/debian/tdb-tools.prerm b/debian/tdb-tools.prerm new file mode 100644 index 0000000..13743f5 --- /dev/null +++ b/debian/tdb-tools.prerm @@ -0,0 +1,24 @@ +#! /bin/sh +# prerm script for tdb-tools +# +# see: dh_installdeb(1) + +set -e + +case "$1" in + remove|upgrade|deconfigure) + update-alternatives --remove tdbbackup /usr/bin/tdbbackup.tdbtools + ;; + failed-upgrade) + ;; + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 + + diff --git a/debian/tests/control b/debian/tests/control new file mode 100644 index 0000000..df7ba01 --- /dev/null +++ b/debian/tests/control @@ -0,0 +1,3 @@ +Tests: python3-testsuite +Depends: python3-tdb, python3 +Restrictions: allow-stderr diff --git a/debian/tests/python3-testsuite b/debian/tests/python3-testsuite new file mode 100644 index 0000000..bac849b --- /dev/null +++ b/debian/tests/python3-testsuite @@ -0,0 +1,2 @@ +#!/bin/sh -e +python3 ${0%/*}/../../python/tests/simple.py diff --git a/debian/upstream/signing-key.asc b/debian/upstream/signing-key.asc new file mode 100644 index 0000000..25fd68a --- /dev/null +++ b/debian/upstream/signing-key.asc @@ -0,0 +1,18 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQENBE0uBhsBCADIjamou8B7vf0Gnvdb8ZhJ708kXnoeGH161xffaYJg40rXhyyl +OHlc4ZLVc4OyFr+tWREgNDyBkeS5TTsJ3ul/cBMbBjpn2LOO41X1fenhlvWFkhuC +TcZJK1GNEH8iEHgHp7fjZ24p8cvHILGnHKOYFuHSK8t4Eai0vT/dwNDuU7HD4ZC0 +LZdVRIkIH5mZ+8ILmLKzzHl+Pbyoit/Utv+SuRuP1rGU606XEaMzBjejPlctHJSv +7SWRQCjnhg8rCdklJstBxUg5M/gof0WLCN5UfW8BJ08EP+ByAjPL2hGKQIBE9NVo +2dxEiLoLNwOT5724zcnzFpnaQrEqrxyD+YI1ABEBAAG0NVNhbWJhIExpYnJhcnkg +RGlzdHJpYnV0aW9uIEtleSA8c2FtYmEtYnVnc0BzYW1iYS5vcmc+iQE8BBMBAgAm +AhsDBgsJCAcDAgQVAggDBBYCAwECHgECF4AFAlcsUeoFCQvff0QACgkQR5ORYRMI +QCXSXwgAyBcx3Haf7BOAaTAepfKAjBBC5ed3XZGiijqLQA2SuH5PBDYrdk33NkW+ +i5JCNXATs5uE27Hb7fGWLskKLgZscXsOSDRF3FQrB8YDQ0a/IioYQnHiAXRb800N +uTOIR+02IZ6O9DfWsqwz3z4AyHmv1uBgTVdmMPJ4B77oC6oljg6SpAwI+xyJC9w/ +yiS2p9gVenkWF6FJ2ksEnMdagxOdkQ+KLgTsvopcDkeVeok1CYPVy4qIkRJX6AUg +TE4sVJgaxGJBVZgR0LkbPWJjdTkCHyucW6XotT10qwuXc5rFEsa7GWgak1I1mL3e +MW3/BccMGgPJg36C1bawR5JF4GCXsQ== +=1S6V +-----END PGP PUBLIC KEY BLOCK----- diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..a836117 --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=4 +opts=pgpsigurlmangle=s/tar\.gz/tar.asc/,decompress https://download.samba.org/pub/tdb/ tdb-(.+).tar.gz |