[Pkg-samba-maint] r1358 - in trunk/tdb: . debian

Jelmer Vernooij ctrlsoft-guest at alioth.debian.org
Wed May 2 15:35:13 UTC 2007


Author: ctrlsoft-guest
Date: 2007-05-02 15:35:13 +0000 (Wed, 02 May 2007)
New Revision: 1358

Added:
   trunk/tdb/debian/
   trunk/tdb/debian/changelog
   trunk/tdb/debian/compat
   trunk/tdb/debian/control
   trunk/tdb/debian/copyright
   trunk/tdb/debian/dirs
   trunk/tdb/debian/libtdb1.files
   trunk/tdb/debian/rules
   trunk/tdb/debian/tdb-dev.dirs
   trunk/tdb/debian/tdb-dev.files
   trunk/tdb/debian/tdb-tools.files
   trunk/tdb/debian/tdb-tools.postinst
   trunk/tdb/debian/tdb-tools.prerm
Log:
Import original packaging.


Property changes on: trunk/tdb/debian
___________________________________________________________________
Name: mergeWithUpstream
   + 1

Added: trunk/tdb/debian/changelog
===================================================================
--- trunk/tdb/debian/changelog	2007-05-02 15:33:28 UTC (rev 1357)
+++ trunk/tdb/debian/changelog	2007-05-02 15:35:13 UTC (rev 1358)
@@ -0,0 +1,134 @@
+tdb (1.0.6-13) unstable; urgency=high
+
+  * Closes: #307214: ctrlproxy: FTBFS: /usr/include/tdb.h:150: error:
+    parse error before '*' token
+  * Thanks to Wilmer van der Gaast <lintux at debian.org> for providing
+    the patch to fix the above issue.
+  * Closes: #290211: Improper copyright file
+  * Closes: #262490: tdb_1.0.6-8_mips: FTBFS: opcode not supported on
+    this processor: mips1. Spinlocks are not used on mips.
+
+ -- Marek Habersack <grendel at debian.org>  Wed,  4 May 2005 11:11:22 -0400
+
+tdb (1.0.6-12) unstable; urgency=medium
+
+  * Closes: #305771: libtdb is LGPL, rather than GPL as stated in
+    copyright
+  * Updated the configure file with the correct license information.
+  * The binaries accompanying the library are _mostly_ marked as licensed
+    under the GPL. As the effect, I'm (for now) assumming that those binaries
+    that do not bear the license text are GPL-ed as well.
+  * The sources have been updated from the Samba 3.0.14a release.
+  * Closes: #305867: tdb fails to build on athlon64 running sarge/i386.
+    Thanks to Len Sorensen <lennartsorensen at ruggedcom.com> for noticing that
+    and providing the fix.
+
+ -- Marek Habersack <grendel at debian.org>  Fri, 22 Apr 2005 17:39:20 -0400
+
+tdb (1.0.6-11) unstable; urgency=high
+
+  * Added #include <signal.h> in tdb.h, to get the definition of
+    sig_atomic_t (closes: Bug#264601)
+
+ -- Marek Habersack <grendel at debian.org>  Mon,  9 Aug 2004 20:05:36 +0200
+
+tdb (1.0.6-10) unstable; urgency=high
+
+  * tdbbackup is registered with the alternatives system now so that it
+    does not conflict with the Samba package (closes: Bug#262605)
+
+ -- Marek Habersack <grendel at debian.org>  Mon,  2 Aug 2004 01:58:39 +0200
+
+tdb (1.0.6-9) unstable; urgency=high
+
+  * MIPS doesn't want to cooperate on the spinlocks. Disabling it for the
+    architecture (closes: Bug#262490).
+
+ -- Marek Habersack <grendel at debian.org>  Sun,  1 Aug 2004 03:07:55 +0200
+
+tdb (1.0.6-8) unstable; urgency=low
+
+  * Updated the sources to their versions from the samba 3.0.5 package. 
+    The interface is 100% backward compatible.
+  * Updated the Standards Version. No changes.
+  * Enabled spinlocks for architectures that are supported (x86,sparc,
+    mips,powerpc)
+
+ -- Marek Habersack <grendel at debian.org>  Sat, 31 Jul 2004 03:23:39 +0200
+
+tdb (1.0.6-7) unstable; urgency=high
+
+  * Updated the libtool version (closes: Bug#201928)
+
+ -- Marek Habersack <grendel at debian.org>  Fri, 18 Jul 2003 14:24:00 -0400
+
+tdb (1.0.6-6) unstable; urgency=high
+
+  * Bumped the standards version
+  * Depends on debconf > 4.0
+  * Fixed the build-time dependencies. Correctly depends on libgdbm-dev
+    instead of on libgdbm1-dev (closes: Bug#199608)
+
+ -- Marek Habersack <grendel at debian.org>  Tue,  1 Jul 2003 18:16:09 -0400
+
+tdb (1.0.6-5) unstable; urgency=low
+
+  * Modified tdbtool.c to properly use multi-line strings
+    (closes: Bug#195257)
+  * Corrected the copyright file to not use the boilerplate.
+
+ -- Marek Habersack <grendel at debian.org>  Thu, 29 May 2003 15:25:54 -0400
+
+tdb (1.0.6-4) unstable; urgency=high
+
+  * made dependencies right for tdb-dev (closes: #143517)
+
+ -- Marek Habersack <grendel at debian.org>  Thu, 18 Apr 2002 23:55:53 +0200
+
+tdb (1.0.6-3) unstable; urgency=high
+
+  * Added the shared library module. It is needed for some packages on hppa.
+
+ -- Marek Habersack <grendel at debian.org>  Mon, 15 Apr 2002 19:28:09 +0200
+
+tdb (1.0.6-2) unstable; urgency=high
+
+  * Upgraded the config.guess and config.sub files (closes: #138609)
+
+ -- Marek Habersack <grendel at debian.org>  Sun, 17 Mar 2002 00:35:25 +0100
+
+tdb (1.0.6-1) unstable; urgency=medium
+
+  * Latest upstream (closes: #137972)
+
+ -- Marek Habersack <grendel at debian.org>  Wed, 13 Mar 2002 02:43:47 +0100
+
+tdb (1.0.3-4) unstable; urgency=low
+
+  * Updated config.guess and config.sub (closes: #103348)
+  * Binaries in tdb-tools no longer are linked against the shared 
+    tdb library (closes: #102498)
+
+ -- Marek Habersack <grendel at debian.org>  Wed,  4 Jul 2001 11:48:34 +0200
+
+tdb (1.0.3-3) unstable; urgency=low
+
+  * Fixed incorrect dependency on tdb1
+
+ -- Marek Habersack <grendel at debian.org>  Thu, 17 May 2001 13:21:11 +0200
+
+tdb (1.0.3-2) unstable; urgency=low
+
+  * Changed the package description. Closes: #97636
+
+ -- Marek Habersack <grendel at debian.org>  Wed, 16 May 2001 10:47:10 +0200
+
+tdb (1.0.3-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Marek Habersack <grendel at debian.org>  Mon,  7 May 2001 18:03:17 +0200
+
+Local variables:
+mode: debian-changelog
+End:

Added: trunk/tdb/debian/compat
===================================================================
--- trunk/tdb/debian/compat	2007-05-02 15:33:28 UTC (rev 1357)
+++ trunk/tdb/debian/compat	2007-05-02 15:35:13 UTC (rev 1358)
@@ -0,0 +1 @@
+4

Added: trunk/tdb/debian/control
===================================================================
--- trunk/tdb/debian/control	2007-05-02 15:33:28 UTC (rev 1357)
+++ trunk/tdb/debian/control	2007-05-02 15:35:13 UTC (rev 1358)
@@ -0,0 +1,39 @@
+Source: tdb
+Section: devel
+Priority: optional
+Maintainer: Jelmer Vernooij <jelmer at samba.org>
+Build-Depends: debhelper (>> 4.0.0), libgdbm-dev
+Standards-Version: 3.6.1
+
+Package: libtdb1
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}
+Description: 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.
+ .
+ This package contains the shared library file.
+
+Package: tdb-tools
+Section: utils
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: 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.
+ .
+ This package contains bundled test and utility binaries
+
+Package: tdb-dev
+Section: devel
+Architecture: any
+Depends: libc6-dev, libtdb1 (= ${Source-Version})
+Description: 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.
+ .
+ This package contains development files

Added: trunk/tdb/debian/copyright
===================================================================
--- trunk/tdb/debian/copyright	2007-05-02 15:33:28 UTC (rev 1357)
+++ trunk/tdb/debian/copyright	2007-05-02 15:35:13 UTC (rev 1358)
@@ -0,0 +1,21 @@
+This package was debianized by Marek Habersack <grendel at debian.org> on
+Mon,  7 May 2001 18:03:17 +0200.
+
+It was downloaded from http://samba.org/
+
+Upstream Author: Andrew Tridgell <tridge at samba.org>
+
+Copyright:
+  Copyright (c) Andrew Tridgell        1999-2004
+  Copyright (c) Paul `Rusty' Russell   2000
+  Copyright (c) Jeremy Allison	       2000-2003
+  
+License:
+
+The binary utilities in this package are distributed under the terms 
+of the GNU General Public License. The text of the license is available
+on Debian systems in the /usr/share/common-licenses/GPL file.
+
+The shared library in this package is distributed under the terms
+of the GNU Lesser General Publoic License. The text of the license is
+available on Debian systems in the /usr/share/common-licenses/LGPL file.

Added: trunk/tdb/debian/dirs
===================================================================
--- trunk/tdb/debian/dirs	2007-05-02 15:33:28 UTC (rev 1357)
+++ trunk/tdb/debian/dirs	2007-05-02 15:35:13 UTC (rev 1358)
@@ -0,0 +1 @@
+usr/bin

Added: trunk/tdb/debian/libtdb1.files
===================================================================
--- trunk/tdb/debian/libtdb1.files	2007-05-02 15:33:28 UTC (rev 1357)
+++ trunk/tdb/debian/libtdb1.files	2007-05-02 15:35:13 UTC (rev 1358)
@@ -0,0 +1 @@
+usr/lib/lib*.so.*

Added: trunk/tdb/debian/rules
===================================================================
--- trunk/tdb/debian/rules	2007-05-02 15:33:28 UTC (rev 1357)
+++ trunk/tdb/debian/rules	2007-05-02 15:35:13 UTC (rev 1358)
@@ -0,0 +1,95 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# shared library versions, option 1
+version=2.0.5
+major=2
+# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so
+#version=`ls src/.libs/lib*.so.* | \
+# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
+#major=`ls src/.libs/lib*.so.* | \
+# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
+
+ifeq ($(DEB_BUILD_ARCH),i386)
+ENABLE_SPINLOCKS=--with-spinlocks --build=i386-pc-linux-gnu
+endif
+ifeq ($(DEB_BUILD_ARCH),powerpc)
+ENABLE_SPINLOCKS=--with-spinlocks
+endif
+ifeq ($(DEB_BUILD_ARCH),sparc)
+ENABLE_SPINLOCKS=--with-spinlocks
+endif
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	# Add here commands to configure the package.
+	CC=gcc CFLAGS="-O2 -s" ./configure --prefix=/usr \
+	                                   --mandir=\$${prefix}/share/man \
+					   --infodir=\$${prefix}/share/info \
+					   --disable-dependency-tracking \
+					   --enable-shared \
+					   --enable-static $(ENABLE_SPINLOCKS)
+
+	touch configure-stamp
+
+build: configure-stamp build-stamp
+build-stamp:
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE)
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+
+	# Add here commands to clean up after the build process.
+	-$(MAKE) distclean
+
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	# Add here commands to install the package into debian/tmp
+	$(MAKE) install prefix=$(CURDIR)/debian/tmp/usr
+	mv $(CURDIR)/debian/tmp/usr/bin/tdbbackup \
+	   $(CURDIR)/debian/tmp/usr/bin/tdbbackup.tdbtools
+	dh_movefiles
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+
+	dh_installdocs
+	dh_installman -ptbd-dev
+	dh_installchangelogs ChangeLog
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure


Property changes on: trunk/tdb/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: trunk/tdb/debian/tdb-dev.dirs
===================================================================
--- trunk/tdb/debian/tdb-dev.dirs	2007-05-02 15:33:28 UTC (rev 1357)
+++ trunk/tdb/debian/tdb-dev.dirs	2007-05-02 15:35:13 UTC (rev 1358)
@@ -0,0 +1,2 @@
+usr/lib
+usr/include

Added: trunk/tdb/debian/tdb-dev.files
===================================================================
--- trunk/tdb/debian/tdb-dev.files	2007-05-02 15:33:28 UTC (rev 1357)
+++ trunk/tdb/debian/tdb-dev.files	2007-05-02 15:35:13 UTC (rev 1358)
@@ -0,0 +1,5 @@
+usr/include/*
+usr/lib/lib*.a
+usr/lib/lib*.la
+usr/lib/lib*.so
+usr/share/man/man3/*

Added: trunk/tdb/debian/tdb-tools.files
===================================================================
--- trunk/tdb/debian/tdb-tools.files	2007-05-02 15:33:28 UTC (rev 1357)
+++ trunk/tdb/debian/tdb-tools.files	2007-05-02 15:35:13 UTC (rev 1358)
@@ -0,0 +1 @@
+usr/bin/tdb*

Added: trunk/tdb/debian/tdb-tools.postinst
===================================================================
--- trunk/tdb/debian/tdb-tools.postinst	2007-05-02 15:33:28 UTC (rev 1357)
+++ trunk/tdb/debian/tdb-tools.postinst	2007-05-02 15:35:13 UTC (rev 1358)
@@ -0,0 +1,27 @@
+#! /bin/sh
+# postinst script for tdb-tools
+#
+# see: dh_installdeb(1)
+
+set -e
+
+case "$1" in
+    configure)
+    /usr/sbin/update-alternatives --install /usr/bin/tdbbackup tdbbackup /usr/bin/tdbbackup.tdbtools 10
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+#DEBHELPER#
+
+exit 0
+
+

Added: trunk/tdb/debian/tdb-tools.prerm
===================================================================
--- trunk/tdb/debian/tdb-tools.prerm	2007-05-02 15:33:28 UTC (rev 1357)
+++ trunk/tdb/debian/tdb-tools.prerm	2007-05-02 15:35:13 UTC (rev 1358)
@@ -0,0 +1,24 @@
+#! /bin/sh
+# prerm script for tdb-tools
+#
+# see: dh_installdeb(1)
+
+set -e
+
+case "$1" in
+    remove|upgrade|deconfigure)
+    update-alternatives --remove tdbbackup /usr/bin/tdbbackup.tdbtools
+        ;;
+    failed-upgrade)
+        ;;
+    *)
+        echo "prerm called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+#DEBHELPER#
+
+exit 0
+
+




More information about the Pkg-samba-maint mailing list