[Pkg-samba-maint] r1885 - trunk/samba4/debian

ctrlsoft-guest at alioth.debian.org ctrlsoft-guest at alioth.debian.org
Thu May 22 10:45:34 UTC 2008


Author: ctrlsoft-guest
Date: 2008-05-22 10:45:33 +0000 (Thu, 22 May 2008)
New Revision: 1885

Added:
   trunk/samba4/debian/python-ldb-samba4.install
   trunk/samba4/debian/python-samba.install
Modified:
   trunk/samba4/debian/build-orig.sh
   trunk/samba4/debian/changelog
   trunk/samba4/debian/control
   trunk/samba4/debian/rules
   trunk/samba4/debian/samba4-testsuite.install
Log:
Package python modules, new snapshot.


Modified: trunk/samba4/debian/build-orig.sh
===================================================================
--- trunk/samba4/debian/build-orig.sh	2008-05-22 10:19:16 UTC (rev 1884)
+++ trunk/samba4/debian/build-orig.sh	2008-05-22 10:45:33 UTC (rev 1885)
@@ -14,8 +14,8 @@
 version=$( dpkg-parsechangelog -l`dirname $0`/changelog | sed -n 's/^Version: \(.*:\|\)//p' | sed 's/-[0-9.]\+$//' )
 git clone --depth 1 -l $GIT_URL samba4-$version
 if [ ! -z "$REFSPEC" ]; then
-	pushd $SAMBATMP
-	git checkout $REFSPEC
+	pushd samba4-$version
+	git checkout $REFSPEC || exit 1
 	popd
 fi
 

Modified: trunk/samba4/debian/changelog
===================================================================
--- trunk/samba4/debian/changelog	2008-05-22 10:19:16 UTC (rev 1884)
+++ trunk/samba4/debian/changelog	2008-05-22 10:45:33 UTC (rev 1885)
@@ -1,14 +1,8 @@
-samba4 (4.0.0~alpha4~20080520-1) experimental; urgency=low
+samba4 (4.0.0~alpha4~20080522-1) experimental; urgency=low
 
