--- talloc-1.3.0.orig/debian/watch +++ talloc-1.3.0/debian/watch @@ -0,0 +1,2 @@ +version=3 +ftp://ftp.samba.org/pub/talloc/talloc-(.+).tar.gz --- talloc-1.3.0.orig/debian/libtalloc-dev.install +++ talloc-1.3.0/debian/libtalloc-dev.install @@ -0,0 +1,6 @@ +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* --- talloc-1.3.0.orig/debian/rules +++ talloc-1.3.0/debian/rules @@ -0,0 +1,82 @@ +#!/usr/bin/make -f + +CFLAGS = -g -Wall + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) +CFLAGS += -O0 +else +CFLAGS += -O2 +endif + +include /usr/share/quilt/quilt.make + +DESTDIR=$(CURDIR)/debian/tmp + +conf_args = --prefix=/usr + +ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) +conf_args += --build $(DEB_BUILD_GNU_TYPE) +else +conf_args += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) +endif + +configure: patch configure-stamp +configure-stamp: + dh_testdir + CFLAGS="$(CFLAGS)" ./configure $(conf_args) + touch configure-stamp + +build: configure build-stamp +build-stamp: + dh_testdir + $(MAKE) all +ifeq (,$(findstring notest,$(DEB_BUILD_OPTIONS))) + ./testsuite +endif + touch build-stamp + +get-orig-source: + ./debian/build-orig.sh + +clean: clean-patched unpatch + +clean-patched: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + [ ! -f Makefile ] || $(MAKE) distclean + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + mkdir -p $(DESTDIR)`swig -swiglib` + $(MAKE) install DESTDIR=$(DESTDIR) + ln -s libtalloc.so.1.* $(DESTDIR)/usr/lib/libtalloc.so.1 + ln -s libtalloc.so.1.* $(DESTDIR)/usr/lib/libtalloc.so + dh_install --list-missing --fail-missing --sourcedir=$(DESTDIR) + +# Build architecture-dependent files here. +# Pass -a to all debhelper commands in this target to reduce clutter. + +binary-arch: DH_OPTIONS=-a +binary-arch: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installchangelogs + dh_strip + dh_link + dh_compress + dh_fixperms + dh_makeshlibs -V 'libtalloc1 (>= 1.2.1)' + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-arch +.PHONY: build clean binary-arch binary install configure patch unpatch --- talloc-1.3.0.orig/debian/control +++ talloc-1.3.0/debian/control @@ -0,0 +1,27 @@ +Source: talloc +Section: devel +Priority: optional +Maintainer: Jelmer Vernooij +Homepage: http://talloc.samba.org/ +Build-Depends: debhelper (>= 5.0.37.2), quilt (>= 0.40), docbook-xml, docbook-xsl, xsltproc, libpopt-dev, swig +Standards-Version: 3.8.1 +Vcs-Svn: svn://svn.debian.org/pkg-samba/trunk/talloc +DM-Upload-Allowed: yes + +Package: libtalloc1 +Architecture: any +Depends: ${shlibs: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: libtalloc-dev +Section: libdevel +Depends: libtalloc1 (=${binary:Version}) +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. --- talloc-1.3.0.orig/debian/changelog +++ talloc-1.3.0/debian/changelog @@ -0,0 +1,69 @@ +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 --- talloc-1.3.0.orig/debian/libtalloc1.install +++ talloc-1.3.0/debian/libtalloc1.install @@ -0,0 +1 @@ +usr/lib/libtalloc.so.* --- talloc-1.3.0.orig/debian/compat +++ talloc-1.3.0/debian/compat @@ -0,0 +1 @@ +5 --- talloc-1.3.0.orig/debian/copyright +++ talloc-1.3.0/debian/copyright @@ -0,0 +1,36 @@ +Talloc was Debianized by Jelmer Vernooij on +Mon Apr 30 01:48:43 CEST 2007. + +It was obtained from the Samba projects' Subversion repository. +The tarball was created by running: +svn export svn://svn.samba.org/samba/tags/TALLOC_`echo -n $VERSION | tr . _` talloc-$VERSION +cd talloc-$VERSION && ./autogen.sh && cd .. +tar cvz talloc-$VERSION > talloc_$VERSION.orig.tar.gz + +where VERSION should be replaced with the version of talloc (currently 1.0). + +Talloc is copyright (C) 2004 Andrew Tridgell and +(C) 2006 Stefan Metzmacher and published under the +following license: + + 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'. + +The upstream source also contains a single file (libreplace/timegm.c) that +is licensed under the BSD license. This file is not used when building +the Debian package.