[Pkg-samba-maint] r1346 - in trunk/talloc/debian: . patches

Jelmer Vernooij ctrlsoft-guest at alioth.debian.org
Sun Apr 29 22:22:10 UTC 2007


Author: ctrlsoft-guest
Date: 2007-04-29 22:22:09 +0000 (Sun, 29 Apr 2007)
New Revision: 1346

Added:
   trunk/talloc/debian/libtalloc1.install
   trunk/talloc/debian/patches/
   trunk/talloc/debian/patches/series
   trunk/talloc/debian/patches/solib.patch
Removed:
   trunk/talloc/debian/libtalloc0.install
Modified:
   trunk/talloc/debian/control
   trunk/talloc/debian/rules
Log:
Build .so for talloc.

Modified: trunk/talloc/debian/control
===================================================================
--- trunk/talloc/debian/control	2007-04-29 22:05:36 UTC (rev 1345)
+++ trunk/talloc/debian/control	2007-04-29 22:22:09 UTC (rev 1346)
@@ -2,12 +2,11 @@
 Section: devel
 Priority: optional
 Maintainer: Debian Samba Maintainers <samba-maint at alioth.debian.org>
-Build-Depends: debhelper (>= 5.0.37.2)
+Build-Depends: debhelper (>= 5.0.37.2), quilt (>= 0.40)
 Standards-Version: 3.7.2
-XS-Python-Version: >= 2.4
 XS-Vcs-Svn: svn://svn.debian.org/pkg-samba/trunk/talloc
 
-Package: libtalloc0
+Package: libtalloc1
 Architecture: any
 Depends: ${shlibs:Depends}
 Description: Hierarchical pool based memory allocator

Deleted: trunk/talloc/debian/libtalloc0.install
===================================================================

Copied: trunk/talloc/debian/libtalloc1.install (from rev 1341, trunk/talloc/debian/libtalloc0.install)
===================================================================
--- trunk/talloc/debian/libtalloc0.install	2007-04-25 14:51:34 UTC (rev 1341)
+++ trunk/talloc/debian/libtalloc1.install	2007-04-29 22:22:09 UTC (rev 1346)
@@ -0,0 +1 @@
+usr/lib/libtalloc.so.1*

Added: trunk/talloc/debian/patches/series
===================================================================
--- trunk/talloc/debian/patches/series	2007-04-29 22:05:36 UTC (rev 1345)
+++ trunk/talloc/debian/patches/series	2007-04-29 22:22:09 UTC (rev 1346)
@@ -0,0 +1 @@
+solib.patch

Added: trunk/talloc/debian/patches/solib.patch
===================================================================
--- trunk/talloc/debian/patches/solib.patch	2007-04-29 22:05:36 UTC (rev 1345)
+++ trunk/talloc/debian/patches/solib.patch	2007-04-29 22:22:09 UTC (rev 1346)
@@ -0,0 +1,38 @@
+diff -ur talloc-1.0/Makefile.in talloc-1.0-debian/Makefile.in
+--- talloc-1.0/Makefile.in	2007-04-25 16:18:22.000000000 +0200
++++ talloc-1.0-debian/Makefile.in	2007-04-30 01:15:47.000000000 +0200
+@@ -19,7 +19,9 @@
+ 
+ LIBOBJ = @TALLOCOBJ@ @LIBREPLACEOBJ@
+ 
+-all: showflags libtalloc.a testsuite $(EXTRA_TARGETS)
++SOLIB = libtalloc.so.1.0.0
++
++all: showflags libtalloc.a $(SOLIB) testsuite $(EXTRA_TARGETS)
+ 
+ showflags:
+ 	@echo 'talloc will be compiled with flags:'
+@@ -33,10 +35,14 @@
+ 	ar -rv $@ $(LIBOBJ)
+ 	@-ranlib $@
+ 
++$(SOLIB): $(LIBOBJ)
++	$(CC) -Wl,-soname,$(SOLIB) -shared -o $@ $^
++
+ install: all 
+ 	${INSTALLCMD} -d $(DESTDIR)${libdir}
+ 	${INSTALLCMD} -d $(DESTDIR)${libdir}/pkgconfig
+ 	${INSTALLCMD} -m 755 libtalloc.a $(DESTDIR)$(libdir)
++	${INSTALLCMD} -m 755 $(SOLIB) $(DESTDIR)$(libdir)
+ 	${INSTALLCMD} -d $(DESTDIR)${includedir}
+ 	${INSTALLCMD} -m 644 $(srcdir)/talloc.h $(DESTDIR)$(includedir)
+ 	${INSTALLCMD} -m 644 talloc.pc $(DESTDIR)$(libdir)/pkgconfig
+@@ -52,7 +58,7 @@
+ 	-test -z "$(XSLTPROC)" || $(XSLTPROC) --nonet -o $@ http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl $<
+ 
+ clean:
+-	rm -f *~ $(LIBOBJ) libtalloc.a testsuite testsuite.o *.gc?? talloc.3 talloc.3.html
++	rm -f *~ $(LIBOBJ) $(SOLIB) libtalloc.a testsuite testsuite.o *.gc?? talloc.3 talloc.3.html
+ 
+ test: testsuite
+ 	./testsuite

Modified: trunk/talloc/debian/rules
===================================================================
--- trunk/talloc/debian/rules	2007-04-29 22:05:36 UTC (rev 1345)
+++ trunk/talloc/debian/rules	2007-04-29 22:22:09 UTC (rev 1346)
@@ -8,6 +8,8 @@
   CFLAGS += -O2
 endif
 
+include /usr/share/quilt/quilt.make
+
 DESTDIR=`pwd`/debian/tmp
 
 conf_args = --prefix=/usr




More information about the Pkg-samba-maint mailing list