summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/build-orig.sh20
-rw-r--r--debian/changelog689
-rw-r--r--debian/control65
-rw-r--r--debian/copyright507
-rw-r--r--debian/gbp.conf3
-rw-r--r--debian/header-remove-_PUBLIC_-define.patch29
-rw-r--r--debian/libtalloc-dev.docs1
-rw-r--r--debian/libtalloc-dev.install5
-rw-r--r--debian/libtalloc2.install1
-rw-r--r--debian/libtalloc2.symbols100
-rw-r--r--debian/python3-talloc-dev.install3
-rw-r--r--debian/python3-talloc-dev.lintian-overrides1
-rw-r--r--debian/python3-talloc.install2
-rw-r--r--debian/python3-talloc.lintian-overrides3
-rw-r--r--debian/python3-talloc.symbols.in49
-rwxr-xr-xdebian/rules102
-rw-r--r--debian/salsa-ci.yml9
-rw-r--r--debian/source/format1
-rw-r--r--debian/source/lintian-overrides2
-rw-r--r--debian/upstream/signing-key.asc18
-rw-r--r--debian/watch2
21 files changed, 1612 insertions, 0 deletions
diff --git a/debian/build-orig.sh b/debian/build-orig.sh
new file mode 100755
index 0000000..e24b4c4
--- /dev/null
+++ b/debian/build-orig.sh
@@ -0,0 +1,20 @@
+#!/bin/bash -e
+
+if [ -z "$SAMBA_GIT_URL" ]; then
+ SAMBA_GIT_URL=git://git.samba.org/samba.git
+fi
+
+TALLOCTMP=`mktemp -d`
+if [ -d $SAMBA_GIT_URL/.bzr ]; then
+ bzr co --lightweight $SAMBA_GIT_URL $TALLOCTMP
+else
+ git clone --depth 1 $SAMBA_GIT_URL $TALLOCTMP
+fi
+pushd $TALLOCTMP/lib/talloc
+./autogen-waf.sh
+./configure
+make dist
+popd
+version=$( dpkg-parsechangelog -l`dirname $0`/changelog | sed -n 's/^Version: \(.*:\|\)//p' | sed 's/-[0-9.]\+$//' )
+mv $TALLOCTMP/lib/talloc/talloc-*.tar.gz talloc_$version.orig.tar.gz
+rm -rf $TALLOCTMP
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..e6443d2
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,689 @@
+talloc (2.4.0-f2) unstable; urgency=medium
+
+ * d/rules: build for all installed py3versions
+ instead of default/supported
+ * d/control: remove unused ${python3:Provides}
+ * d/control: Standards-Version: 4.6.2 (no changes)
+ * 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:10:46 +0300
+
+talloc (2.4.0-f1) unstable; urgency=medium
+
+ * new upstream release (2.4.0, samba 4.18):
+ - Add talloc_asprintf_addbuf()
+ - Support python 3.12
+ * d/libtalloc2.symbols: add new symbol and new versions
+ * d/python3-talloc.symbols.in: add new versions
+
+ -- Michael Tokarev <mjt@tls.msk.ru> Sat, 21 Jan 2023 10:38:53 +0300
+
+talloc (2.3.4-3) unstable; urgency=medium
+
+ * Allow building for multiple python3 versions (disabled for now)
+ * d/rules: support "terse" build option for non-verbose build
+ * lintian-overrides: update some messages to match old&new lintian
+ * d/tests: remove. The autopkgtest just run the build-time testsuite,
+ which is already done at build time (dh_auto_test).
+ * d/salsa-ci.yml:
+ - instead of allowing blhc to (always) fail, disable it
+ - disable crossbuild-arm64 test (samba does not cross-build)
+ * d/rules: little cleanups
+
+ -- Michael Tokarev <mjt@tls.msk.ru> Fri, 20 Jan 2023 17:40:38 +0300
+
+talloc (2.3.4-2) unstable; urgency=medium
+
+ [ Debian Janitor ]
+ * Update lintian override info to new format on line 3.
+ * Update standards version to 4.6.1, no changes needed.
+
+ [ Michael Tokarev ]
+ * d/rules: inline parallel check from dpkg/buildopts.mk
+ * d/rules: make it to be consistent with other samba packages
+
+ -- Michael Tokarev <mjt@tls.msk.ru> Sun, 30 Oct 2022 11:48:34 +0300
+
+talloc (2.3.4-1) unstable; urgency=medium
+
+ * new upstream release (2.3.4)
+ * removed 0001-Add-support-for-GNU-kFreeBSD.patch (included upstream now)
+ * d/libtalloc2.symbols: add new version
+
+ -- Michael Tokarev <mjt@tls.msk.ru> Mon, 05 Sep 2022 12:52:40 +0300
+
+talloc (2.3.3-4) unstable; urgency=medium
+
+ * python3-talloc-dev: move pytalloc.h from python-version-specific dir back
+ to /usr/include where upstream installs it
+ * remove _PUBLIC_ marking from pytalloc.h header too, not only talloc.h
+ * remove whole _PUBLIC_ define from the common installed header
+ (do not pollute the namespace and do not clash with other usages)
+ * generate header of python3-talloc.symbols file directly from d/rules file
+ (it is highly python-dependent, this way it is more visible in one place)
+ * d/control: remove build-dependency on dh-exec (used only for .symbols file)
+ * set SHELL = sh -e for proper error checking
+ * switch from --with python to dh-sequence-python3
+ * many other cleanups/tweaks in the d/rules file
+ * d/rules: explicitly list targets which go to debhelper
+ * d/python3-talloc.lintian-overrides: fix to cover all arches not jut x64
+ * d/source/lintian.overrides: add override for buildtools/examples/
+
+ -- Michael Tokarev <mjt@tls.msk.ru> Wed, 04 May 2022 18:28:58 +0300
+
+talloc (2.3.3-3) 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/
+ * d/control: add myself to Uploaders
+
+ -- Michael Tokarev <mjt@tls.msk.ru> Sat, 26 Mar 2022 19:11:12 +0300
+
+talloc (2.3.3-2) unstable; urgency=medium
+
+ * Avoid explicitly specifying -Wl,--as-needed linker flag.
+ * CI: Allow failures for te bhlc job
+ * Add 0001-Add-support-for-GNU-kFreeBSD.patch (Closes: #990878)
+
+ -- Mathieu Parent <sathieu@debian.org> Tue, 14 Dec 2021 20:39:55 +0100
+
+talloc (2.3.3-1) unstable; urgency=medium
+
+ * New upstream version 2.3.3
+ - Update symbols
+ * Fix lintian override
+ * Standards-Version: 4.6.0, no change
+
+ -- Mathieu Parent <sathieu@debian.org> Tue, 09 Nov 2021 22:06:44 +0100
+
+talloc (2.3.1-2) unstable; urgency=medium
+
+ * d/python3-talloc.symbols: generating so suffix (Closes: #972776)
+ * Update watch file format version to 4.
+ * Move to debhelper-compat 13
+ * d/copyright: Fix duplicate-globbing-patterns
+
+ -- Mathieu Parent <sathieu@debian.org> Tue, 10 Nov 2020 15:56:06 +0100
+
+talloc (2.3.1-1) unstable; urgency=medium
+
+ * New upstream version 2.3.1
+ - Update symbols
+
+ -- Mathieu Parent <sathieu@debian.org> Sun, 21 Jun 2020 08:41:11 +0200
+
+talloc (2.3.0-5) unstable; urgency=medium
+
+ * Source-only upload
+
+ -- Mathieu Parent <sathieu@debian.org> Mon, 09 Mar 2020 10:53:43 +0100
+
+talloc (2.3.0-4) unstable; urgency=medium
+
+ [ Debian Janitor ]
+ * Use dh $@ sequencer.
+
+ [ Andreas Hasenack ]
+ * Fix FTBFS with python 3.8 (Closes: #953008, #953096)
+
+ [ Mathieu Parent ]
+ * Standards-Version: 4.5.0, no change
+
+ -- Mathieu Parent <sathieu@debian.org> Thu, 05 Mar 2020 10:24:09 +0100
+
+talloc (2.3.0-3) unstable; urgency=medium
+
+ [ Jelmer Vernooij ]
+ * Remove obsolete fields Name, Contact from debian/upstream/metadata.
+ * Rely on pre-initialized dpkg-architecture variables.
+ * Fix day-of-week for changelog entries 1.0-1.
+
+ [ Debian Janitor ]
+ * Update standards version to 4.4.1, no changes needed.
+
+ [ Mathieu Parent ]
+ * Re-enable python3-talloc on hurd-i386 (Closes: #944004)
+
+ -- Mathieu Parent <sathieu@debian.org> Sun, 17 Nov 2019 14:30:56 +0100
+
+talloc (2.3.0-2) unstable; urgency=medium
+
+ * Mark python3-talloc Multi-Arch: same
+ * Fix symbols-file-contains-current-version-with-debian-revision
+
+ -- Mathieu Parent <sathieu@debian.org> Sat, 14 Sep 2019 08:52:56 +0200
+
+talloc (2.3.0-1) unstable; urgency=medium
+
+ * Remove Christian Perrier from Uploaders. Thanks! (Closes: #927515)
+ * New upstream version 2.3.0
+ - d/watch Unpin to talloc 2.1.x
+ - Drop python2 support (Closes: #938624)
+ - Update override_dh_auto_clean for Python3
+ - Update symbols
+
+ -- Mathieu Parent <sathieu@debian.org> Fri, 13 Sep 2019 07:54:51 +0200
+
+talloc (2.1.16-3) unstable; urgency=medium
+
+ * Upload to unstable
+ * Update salsa-ci.yml
+ * d/copyright:
+ - Replace LGPL-3+ by LGPL-3.0+
+ - Update LGPL-3.0+ notice
+ * 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
+
+ -- Mathieu Parent <sathieu@debian.org> Thu, 29 Aug 2019 12:49:41 +0200
+
+talloc (2.1.16-2) experimental; urgency=medium
+
+ * d/copyright Full review
+
+ -- Mathieu Parent <sathieu@debian.org> Mon, 29 Jul 2019 23:23:19 +0200
+
+talloc (2.1.16-1) experimental; urgency=medium
+
+ [ Mathieu Parent ]
+ * New upstream version 2.1.16
+ - Update symbols, no change
+ - Clean up third_party/waf/waflib/*.pyc in override_dh_auto_clean
+ * Add Debian pipeline (debian/gitlab-ci.yml)
+ * Lintian:
+ - Fix public-upstream-key-not-minimal
+ - Standards-Version: 4.2.1
+ - Add Build-Depends-Package field in d/*.symbols
+ - debian/python-talloc.lintian-overrides: Override false-positive
+ library-not-linked-against-libc
+ - Standards-Version: 4.3.0
+ - Add Build-Depends-Package: python3-talloc-dev to
+ python3-talloc.symbols.common
+ - Add python3-talloc{,-dev}.lintian-overrides
+ * Remove undefined ${python:Depends} form python3-talloc-dev Depends
+
+ [ Andreas Hasenack ]
+ * d/rules: fix globbing for talloc static library creation
+ * d/rules: build for python2 and python3
+ * d/control, d/python3-talloc.install: new python3 binding package
+ * d/python3-talloc.symbols.{common,amd64,armhf,arm64,s390x,ppc64el,i386}: use
+ per-arch symbols file
+ * d/rules: check python3-talloc symbols
+ * d/control, d/python3-talloc-dev.install, d/rules: new python3-talloc-dev
+ package
+
+ -- Mathieu Parent <sathieu@debian.org> Sat, 23 Mar 2019 09:10:08 +0100
+
+talloc (2.1.14-2) unstable; urgency=medium
+
+ * Add debian/upstream/metadata.
+
+ -- Jelmer Vernooij <jelmer@debian.org> Tue, 23 Oct 2018 09:22:43 +0000
+
+talloc (2.1.14-1) unstable; urgency=medium
+
+ * Upload to unstable
+ - Update symbols, no change
+ * New upstream version 2.1.14
+ * Revert python3 support (Reopen #802484, #814928; Closes: #902883) until it
+ is ready
+ * Add Breaks: python3-talloc (<< 2.1.13-2~)
+ * Standards-Version: 4.1.5:
+ - Add Rules-Requires-Root: no
+
+ -- Mathieu Parent <sathieu@debian.org> Sat, 14 Jul 2018 22:28:35 +0200
+
+talloc (2.1.13-1) experimental; urgency=medium
+
+ [ Timo Aaltonen ]
+ * Add py3 support back (Closes: #802484, #814928)
+
+ [ Mathieu Parent ]
+ * New upstream version 2.1.13
+ - Update symbols (no change)
+ * Update Standards-Version to 4.1.4, no change
+ * Mark libtalloc-dev and python{,3}-talloc{,dev} "Multi-Arch: same"
+ * Run wrap-and-sort
+ * Drop d/patches/series (pytalloc-util-name.diff missing)
+ * Fix lintian overrides
+ * Upload to experimental, as python3 changes are risky
+
+ -- Mathieu Parent <sathieu@debian.org> Sun, 01 Jul 2018 09:28:27 +0200
+
+talloc (2.1.11-2) unstable; urgency=low
+
+ * Upload to unstable
+
+ -- Mathieu Parent <sathieu@debian.org> Tue, 15 May 2018 15:40:10 +0200
+
+talloc (2.1.11-1) experimental; urgency=medium
+
+ * New upstream version 2.1.11
+ - Update symbols (no change)
+ * 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
+ - remove "dh --parallel", not needed in compat 11
+ * Standards-Version: 4.1.3, no change
+
+ -- Mathieu Parent <sathieu@debian.org> Sun, 11 Mar 2018 21:04:04 +0100
+
+talloc (2.1.10-2) unstable; urgency=medium
+
+ * Upload to sid
+
+ -- Mathieu Parent <sathieu@debian.org> Thu, 26 Oct 2017 10:25:44 +0200
+
+talloc (2.1.10-1) experimental; urgency=medium
+
+ * New upstream version 2.1.10
+ - Update symbols (no change)
+ * 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:08:38 +0200
+
+talloc (2.1.9-2) unstable; urgency=medium
+
+ * Upload to unstable
+
+ -- Mathieu Parent <sathieu@debian.org> Mon, 19 Jun 2017 17:19:07 +0200
+
+talloc (2.1.9-1) experimental; urgency=medium
+
+ * New upstream version 2.1.9
+ * Updating symbols
+
+ -- Mathieu Parent <sathieu@debian.org> Thu, 08 Jun 2017 22:41:31 +0200
+
+talloc (2.1.8-1) unstable; urgency=medium
+
+ [ Jelmer Vernooij ]
+ * Use https homepage for talloc.
+
+ [ Mathieu Parent ]
+ * New upstream release.
+ - Update symbols (no change)
+ * Add me to uploaders
+ * Remove XS-Testsuite header in debian/control
+ * Use secure Vcs-* uris
+ * Fix copyright-refers-to-symlink-license
+ * Enable all hardenings
+ * Override dh-exec-subst-unknown-variable
+ * Use https and verify upstream tarball from uscan
+ * Use automatic debug packages (-dbgsym)
+
+ -- Mathieu Parent <sathieu@debian.org> Sat, 08 Oct 2016 23:16:09 +0200
+
+talloc (2.1.7-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Drop unnecessary dependency on python3-dev.
+ * Bump standards version to 3.9.8 (no changes).
+
+ -- Jelmer Vernooij <jelmer@debian.org> Sun, 03 Jul 2016 19:51:49 +0000
+
+talloc (2.1.6-1) unstable; urgency=low
+
+ [ Jelmer Vernooij ]
+ * Bump standards version to 3.9.7 (no changes).
+
+ [ Andrew Bartlett ]
+ * New upstream release.
+ * Remove python3-talloc for now (trying to remove the SOABI caused other
+ issues).
+
+ [ Jelmer Vernooij ]
+ * Fix Vcs-Git header to use master branch rather than unstable.
+ * Add Breaks for older versions of python-samba (<< 2:4.3.6+dfsg-2), because
+ of upstream bug https://bugzilla.samba.org/show_bug.cgi?id=11789.
+
+ -- Jelmer Vernooij <jelmer@debian.org> Mon, 04 Apr 2016 07:53:47 +1200
+
+talloc (2.1.5-2) unstable; urgency=medium
+
+ [ Matthias Klose ]
+ * Build python3 packages. Closes: #802484
+ * Bump debhelper and standards version.
+ * Do not encode the SOABI and the multiarch string into the pytalloc-util
+ library, just append a '-py3'.
+ * Make the build log a bit more verbose.
+
+ [ Jelmer Vernooij ]
+ * Simplify making waf more verbose.
+
+ -- Jelmer Vernooij <jelmer@debian.org> Thu, 25 Feb 2016 03:43:08 +0000
+
+talloc (2.1.5-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Jelmer Vernooij <jelmer@debian.org> Sun, 08 Nov 2015 20:57:46 +0000
+
+talloc (2.1.3-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Remove patch revert-ldflags-atend: applied upstream.
+ * Remove patch reproducible-build: applied upstream.
+ * debian/copyright: Fix uniqueness of license names.
+
+ -- Jelmer Vernooij <jelmer@debian.org> Sat, 19 Sep 2015 02:46:57 +0000
+
+talloc (2.1.2-3) unstable; urgency=medium
+
+ * Add patch reproducible-build: use set time in manpage, make build
+ reproducible. Closes: #782864
+ * Fix ordering of paragraphs in debian/copyright.
+ * Stop creating empty swig directory.
+ * Drop unused swig dependency.
+
+ -- Jelmer Vernooij <jelmer@debian.org> Sun, 26 Apr 2015 09:58:25 +0000
+
+talloc (2.1.2-2) unstable; urgency=medium
+
+ * Make libtalloc2-dbg Multi-Arch: same.
+ * Fix lib/replace/ paths in debian/copyright.
+ * Pass CPPFLAGS onto configure to enable hardening.
+ * Add patch revert-ldflags-atend: Revert upstream change to add
+ LDFLAGS at end of LDFLAGS command-line. This broke use of
+ --Wl,--as-needed.
+
+ -- Jelmer Vernooij <jelmer@debian.org> Sat, 25 Apr 2015 13:22:20 +0000
+
+talloc (2.1.2-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Bump standards version to 3.9.6.
+ * Add short copyright license name for libreplace/timegm.c.
+
+ -- Jelmer Vernooij <jelmer@debian.org> Sun, 15 Mar 2015 02:57:19 +0100
+
+talloc (2.1.1-2) unstable; urgency=low
+
+ * Use canonical URL in Vcs-Git.
+ * Specify branch in Vcs-Git.
+ * libtalloc-dev: Install talloc_guide.txt.
+
+ -- Jelmer Vernooij <jelmer@debian.org> Sat, 05 Jul 2014 23:40:00 +0200
+
+talloc (2.1.1-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Jelmer Vernooij <jelmer@debian.org> Mon, 02 Jun 2014 01:22:09 +0200
+
+talloc (2.1.0-2) unstable; urgency=medium
+
+ * Change maintainer to Samba Debian maintainers.
+ * Bump standards version to 3.9.5 (no changes).
+ * Run testsuite from autopkgtest.
+
+ -- Jelmer Vernooij <jelmer@debian.org> Sat, 12 Apr 2014 16:08:49 +0200
+
+talloc (2.1.0-1) unstable; urgency=low
+
+ * New upstream release.
+ + Drop 08_waf_python_config: now applied upstream.
+ * Bump standards version to 3.9.4 (no changes).
+ * Update Vcs header now that repository is in git.
+
+ -- Jelmer Vernooij <jelmer@debian.org> Sat, 14 Sep 2013 13:03:51 +0100
+
+talloc (2.0.8-1) unstable; urgency=low
+
+ [ Jelmer Vernooij ]
+ * Bump standards version to 3.9.3 (no changes).
+ * Use parseable copyright file format.
+ * Properly clean up after build.
+ * Migrate to Git.
+
+ [ Christian Perrier ]
+ * Use versioned license link in debian/copyright
+
+ [ Jelmer Vernooij ]
+ * Use dpkg-buildflags, enables hardening.
+
+ -- Jelmer Vernooij <jelmer@debian.org> Tue, 10 Apr 2012 20:25:09 +0200
+
+talloc (2.0.8-0.1) unstable; urgency=low
+
+ [ Andrew Bartlett ]
+ * 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.
+
+ -- Christian Perrier <bubulle@debian.org> Sat, 16 Feb 2013 12:44:12 +0100
+
+talloc (2.0.7+git20120207-1) unstable; urgency=low
+
+ * New upstream snapshot.
+ + Unpacks waf source code. Closes: #654508
+
+ -- Jelmer Vernooij <jelmer@debian.org> Tue, 07 Feb 2012 15:46:18 +0100
+
+talloc (2.0.7-3) unstable; urgency=low
+
+ * Link with --as-needed.
+
+ -- Jelmer Vernooij <jelmer@debian.org> Wed, 28 Sep 2011 11:06:58 +0200
+
+talloc (2.0.7-2) unstable; urgency=low
+
+ * Build against default system Python and explicitly use dh_python2.
+
+ -- Jelmer Vernooij <jelmer@debian.org> Sun, 25 Sep 2011 19:14:47 +0200
+
+talloc (2.0.7-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Jelmer Vernooij <jelmer@debian.org> Fri, 16 Sep 2011 15:11:44 +0200
+
+talloc (2.0.6-2) unstable; urgency=low
+
+ * Cherry-pick ABI for pytalloc.
+
+ -- Jelmer Vernooij <jelmer@debian.org> Thu, 18 Aug 2011 19:28:03 +0200
+
+talloc (2.0.6-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Jelmer Vernooij <jelmer@debian.org> Tue, 09 Aug 2011 02:56:17 +0200
+
+talloc (2.0.5-3) unstable; urgency=low
+
+ * Switch to new style debhelper.
+ * Upload to unstable.
+
+ -- Jelmer Vernooij <jelmer@debian.org> Thu, 28 Jul 2011 16:22:52 +0200
+
+talloc (2.0.5-2) experimental; urgency=low
+
+ * Switch to dh_python2.
+ * Add multi-arch support to libtalloc1.
+ * Add debug packages libtalloc2-dbg and python-talloc-dbg.
+ * Bump standards version to 3.9.2 (no changes).
+ * Fix license mentioned in manual page. Closes: #623879
+
+ -- Jelmer Vernooij <jelmer@debian.org> Tue, 26 Jul 2011 20:35:13 +0200
+
+talloc (2.0.5-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Jelmer Vernooij <jelmer@debian.org> Sun, 23 Jan 2011 19:32:51 -0800
+
+talloc (2.0.4-1) unstable; urgency=low
+
+ * New upstream release.
+ * Link with --as-needed.
+
+ -- Jelmer Vernooij <jelmer@debian.org> Tue, 21 Dec 2010 16:32:33 +0100
+
+talloc (2.0.4~git20101213-1) experimental; urgency=low
+
+ * New upstream snapshot.
+ + Introduces symbol versioning.
+
+ -- Jelmer Vernooij <jelmer@debian.org> Tue, 14 Dec 2010 00:59:17 +0100
+
+talloc (2.0.4~git20101205-1) experimental; urgency=low
+
+ * New upstream release.
+ * Bump standards version to 3.9.1 (no changes).
+
+ -- Jelmer Vernooij <jelmer@debian.org> Sun, 05 Dec 2010 15:19:14 +0100
+
+talloc (2.0.3~git20101101-2) experimental; urgency=low
+
+ * Add dependency on libpytalloc-util2 to libpytalloc-util-dev.
+
+ -- Jelmer Vernooij <jelmer@debian.org> Thu, 04 Nov 2010 21:56:22 +0100
+
+talloc (2.0.3~git20101101-1) experimental; urgency=low
+
+ * New upstream snapshot.
+ + Fixes example include line in manual page. Closes: #588393
+ + Removes manual page mention of deprecated talloc_append_string,
+ consistent with other deprecated functionality. Closes: #601205
+ + Add new binary packages libpytalloc-util2 and libpytalloc-util-dev.
+ * Bump standards version to 3.9.1 (no changes).
+ * Support nocheck in DEB_BUILD_OPTIONS rather than notest (per policy
+ 4.9.1).
+
+ -- Jelmer Vernooij <jelmer@debian.org> Mon, 01 Nov 2010 19:06:20 +0100
+
+talloc (2.0.3~git20100517-1) experimental; urgency=low
+
+ * New upstream snapshot.
+
+ -- Jelmer Vernooij <jelmer@debian.org> Fri, 21 May 2010 00:22:17 +0200
+
+talloc (2.0.3~git20100506-2) experimental; urgency=low
+
+ * Add dependency on python for waf. Closes: #580743
+
+ -- Jelmer Vernooij <jelmer@debian.org> Thu, 13 May 2010 18:33:54 +0200
+
+talloc (2.0.3~git20100506-1) experimental; urgency=low
+
+ * New upstream snapshot.
+ * Bump standards version to 3.8.4.
+ * Update upstream location information in debian/copyright. Closes:
+ #561529
+ * Add missing dependencies on ${misc:Depends}.
+
+ -- Jelmer Vernooij <jelmer@debian.org> Thu, 06 May 2010 16:39:57 +0200
+
+talloc (2.0.1-1) unstable; urgency=low
+
+ * New upstream release
+ * Switch to source format 3.0 (quilt)
+ * Add myself to uploaders
+
+ -- Christian Perrier <bubulle@debian.org> Thu, 17 Dec 2009 22:36:31 +0100
+
+talloc (2.0.0-1) unstable; urgency=low
+
+ * New upstream release.
+ * Bump standards version to 3.8.3.
+
+ -- Jelmer Vernooij <jelmer@debian.org> Fri, 11 Sep 2009 23:03:06 +0200
+
+talloc (1.4.0~git20090718-1) experimental; urgency=low
+
+ * New upstream snapshot, required for Samba 4.
+
+ -- Jelmer Vernooij <jelmer@debian.org> Sat, 18 Jul 2009 12:14:50 +0200
+
+talloc (1.3.1-2) unstable; urgency=low
+
+ * Bump shlibs and use symbol versioning. Closes: #536322
+ * Bump standards version to 3.8.2.
+
+ -- Jelmer Vernooij <jelmer@debian.org> Sat, 18 Jul 2009 11:24:04 +0200
+
+talloc (1.3.1-1) unstable; urgency=low
+
+ * New upstream release.
+ + Fixes build on non-Linux GNU systems. (Closes: #526069)
+
+ -- Jelmer Vernooij <jelmer@debian.org> Wed, 17 Jun 2009 17:07:03 +0200
+
+talloc (1.3.0-1) unstable; urgency=low
+
+ * New upstream release.
+ * Bump standards version to 3.8.1.
+
+ -- Jelmer Vernooij <jelmer@debian.org> Sat, 16 May 2009 03:05:22 +0200
+
+talloc (1.2.1-1) unstable; urgency=low
+
+ [ Steve Langasek ]
+ * Bump the shlibs in libtalloc1, since previous versions of this package
+ have been in the wild (including in an Ubuntu release) with a smaller
+ set of exported symbols than the current version - including talloc_pool
+ which is used by samba.
+
+ [ Jelmer Vernooij ]
+ * Add dummy watch file explaining how to obtain an upstream tarball.
+ * New upstream release.
+
+ -- Jelmer Vernooij <jelmer@debian.org> Sat, 14 Mar 2009 18:48:57 +0100
+
+talloc (1.2.0~git20080616-1) unstable; urgency=low
+
+ * New upstream snapshot.
+ * Fix symlink to library in package.
+ * Update license (now LGPLv3) in copyright file.
+ * Bump standards version to 3.8.0.
+
+ -- Jelmer Vernooij <jelmer@samba.org> Tue, 17 Jun 2008 03:02:55 +0200
+
+talloc (1.2.0~git20080520-1) unstable; urgency=low
+
+ * New upstream snapshot.
+
+ -- Jelmer Vernooij <jelmer@samba.org> Tue, 20 May 2008 01:40:13 +0200
+
+talloc (1.1.0~svn26291-1) unstable; urgency=low
+
+ * Support building twice in a row. (Closes: #442741)
+ * Install SWIG file.
+ * Upload to unstable.
+
+ -- Jelmer Vernooij <jelmer@samba.org> Fri, 30 Nov 2007 18:49:19 +0100
+
+talloc (1.1.0~svn26116-1) experimental; urgency=low
+
+ * Set homepage field.
+ * New upstream snapshot.
+ * Allow Debian maintainer uploads.
+
+ -- Jelmer Vernooij <jelmer@samba.org> Sun, 25 Nov 2007 18:02:48 +0000
+
+talloc (1.0.1-2) unstable; urgency=low
+
+ * Make libtalloc-dev depend on libtalloc1. (Closes: #426444)
+
+ -- Jelmer Vernooij <jelmer@samba.org> Sun, 25 Nov 2007 16:30:00 +0000
+
+talloc (1.0.1-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Jelmer Vernooij <jelmer@samba.org> Sat, 26 May 2007 18:58:31 +0200
+
+talloc (1.0-1) unstable; urgency=low
+
+ * Initial release. (Closes: #356088)
+
+ -- Jelmer Vernooij <jelmer@samba.org> Mon, 30 Apr 2007 02:34:53 +0200
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..a00f8f5
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,65 @@
+Source: talloc
+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>
+Homepage: https://talloc.samba.org/
+Build-Depends: debhelper-compat (= 13),
+ dh-sequence-python3,
+ docbook-xml, docbook-xsl, xsltproc,
+ libpopt-dev,
+# use {python3,libpython3}-ALL-dev to build for all python3 versions (+#904999):
+ python3-dev:any | python3-dev, libpython3-dev,
+Rules-Requires-Root: no
+Standards-Version: 4.6.2
+Vcs-Browser: https://salsa.debian.org/samba-team/talloc
+Vcs-Git: https://salsa.debian.org/samba-team/talloc.git
+
+Package: libtalloc2
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Breaks: python3-talloc (<< 2.1.13-2~)
+Section: libs
+Description: hierarchical pool based memory allocator
+ A hierarchical pool based memory allocator with destructors. It uses
+ reference counting to determine when memory should be freed.
+
+Package: libtalloc-dev
+Section: libdevel
+Depends: libtalloc2 (=${binary:Version}), pkg-config, ${misc:Depends}
+Architecture: any
+Multi-Arch: same
+Description: hierarchical pool based memory allocator - development files
+ A hierarchical pool based memory allocator with destructors. It uses
+ reference counting to determine when memory should be freed.
+ .
+ This package contains the development files.
+
+Package: python3-talloc
+Multi-Arch: same
+Section: python
+Architecture: any
+Depends: libtalloc2 (= ${binary:Version}),
+ ${misc:Depends},
+ ${python3:Depends},
+ ${shlibs:Depends}
+Description: hierarchical pool based memory allocator - Python3 bindings
+ A hierarchical pool based memory allocator with destructors. It uses
+ reference counting to determine when memory should be freed.
+ .
+ This package contains the Python 3 bindings.
+
+Package: python3-talloc-dev
+Architecture: any
+Multi-Arch: same
+Section: libdevel
+Depends: pkg-config, python3-talloc (= ${binary:Version}), ${misc:Depends}
+Description: talloc Python 3 bindings - development files
+ A hierarchical pool based memory allocator with destructors. It uses
+ reference counting to determine when memory should be freed.
+ .
+ This package contains the development files for the Python 3 bindings.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..c18cca6
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,507 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: talloc
+Upstream-Contact: Samba Developers <samba-technical@samba.org>
+Source: http://talloc.samba.org/
+
+Files: *
+Copyright:
+ 2004-2005 Andrew Tridgell <tridge@samba.org>
+ 2006 Stefan Metzmacher <metze@samba.org>
+License: LGPL-3.0+
+
+Files: debian/*
+Copyright: 2007-2012 Jelmer Vernooij <jelmer@samba.org>
+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: pytalloc*
+Copyright:
+ Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2008-2011
+ Copyright (C) Andrew Bartlett <abartlet@samba.org> 2016
+License: GPL-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/libtalloc-dev.docs b/debian/libtalloc-dev.docs
new file mode 100644
index 0000000..8e43737
--- /dev/null
+++ b/debian/libtalloc-dev.docs
@@ -0,0 +1 @@
+talloc_guide.txt
diff --git a/debian/libtalloc-dev.install b/debian/libtalloc-dev.install
new file mode 100644
index 0000000..eaaf1cb
--- /dev/null
+++ b/debian/libtalloc-dev.install
@@ -0,0 +1,5 @@
+usr/include/talloc.h
+usr/lib/*/libtalloc.a
+usr/lib/*/libtalloc.so
+usr/lib/*/pkgconfig/talloc.pc
+usr/share/man/man3/talloc.3
diff --git a/debian/libtalloc2.install b/debian/libtalloc2.install
new file mode 100644
index 0000000..d419f7c
--- /dev/null
+++ b/debian/libtalloc2.install
@@ -0,0 +1 @@
+usr/lib/*/libtalloc.so.*
diff --git a/debian/libtalloc2.symbols b/debian/libtalloc2.symbols
new file mode 100644
index 0000000..13d8c84
--- /dev/null
+++ b/debian/libtalloc2.symbols
@@ -0,0 +1,100 @@
+libtalloc.so.2 #PACKAGE# #MINVER#
+* Build-Depends-Package: libtalloc-dev
+ TALLOC_2.0.2@TALLOC_2.0.2 2.0.4~git20101213
+ TALLOC_2.0.3@TALLOC_2.0.3 2.0.3
+ TALLOC_2.0.4@TALLOC_2.0.4 2.0.4
+ TALLOC_2.0.5@TALLOC_2.0.5 2.0.5
+ TALLOC_2.0.6@TALLOC_2.0.6 2.0.6
+ TALLOC_2.0.7@TALLOC_2.0.7 2.0.7
+ TALLOC_2.0.8@TALLOC_2.0.8 2.0.8
+ TALLOC_2.1.0@TALLOC_2.1.0 2.1.0
+ TALLOC_2.1.1@TALLOC_2.1.1 2.1.1
+ TALLOC_2.1.2@TALLOC_2.1.2 2.1.2
+ TALLOC_2.1.3@TALLOC_2.1.3 2.1.3
+ TALLOC_2.1.4@TALLOC_2.1.4 2.1.4
+ TALLOC_2.1.5@TALLOC_2.1.5 2.1.5
+ TALLOC_2.1.6@TALLOC_2.1.6 2.1.6
+ TALLOC_2.1.7@TALLOC_2.1.7 2.1.7
+ TALLOC_2.1.8@TALLOC_2.1.8 2.1.8
+ TALLOC_2.1.9@TALLOC_2.1.9 2.1.9
+ TALLOC_2.1.10@TALLOC_2.1.10 2.1.10
+ TALLOC_2.1.11@TALLOC_2.1.11 2.1.11
+ TALLOC_2.1.12@TALLOC_2.1.12 2.1.12
+ TALLOC_2.1.13@TALLOC_2.1.13 2.1.13
+ TALLOC_2.1.14@TALLOC_2.1.14 2.1.14
+ TALLOC_2.1.15@TALLOC_2.1.15 2.1.15
+ TALLOC_2.1.16@TALLOC_2.1.16 2.1.16
+ TALLOC_2.2.0@TALLOC_2.2.0 2.2.0
+ TALLOC_2.3.0@TALLOC_2.3.0 2.3.0
+ TALLOC_2.3.1@TALLOC_2.3.1 2.3.1
+ TALLOC_2.3.2@TALLOC_2.3.2 2.3.2
+ TALLOC_2.3.3@TALLOC_2.3.3 2.3.3
+ TALLOC_2.3.4@TALLOC_2.3.4 2.3.4
+ TALLOC_2.3.5@TALLOC_2.3.5 2.4.0
+ TALLOC_2.4.0@TALLOC_2.4.0 2.4.0
+ _talloc@TALLOC_2.0.2 2.0.4~git20101213
+ _talloc_array@TALLOC_2.0.2 2.0.4~git20101213
+ _talloc_free@TALLOC_2.0.2 2.0.4~git20101213
+ _talloc_get_type_abort@TALLOC_2.0.2 2.0.4~git20101213
+ _talloc_memdup@TALLOC_2.0.2 2.0.4~git20101213
+ _talloc_move@TALLOC_2.0.2 2.0.4~git20101213
+ _talloc_pooled_object@TALLOC_2.1.0 2.1.0
+ _talloc_realloc@TALLOC_2.0.2 2.0.4~git20101213
+ _talloc_realloc_array@TALLOC_2.0.2 2.0.4~git20101213
+ _talloc_reference_loc@TALLOC_2.0.2 2.0.4~git20101213
+ _talloc_set_destructor@TALLOC_2.0.2 2.0.4~git20101213
+ _talloc_steal_loc@TALLOC_2.0.2 2.0.4~git20101213
+ _talloc_zero@TALLOC_2.0.2 2.0.4~git20101213
+ _talloc_zero_array@TALLOC_2.0.2 2.0.4~git20101213
+ talloc_asprintf@TALLOC_2.0.2 2.0.4~git20101213
+ talloc_asprintf_addbuf@TALLOC_2.3.5 2.4.0
+ talloc_asprintf_append@TALLOC_2.0.2 2.0.4~git20101213
+ talloc_asprintf_append_buffer@TALLOC_2.0.2 2.0.4~git20101213
+ talloc_autofree_context@TALLOC_2.0.2 2.0.4~git20101213
+ talloc_check_name@TALLOC_2.0.2 2.0.4~git20101213
+ talloc_disable_null_tracking@TALLOC_2.0.2 2.0.4~git20101213
+ talloc_enable_leak_report@TALLOC_2.0.2 2.0.4~git20101213
+ talloc_enable_leak_report_full@TALLOC_2.0.2 2.0.4~git20101213
+ talloc_enable_null_tracking@TALLOC_2.0.2 2.0.4~git20101213
+ talloc_enable_null_tracking_no_autofree@TALLOC_2.0.2 2.0.4~git20101213
+ talloc_find_parent_byname@TALLOC_2.0.2 2.0.4~git20101213
+ talloc_free_children@TALLOC_2.0.2 2.0.4~git20101213
+ talloc_get_name@TALLOC_2.0.2 2.0.4~git20101213
+ talloc_get_size@TALLOC_2.0.2 2.0.4~git20101213
+ talloc_increase_ref_count@TALLOC_2.0.2 2.0.4~git20101213
+ talloc_init@TALLOC_2.0.2 2.0.4~git20101213
+ talloc_is_parent@TALLOC_2.0.2 2.0.4~git20101213
+ talloc_named@TALLOC_2.0.2 2.0.4~git20101213
+ talloc_named_const@TALLOC_2.0.2 2.0.4~git20101213
+ talloc_parent@TALLOC_2.0.2 2.0.4~git20101213
+ talloc_parent_name@TALLOC_2.0.2 2.0.4~git20101213
+ talloc_pool@TALLOC_2.0.2 2.0.4~git20101213
+ talloc_realloc_fn@TALLOC_2.0.2 2.0.4~git20101213
+ talloc_reference_count@TALLOC_2.0.2 2.0.4~git20101213
+ talloc_reparent@TALLOC_2.0.2 2.0.4~git20101213
+ talloc_report@TALLOC_2.0.2 2.0.4~git20101213
+ talloc_report_depth_cb@TALLOC_2.0.2 2.0.4~git20101213
+ talloc_report_depth_file@TALLOC_2.0.2 2.0.4~git20101213
+ talloc_report_full@TALLOC_2.0.2 2.0.4~git20101213
+ talloc_set_abort_fn@TALLOC_2.0.2 2.0.4~git20101213
+ talloc_set_log_fn@TALLOC_2.0.2 2.0.4~git20101213
+ talloc_set_log_stderr@TALLOC_2.0.2 2.0.4~git20101213
+ talloc_set_memlimit@TALLOC_2.0.8 2.0.8
+ talloc_set_name@TALLOC_2.0.2 2.0.4~git20101213
+ talloc_set_name_const@TALLOC_2.0.2 2.0.4~git20101213
+ talloc_show_parents@TALLOC_2.0.2 2.0.4~git20101213
+ talloc_strdup@TALLOC_2.0.2 2.0.4~git20101213
+ talloc_strdup_append@TALLOC_2.0.2 2.0.4~git20101213
+ talloc_strdup_append_buffer@TALLOC_2.0.2 2.0.4~git20101213
+ talloc_strndup@TALLOC_2.0.2 2.0.4~git20101213
+ talloc_strndup_append@TALLOC_2.0.2 2.0.4~git20101213
+ talloc_strndup_append_buffer@TALLOC_2.0.2 2.0.4~git20101213
+ talloc_test_get_magic@TALLOC_2.1.4 2.1.5
+ talloc_total_blocks@TALLOC_2.0.2 2.0.4~git20101213
+ talloc_total_size@TALLOC_2.0.2 2.0.4~git20101213
+ talloc_unlink@TALLOC_2.0.2 2.0.4~git20101213
+ talloc_vasprintf@TALLOC_2.0.2 2.0.4~git20101213
+ talloc_vasprintf_append@TALLOC_2.0.2 2.0.4~git20101213
+ talloc_vasprintf_append_buffer@TALLOC_2.0.2 2.0.4~git20101213
+ talloc_version_major@TALLOC_2.0.2 2.0.4~git20101213
+ talloc_version_minor@TALLOC_2.0.2 2.0.4~git20101213
diff --git a/debian/python3-talloc-dev.install b/debian/python3-talloc-dev.install
new file mode 100644
index 0000000..93957c6
--- /dev/null
+++ b/debian/python3-talloc-dev.install
@@ -0,0 +1,3 @@
+usr/include/pytalloc.h
+usr/lib/*/pkgconfig/pytalloc-util.cpython-*.pc
+usr/lib/*/libpytalloc-util.cpython-*.so
diff --git a/debian/python3-talloc-dev.lintian-overrides b/debian/python3-talloc-dev.lintian-overrides
new file mode 100644
index 0000000..f8b50ca
--- /dev/null
+++ b/debian/python3-talloc-dev.lintian-overrides
@@ -0,0 +1 @@
+python3-talloc-dev: wrong-section-according-to-package-name * => python
diff --git a/debian/python3-talloc.install b/debian/python3-talloc.install
new file mode 100644
index 0000000..35b7c66
--- /dev/null
+++ b/debian/python3-talloc.install
@@ -0,0 +1,2 @@
+usr/lib/*/libpytalloc-util.cpython-3*.so.*
+usr/lib/python3*
diff --git a/debian/python3-talloc.lintian-overrides b/debian/python3-talloc.lintian-overrides
new file mode 100644
index 0000000..efc6dcf
--- /dev/null
+++ b/debian/python3-talloc.lintian-overrides
@@ -0,0 +1,3 @@
+python3-talloc: package-name-doesnt-match-sonames libpytalloc-util.cpython-*
+# False positives, see #896012
+python3-talloc: library-not-linked-against-libc [usr/lib/*/libpytalloc-util.cpython-*.so.*]
diff --git a/debian/python3-talloc.symbols.in b/debian/python3-talloc.symbols.in
new file mode 100644
index 0000000..d5048ef
--- /dev/null
+++ b/debian/python3-talloc.symbols.in
@@ -0,0 +1,49 @@
+# First two lines of the actual symbols file are generated by d/rules
+# for specific python configuration like this:
+#libpytalloc-util.cpython-39-x86-64-linux-gnu.so.2 python3-talloc #MINVER#
+# PYTALLOC_UTIL.CPYTHON_39_X86_64_LINUX_GNU_2.3.3@PYTALLOC_UTIL.CPYTHON_39_X86_64_LINUX_GNU_2.3.3 2.3.3
+* Build-Depends-Package: python3-talloc-dev
+ PYTALLOC_UTIL_2.0.6@PYTALLOC_UTIL_2.0.6 2.3.0
+ PYTALLOC_UTIL_2.0.7@PYTALLOC_UTIL_2.0.7 2.3.0
+ PYTALLOC_UTIL_2.0.8@PYTALLOC_UTIL_2.0.8 2.3.0
+ PYTALLOC_UTIL_2.1.0@PYTALLOC_UTIL_2.1.0 2.3.0
+ PYTALLOC_UTIL_2.1.10@PYTALLOC_UTIL_2.1.10 2.3.0
+ PYTALLOC_UTIL_2.1.11@PYTALLOC_UTIL_2.1.11 2.3.0
+ PYTALLOC_UTIL_2.1.12@PYTALLOC_UTIL_2.1.12 2.3.0
+ PYTALLOC_UTIL_2.1.13@PYTALLOC_UTIL_2.1.13 2.3.0
+ PYTALLOC_UTIL_2.1.14@PYTALLOC_UTIL_2.1.14 2.3.0
+ PYTALLOC_UTIL_2.1.15@PYTALLOC_UTIL_2.1.15 2.3.0
+ PYTALLOC_UTIL_2.1.16@PYTALLOC_UTIL_2.1.16 2.3.0
+ PYTALLOC_UTIL_2.1.1@PYTALLOC_UTIL_2.1.1 2.3.0
+ PYTALLOC_UTIL_2.1.2@PYTALLOC_UTIL_2.1.2 2.3.0
+ PYTALLOC_UTIL_2.1.3@PYTALLOC_UTIL_2.1.3 2.3.0
+ PYTALLOC_UTIL_2.1.4@PYTALLOC_UTIL_2.1.4 2.3.0
+ PYTALLOC_UTIL_2.1.5@PYTALLOC_UTIL_2.1.5 2.3.0
+ PYTALLOC_UTIL_2.1.6@PYTALLOC_UTIL_2.1.6 2.3.0
+ PYTALLOC_UTIL_2.1.7@PYTALLOC_UTIL_2.1.7 2.3.0
+ PYTALLOC_UTIL_2.1.8@PYTALLOC_UTIL_2.1.8 2.3.0
+ PYTALLOC_UTIL_2.1.9@PYTALLOC_UTIL_2.1.9 2.3.0
+ PYTALLOC_UTIL_2.2.0@PYTALLOC_UTIL_2.2.0 2.3.0
+ PYTALLOC_UTIL_2.3.0@PYTALLOC_UTIL_2.3.0 2.3.0
+ PYTALLOC_UTIL_2.3.1@PYTALLOC_UTIL_2.3.1 2.3.1
+ PYTALLOC_UTIL_2.3.2@PYTALLOC_UTIL_2.3.2 2.3.2
+ PYTALLOC_UTIL_2.3.3@PYTALLOC_UTIL_2.3.3 2.3.3
+ PYTALLOC_UTIL_2.3.4@PYTALLOC_UTIL_2.3.4 2.3.4
+ PYTALLOC_UTIL_2.3.5@PYTALLOC_UTIL_2.3.5 2.4.0
+ PYTALLOC_UTIL_2.4.0@PYTALLOC_UTIL_2.4.0 2.4.0
+ _pytalloc_check_type@PYTALLOC_UTIL_2.1.9 2.1.16
+ _pytalloc_get_mem_ctx@PYTALLOC_UTIL_2.1.6 2.1.16
+ _pytalloc_get_name@PYTALLOC_UTIL_2.3.0 2.3.0
+ _pytalloc_get_ptr@PYTALLOC_UTIL_2.1.6 2.1.16
+ _pytalloc_get_type@PYTALLOC_UTIL_2.1.6 2.1.16
+ pytalloc_BaseObject_PyType_Ready@PYTALLOC_UTIL_2.1.6 2.1.16
+ pytalloc_BaseObject_check@PYTALLOC_UTIL_2.1.6 2.1.16
+ pytalloc_BaseObject_size@PYTALLOC_UTIL_2.1.6 2.1.16
+ pytalloc_Check@PYTALLOC_UTIL_2.0.6 2.1.16
+ pytalloc_GenericObject_reference_ex@PYTALLOC_UTIL_2.1.9 2.1.16
+ pytalloc_GenericObject_steal_ex@PYTALLOC_UTIL_2.1.9 2.1.16
+ pytalloc_GetBaseObjectType@PYTALLOC_UTIL_2.1.6 2.1.16
+ pytalloc_GetObjectType@PYTALLOC_UTIL_2.0.6 2.1.16
+ pytalloc_reference_ex@PYTALLOC_UTIL_2.0.6 2.1.16
+ pytalloc_steal@PYTALLOC_UTIL_2.0.6 2.1.16
+ pytalloc_steal_ex@PYTALLOC_UTIL_2.0.6 2.1.16
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..a9170ca
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,102 @@
+#!/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
+include /usr/share/dpkg/pkg-info.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 rc $*/bin/libtalloc.a $*/bin/default/talloc*.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 $*; LD_LIBRARY_PATH=bin/shared ./bin/talloc_testsuite
+
+$(call py-targets, install): %/install: %/stamp-build
+ @echo "=== running install in $* ==="
+ cd $*; ${WAF} install --destdir=${DESTDIR}
+ cp $*/bin/libtalloc.a ${DESTDIR}/usr/lib/${DEB_HOST_MULTIARCH}/
+override_dh_auto_install: $(call py-targets, install)
+ #HACK alert: fix up wrong markers in the common include file
+ sed -i 's/^_PUBLIC_ //' \
+ ${DESTDIR}/usr/include/talloc.h \
+ ${DESTDIR}/usr/include/pytalloc.h
+ # ..and remove the #define itself
+ patch --batch ${DESTDIR}/usr/include/talloc.h debian/header-remove-_PUBLIC_-define.patch
+
+override_dh_makeshlibs:
+ dh_makeshlibs -plibtalloc2 -- -c4
+ for pv in ${PY3VERSIONS}; do \
+ suff=$$(${DEB_HOST_MULTIARCH}-$$pv-config --extension-suffix | tr _ -); \
+ SUFF=$$(echo "$${suff%.so}" | tr a-z- A-Z_)_${DEB_VERSION_UPSTREAM}; \
+ echo "libpytalloc-util$${suff}.2 python3-talloc #MINVER#"; \
+ echo " PYTALLOC_UTIL$${SUFF}@PYTALLOC_UTIL$${SUFF} ${DEB_VERSION_UPSTREAM}"; \
+ cat debian/python3-talloc.symbols.in; \
+ done > debian/python3-talloc.symbols
+ dh_makeshlibs -ppython3-talloc -X/talloc.cpython -- -c3
+ rm debian/python3-talloc.symbols
+
+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..29091c5
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1,2 @@
+# these are buildtools examples not talloc examples:
+talloc source: package-does-not-install-examples *buildtools/examples/*
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..4156fe5
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=4
+opts=pgpsigurlmangle=s/tar\.gz/tar.asc/,decompress https://download.samba.org/pub/talloc/ talloc-(.+).tar.gz