debian/0000775000000000000000000000000012273734714007202 5ustar debian/compat0000664000000000000000000000000212251114660010364 0ustar 9 debian/rules0000775000000000000000000000343312251114660010251 0ustar #!/usr/bin/make -f CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS) CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) CFLAGS += -g -Wall SHLD_FLAGS += -shared -Wl,--as-needed DESTDIR=$(CURDIR)/debian/tmp export PYTHON=$(shell which `pyversions -d`) export PYTHON_CONFIG=$(PYTHON)-config DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) %: dh $* --with python2 override_dh_auto_configure: PYTHON="$(PYTHON)" PYTHON_CONFIG="$(PYTHON_CONFIG)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" \ ./configure --prefix=/usr --disable-rpath-install --libdir=/usr/lib/$(DEB_HOST_MULTIARCH) get-packaged-orig-source: ./debian/build-orig.sh override_dh_python2: dh_python2 --no-guessing-versions override_dh_auto_build: $(MAKE) all SHLD_FLAGS="$(SHLD_FLAGS)" override_dh_auto_test: echo "Testsuite disabled, since it currently requires developer mode." #ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS))) # $(MAKE) check #endif override_dh_auto_clean: [ ! -f Makefile ] || $(MAKE) distclean rm -rf build # Waf should be doing this; see # https://bugzilla.samba.org/show_bug.cgi?id=8854 rm -f .lock-wscript # Waf should be doing this; see # https://bugzilla.samba.org/show_bug.cgi?id=8855 rm -f buildtools/wafsamba/*.pyc \ buildtools/wafadmin/*.pyc \ buildtools/wafadmin/Tools/*.pyc override_dh_auto_install: $(MAKE) install DESTDIR=$(DESTDIR) # Waf should be doing this.. ar cr libntdb.a bin/default/*.o bin/default/lib/ccan/*/*.o mv libntdb.a $(DESTDIR)/usr/lib/$(DEB_HOST_MULTIARCH) override_dh_strip: dh_strip -p libntdb1 --dbg-package=libntdb1-dbg dh_strip -p python-ntdb --dbg-package=python-ntdb-dbg dh_strip -p ntdb-tools override_dh_makeshlibs: dh_makeshlibs -- -c4 debian/libntdb-dev.docs0000664000000000000000000000006212251114660012230 0ustar doc/design.pdf doc/design.txt doc/TDB_porting.txt debian/python-ntdb.install0000664000000000000000000000002012251114660013014 0ustar usr/lib/python* debian/changelog0000664000000000000000000000076312273734704011061 0ustar ntdb (1.0-2ubuntu1) trusty; urgency=medium * Drop invalid XS-Testsuite header, the package doesn't have any tests. -- Martin Pitt Mon, 03 Feb 2014 16:45:59 +0100 ntdb (1.0-2) unstable; urgency=low * Remove broken autopkgtest. Closes: #731593 -- Jelmer Vernooij Sun, 08 Dec 2013 16:08:34 +0000 ntdb (1.0-1) unstable; urgency=low * Initial release. Closes: #729165 -- Jelmer Vernooij Fri, 15 Nov 2013 22:06:52 +0000 debian/control0000664000000000000000000001030712273734712010604 0ustar Source: ntdb Section: devel Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Jelmer Vernooij Build-Depends: debhelper (>= 9), docbook-xml, docbook-xsl, python-all-dbg (>= 2.6.6-3), python-all-dev (>= 2.6.6-3), xsltproc Homepage: http://tdb.samba.org/ Standards-Version: 3.9.4 Vcs-Git: git://git.debian.org/pkg-samba/ntdb.git Package: libntdb1 Pre-Depends: ${misc:Pre-Depends} Multi-Arch: same Architecture: any Section: libs Depends: ${misc:Depends}, ${shlibs:Depends} Description: New Trivial Database - shared library This is a simple database API. It is modelled after the structure of GDBM. TDB features, unlike GDBM, multiple writers support with appropriate locking and transactions. . ntdb uses a fileformat that is incompatible with tdb, but the API is similar. It improves performance, adds support for databases larger than 4Gb, and improves integration with talloc. . This package contains the shared library file. Package: ntdb-tools Section: utils Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Description: New Trivial Database - bundled binaries This is a simple database API. It is modelled after the structure of GDBM. TDB features, unlike GDBM, multiple writers support with appropriate locking and transactions. . ntdb uses a fileformat that is incompatible with tdb, but the API is similar. It improves performance, adds support for databases larger than 4Gb, and improves integration with talloc. . This package contains bundled test and utility binaries Package: libntdb-dev Section: libdevel Architecture: any Depends: libc6-dev, libntdb1 (= ${binary:Version}), ${misc:Depends} Suggests: libtalloc-dev Description: New Trivial Database - development files This is a simple database API. It is modelled after the structure of GDBM. TDB features, unlike GDBM, multiple writers support with appropriate locking and transactions. . ntdb uses a fileformat that is incompatible with tdb, but the API is similar. It improves performance, adds support for databases larger than 4Gb, and improves integration with talloc. . This package contains the development files. Package: libntdb1-dbg Section: debug Architecture: any Priority: extra Depends: libntdb1 (= ${binary:Version}), ${misc:Depends} Recommends: libc6-dbg Description: New Trivial Database - debug symbols This is a simple database API. It is modelled after the structure of GDBM. TDB features, unlike GDBM, multiple writers support with appropriate locking and transactions. . ntdb uses a fileformat that is incompatible with tdb, but the API is similar. It improves performance, adds support for databases larger than 4Gb, and improves integration with talloc. . This package contains the debug symbols. Package: python-ntdb Section: python Architecture: any Depends: libntdb1 (= ${binary:Version}), ${misc:Depends}, ${python:Depends}, ${shlibs:Depends} Provides: ${python:Provides} Description: Python bindings for NTDB This is a simple database API. It is modelled after the structure of GDBM. TDB features, unlike GDBM, multiple writers support with appropriate locking and transactions. . ntdb uses a fileformat that is incompatible with tdb, but the API is similar. It improves performance, adds support for databases larger than 4Gb, and improves integration with talloc. . This package contains the Python bindings. Package: python-ntdb-dbg Section: debug Architecture: any Priority: extra Depends: python-ntdb (= ${binary:Version}), ${misc:Depends}, ${python:Depends}, ${shlibs:Depends} Recommends: python-dbg, libntdb1-dbg Provides: ${python:Provides} Description: Python bindings for NTDB - debug extension This is a simple database API. It is modelled after the structure of GDBM. TDB features, unlike GDBM, multiple writers support with appropriate locking and transactions. . ntdb uses a fileformat that is incompatible with tdb, but the API is similar. It improves performance, adds support for databases larger than 4Gb, and improves integration with talloc. . This package contains the Python debug extension. debian/libntdb-dev.dirs0000664000000000000000000000002412251114660012237 0ustar usr/lib usr/include debian/ntdb-tools.install0000664000000000000000000000004512251114660012642 0ustar usr/bin/ntdb* usr/share/man/man8/*.8 debian/watch0000664000000000000000000000007012251114660010214 0ustar version=3 http://ftp.samba.org/pub/tdb ntdb-(.+).tar.gz debian/source/0000775000000000000000000000000012251114660010466 5ustar debian/source/format0000664000000000000000000000001412251114660011674 0ustar 3.0 (quilt) debian/libntdb-dev.install0000664000000000000000000000007412251114660012751 0ustar usr/include/* usr/lib/*/lib*.so usr/lib/*/pkgconfig/ntdb.pc debian/copyright0000664000000000000000000001230412251114660011121 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: ntdb Upstream-Contact: Rusty Russell Source: http://tdb.samba.org/ Files: debian/* Copyright: 2001-2005 Marek Habersack on 2007-2012 Jelmer Vernooij License: LGPL-3+ Debian packaging is licensed under the GNU Lesser General Public License, version 3 or later. The text of the license is available on Debian systems in the /usr/share/common-licenses/LGPL-3 file. Files: lib/replace/inet_ntop.c lib/replace/inet_pton.c Copyright: Internet Software Consortium. 1996-2001 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. Files: lib/replace/*.c Copyright: Copyright (c) Andrew Tridgell 1999-2006 Copyright (c) Jeremy Allison 2000-2003,2007 Copyright (c) PostgreSQL Global Development Group 1996-2007 Copyright (c) The Regents of the University of California 1994 Copyright (c) Michael Adam 2008 Copyright (c) Patrick Powell 1995 Copyright (c) Free Software Foundation, Inc. 1991-2001 Copyright (c) Jelmer Vernooij 2006-2009 License: LGPL-3+ Libreplace is licensed under the GNU Lesser General Public License, version 3 or later. The text of the license is available on Debian systems in the /usr/share/common-licenses/LGPL-3 file. Files: lib/ccan/*.c Copyright: Copyright (c) Rusty Russell et al. License: LGPL-2.1+ Libreplace is licensed under the GNU Lesser General Public License, version 2.1 or later. The text of the license is available on Debian systems in the /usr/share/common-licenses/LGPL-2.1 file. Files: *.c Copyright: Copyright (c) Andrew Tridgell 1999-2006 Copyright (c) Paul `Rusty' Russell 2000,2010-2011 Copyright (c) Jeremy Allison 2000-2003,2007 License: The shared library in this package is distributed under the terms of the GNU Lesser General Public License, version 3 or later. The text of the license is available on Debian systems in the /usr/share/common-licenses/LGPL-3 file. Files: tools/*.c Copyright: Copyright (c) Andrew Tridgell 1999-2006 Copyright (c) Paul `Rusty' Russell 2000,2011 Copyright (c) Jeremy Allison 2000-2003,2007 Copyright (c) Andrew Esh 2001 License: The binary utilities in this package are distributed under the terms of the GNU General Public License, version 3 or later. The text of the license is available on Debian systems in the /usr/share/common-licenses/GPL-3 file. Files: pytdb.c Copyright: Copyright (c) Tim Potter 2004-2006 Copyright (c) Jelmer Vernooij 2006-2008 Copyright (C) Rusty Russell 2011 License: The python module in this package is distributed under the terms of the GNU Lesser General Public License, version 3 or later. The text of the license is available on Debian systems in the /usr/share/common-licenses/LGPL-3 file. Files: lib/replace/timegm.c Copyright: Copyright (c) Kungliga Tekniska Högskolan 1997 License: 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. debian/libntdb1.install0000664000000000000000000000002412251114660012251 0ustar usr/lib/*/lib*.so.* debian/libntdb1.symbols0000664000000000000000000000227212251114660012302 0ustar libntdb.so.1 libntdb1 #MINVER# NTDB_0.9@NTDB_0.9 1.0 NTDB_1.0@NTDB_1.0 1.0 ntdb_add_flag@NTDB_0.9 1.0 ntdb_append@NTDB_0.9 1.0 ntdb_chainlock@NTDB_0.9 1.0 ntdb_chainlock_read@NTDB_0.9 1.0 ntdb_chainunlock@NTDB_0.9 1.0 ntdb_chainunlock_read@NTDB_0.9 1.0 ntdb_check_@NTDB_0.9 1.0 ntdb_close@NTDB_0.9 1.0 ntdb_delete@NTDB_0.9 1.0 ntdb_errorstr@NTDB_0.9 1.0 ntdb_exists@NTDB_0.9 1.0 ntdb_fd@NTDB_0.9 1.0 ntdb_fetch@NTDB_0.9 1.0 ntdb_firstkey@NTDB_0.9 1.0 ntdb_foreach_@NTDB_0.9 1.0 ntdb_get_attribute@NTDB_0.9 1.0 ntdb_get_flags@NTDB_0.9 1.0 ntdb_get_seqnum@NTDB_0.9 1.0 ntdb_lockall@NTDB_0.9 1.0 ntdb_lockall_read@NTDB_0.9 1.0 ntdb_name@NTDB_0.9 1.0 ntdb_nextkey@NTDB_0.9 1.0 ntdb_open@NTDB_0.9 1.0 ntdb_parse_record_@NTDB_0.9 1.0 ntdb_remove_flag@NTDB_0.9 1.0 ntdb_repack@NTDB_0.9 1.0 ntdb_set_attribute@NTDB_0.9 1.0 ntdb_store@NTDB_0.9 1.0 ntdb_summary@NTDB_0.9 1.0 ntdb_transaction_cancel@NTDB_0.9 1.0 ntdb_transaction_commit@NTDB_0.9 1.0 ntdb_transaction_prepare_commit@NTDB_0.9 1.0 ntdb_transaction_start@NTDB_0.9 1.0 ntdb_traverse_@NTDB_0.9 1.0 ntdb_unlockall@NTDB_0.9 1.0 ntdb_unlockall_read@NTDB_0.9 1.0 ntdb_unset_attribute@NTDB_0.9 1.0 ntdb_wipe_all@NTDB_0.9 1.0 debian/gbp.conf0000664000000000000000000000005712251114660010607 0ustar [DEFAULT] sign-tags = True pristine-tar = True