[Pkg-samba-maint] r1874 - trunk/ldb/debian
ctrlsoft-guest at alioth.debian.org
ctrlsoft-guest at alioth.debian.org
Tue May 20 00:33:58 UTC 2008
Author: ctrlsoft-guest
Date: 2008-05-20 00:33:57 +0000 (Tue, 20 May 2008)
New Revision: 1874
Modified:
trunk/ldb/debian/build-orig.sh
trunk/ldb/debian/rules
Log:
Default to samba4 ldb, fix directory names.
Modified: trunk/ldb/debian/build-orig.sh
===================================================================
--- trunk/ldb/debian/build-orig.sh 2008-05-20 00:22:08 UTC (rev 1873)
+++ trunk/ldb/debian/build-orig.sh 2008-05-20 00:33:57 UTC (rev 1874)
@@ -7,6 +7,10 @@
GIT_URL=git://git.samba.org/samba.git
fi
+if [ -z "$REFSPEC" ]; then
+ REFSPEC=origin/v4-0-test
+fi
+
LDBTMP=$TMPDIR/$RANDOM.ldb.git
version=$( dpkg-parsechangelog -l`dirname $0`/changelog | sed -n 's/^Version: \(.*:\|\)//p' | sed 's/-[0-9.]\+$//' )
git clone --depth 1 -l $GIT_URL $LDBTMP
@@ -18,8 +22,8 @@
mv $LDBTMP/source/lib/ldb "ldb-$version"
mv $LDBTMP/source/lib/replace "ldb-$version/libreplace"
-mv $LDBTMP/source/lib/tdb "ldb-$version/libtdb"
-mv $LDBTMP/source/lib/talloc "ldb-$version/libtalloc"
+mv $LDBTMP/source/lib/tdb "ldb-$version/tdb"
+mv $LDBTMP/source/lib/talloc "ldb-$version/talloc"
rm -rf $LDBTMP
pushd "ldb-$version" && ./autogen.sh && popd
tar cvz "ldb-$version" > "ldb_$version.orig.tar.gz"
Modified: trunk/ldb/debian/rules
===================================================================
--- trunk/ldb/debian/rules 2008-05-20 00:22:08 UTC (rev 1873)
+++ trunk/ldb/debian/rules 2008-05-20 00:33:57 UTC (rev 1874)
@@ -21,7 +21,7 @@
touch configure-stamp
get-orig-source:
- sh debian/build-orig.sh
+ ./debian/build-orig.sh
build: configure build-stamp
build-stamp:
More information about the Pkg-samba-maint
mailing list