-  * New upstream snapshot. 
-
- -- Jelmer Vernooij <jelmer at samba.org>  Tue, 20 May 2008 02:44:57 +0200
-
-samba4 (4.0.0~alpha4~20080510-1) experimental; urgency=low
-
   * New upstream snapshot. (Closes: #478328)
 
- -- Jelmer Vernooij <jelmer at samba.org>  Tue, 20 May 2008 02:44:55 +0200
+ -- Jelmer Vernooij <jelmer at samba.org>  Thu, 22 May 2008 02:25:05 +0200
 
 samba4 (4.0.0~alpha4~20080403-1) experimental; urgency=low
 

Modified: trunk/samba4/debian/control
===================================================================
--- trunk/samba4/debian/control	2008-05-22 10:19:16 UTC (rev 1884)
+++ trunk/samba4/debian/control	2008-05-22 10:45:33 UTC (rev 1885)
@@ -5,15 +5,17 @@
 Uploaders: Steve Langasek <vorlon at debian.org>, Christian Perrier <bubulle at debian.org>, Noèl Köthe <noel at debian.org>, Steinar H. Gunderson <sesse at debian.org>, Jelmer Vernooij <jelmer at samba.org>
 Homepage: http://www.samba.org/
 Standards-Version: 3.7.3
-Build-Depends: debhelper (>> 5.0.0), libparse-yapp-perl, perl, docbook-xsl, docbook-xml, xsltproc, po-debconf, libgnutls-dev, libreadline5-dev, libpam0g-dev, libblkid-dev, libattr1-dev, flex, bison, tdb-dev (>= 1.1.0), libtalloc-dev, libtalloc1, perl-modules, python-all-dev
+Build-Depends: debhelper (>> 5.0.0), libparse-yapp-perl, perl, docbook-xsl, docbook-xml, xsltproc, po-debconf, libgnutls-dev, libreadline5-dev, libpam0g-dev, libblkid-dev, libattr1-dev, flex, bison, tdb-dev (>= 1.1.0), libtalloc-dev, libtalloc1, perl-modules, python-all-dev (>= 2.5), python-central (>= 0.5.6)
 Build-Conflicts: libldb-dev
 Vcs-Svn: svn://svn.debian.org/svn/pkg-samba/branches/samba4
+XS-Python-Version: 2.5
 
 Package: samba4
 Architecture: any
 Recommends: samba-ldb-tools
 Conflicts: samba
-Depends: ${shlibs:Depends}, ${misc:Depends}, samba4-common (=${binary:Version}), samba-ldb-tools
+Depends: ${shlibs:Depends}, ${misc:Depends}, samba4-common (=${binary:Version}), samba-ldb-tools, python, python-samba
+XB-Python-Version: ${python:Versions}
 Description: LanManager-like file and printer server for Unix (version 4)
  The Samba software suite is a collection of programs that
  implements the SMB protocol for unix systems, allowing you to serve
@@ -428,3 +430,39 @@
  Library for running unittests.
  .
  This package contains the development files.
+
+Package: python-samba
+Architecture: any
+Section: python
+Provides: ${python:Provides}
+XB-Python-Version: ${python:Versions}
+Depends: ${python:Depends}, ${shlibs:Depends}, python-ldb-samba4, python-tdb
+Description: Python bindings for Samba
+ The Samba software suite is a collection of programs that
+ implements the SMB protocol for unix systems, allowing you to serve
+ files and printers to Windows, NT, OS/2 and DOS clients, as well as
+ run as a domain controller for Active Directory.
+ .
+ These packages contain snapshot versions of Samba 4, the next-generation
+ version of Samba. These should be considered _experimental_, and should
+ not be used in production. In particular, no guarantees are made with
+ regard to upgrades between versions.
+ .
+ This package contains Python bindings for most Samba 4 libraries.
+
+Package: python-ldb-samba4
+Architecture: any
+Section: python
+Provides: python-ldb, ${python:Provides}
+Conflicts: python-ldb
+XB-Python-Version: ${python:Versions}
+Depends: ${python:Depends}, ${shlibs:Depends}
+Description: Python bindings for LDB - Samba 4 version
+ 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 Python bindings for the Samba 4 version of LDB.

Added: trunk/samba4/debian/python-ldb-samba4.install
===================================================================
--- trunk/samba4/debian/python-ldb-samba4.install	                        (rev 0)
+++ trunk/samba4/debian/python-ldb-samba4.install	2008-05-22 10:45:33 UTC (rev 1885)
@@ -0,0 +1,2 @@
+usr/lib/python*/site-packages/_ldb.so
+usr/lib/python*/site-packages/ldb.py

Added: trunk/samba4/debian/python-samba.install
===================================================================
--- trunk/samba4/debian/python-samba.install	                        (rev 0)
+++ trunk/samba4/debian/python-samba.install	2008-05-22 10:45:33 UTC (rev 1885)
@@ -0,0 +1 @@
+usr/lib/python*/site-packages/samba

Modified: trunk/samba4/debian/rules
===================================================================
--- trunk/samba4/debian/rules	2008-05-22 10:19:16 UTC (rev 1884)
+++ trunk/samba4/debian/rules	2008-05-22 10:45:33 UTC (rev 1885)
@@ -3,6 +3,8 @@
 
 SOURCEPATH=./source
 
+PYVERS=$(shell pyversions -vr)
+
 # turn DEB_BUILD_OPTIONS='foo,bar' into DEB_BUILD_OPT_FOO and DEB_BUILD_OPT_BAR
 d_b_o:=$(shell echo "$$DEB_BUILD_OPTIONS"|sed 's/[^-[:alnum:]]/ /g'|tr a-z A-Z)
 $(foreach o, $(d_b_o), $(eval DEB_BUILD_OPT_$o := 1))
@@ -72,6 +74,9 @@
 	rm -f $(CURDIR)/debian/tmp/usr/lib/pkgconfig/nss_winbind.pc
 	rm -f $(CURDIR)/debian/tmp/usr/share/man/man3/talloc.3
 	rmdir $(CURDIR)/debian/tmp/usr/lib/torture
+	rm -f $(CURDIR)/debian/tmp/usr/lib/python*/site-packages/{tdb.py,_tdb.so}
+	rm -f $(CURDIR)/debian/tmp/usr/lib/python*/site-packages/uuid.so
+	rm -rf $(CURDIR)/debian/tmp/usr/lib/python*/site-packages/subunit
 	dh_install --sourcedir=debian/tmp --list-missing --fail-missing
 
 get-orig-source:
@@ -100,6 +105,7 @@
 	dh_installinit -a 
 	dh_installdebconf -a
 	dh_installdeb -a
+	dh_pycentral -a
 	dh_shlibdeps -a
 	dh_gencontrol -a
 	dh_md5sums -a

Modified: trunk/samba4/debian/samba4-testsuite.install
===================================================================
--- trunk/samba4/debian/samba4-testsuite.install	2008-05-22 10:19:16 UTC (rev 1884)
+++ trunk/samba4/debian/samba4-testsuite.install	2008-05-22 10:45:33 UTC (rev 1885)
@@ -1,6 +1,7 @@
 usr/bin/smbtorture
 usr/bin/ndrdump
 usr/bin/gentest
+usr/bin/gentest_smb2
 usr/bin/locktest
 usr/bin/masktest
 usr/share/man/man1/smbtorture.1




More information about the Pkg-samba-maint mailing list