From e36a5e2ed9b516baf72e09a3e708b778ef139632 Mon Sep 17 00:00:00 2001 From: Debian Samba Maintainers Date: Sat, 14 May 2022 00:33:03 +0800 Subject: [PATCH 1/3] _manpage_dates commit 23b9b1e51fee68fbd31585bd5a8f07959a802a8d Author: Jelmer Vernooij Date: Mon Apr 27 23:33:52 2015 +0000 Add set date to tdb manpages. This makes builds reproducible. Signed-off-by: Jelmer Vernooij Gbp-Pq: Name 01_manpage_dates --- man/ldb.3.xml | 1 + man/ldbadd.1.xml | 1 + man/ldbdel.1.xml | 1 + man/ldbedit.1.xml | 1 + man/ldbmodify.1.xml | 1 + man/ldbrename.1.xml | 1 + man/ldbsearch.1.xml | 1 + 7 files changed, 7 insertions(+) diff --git a/man/ldb.3.xml b/man/ldb.3.xml index b832d0c..e3c0269 100644 --- a/man/ldb.3.xml +++ b/man/ldb.3.xml @@ -1,6 +1,7 @@ +2015-04-26 ldb diff --git a/man/ldbadd.1.xml b/man/ldbadd.1.xml index 4736b3b..d54429a 100644 --- a/man/ldbadd.1.xml +++ b/man/ldbadd.1.xml @@ -1,6 +1,7 @@ +2015-04-26 ldbadd diff --git a/man/ldbdel.1.xml b/man/ldbdel.1.xml index c4cd450..07019cf 100644 --- a/man/ldbdel.1.xml +++ b/man/ldbdel.1.xml @@ -1,6 +1,7 @@ +2015-04-26 ldbdel diff --git a/man/ldbedit.1.xml b/man/ldbedit.1.xml index 627d20c..8734fc6 100644 --- a/man/ldbedit.1.xml +++ b/man/ldbedit.1.xml @@ -1,6 +1,7 @@ +2015-04-26 ldbedit diff --git a/man/ldbmodify.1.xml b/man/ldbmodify.1.xml index ddeeee7..d5f15af 100644 --- a/man/ldbmodify.1.xml +++ b/man/ldbmodify.1.xml @@ -1,6 +1,7 @@ +2015-04-26 ldbmodify diff --git a/man/ldbrename.1.xml b/man/ldbrename.1.xml index 897c40e..e627129 100644 --- a/man/ldbrename.1.xml +++ b/man/ldbrename.1.xml @@ -1,6 +1,7 @@ +2015-04-26 ldbrename diff --git a/man/ldbsearch.1.xml b/man/ldbsearch.1.xml index b853992..0066a7d 100644 --- a/man/ldbsearch.1.xml +++ b/man/ldbsearch.1.xml @@ -1,6 +1,7 @@ +2015-04-26 ldbsearch From 48bbea81b8b54e5be8ca2fc78130876f2bf30741 Mon Sep 17 00:00:00 2001 From: Gabriele Giacone <1o5g4r8o@gmail.com> Date: Sat, 14 May 2022 00:33:03 +0800 Subject: [PATCH 2/3] Link against pthread on the Hurd, to work around bug #578432 Bug-Debian: http://bugs.debian.org/749095 Gbp-Pq: Name 02_hurd --- wscript | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wscript b/wscript index 5b5c42d..b33d1f8 100644 --- a/wscript +++ b/wscript @@ -188,6 +188,10 @@ def configure(conf): conf.env.HAVE_LMDB = True + # Work around pthread bug on the hurd (#578432) + if sys.platform.startswith("gnu"): + conf.ADD_LDFLAGS('-pthread', testflags=True) + conf.DEFINE('HAVE_CONFIG_H', 1, add_to_cflags=True) conf.SAMBA_CONFIG_H() From 38efc9f873f0f8fc00afaeb02fac678310604a27 Mon Sep 17 00:00:00 2001 From: Mathieu Parent Date: Wed, 2 Oct 2019 21:26:07 +0200 Subject: [PATCH 3/3] [PATCH] Skip test_guid_indexed_v1_db on mips64el, ppc64el, ia64, ppc64 Workaround for https://bugzilla.samba.org/show_bug.cgi?id=14146 Gbp-Pq: Name Skip-test_guid_indexed_v1_db-on-mips64el-ppc64el-ia6.patch --- tests/python/repack.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/python/repack.py b/tests/python/repack.py index 0844cd2..607ab52 100644 --- a/tests/python/repack.py +++ b/tests/python/repack.py @@ -1,5 +1,5 @@ import os -from unittest import TestCase +from unittest import TestCase, skipIf import shutil from subprocess import check_output import ldb @@ -176,6 +176,8 @@ class GUIDIndexAndPackFormatTests(TestCase): # Check a database with V1 format with GUID indexing enabled is repacked # with version 2 format. + @skipIf(os.environ.get('DEB_HOST_ARCH', 'unknown') in ['mips64el', 'ppc64el', 'ia64', 'ppc64'], + "Premade v1 unreadable on arch %s" % os.environ.get('DEB_HOST_ARCH', 'unknown')) def test_guid_indexed_v1_db(self): self.setup_premade_v1_db()