[Pkg-samba-maint] r2088 - trunk/ctdb/debian
mparent-guest at alioth.debian.org
mparent-guest at alioth.debian.org
Thu Jul 31 20:55:12 UTC 2008
Author: mparent-guest
Date: 2008-07-31 20:55:11 +0000 (Thu, 31 Jul 2008)
New Revision: 2088
Added:
trunk/ctdb/debian/uupdate-wrapper
trunk/ctdb/debian/watch
Removed:
trunk/ctdb/debian/build-orig.sh
Modified:
trunk/ctdb/debian/changelog
trunk/ctdb/debian/rules
Log:
Maintenance enhancements:
* Added debian/watch, which points to latest sahlberg's version
* Added debian/uupdate-wrapper, called by uscan for new upstream version
* debian/rules: removed get-orig-source target in favour of uscan
* removed debian/build-orig (was used by get-orig-source target)
Deleted: trunk/ctdb/debian/build-orig.sh
===================================================================
--- trunk/ctdb/debian/build-orig.sh 2008-07-27 14:01:45 UTC (rev 2087)
+++ trunk/ctdb/debian/build-orig.sh 2008-07-31 20:55:11 UTC (rev 2088)
@@ -1,19 +0,0 @@
-#!/bin/bash
-#apt-get install git-core
-git-clone git://git.samba.org/sahlberg/ctdb.git ctdb.git
-RELEASE=`grep '^Release: ' ctdb.git/packaging/RPM/ctdb.spec | awk '{ print $2; }'`
-VERSION=`grep '^Version: ' ctdb.git/packaging/RPM/ctdb.spec | awk '{ print $2; }'`
-cd ctdb.git
-CTDB_GIT_VERSION=`git-log -1 --pretty="format:%ci" | awk -F "[ -:]" '{print $1$2$3$4$5}'`
-cd ..
-CTDB_VERSION=$VERSION.$RELEASE+git$CTDB_GIT_VERSION
-echo Version is $CTDB_VERSION
-rm -rf ctdb.git/.git
-mv ctdb.git ctdb-$CTDB_VERSION.orig
-cd ctdb-$CTDB_VERSION.orig
-./autogen.sh
-echo removing included popt
-rm -rf lib/popt
-cd ..
-tar cvfz ctdb_$CTDB_VERSION.orig.tar.gz ctdb-$CTDB_VERSION.orig
-rm -rf ctdb-$CTDB_VERSION.orig
Modified: trunk/ctdb/debian/changelog
===================================================================
--- trunk/ctdb/debian/changelog 2008-07-27 14:01:45 UTC (rev 2087)
+++ trunk/ctdb/debian/changelog 2008-07-31 20:55:11 UTC (rev 2088)
@@ -1,3 +1,14 @@
+ctdb (1.0.51) UNRELEASED; urgency=low
+
+ * New upstream git version
+ * Maintenance enhancements:
+ * Added debian/watch, which points to latest sahlberg's version
+ * Added debian/uupdate-wrapper, called by uscan for new upstream version
+ * debian/rules: removed get-orig-source target in favour of uscan
+ * removed debian/build-orig (was used by get-orig-source target)
+
+ -- Mathieu Parent <math.parent at gmail.com> Thu, 31 Jul 2008 22:50:20 +0200
+
ctdb (1.0.47+git200807111148-1) unstable; urgency=low
* New upstream git snapshot
Modified: trunk/ctdb/debian/rules
===================================================================
--- trunk/ctdb/debian/rules 2008-07-27 14:01:45 UTC (rev 2087)
+++ trunk/ctdb/debian/rules 2008-07-31 20:55:11 UTC (rev 2088)
@@ -118,7 +118,4 @@
binary: binary-arch binary-indep
-get-orig-source:
- sh debian/build-orig.sh
-
.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch configure patch unpatch
Added: trunk/ctdb/debian/uupdate-wrapper
===================================================================
--- trunk/ctdb/debian/uupdate-wrapper (rev 0)
+++ trunk/ctdb/debian/uupdate-wrapper 2008-07-31 20:55:11 UTC (rev 2088)
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+version=$2
+file=$3
+
+#remove git log (only used by uscan)
+rm $file
+#pull source from git
+git-clone git://git.samba.org/sahlberg/ctdb.git;h=ctdb-$version
+mv ctdb ctdb-$version.orig
+#clean source
+rm -rf ctdb-$version/.git
+#autogen
+cd ctdb-$version.orig
+./autogen.sh
+cd ..
+#remove included popt
+rm -rf ctdb-$version.orig/lib/popt
+#tar.gz
+tar cvfz ctdb_$version.orig.tar.gz ctdb-$version.orig
+#remove orig directory
+rm -rf ctdb-$version.orig
+
Property changes on: trunk/ctdb/debian/uupdate-wrapper
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/ctdb/debian/watch
===================================================================
--- trunk/ctdb/debian/watch (rev 0)
+++ trunk/ctdb/debian/watch 2008-07-31 20:55:11 UTC (rev 2088)
@@ -0,0 +1,5 @@
+version=3
+opts=filenamemangle=s/^.*ctdb-([\d\.]+)/ctdb-$1/ \
+http://git.samba.org/?p=sahlberg/ctdb.git;a=tags \
+/\?p=sahlberg/ctdb.git;a=shortlog;h=ctdb-([\d\.]+) \
+debian debian/uupdate-wrapper
More information about the Pkg-samba-maint
mailing list