summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdebian/autodeps.py141
-rwxr-xr-xdebian/build-orig.sh21
-rw-r--r--debian/changelog474
-rw-r--r--debian/clean5
-rw-r--r--debian/control52
-rw-r--r--debian/copyright518
-rw-r--r--debian/gbp.conf3
-rw-r--r--debian/library-equivalents10
-rw-r--r--debian/libtevent-dev.install4
-rw-r--r--debian/libtevent0.install1
-rw-r--r--debian/libtevent0.symbols212
-rw-r--r--debian/patches/0001-Disable-python-tests.patch29
-rw-r--r--debian/patches/cross.patch50
-rw-r--r--debian/patches/series2
-rwxr-xr-xdebian/rules56
-rw-r--r--debian/salsa-ci.yml9
-rw-r--r--debian/source/format1
-rw-r--r--debian/upstream/signing-key.asc18
-rw-r--r--debian/watch2
19 files changed, 1608 insertions, 0 deletions
diff --git a/debian/autodeps.py b/debian/autodeps.py
new file mode 100755
index 0000000..cdbdc70
--- /dev/null
+++ b/debian/autodeps.py
@@ -0,0 +1,141 @@
+#!/usr/bin/python
+# Update dependencies based on info.py
+# Copyright (C) 2010 Jelmer Vernooij <jelmer@debian.org>
+# Licensed under the GNU GPL, version 2 or later.
+
+import ConfigParser
+import optparse
+import os
+import sys
+
+parser = optparse.OptionParser("%s <--minimum-library-version|--update-control> <source-tree>" % sys.argv[0])
+parser.add_option("--minimum-library-version",
+ help="Print argument for --minimum-library-version", action="store_true")
+parser.add_option("--update-control", help="Update debian/control", action="store_true")
+
+(opts, args) = parser.parse_args()
+
+if len(args) != 1:
+ if os.path.exists("source4"):
+ tree = os.getcwd()
+ else:
+ parser.print_usage()
+ sys.exit(1)
+else:
+ tree = args[0]
+
+def update_relation(line, pkg, kind, version):
+ """Update a relation in a control field.
+
+ :param line: Depends-like dependency list
+ :param pkg: Package name
+ :param kind: Version requirement kind ("==", ">=", "<<", etc)
+ :param version: Required version
+ """
+ found = False
+ for pr in line:
+ for e in pr:
+ if e["name"] == pkg and e["version"] and e["version"][0] == kind:
+ e["version"] = (kind, version)
+ found = True
+ if not found:
+ line.append([{"version": (kind, version), "name": pkg, "arch": None}])
+
+
+class LibraryEquivalents(object):
+ """Lookup table for equivalent library versions."""
+
+ def __init__(self, path):
+ self.config = ConfigParser.ConfigParser()
+ self.config.readfp(open(path))
+
+ def find_equivalent(self, package, version):
+ """Find an equivalent version for a specified package version.
+
+ :param package: Package name
+ :param version: Package version as int-tuple.
+ :return: Equivalent version as int-tuple.
+ :raise KeyError: Raised if there was no equivalent version found
+ """
+ try:
+ version = self.config.get(package, ".".join(str(x) for x in version))
+ return tuple([int(x) for x in version.split(".")])
+ except (ConfigParser.NoSectionError, ConfigParser.NoOptionError):
+ raise KeyError
+
+ def find_oldest_compatible(self, package, version):
+ try:
+ return self.find_equivalent(package, version)
+ except KeyError:
+ return version
+
+
+def find_version(path):
+ """Find a version in a waf file.
+
+ :param path: waf script to read
+ :return: Version as int-tuple.
+ """
+ v = open(path, 'r')
+ try:
+ for l in v.readlines():
+ if l.startswith("VERSION = '"):
+ return tuple([int(x) for x in l.strip()[len("VERSION = '"):-1].split(".")])
+ raise KeyError
+ finally:
+ v.close()
+
+
+def update_control():
+ """Update the debian control file.
+ """
+ from debian.deb822 import Deb822, PkgRelation
+ f = open('debian/control', 'r')
+ iter = Deb822.iter_paragraphs(f)
+ source = iter.next()
+
+ def update_deps(control, field, package, min_version):
+ bdi = PkgRelation.parse_relations(control[field])
+ update_relation(bdi, package, ">=", "%d.%d.%d~" % min_version)
+ control[field] = PkgRelation.str(bdi)
+
+ talloc_version = find_version(os.path.join(tree, "lib/talloc/wscript"))
+
+ eq_config = LibraryEquivalents('debian/library-equivalents')
+ min_talloc_version = eq_config.find_oldest_compatible("talloc", talloc_version)
+ update_deps(source, "Build-Depends", "libtalloc-dev", min_talloc_version)
+ update_deps(source, "Build-Depends", "python-talloc-dev", min_talloc_version)
+
+ o = open("debian/control", "w+")
+ source.dump(o)
+
+ for binary in iter:
+ o.write("\n")
+ binary.dump(o)
+
+ o.close()
+
+
+def forced_minimum_library_versions():
+ libraries = [
+ ("tdb", "lib/tdb/wscript"),
+ ("talloc", "lib/talloc/wscript"),
+ ("ldb", "source4/lib/ldb/wscript"),
+ ("tevent", "lib/tevent/wscript")]
+ eq_config = LibraryEquivalents('debian/library-equivalents')
+ for (name, path) in libraries:
+ version = find_version(os.path.join(tree, path))
+ try:
+ min_version = eq_config.find_equivalent(name, version)
+ except KeyError:
+ continue
+ yield "%s:%s" % (name, ".".join([str(x) for x in min_version]))
+
+
+if opts.minimum_library_version:
+ print ",".join(forced_minimum_library_versions())
+elif opts.update_control:
+ update_control()
+else:
+ parser.print_usage()
+ sys.exit(1)
diff --git a/debian/build-orig.sh b/debian/build-orig.sh
new file mode 100755
index 0000000..4d95599
--- /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
+
+version=$( dpkg-parsechangelog -l`dirname $0`/changelog | sed -n 's/^Version: \(.*:\|\)//p' | sed 's/-[0-9]\+$//' )
+echo $version | grep git || exit 1
+
+TEVENTTMP=`mktemp -d`
+if [ -d $SAMBA_GIT_URL/.bzr ]; then
+ bzr co --lightweight $SAMBA_GIT_URL $TEVENTTMP
+else
+ git clone --depth 1 $SAMBA_GIT_URL $TEVENTTMP
+fi
+pushd $TEVENTTMP/lib/tevent
+./configure
+make dist
+popd
+mv $TEVENTTMP/lib/tevent/tevent-*.tar.gz tevent_$version.orig.tar.gz
+rm -rf $TEVENTTMP
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..36a2ab0
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,474 @@
+tevent (0.16.1-1) unstable; urgency=medium
+
+ * new upstream release
+ * d/control: update libtalloc version for Build-Depends
+ * d/patches/cross.patch: refresh
+ * d/libtevent0.symbols: update symbols file with new version
+
+ -- Michael Tokarev <mjt@tls.msk.ru> Mon, 29 Jan 2024 20:15:38 +0300
+
+tevent (0.15.0-1) unstable; urgency=medium
+
+ * new upstream release (requires talloc 2.4.1; new symbols)
+ * remove hunk from cross.patch which is applied upstream
+
+ -- Michael Tokarev <mjt@tls.msk.ru> Sun, 30 Jul 2023 23:06:06 +0300
+
+tevent (0.14.1-1) unstable; urgency=medium
+
+ * new upstream minor release:
+ - Build fix for GNU/Hurd
+ - Build fix for Solaris, after removal
+ of ports backend (samba bug #15298)
+ * d/control: do not build-depend on python-distutils,
+ sysconfig will be used instead
+ * d/control: Standards-Version: 4.6.2 (no changes)
+ * d/control: remove build-depend on libaio-dev, it is not used
+ * cross.patch: fix two bugs in it
+
+ -- Michael Tokarev <mjt@tls.msk.ru> Sat, 04 Feb 2023 11:22:05 +0300
+
+tevent (0.14.0-2) unstable; urgency=medium
+
+ * new upstream release (0.14.0, from samba 4.18):
+ - Support python 3.12
+ - remove solaris port backend (it's not maintainable)
+ - make tevent_find_ops_byname() available for callers.
+ - allow the "standard" backend to be overloaded
+ - add interface for request/subrequest call depth tracking:
+ tevent_thread_call_depth_activate
+ tevent_thread_call_depth_deactivate
+ tevent_thread_call_depth_start
+ tevent_thread_call_depth_stop
+ tevent_thread_call_depth_reset_from_req
+ * d/libtevent0.symbols: add new symbols and version
+ * d/control: build-depend on more recent libtalloc (2.4.0)
+
+ -- Michael Tokarev <mjt@tls.msk.ru> Sat, 21 Jan 2023 10:43:30 +0300
+
+tevent (0.13.0-3) unstable; urgency=medium
+
+ [ Debian Janitor ]
+ * Remove constraints unnecessary since buster (oldstable)
+
+ [ Michael Tokarev ]
+ * d/rules: support "terse" build option for non-verbose build
+ * 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 19:07:18 +0300
+
+tevent (0.13.0-2) unstable; urgency=medium
+
+ * d/rules: inline parallel check from dpkg/buildopts.mk
+ * use CFLAGS/LDFLAGS when running configure the same way
+ as in other samba packages
+ * d/rules: make it more like other samba d/rules files (minor changes)
+
+ -- Michael Tokarev <mjt@tls.msk.ru> Sun, 30 Oct 2022 11:50:07 +0300
+
+tevent (0.13.0-1) unstable; urgency=medium
+
+ * new upstream release (0.13.0)
+ * d/libtevent0.symbols: add new version
+ * d/control: build-depend on libtalloc >= 2.3.4
+
+ -- Michael Tokarev <mjt@tls.msk.ru> Mon, 05 Sep 2022 12:54:26 +0300
+
+tevent (0.12.0-1) unstable; urgency=medium
+
+ * New upstream version
+ * libtevent0.symbols: new symbols:
+ tevent_get_trace_queue_callback
+ tevent_queue_entry_get_tag
+ tevent_queue_entry_set_tag
+ tevent_set_trace_queue_callback
+ tevent_trace_queue_callback
+ * add myself to Uploaders.
+ * many packaging tweaks and cleanups:
+ - use buildflags.mk instead of our own CFLAGS
+ - enable hardening=+all
+ - use DEB_CFLAGS_MAINT_APPEND = -g -Wall
+ - set SHELL=/bin/sh -e
+ - reorder rules for readability
+ - reformat configure flags for readability
+ - set configure environment vars in one place
+ - use bin/config-stamp dep in configure & build
+ to stop running configure on every (re)build
+ - remove override_dh_makeshlibs
+ (export DPKG_GENSYMBOLS_CHECK_LEVEL instead)
+ - simplify clean target
+ - explicit override_dh_auto_test
+ - fix salsa-ci test failure with closed fd#0
+ - switch to using waf directly (& parallel)
+ - stop using --minimum-library-version=
+ in configure line (not very useful)
+ - bump dh-compat to 13
+ - explicitly list targets which goes to dh
+ - adopt significantly faster version of
+ /usr/share/dpkg/architecture.mk to set all vars in 1 go
+
+ -- Michael Tokarev <mjt@tls.msk.ru> Mon, 02 May 2022 21:56:00 +0300
+
+tevent (0.11.0-1) unstable; urgency=medium
+
+ * New upstream version 0.11.0
+ - Update 0001-Disable-python-tests.patch
+ - Bump build-depend on talloc to 2.3.2
+ - Add Build-Depends: libcmocka-dev (>= 1.1.3)
+ - Update symbols
+ * Update watch file format version to 4
+ * d/copyright: Fix duplicate-globbing-patterns
+ * Standards-Version: 4.5.1
+
+ -- Mathieu Parent <sathieu@debian.org> Tue, 14 Dec 2021 09:43:24 +0100
+
+tevent (0.10.2-1) unstable; urgency=medium
+
+ [ Debian Janitor ]
+ * Use dh $@ sequencer.
+ * Update standards version to 4.5.0, no changes needed.
+
+ [ Mathieu Parent ]
+ * New upstream version 0.10.2
+ - Update symbols (no change)
+ - Bump build-depend on talloc to 2.3.1
+
+ -- Mathieu Parent <sathieu@debian.org> Tue, 23 Jun 2020 10:09:25 +0200
+
+tevent (0.10.1-4) unstable; urgency=medium
+
+ [ Debian Janitor ]
+ * Update standards version to 4.4.1, no changes needed.
+ * Rely on pre-initialized dpkg-architecture variables.
+
+ -- Mathieu Parent <sathieu@debian.org> Sun, 17 Nov 2019 14:36:24 +0100
+
+tevent (0.10.1-3) unstable; urgency=medium
+
+ * Upload to unstable
+
+ -- Mathieu Parent <sathieu@debian.org> Sat, 14 Sep 2019 09:55:27 +0200
+
+tevent (0.10.1-2) experimental; urgency=medium
+
+ [ Helmut Grohne ]
+ * Improve cross building. (Closes: #939618)
+ + Annotate the python3 Build-Depends with :any.
+ + Export CC and PKGCONFIG for waf.
+ + cross.patch: don't run an unnecessary hello world test
+ + cross.patch: use compile-only checks for sizeof validation
+
+ -- Mathieu Parent <sathieu@debian.org> Sat, 14 Sep 2019 08:35:29 +0200
+
+tevent (0.10.1-1) experimental; urgency=medium
+
+ * Upload to experimental
+ * New upstream version 0.10.1
+ - d/watch Unpin to tevent 0.9.x
+ - Bump build-depend on talloc to 2.3.0
+ - Build-Depends: python3-distutils even with --disable-python
+ - Disable python tests
+ - Update symbols (no change)
+
+ -- Mathieu Parent <sathieu@debian.org> Fri, 13 Sep 2019 19:56:21 +0200
+
+tevent (0.9.39-2) unstable; urgency=medium
+
+ * Upload to unstable
+ * Bump debhelper from old 11 to 12.
+ * Standards-Version: 4.4.0
+ * 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
+ - Add lib/talloc/* licenses
+
+ -- Mathieu Parent <sathieu@debian.org> Thu, 29 Aug 2019 14:43:48 +0200
+
+tevent (0.9.39-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/salsa-ci.yml)
+ * d/watch: Pin to tevent 0.9.x for now as 0.10.x drop --extra-python support
+ * New upstream version 0.9.39
+
+ [ Andreas Hasenack ]
+ * d/rules: really clean all the temporary files
+ * d/libtevent0.symbols: updated symbols
+ * d/control, d/rules: disable python via ./configure, instead of building and
+ deleting it. This also reduces build-deps.
+ * d/control: build depend on python3, not python
+ * d/control: require talloc >= 2.1.16
+
+ -- Mathieu Parent <sathieu@debian.org> Fri, 23 Aug 2019 00:01:29 +0200
+
+tevent (0.9.37-1) unstable; urgency=medium
+
+ * New upstream version 0.9.37
+ - Bump build-depend on talloc to 2.1.13
+ - Update symbols
+ * d/control: Standards-Version: 4.2.1
+ * d/control: Rules-Requires-Root: no
+ * d/rules: Remove dbgsym-migration in override_dh_strip
+
+ -- Mathieu Parent <sathieu@debian.org> Mon, 17 Sep 2018 21:18:44 +0200
+
+tevent (0.9.36-2) unstable; urgency=low
+
+ * Upload to unstable
+
+ -- Mathieu Parent <sathieu@debian.org> Tue, 15 May 2018 15:42:59 +0200
+
+tevent (0.9.36-1) experimental; urgency=medium
+
+ * New upstream version 0.9.36
+ - Bump build-depend on talloc to 2.1.11
+ - Update symbols
+ * Upload to experimental
+ * Repository moved to salsa: Update Vcs-* fields
+ * gbp.conf: Enable sign-tags and pristine-tar
+ * Fix global-files-wildcard-not-first-paragraph-in-dep5-copyright
+ * Move to debhelper 11, no expected change
+ * Standards-Version: 4.1.3, no change
+
+ -- Mathieu Parent <sathieu@debian.org> Sun, 11 Mar 2018 21:06:02 +0100
+
+tevent (0.9.34-1) unstable; urgency=high
+
+ * New upstream version 0.9.34
+ - Update symbols (no changes)
+ - fix upstream "BUG 13130: smbd on disk file corruption bug under heavy
+ threaded load"
+ - Set urgency to high for this fix
+ * Standards-Version: 4.1.1, no change
+
+ -- Mathieu Parent <sathieu@debian.org> Thu, 23 Nov 2017 11:04:22 +0100
+
+tevent (0.9.33-2) unstable; urgency=medium
+
+ * Upload to sid
+
+ -- Mathieu Parent <sathieu@debian.org> Thu, 26 Oct 2017 10:27:36 +0200
+
+tevent (0.9.33-1) experimental; urgency=medium
+
+ * New upstream version 0.9.33
+ - Update symbols (no changes)
+ - Bump build-depend on talloc to 2.1.10
+ * Use https form of the copyright-format URL (Debian Policy 4.0.0)
+ * Standards-Version: 4.0.0
+
+ -- Mathieu Parent <sathieu@debian.org> Mon, 02 Oct 2017 10:26:56 +0200
+
+tevent (0.9.31-1) unstable; urgency=medium
+
+ [ Jelmer Vernooij ]
+ * Change maintainer to Debian Samba package maintainers.
+
+ [ Mathieu Parent ]
+ * New upstream version.
+ - Update symbols
+ - Bumping talloc Buid-Depends to 2.1.8
+ * Add me to uploaders
+ * Use secure Vcs-* uris
+ * Use automatic debug packages (-dbgsym)
+ * Use https homepage for tevent
+ * Mark libtevent-dev Multi-Arch: same
+ * Fix libreplace path in debian/copyright
+ * Bump standards version to 3.9.8 (no changes)
+
+ -- Mathieu Parent <sathieu@debian.org> Sun, 09 Oct 2016 20:47:15 +0200
+
+tevent (0.9.28-1) unstable; urgency=medium
+
+ * New upstream version.
+ * Drop upstreamed patch 01_fix_ld_library_path.
+ * Update Vcs-Git URL to use new host name (anonscm.debian.org).
+
+ -- Jelmer Vernooij <jelmer@debian.org> Sun, 13 Dec 2015 01:15:17 +0000
+
+tevent (0.9.26-3) unstable; urgency=low
+
+ * debian/copyright: Set short names for licenses.
+ * Fix Vcs-Git header.
+ * debian/rules: Properly clean up bin/, .lock-wscript and libtevent.a.
+
+ -- Jelmer Vernooij <jelmer@debian.org> Sat, 12 Dec 2015 01:17:11 +0000
+
+tevent (0.9.26-2) unstable; urgency=medium
+
+ * Set LD_LIBRARY_PATH during tests. Fixes FTBFS. Closes: #805319
+
+ -- Jelmer Vernooij <jelmer@debian.org> Tue, 17 Nov 2015 00:57:47 +0000
+
+tevent (0.9.26-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Jelmer Vernooij <jelmer@debian.org> Sun, 08 Nov 2015 21:42:12 +0000
+
+tevent (0.9.25-1) unstable; urgency=medium
+
+ * Fix watch file.
+ * New upstream release.
+ * Bump standards version to 3.9.6 (no changes).
+ * debian/copyright: Fix duplicate license names.
+
+ -- Jelmer Vernooij <jelmer@debian.org> Sat, 19 Sep 2015 03:16:10 +0000
+
+tevent (0.9.16-1) unstable; urgency=low
+
+ * New upstream release.
+ * Switch to debhelper 9.
+
+ -- Jelmer Vernooij <jelmer@debian.org> Sun, 10 Jun 2012 13:23:16 +0200
+
+tevent (0.9.15-2) unstable; urgency=low
+
+ * Only depend on (optional) libaio-dev on Linux. Thanks Robert Millan.
+ Closes: #650954
+ * debian/copyright: Refer to LGPL-3 license file rather than symlink.
+
+ -- Jelmer Vernooij <jelmer@debian.org> Thu, 29 Mar 2012 00:42:38 +0200
+
+tevent (0.9.15-1) unstable; urgency=low
+
+ * New upstream release.
+ * Bump standards version to 3.9.3 (no changes).
+
+ -- Jelmer Vernooij <jelmer@debian.org> Mon, 12 Mar 2012 19:48:56 +0100
+
+tevent (0.9.14+git20120207-1) unstable; urgency=low
+
+ * New upstream snapshot.
+ + Unpacks waf source code. Closes: #654510
+
+ -- Jelmer Vernooij <jelmer@debian.org> Tue, 07 Feb 2012 15:36:52 +0100
+
+tevent (0.9.14-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Jelmer Vernooij <jelmer@debian.org> Wed, 10 Aug 2011 13:49:40 +0200
+
+tevent (0.9.13-3) unstable; urgency=low
+
+ * Upload to unstable.
+ * Switch to new style debhelper.
+
+ -- Jelmer Vernooij <jelmer@debian.org> Thu, 28 Jul 2011 16:37:04 +0200
+
+tevent (0.9.13-2) experimental; urgency=low
+
+ * Add libtevent-dbg package.
+ * Add multi-arch support.
+
+ -- Jelmer Vernooij <jelmer@debian.org> Tue, 26 Jul 2011 20:28:46 +0200
+
+tevent (0.9.13-1) unstable; urgency=low
+
+ * New upstream release.
+ * Add homepage field.
+ * Bump standards version to 3.9.2 (no changes).
+
+ -- Jelmer Vernooij <jelmer@debian.org> Mon, 18 Jul 2011 17:48:12 +0200
+
+tevent (0.9.11~git20110311-1) unstable; urgency=low
+
+ * New upstream snapshot.
+
+ -- Jelmer Vernooij <jelmer@debian.org> Sat, 12 Mar 2011 00:50:21 +0100
+
+tevent (0.9.10-1) unstable; urgency=low
+
+ * New upstream release.
+ * Remove reference to deprecated BSD license file.
+ * Support building against talloc 2.0.1.
+ * Add script for automatically updating dependencies.
+ * Add missing dependencies on ${misc:Depends}.
+ * Link with --as-needed.
+
+ -- Jelmer Vernooij <jelmer@debian.org> Tue, 21 Dec 2010 19:38:38 +0100
+
+tevent (0.9.9~git20100928-2) unstable; urgency=low
+
+ * Depend on python-dev to build new Python module. Closes: #598374
+
+ -- Jelmer Vernooij <jelmer@debian.org> Tue, 28 Sep 2010 17:21:10 +0200
+
+tevent (0.9.9~git20100928-1) unstable; urgency=low
+
+ * Support building against talloc 2.0.1.
+ * New upstream snapshot. Closes: #598362
+
+ -- Jelmer Vernooij <jelmer@debian.org> Mon, 13 Sep 2010 15:28:58 +0200
+
+tevent (0.9.9~git20100522-3) experimental; urgency=low
+
+ * Add missing dependency on pkg-config and python. Closes: #595642
+
+ -- Jelmer Vernooij <jelmer@debian.org> Fri, 27 Aug 2010 02:35:21 +0200
+
+tevent (0.9.9~git20100522-2) experimental; urgency=low
+
+ * Bump standards version to 3.9.1.
+ + Inline BSD license in copyright file.
+ * Add missing build dependency on Python (required by waf).
+ * Depend on talloc >= 2.0.3.
+ * Switch to Bazaar.
+
+ -- Jelmer Vernooij <jelmer@debian.org> Thu, 26 Aug 2010 23:33:51 +0200
+
+tevent (0.9.9~git20100522-1) experimental; urgency=low
+
+ * New upstream snapshot.
+
+ -- Jelmer Vernooij <jelmer@debian.org> Sun, 23 May 2010 15:37:56 +0200
+
+tevent (0.9.9~git20100514-1) experimental; urgency=low
+
+ * New upstream snapshot.
+ * Bump standards version to 3.8.4.
+ * Use source format 3.
+
+ -- Jelmer Vernooij <jelmer@debian.org> Fri, 14 May 2010 18:12:51 +0200
+
+tevent (0.9.8-1) unstable; urgency=low
+
+ * New upstream release.
+ * Bump standards version to 3.8.3.
+
+ -- Jelmer Vernooij <jelmer@debian.org> Fri, 11 Sep 2009 22:40:00 +0200
+
+tevent (0.9.6~20090604-1) experimental; urgency=low
+
+ * New upstream snapshot.
+
+ -- Jelmer Vernooij <jelmer@debian.org> Fri, 05 Jun 2009 01:08:49 +0200
+
+tevent (0.9.5~20090516-1) unstable; urgency=low
+
+ * New upstream snapshot.
+ * Bump standards version to 3.8.1.
+
+ -- Jelmer Vernooij <jelmer@debian.org> Sat, 16 May 2009 04:30:35 +0200
+
+tevent (0.9.3~git20090221-1) unstable; urgency=low
+
+ * New upstream snapshot.
+ * Add dependency on libaio-dev.
+
+ -- Jelmer Vernooij <jelmer@debian.org> Mon, 02 Feb 2009 23:33:20 +0100
+
+tevent (0.9.2~git20090105-1) unstable; urgency=low
+
+ * Initial release. (Closes: #509225)
+
+ -- Jelmer Vernooij <jelmer@debian.org> Tue, 06 Jan 2009 20:57:29 +0100
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..e3b8a3b
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,5 @@
+.lock-wscript
+buildtools/wafsamba/__pycache__/
+third_party/waf/waflib/Tools/__pycache__/
+third_party/waf/waflib/__pycache__/
+third_party/waf/waflib/extras/__pycache__/
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..bdf0c1f
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,52 @@
+Source: tevent
+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),
+ libcmocka-dev,
+ libtalloc-dev (>= 2.4.2~),
+ pkg-config,
+ python3:any,
+Rules-Requires-Root: no
+Standards-Version: 4.6.2
+Homepage: https://tevent.samba.org/
+Vcs-Browser: https://salsa.debian.org/samba-team/tevent
+Vcs-Git: https://salsa.debian.org/samba-team/tevent.git
+
+Package: libtevent0
+Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Section: libs
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: talloc-based event loop library - shared library
+ tevent is a simple library that can handle the main event loop for an
+ application. It supports three kinds of events: timed events, file
+ descriptors becoming readable or writable and signals.
+ .
+ Talloc is used for memory management, both internally and for private
+ data provided by users of the library.
+ .
+ This package provides the shared library file.
+
+Package: libtevent-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Depends: libc6-dev,
+ libtalloc-dev,
+ libtevent0 (= ${binary:Version}),
+ ${misc:Depends}
+Description: talloc-based event loop library - development files
+ tevent is a simple library that can handle the main event loop for an
+ application. It supports three kinds of events: timed events, file
+ descriptors becoming readable or writable and signals.
+ .
+ Talloc is used for memory management, both internally and for private
+ data provided by users of the library.
+ .
+ This package provides the development files.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..b1560d3
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,518 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: tevent
+Upstream-Contact: Samba Developers <samba-technical@samba.org>
+Source: http://tevent.samba.org/
+Debianized-By: Jelmer Vernooij <jelmer@samba.org>
+Debianized-Date: Tue, 23 Dec 2008 03:50:40 +0100
+
+Files: *
+Copyright:
+ 2003-2007 Andrew Tridgell <tridge@samba.org>
+ 2005 Stefan Metzmacher <metze@samba.org>
+ 2005 Jelmer Vernooij <jelmer@samba.org>
+License: LGPL-3.0+
+
+Files: debian/*
+Copyright: 2008, Jelmer Vernooij <jelmer@samba.org>
+License: LGPL-3.0+
+
+Files: lib/talloc/*
+Copyright:
+ 2004-2010 Andrew Tridgell
+ 2008-2011 Jelmer Vernooij
+ 2006-2009 Stefan Metzmacher
+ 2015 Petr Viktorin <pviktori@redhat.com>
+License: LGPL-3.0+
+
+Files: lib/talloc/pytalloc*
+Copyright:
+ Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2008-2011
+ Copyright (C) Andrew Bartlett <abartlet@samba.org> 2016
+License: GPL-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/library-equivalents b/debian/library-equivalents
new file mode 100644
index 0000000..a0c67da
--- /dev/null
+++ b/debian/library-equivalents
@@ -0,0 +1,10 @@
+# Upstream Samba 4 is very strict about minimum versions of libraries, but allows
+# looser checking using the --minimum-library-versions option to configure.
+#
+# This file specifies what upstream versions are equivalent to each other, so that
+# this package can be installed with older versions.
+
+[talloc]
+2.0.2 = 2.0.1
+2.0.3 = 2.0.1
+2.0.4 = 2.0.1
diff --git a/debian/libtevent-dev.install b/debian/libtevent-dev.install
new file mode 100644
index 0000000..c7b1c10
--- /dev/null
+++ b/debian/libtevent-dev.install
@@ -0,0 +1,4 @@
+usr/include/tevent.h
+usr/lib/*/libtevent.a
+usr/lib/*/libtevent.so
+usr/lib/*/pkgconfig/tevent.pc
diff --git a/debian/libtevent0.install b/debian/libtevent0.install
new file mode 100644
index 0000000..91ddc9a
--- /dev/null
+++ b/debian/libtevent0.install
@@ -0,0 +1 @@
+usr/lib/*/libtevent.so.0*
diff --git a/debian/libtevent0.symbols b/debian/libtevent0.symbols
new file mode 100644
index 0000000..786f9a8
--- /dev/null
+++ b/debian/libtevent0.symbols
@@ -0,0 +1,212 @@
+libtevent.so.0 #PACKAGE# #MINVER#
+* Build-Depends-Package: libtevent-dev
+ TEVENT_0.9.9@TEVENT_0.9.9 0.9.9
+ TEVENT_0.9.10@TEVENT_0.9.10 0.9.10
+ TEVENT_0.9.11@TEVENT_0.9.11 0.9.11~git20110311
+ TEVENT_0.9.12@TEVENT_0.9.12 0.9.12
+ TEVENT_0.9.13@TEVENT_0.9.13 0.9.13
+ TEVENT_0.9.14@TEVENT_0.9.14 0.9.14
+ TEVENT_0.9.15@TEVENT_0.9.15 0.9.15
+ TEVENT_0.9.16@TEVENT_0.9.16 0.9.16
+ TEVENT_0.9.17@TEVENT_0.9.17 0.9.25
+ TEVENT_0.9.18@TEVENT_0.9.18 0.9.25
+ TEVENT_0.9.19@TEVENT_0.9.19 0.9.25
+ TEVENT_0.9.20@TEVENT_0.9.20 0.9.25
+ TEVENT_0.9.21@TEVENT_0.9.21 0.9.25
+ TEVENT_0.9.22@TEVENT_0.9.22 0.9.25
+ TEVENT_0.9.23@TEVENT_0.9.23 0.9.25
+ TEVENT_0.9.24@TEVENT_0.9.24 0.9.25
+ TEVENT_0.9.25@TEVENT_0.9.25 0.9.25
+ TEVENT_0.9.26@TEVENT_0.9.26 0.9.26
+ TEVENT_0.9.27@TEVENT_0.9.27 0.9.27
+ TEVENT_0.9.28@TEVENT_0.9.28 0.9.28
+ TEVENT_0.9.29@TEVENT_0.9.29 0.9.29
+ TEVENT_0.9.30@TEVENT_0.9.30 0.9.30
+ TEVENT_0.9.31@TEVENT_0.9.31 0.9.31
+ TEVENT_0.9.32@TEVENT_0.9.32 0.9.32
+ TEVENT_0.9.33@TEVENT_0.9.33 0.9.33
+ TEVENT_0.9.34@TEVENT_0.9.34 0.9.34
+ TEVENT_0.9.35@TEVENT_0.9.35 0.9.35
+ TEVENT_0.9.36@TEVENT_0.9.36 0.9.36
+ TEVENT_0.9.37@TEVENT_0.9.37 0.9.37
+ TEVENT_0.9.38@TEVENT_0.9.38 0.9.39
+ TEVENT_0.9.39@TEVENT_0.9.39 0.9.39
+ TEVENT_0.10.0@TEVENT_0.10.0 0.10.0
+ TEVENT_0.10.1@TEVENT_0.10.1 0.10.1
+ TEVENT_0.10.2@TEVENT_0.10.2 0.10.2
+ TEVENT_0.11.0@TEVENT_0.11.0 0.11.0
+ TEVENT_0.12.0@TEVENT_0.12.0 0.12.0
+ TEVENT_0.12.1@TEVENT_0.12.1 0.12.1
+ TEVENT_0.13.0@TEVENT_0.13.0 0.13.0
+ TEVENT_0.14.0@TEVENT_0.14.0 0.14.0
+ TEVENT_0.14.1@TEVENT_0.14.1 0.14.1
+ TEVENT_0.15.0@TEVENT_0.15.0 0.15.0
+ TEVENT_0.16.0@TEVENT_0.16.0 0.16.0
+ TEVENT_0.16.1@TEVENT_0.16.1 0.16.1
+ __tevent_req_create@TEVENT_0.15.0 0.15.0
+ _tevent_add_fd@TEVENT_0.9.9 0.9.9
+ _tevent_add_signal@TEVENT_0.9.9 0.9.9
+ _tevent_add_timer@TEVENT_0.9.9 0.9.9
+ _tevent_context_pop_use@TEVENT_0.9.37 0.9.37
+ _tevent_context_push_use@TEVENT_0.9.37 0.9.37
+ _tevent_context_wrapper_create@TEVENT_0.9.37 0.9.37
+ _tevent_create_immediate@TEVENT_0.9.9 0.9.9
+ _tevent_loop_once@TEVENT_0.9.9 0.9.9
+ _tevent_loop_until@TEVENT_0.9.9 0.9.9
+ _tevent_loop_wait@TEVENT_0.9.9 0.9.9
+ _tevent_queue_add@TEVENT_0.15.0 0.15.0
+ _tevent_queue_add_entry@TEVENT_0.15.0 0.15.0
+ _tevent_queue_add_optimize_empty@TEVENT_0.15.0 0.15.0
+ _tevent_queue_create@TEVENT_0.9.9 0.9.9
+ _tevent_req_callback_data@TEVENT_0.9.9 0.9.9
+ _tevent_req_cancel@TEVENT_0.9.9 0.9.9
+ _tevent_req_create@TEVENT_0.9.9 0.9.9
+ _tevent_req_data@TEVENT_0.9.9 0.9.9
+ _tevent_req_done@TEVENT_0.9.9 0.9.9
+ _tevent_req_error@TEVENT_0.9.9 0.9.9
+ _tevent_req_nomem@TEVENT_0.9.9 0.9.9
+ _tevent_req_notify_callback@TEVENT_0.9.9 0.9.9
+ _tevent_req_oom@TEVENT_0.9.12 0.9.12
+ _tevent_req_set_callback@TEVENT_0.15.0 0.15.0
+ _tevent_req_set_cancel_fn@TEVENT_0.15.0 0.15.0
+ _tevent_req_set_cleanup_fn@TEVENT_0.15.0 0.15.0
+ _tevent_schedule_immediate@TEVENT_0.9.9 0.9.9
+ _tevent_thread_call_depth_reset_from_req@TEVENT_0.15.0 0.15.0
+ _tevent_threaded_schedule_immediate@TEVENT_0.9.30 0.9.31
+ tevent_abort@TEVENT_0.9.37 0.9.37
+ tevent_backend_list@TEVENT_0.9.9 0.9.9
+ tevent_cached_getpid@TEVENT_0.13.0 0.13.0
+ tevent_cleanup_pending_signal_handlers@TEVENT_0.9.9 0.9.9
+ tevent_common_add_fd@TEVENT_0.9.9 0.9.9
+ tevent_common_add_signal@TEVENT_0.9.9 0.9.9
+ tevent_common_add_timer@TEVENT_0.9.9 0.9.9
+ tevent_common_add_timer_v2@TEVENT_0.9.18 0.9.25
+ tevent_common_check_double_free@TEVENT_0.9.37 0.9.37
+ tevent_common_check_signal@TEVENT_0.9.9 0.9.9
+ tevent_common_context_destructor@TEVENT_0.9.9 0.9.9
+ tevent_common_fd_destructor@TEVENT_0.9.9 0.9.9
+ tevent_common_fd_get_flags@TEVENT_0.9.9 0.9.9
+ tevent_common_fd_set_close_fn@TEVENT_0.9.9 0.9.9
+ tevent_common_fd_set_flags@TEVENT_0.9.9 0.9.9
+ tevent_common_have_events@TEVENT_0.9.30 0.9.30
+ tevent_common_invoke_fd_handler@TEVENT_0.9.37 0.9.37
+ tevent_common_invoke_immediate_handler@TEVENT_0.9.37 0.9.37
+ tevent_common_invoke_signal_handler@TEVENT_0.9.37 0.9.37
+ tevent_common_invoke_timer_handler@TEVENT_0.9.37 0.9.37
+ tevent_common_loop_immediate@TEVENT_0.9.9 0.9.9
+ tevent_common_loop_timer_delay@TEVENT_0.9.9 0.9.9
+ tevent_common_loop_wait@TEVENT_0.9.9 0.9.9
+ tevent_common_schedule_immediate@TEVENT_0.9.9 0.9.9
+ tevent_common_threaded_activate_immediate@TEVENT_0.9.30 0.9.30
+ tevent_common_wakeup@TEVENT_0.9.30 0.9.30
+ tevent_common_wakeup_fd@TEVENT_0.9.31 0.9.31
+ tevent_common_wakeup_init@TEVENT_0.9.30 0.9.30
+ tevent_context_init@TEVENT_0.9.9 0.9.9
+ tevent_context_init_byname@TEVENT_0.9.9 0.9.9
+ tevent_context_init_ops@TEVENT_0.9.16 0.9.16
+ tevent_context_is_wrapper@TEVENT_0.9.37 0.9.37
+ tevent_context_same_loop@TEVENT_0.9.37 0.9.37
+ tevent_debug@TEVENT_0.9.9 0.9.9
+ tevent_fd_get_flags@TEVENT_0.9.9 0.9.9
+ tevent_fd_get_tag@TEVENT_0.11.0 0.11.0
+ tevent_fd_set_auto_close@TEVENT_0.9.9 0.9.9
+ tevent_fd_set_close_fn@TEVENT_0.9.9 0.9.9
+ tevent_fd_set_flags@TEVENT_0.9.9 0.9.9
+ tevent_fd_set_tag@TEVENT_0.11.0 0.11.0
+ tevent_find_ops_byname@TEVENT_0.14.0 0.14.0
+ tevent_get_trace_callback@TEVENT_0.9.16 0.9.16
+ tevent_get_trace_fd_callback@TEVENT_0.11.0 0.11.0
+ tevent_get_trace_immediate_callback@TEVENT_0.11.0 0.11.0
+ tevent_get_trace_queue_callback@TEVENT_0.12.0 0.12.0
+ tevent_get_trace_signal_callback@TEVENT_0.11.0 0.11.0
+ tevent_get_trace_timer_callback@TEVENT_0.11.0 0.11.0
+ tevent_immediate_get_tag@TEVENT_0.11.0 0.11.0
+ tevent_immediate_set_tag@TEVENT_0.11.0 0.11.0
+ tevent_loop_allow_nesting@TEVENT_0.9.9 0.9.9
+ tevent_loop_set_nesting_hook@TEVENT_0.9.9 0.9.9
+ tevent_num_signals@TEVENT_0.9.20 0.9.25
+ tevent_queue_add@TEVENT_0.9.9 0.9.9
+ tevent_queue_add_entry@TEVENT_0.9.14 0.9.14
+ tevent_queue_add_optimize_empty@TEVENT_0.9.14 0.9.14
+ tevent_queue_entry_get_tag@TEVENT_0.12.0 0.12.0
+ tevent_queue_entry_set_tag@TEVENT_0.12.0 0.12.0
+ tevent_queue_length@TEVENT_0.9.9 0.9.9
+ tevent_queue_entry_untrigger@TEVENT_0.9.36 0.9.36
+ tevent_queue_running@TEVENT_0.9.14 0.9.14
+ tevent_queue_start@TEVENT_0.9.9 0.9.9
+ tevent_queue_stop@TEVENT_0.9.9 0.9.9
+ tevent_queue_wait_recv@TEVENT_0.9.20 0.9.25
+ tevent_queue_wait_send@TEVENT_0.9.20 0.9.25
+ tevent_re_initialise@TEVENT_0.9.9 0.9.9
+ tevent_register_backend@TEVENT_0.9.9 0.9.9
+ tevent_req_default_print@TEVENT_0.9.9 0.9.9
+ tevent_req_defer_callback@TEVENT_0.9.13 0.9.13
+ tevent_req_get_profile@TEVENT_0.9.37 0.9.37
+ tevent_req_is_error@TEVENT_0.9.9 0.9.9
+ tevent_req_is_in_progress@TEVENT_0.9.9 0.9.9
+ tevent_req_move_profile@TEVENT_0.9.37 0.9.37
+ tevent_req_poll@TEVENT_0.9.9 0.9.9
+ tevent_req_post@TEVENT_0.9.9 0.9.9
+ tevent_req_print@TEVENT_0.9.9 0.9.9
+ tevent_req_profile_append_sub@TEVENT_0.9.37 0.9.37
+ tevent_req_profile_create@TEVENT_0.9.37 0.9.37
+ tevent_req_profile_get_name@TEVENT_0.9.37 0.9.37
+ tevent_req_profile_get_start@TEVENT_0.9.37 0.9.37
+ tevent_req_profile_get_status@TEVENT_0.9.37 0.9.37
+ tevent_req_profile_get_stop@TEVENT_0.9.37 0.9.37
+ tevent_req_profile_get_subprofiles@TEVENT_0.9.37 0.9.37
+ tevent_req_profile_next@TEVENT_0.9.37 0.9.37
+ tevent_req_profile_set_name@TEVENT_0.9.37 0.9.37
+ tevent_req_profile_set_start@TEVENT_0.9.37 0.9.37
+ tevent_req_profile_set_status@TEVENT_0.9.37 0.9.37
+ tevent_req_profile_set_stop@TEVENT_0.9.37 0.9.37
+ tevent_req_received@TEVENT_0.9.9 0.9.9
+ tevent_req_reset_endtime@TEVENT_0.9.31 0.9.31
+ tevent_req_set_callback@TEVENT_0.9.9 0.9.9
+ tevent_req_set_cancel_fn@TEVENT_0.9.9 0.9.9
+ tevent_req_set_cleanup_fn@TEVENT_0.9.21 0.9.25
+ tevent_req_set_endtime@TEVENT_0.9.9 0.9.9
+ tevent_req_set_print_fn@TEVENT_0.9.9 0.9.9
+ tevent_req_set_profile@TEVENT_0.9.37 0.9.37
+ tevent_sa_info_queue_count@TEVENT_0.9.20 0.9.25
+ tevent_set_abort_fn@TEVENT_0.9.9 0.9.9
+ tevent_set_debug@TEVENT_0.9.9 0.9.9
+ tevent_set_debug_stderr@TEVENT_0.9.9 0.9.9
+ tevent_set_default_backend@TEVENT_0.9.9 0.9.9
+ tevent_set_max_debug_level@TEVENT_0.15.0 0.15.0
+ tevent_set_trace_callback@TEVENT_0.9.16 0.9.16
+ tevent_set_trace_fd_callback@TEVENT_0.11.0 0.11.0
+ tevent_set_trace_immediate_callback@TEVENT_0.11.0 0.11.0
+ tevent_set_trace_queue_callback@TEVENT_0.12.0 0.12.0
+ tevent_set_trace_signal_callback@TEVENT_0.11.0 0.11.0
+ tevent_set_trace_timer_callback@TEVENT_0.11.0 0.11.0
+ tevent_signal_get_tag@TEVENT_0.11.0 0.11.0
+ tevent_signal_set_tag@TEVENT_0.11.0 0.11.0
+ tevent_signal_support@TEVENT_0.9.9 0.9.9
+ tevent_thread_call_depth_activate@TEVENT_0.14.0 0.14.0
+ tevent_thread_call_depth_deactivate@TEVENT_0.14.0 0.14.0
+ tevent_thread_call_depth_reset_from_req@TEVENT_0.14.0 0.14.0
+ tevent_thread_call_depth_set_callback@TEVENT_0.15.0 0.15.0
+ tevent_thread_call_depth_start@TEVENT_0.14.0 0.14.0
+ tevent_thread_proxy_create@TEVENT_0.9.26 0.9.26
+ tevent_thread_proxy_schedule@TEVENT_0.9.26 0.9.26
+ tevent_threaded_context_create@TEVENT_0.9.30 0.9.30
+ tevent_timer_get_tag@TEVENT_0.11.0 0.11.0
+ tevent_timer_set_tag@TEVENT_0.11.0 0.11.0
+ tevent_timeval_add@TEVENT_0.9.9 0.9.9
+ tevent_timeval_compare@TEVENT_0.9.9 0.9.9
+ tevent_timeval_current@TEVENT_0.9.9 0.9.9
+ tevent_timeval_current_ofs@TEVENT_0.9.9 0.9.9
+ tevent_timeval_is_zero@TEVENT_0.9.9 0.9.9
+ tevent_timeval_set@TEVENT_0.9.9 0.9.9
+ tevent_timeval_until@TEVENT_0.9.9 0.9.9
+ tevent_timeval_zero@TEVENT_0.9.9 0.9.9
+ tevent_trace_fd_callback@TEVENT_0.11.0 0.11.0
+ tevent_trace_immediate_callback@TEVENT_0.11.0 0.11.0
+ tevent_trace_point_callback@TEVENT_0.9.16 0.9.16
+ tevent_trace_queue_callback@TEVENT_0.12.0 0.12.0
+ tevent_trace_signal_callback@TEVENT_0.11.0 0.11.0
+ tevent_trace_timer_callback@TEVENT_0.11.0 0.11.0
+ tevent_update_timer@TEVENT_0.9.31 0.9.31
+ tevent_wakeup_recv@TEVENT_0.9.9 0.9.9
+ tevent_wakeup_send@TEVENT_0.9.9 0.9.9
diff --git a/debian/patches/0001-Disable-python-tests.patch b/debian/patches/0001-Disable-python-tests.patch
new file mode 100644
index 0000000..7d0b2fc
--- /dev/null
+++ b/debian/patches/0001-Disable-python-tests.patch
@@ -0,0 +1,29 @@
+From e6d9af8a1ca6134e02ba09212756d87f4f38f7e6 Mon Sep 17 00:00:00 2001
+From: Mathieu Parent <math.parent@gmail.com>
+Date: Fri, 13 Sep 2019 19:46:27 +0200
+Subject: [PATCH] Disable python tests
+
+As python-tevent is not built.
+
+Forwarded: not-needed
+---
+ wscript | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/wscript b/wscript
+index 3d0d71d..f4b0c26 100644
+--- a/wscript
++++ b/wscript
+@@ -152,7 +152,8 @@ def test(ctx):
+ samba_utils.ADD_LD_LIBRARY_PATH('bin/shared')
+ samba_utils.ADD_LD_LIBRARY_PATH('bin/shared/private')
+
+- pyret = samba_utils.RUN_PYTHON_TESTS(['bindings.py'])
++ # pyret = samba_utils.RUN_PYTHON_TESTS(['bindings.py'])
++ pyret = 0
+
+ unit_test_ret = 0
+ unit_tests = [
+--
+2.30.2
+
diff --git a/debian/patches/cross.patch b/debian/patches/cross.patch
new file mode 100644
index 0000000..89155f4
--- /dev/null
+++ b/debian/patches/cross.patch
@@ -0,0 +1,50 @@
+From: Helmut Grohne <helmut@subdivi.de>
+Date: Fri, 06 Sep 2019 21:41:32 +0200
+Subject: [PATCH] cross build fixes
+
+- waf performs sizeof checks by running programs.
+
+--- tevent.orig/buildtools/wafsamba/samba_conftests.py
++++ tevent/buildtools/wafsamba/samba_conftests.py
+@@ -86,9 +86,9 @@ def CHECK_LARGEFILE(conf, define='HAVE_L
+ '''see what we need for largefile support'''
+ getconf_cflags = conf.CHECK_COMMAND(['getconf', 'LFS_CFLAGS'])
+ if getconf_cflags is not False:
+- if (conf.CHECK_CODE('if (sizeof(off_t) < 8) return 1',
++ if (conf.CHECK_CODE('char dummy[(sizeof(off_t) < 8) ? -1 : 1]',
+ define='WORKING_GETCONF_LFS_CFLAGS',
+- execute=True,
++ execute=False,
+ cflags=getconf_cflags,
+ msg='Checking getconf large file support flags work')):
+ conf.ADD_CFLAGS(getconf_cflags)
+@@ -101,23 +101,23 @@ def CHECK_LARGEFILE(conf, define='HAVE_L
+ else:
+ conf.DEFINE(flag_split[0], flag_split[1])
+
+- if conf.CHECK_CODE('if (sizeof(off_t) < 8) return 1',
++ if conf.CHECK_CODE('char dummy[(sizeof(off_t) < 8) ? -1 : 1]',
+ define,
+- execute=True,
++ execute=False,
+ msg='Checking for large file support without additional flags'):
+ return True
+
+- if conf.CHECK_CODE('if (sizeof(off_t) < 8) return 1',
++ if conf.CHECK_CODE('char dummy[(sizeof(off_t) < 8) ? -1 : 1]',
+ define,
+- execute=True,
++ execute=False,
+ cflags='-D_FILE_OFFSET_BITS=64',
+ msg='Checking for -D_FILE_OFFSET_BITS=64'):
+ conf.DEFINE('_FILE_OFFSET_BITS', 64)
+ return True
+
+- if conf.CHECK_CODE('if (sizeof(off_t) < 8) return 1',
++ if conf.CHECK_CODE('char dummy[(sizeof(off_t) < 8) ? -1 : 1]',
+ define,
+- execute=True,
++ execute=False,
+ cflags='-D_LARGE_FILES',
+ msg='Checking for -D_LARGE_FILES'):
+ conf.DEFINE('_LARGE_FILES', 1)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..9a6b089
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+0001-Disable-python-tests.patch
+cross.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..6d9ed87
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,56 @@
+#!/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/buildflags.mk
+V := $(if $(filter terse, ${DEB_BUILD_OPTIONS}),,1)
+WAF := PYTHONHASHSEED=1 ./buildtools/bin/waf \
+ $(patsubst parallel=%,-j%,$(filter parallel=%,${DEB_BUILD_OPTIONS}))
+
+DESTDIR = ${CURDIR}/debian/tmp
+
+build-arch build-indep build \
+install-indep install-arch install \
+binary-arch binary-indep binary \
+: %:
+ dh $@
+
+override_dh_auto_configure: bin/config-stamp
+bin/config-stamp:
+ CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \
+ ${WAF} -j1 -C configure \
+ --prefix=/usr \
+ --libdir=/usr/lib/${DEB_HOST_MULTIARCH} \
+ --disable-rpath --disable-rpath-install \
+ --bundled-libraries=NONE \
+ --disable-python \
+ && touch $@
+
+override_dh_auto_build: bin/config-stamp
+ ${WAF} build $(if $V,-v)
+ # Waf should be doing this..
+ ar cr bin/libtevent.a bin/default/*.o
+
+override_dh_auto_test:
+ifeq (,$(filter nocheck,${DEB_BUILD_OPTIONS}))
+# for some weird reason, salsa-ci run build with fd#0 *closed*(!) and the test fail
+ ${WAF} test </dev/null
+endif
+
+override_dh_auto_install:
+ ${WAF} install --destdir=${DESTDIR}
+ cp bin/libtevent.a ${DESTDIR}/usr/lib/${DEB_HOST_MULTIARCH}
+
+clean:
+ # see also debian/clean
+ dh_clean bin/ compile_commands.json
+
+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/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..d6b6e80
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=4
+opts=pgpsigurlmangle=s/tar\.gz/tar.asc/,decompress https://download.samba.org/pub/tevent/ tevent-(.+).tar.gz