[SCM] BOINC packaging branch, master, updated. debian/6.10.17+dfsg-3-47-g42eccdc

Steffen Moeller moeller at debian.org
Mon Jul 19 19:45:31 UTC 2010


The following commit has been merged in the master branch:
commit 42eccdc1b1c29d84a436becb817d366e0875ac30
Author: Steffen Moeller <moeller at debian.org>
Date:   Mon Jul 19 21:45:46 2010 +0200

    Extending get-orig-source for versioned downloads

diff --git a/debian/README.source b/debian/README.source
index d3b86bf..5be6766 100644
--- a/debian/README.source
+++ b/debian/README.source
@@ -24,14 +24,18 @@ Repackaged upstream source:
 
  The latest tags upstream presents at http://boinc.berkeley.edu/svn/tags/ .
  Choose 'the right one' of those.  To obtain the .orig.tar.gz
- tarball for BOINC tag 6_10_43 this script is invoked as:
+ tarball for BOINC tag 6_10_58 this script is invoked as:
 
-   $ ./export-boinc -r 6.10.44
+   $ ./export-boinc -r 6.10.58
 
  It will take a considerable while to download as the final tarball yields >15MB.
  The script will take care of remove the non-DFSG files from the upstream
  tag.
 
+ Above process is integrated into debian/rules's get-orig-source target. It will
+ download the very latest version unless an environment variable VERSION was set:
+   $ VERSION=6.10.58 ./debian/rules get-orig-source
+
 
 Removed non-dfsg upstream files
 ===============================
diff --git a/debian/rules b/debian/rules
index 43116ea..b0e5b90 100755
--- a/debian/rules
+++ b/debian/rules
@@ -234,10 +234,11 @@ get-orig-source:
 	LATEST_VERSION=`svn list http://boinc.berkeley.edu/svn/tags/ | \
 	  sed 's/boinc_core_release_\(.*\)\//\1/' | \
 	  sort -g -t_ -k1 -k2 -k3 | sed 's/_/./g' | tail -n 1 | tr -d '\n'`; \
+	if [ -z "$$VERSION" ]; then VERSION=$$LATEST_VERSION; fi ; \
 	EXB=/tmp/export-boinc; \
 	wget -O $$EXB "http://git.debian.org/?p=pkg-boinc/scripts.git;a=blob_plain;f=export-boinc;hb=HEAD" --quiet; \
 	chmod +x $$EXB; \
-	$$EXB -r $$LATEST_VERSION -t $(origDir); \
+	$$EXB -r $$VERSION -t $(origDir); \
 	rm -f $$EXB
 
 .PHONY: build clean clean-patched install binary-arch binary get-orig-source

-- 
BOINC packaging



More information about the pkg-boinc-commits mailing list