debian/0000755000000000000000000000000012215052511007160 5ustar debian/gbp.conf0000644000000000000000000000005712215051771010610 0ustar [DEFAULT] sign-tags = True pristine-tar = True debian/build-orig.sh0000755000000000000000000000102712215051771011563 0ustar #!/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 debian/python-talloc-dev.lintian-overrides0000644000000000000000000000013612215051771016120 0ustar python-talloc-dev binary: wrong-section-according-to-package-name python-talloc-dev => python debian/copyright0000644000000000000000000001247712215051771011135 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: talloc Upstream-Contact: Samba Developers Source: http://talloc.samba.org/ Files: debian/* Copyright: 2007-2012 Jelmer Vernooij License: LGPL-3+ This library 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 library 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 library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. . On Debian GNU/Linux systems, the complete text of the GNU Lesser General Public License can be found in `/usr/share/common-licenses/LGPL-3'. Files: * Copyright: 2004 Andrew Tridgell 2006 Stefan Metzmacher License: LGPL-3+ This library 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 library 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 library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. . On Debian GNU/Linux systems, the complete text of the GNU Lesser General Public License can be found in `/usr/share/common-licenses/LGPL'. Files: libreplace/*.c Comment: This file is not used when building the Debian package. 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: libreplace/inet_ntop.c libreplace/inet_pton.c Comment: This file is not used when building the Debian package. 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: libreplace/timegm.c Comment: This file is not used when building the Debian package. 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/source/0000755000000000000000000000000012215051771010467 5ustar debian/source/format0000644000000000000000000000001412215051771011675 0ustar 3.0 (quilt) debian/libtalloc2.symbols0000644000000000000000000000704612215051771012637 0ustar libtalloc.so.2 #PACKAGE# #MINVER# 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@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_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_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 debian/watch0000644000000000000000000000007612215051771010223 0ustar version=3 http://ftp.samba.org/pub/talloc/ talloc-(.+).tar.gz debian/patches/0000755000000000000000000000000012215051771010616 5ustar debian/patches/series0000644000000000000000000000000012215051771012021 0ustar debian/control0000644000000000000000000000553312215051771010600 0ustar Source: talloc Section: devel Priority: optional Maintainer: Jelmer Vernooij Uploaders: Christian Perrier Homepage: http://talloc.samba.org/ Build-Depends: debhelper (>= 8.1.3), docbook-xml, docbook-xsl, xsltproc, libpopt-dev, swig, python-all (>= 2.6.6-3), python-all-dev (>= 2.6.6-3) Standards-Version: 3.9.4 Vcs-Git: git://git.debian.org/git/pkg-samba/talloc.git Package: libtalloc2 Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} 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: libtalloc2-dbg Pre-Depends: ${misc:Pre-Depends} Section: debug Priority: extra Depends: libtalloc2 (= ${binary:Version}), ${misc:Depends} Architecture: any Recommends: libc6-dbg Description: hierarchical pool based memory allocator - debug symbols A hierarchical pool based memory allocator with destructors. It uses reference counting to determine when memory should be freed. . This package contains the debug symbols. Package: libtalloc-dev Section: libdevel Depends: libtalloc2 (=${binary:Version}), ${misc:Depends}, pkg-config Architecture: any 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: python-talloc Pre-Depends: ${misc:Pre-Depends} Architecture: any Section: python Provides: ${python:Provides} Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends} Description: hierarchical pool based memory allocator - Python 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 bindings. Package: python-talloc-dbg Architecture: any Pre-Depends: ${misc:Pre-Depends} Section: debug Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python-talloc (= ${binary:Version}) Recommends: python-dbg, libtalloc2-dbg Priority: extra Description: hierarchical pool based memory allocator - Python debug extension A hierarchical pool based memory allocator with destructors. It uses reference counting to determine when memory should be freed. . This package contains the Python debug extension. Package: python-talloc-dev Architecture: any Section: libdevel Depends: python-talloc (= ${binary:Version}), ${misc:Depends}, pkg-config Description: talloc Python 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 bindings. debian/changelog0000644000000000000000000001677312215051771011057 0ustar 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 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 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 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 Tue, 07 Feb 2012 15:46:18 +0100 talloc (2.0.7-3) unstable; urgency=low * Link with --as-needed. -- Jelmer Vernooij 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 Sun, 25 Sep 2011 19:14:47 +0200 talloc (2.0.7-1) unstable; urgency=low * New upstream release. -- Jelmer Vernooij Fri, 16 Sep 2011 15:11:44 +0200 talloc (2.0.6-2) unstable; urgency=low * Cherry-pick ABI for pytalloc. -- Jelmer Vernooij Thu, 18 Aug 2011 19:28:03 +0200 talloc (2.0.6-1) unstable; urgency=low * New upstream release. -- Jelmer Vernooij 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 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 Tue, 26 Jul 2011 20:35:13 +0200 talloc (2.0.5-1) unstable; urgency=low * New upstream release. -- Jelmer Vernooij 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 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 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 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 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 Mon, 01 Nov 2010 19:06:20 +0100 talloc (2.0.3~git20100517-1) experimental; urgency=low * New upstream snapshot. -- Jelmer Vernooij 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 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 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 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 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 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 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 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 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 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 Tue, 17 Jun 2008 03:02:55 +0200 talloc (1.2.0~git20080520-1) unstable; urgency=low * New upstream snapshot. -- Jelmer Vernooij 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 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 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 Sun, 25 Nov 2007 16:30:00 +0000 talloc (1.0.1-1) unstable; urgency=low * New upstream release. -- Jelmer Vernooij Sat, 26 May 2007 18:58:31 +0200 talloc (1.0-1) unstable; urgency=low * Initial release. (Closes: #356088) -- Jelmer Vernooij Wed, 30 Apr 2007 02:34:53 +0200 debian/libtalloc2.install0000644000000000000000000000003112215051771012600 0ustar usr/lib/*/libtalloc.so.* debian/libtalloc-dev.install0000644000000000000000000000021412215051771013275 0ustar usr/lib/*/libtalloc.a usr/lib/*/libtalloc.so usr/share/man/man3/talloc.3 usr/lib/*/pkgconfig/talloc.pc usr/include/talloc.h usr/share/swig* debian/python-talloc.install0000644000000000000000000000010512215051771013350 0ustar usr/lib/python*/*-packages/talloc.so usr/lib/*/libpytalloc-util.so.* debian/rules0000755000000000000000000000352512215051771010254 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 LDFLAGS += -Wl,--as-needed DESTDIR=$(CURDIR)/debian/tmp DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) conf_args = --prefix=/usr --disable-rpath-install --disable-rpath --bundled-libraries=NONE conf_args += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) conf_args += --libdir=/usr/lib/$(DEB_HOST_MULTIARCH) export PYTHON="$(shell which `pyversions -d`)" export PYTHON_CONFIG=$(PYTHON)-config %: dh $* --with python2 override_dh_python2: dh_python2 --no-guessing-versions override_dh_auto_configure: LDFLAGS="$(LDFLAGS)" PYTHON="$(PYTHON)" PYTHON_CONFIG="$(PYTHON_CONFIG)" CFLAGS="$(CFLAGS)" ./configure $(conf_args) override_dh_auto_build: $(MAKE) all override_dh_auto_test: ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) LD_LIBRARY_PATH=bin/shared ./bin/talloc_testsuite endif get-packaged-orig-source: ./debian/build-orig.sh override_dh_auto_clean: [ ! -f Makefile ] || $(MAKE) distclean # 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: mkdir -p $(DESTDIR)`swig -swiglib` $(MAKE) install DESTDIR=$(DESTDIR) # Waf really should be doing this: ar -rc libtalloc.a bin/default/talloc_*.o mv libtalloc.a $(DESTDIR)/usr/lib/$(DEB_HOST_MULTIARCH) override_dh_strip: dh_strip -plibtalloc2 --dbg-package=libtalloc2-dbg dh_strip -ppython-talloc --dbg-package=python-talloc-dbg override_dh_makeshlibs: dh_makeshlibs -- -c4 debian/python-talloc.lintian-overrides0000644000000000000000000000011212215051771015336 0ustar python-talloc binary: package-name-doesnt-match-sonames libpytalloc-util2 debian/compat0000644000000000000000000000000212215051771010365 0ustar 8 debian/python-talloc-dev.install0000644000000000000000000000013212215051771014124 0ustar usr/include/pytalloc.h usr/lib/*/pkgconfig/pytalloc-util.pc usr/lib/*/libpytalloc-util.so debian/python-talloc.symbols0000644000000000000000000000106712215051771013402 0ustar libpytalloc-util.so.2 #PACKAGE# #MINVER# PYTALLOC_UTIL_2.0.6@PYTALLOC_UTIL_2.0.6 2.0.6 PYTALLOC_UTIL_2.0.7@PYTALLOC_UTIL_2.0.7 2.0.7 PYTALLOC_UTIL_2.0.8@PYTALLOC_UTIL_2.0.8 2.0.8 PYTALLOC_UTIL_2.1.0@PYTALLOC_UTIL_2.1.0 2.1.0 pytalloc_CObject_FromTallocPtr@PYTALLOC_UTIL_2.0.6 2.0.6 pytalloc_Check@PYTALLOC_UTIL_2.0.6 2.0.6 pytalloc_GetObjectType@PYTALLOC_UTIL_2.0.6 2.0.6 pytalloc_reference_ex@PYTALLOC_UTIL_2.0.6 2.0.6 pytalloc_steal@PYTALLOC_UTIL_2.0.6 2.0.6 pytalloc_steal_ex@PYTALLOC_UTIL_2.0.6 2.0.6 talloc.so #PACKAGE# #MINVER# inittalloc@Base 2.0.6