[Pkg-samba-maint] r1362 - in trunk/ldb: . debian

Jelmer Vernooij ctrlsoft-guest at alioth.debian.org
Sat May 5 21:44:38 UTC 2007


Author: ctrlsoft-guest
Date: 2007-05-05 21:44:37 +0000 (Sat, 05 May 2007)
New Revision: 1362

Added:
   trunk/ldb/debian/
   trunk/ldb/debian/changelog
   trunk/ldb/debian/compat
   trunk/ldb/debian/control
   trunk/ldb/debian/copyright
   trunk/ldb/debian/ldb-tools.install
   trunk/ldb/debian/libldb-dev.install
   trunk/ldb/debian/libldb0.install
   trunk/ldb/debian/rules
Log:
Add package for ldb.


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

Added: trunk/ldb/debian/changelog
===================================================================
--- trunk/ldb/debian/changelog	2007-05-02 19:23:35 UTC (rev 1361)
+++ trunk/ldb/debian/changelog	2007-05-05 21:44:37 UTC (rev 1362)
@@ -0,0 +1,5 @@
+ldb (0.9.0-1) unstable; urgency=low
+
+  * Initial release. (Closes: #421573)
+
+ -- Jelmer Vernooij <jelmer at samba.org>  Fri, 04 May 2007 12:39:19 +0200

Added: trunk/ldb/debian/compat
===================================================================
--- trunk/ldb/debian/compat	2007-05-02 19:23:35 UTC (rev 1361)
+++ trunk/ldb/debian/compat	2007-05-05 21:44:37 UTC (rev 1362)
@@ -0,0 +1 @@
+5

Added: trunk/ldb/debian/control
===================================================================
--- trunk/ldb/debian/control	2007-05-02 19:23:35 UTC (rev 1361)
+++ trunk/ldb/debian/control	2007-05-05 21:44:37 UTC (rev 1362)
@@ -0,0 +1,48 @@
+Source: ldb
+Section: devel
+Priority: optional
+Maintainer: Jelmer Vernooij <jelmer at samba.org>
+Build-Depends: debhelper (>> 5.0.0), quilt (>= 0.40), tdb-dev (>= 1.1.0), libtalloc-dev
+Standards-Version: 3.7.2
+
+Package: libldb0
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}
+Description: LDAP-like embedded database - shared library
+ ldb is a LDAP-like embedded database built on top of TDB.
+ .
+ What ldb does is provide a fast database with an LDAP-like API designed
+ to be used within an application. In some ways it can be seen as a
+ intermediate solution between key-value pair databases and a real LDAP
+ database.
+ .
+ This package contains the shared library file.
+
+Package: ldb-tools
+Section: utils
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: LDAP-like embedded database - tools
+ ldb is a LDAP-like embedded database built on top of TDB.
+ .
+ What ldb does is provide a fast database with an LDAP-like API designed
+ to be used within an application. In some ways it can be seen as a
+ intermediate solution between key-value pair databases and a real LDAP
+ database.
+ .
+ This package contains bundled test and utility binaries
+
+Package: libldb-dev
+Section: libs
+Architecture: any
+Depends: libc6-dev, libldb0 (= ${Source-Version}), libtalloc-dev
+Description: LDAP-like embedded database - development files
+ ldb is a LDAP-like embedded database built on top of TDB.
+ .
+ What ldb does is provide a fast database with an LDAP-like API designed
+ to be used within an application. In some ways it can be seen as a
+ intermediate solution between key-value pair databases and a real LDAP
+ database.
+ .
+ This package contains the development files.

Added: trunk/ldb/debian/copyright
===================================================================
--- trunk/ldb/debian/copyright	2007-05-02 19:23:35 UTC (rev 1361)
+++ trunk/ldb/debian/copyright	2007-05-05 21:44:37 UTC (rev 1362)
@@ -0,0 +1,25 @@
+This package was debianized by Jelmer Vernooij <jelmer at samba.org> on
+Fri May  4 12:40:10 CEST 2007.
+
+The tarball was extracted from Subversion by running:
+svn export svn://svn.samba.org/samba/tags/LDB_0_9_0 ldb-0.9.0
+cd ldb-0.9.0 && ./autogen.sh && cd ..
+tar cvz ldb-0.9.0 > ldb-0.9.0.tar.gz
+
+Upstream Authors and copyright:
+ Andrew Tridgell <tridge at samba.org>
+ Simo Sorce <idra at samba.org>
+ Andrew Bartlett <abartlet at samba.org>
+ Stefan Metzmacher <metze at samba.org>
+ Derrell Lipman <derrell at samba.org>
+ Jelmer Vernooij <jelmer at samba.org>
+  
+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 Public License. The text of the license is
+available on Debian systems in the /usr/share/common-licenses/LGPL file.

Added: trunk/ldb/debian/ldb-tools.install
===================================================================
--- trunk/ldb/debian/ldb-tools.install	2007-05-02 19:23:35 UTC (rev 1361)
+++ trunk/ldb/debian/ldb-tools.install	2007-05-05 21:44:37 UTC (rev 1362)
@@ -0,0 +1,3 @@
+usr/bin/ldb*
+usr/bin/oLschema2ldif
+usr/share/man/man1/*

Added: trunk/ldb/debian/libldb-dev.install
===================================================================
--- trunk/ldb/debian/libldb-dev.install	2007-05-02 19:23:35 UTC (rev 1361)
+++ trunk/ldb/debian/libldb-dev.install	2007-05-05 21:44:37 UTC (rev 1362)
@@ -0,0 +1,5 @@
+usr/include/*
+usr/lib/pkgconfig/*.pc
+usr/lib/lib*.a
+usr/lib/lib*.so
+usr/share/man/man3/*

Added: trunk/ldb/debian/libldb0.install
===================================================================
--- trunk/ldb/debian/libldb0.install	2007-05-02 19:23:35 UTC (rev 1361)
+++ trunk/ldb/debian/libldb0.install	2007-05-05 21:44:37 UTC (rev 1362)
@@ -0,0 +1 @@
+usr/lib/lib*.so.*

Added: trunk/ldb/debian/rules
===================================================================
--- trunk/ldb/debian/rules	2007-05-02 19:23:35 UTC (rev 1361)
+++ trunk/ldb/debian/rules	2007-05-05 21:44:37 UTC (rev 1362)
@@ -0,0 +1,66 @@
+#!/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
+
+configure: patch configure-stamp
+configure-stamp:
+	dh_testdir
+	CFLAGS="$(CFLAGS)" ./configure --prefix=/usr
+	touch configure-stamp
+
+build: configure build-stamp
+build-stamp:
+	dh_testdir
+	$(MAKE)
+	touch build-stamp
+
+clean: clean-patched unpatch
+clean-patched:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+	-$(MAKE) distclean
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+	$(MAKE) install DESTDIR=$(DESTDIR)
+	# Don't install ldbtest
+	rm -f $(DESTDIR)/usr/bin/ldbtest
+	ln -s libldb.so.1.1.0 $(DESTDIR)/usr/lib/libldb.so.1
+	ln -s libldb.so.1 $(DESTDIR)/usr/lib/libldb.so
+	dh_install --fail-missing --list-missing --sourcedir=$(DESTDIR)
+
+binary-indep: 
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs 
+	dh_installman
+	dh_installchangelogs 
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-arch binary-indep
+.PHONY: build clean binary-indep binary-arch binary install configure 


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




More information about the Pkg-samba-maint mailing list