[SCM] pkg-boinc scripts branch, master, updated. 1bf1131ae3867d7337e371a352148e5c6af034d0

Gianfranco Costamagna costamagnagianfranco at yahoo.it
Wed Mar 27 15:45:12 UTC 2013


The following commit has been merged in the master branch:
commit 1bf1131ae3867d7337e371a352148e5c6af034d0
Author: Gianfranco Costamagna <costamagnagianfranco at yahoo.it>
Date:   Wed Mar 27 16:44:52 2013 +0100

    Changed export boinc script in answer to upstream git switch

diff --git a/export-boinc b/export-boinc
index 4dd3901..6cf90ff 100755
--- a/export-boinc
+++ b/export-boinc
@@ -10,7 +10,7 @@
 
 set -e
 
-GIT_ROOT="http://boinc.berkeley.edu/git/boinc.git"
+GIT_ROOT="http://boinc.berkeley.edu/git/boinc-v2.git"
 
 # Define default values which can be overriden by command line options
 # and get the command line options.
@@ -26,7 +26,7 @@ Usage: export-boinc <options>
   This script downloads from the developers' git repository a particular
   version of the BOINC (Berkeley Open Infrastructure for Network
   Computing) middleware for volunteer computing. It clones everything
-  or performs a pull on ./boinc .
+  or performs a pull on ./boinc-v2 .
 
   Options:
 
@@ -56,15 +56,15 @@ if [ "$1" == "--help" ]; then
     exit 0
 fi
 
-if [ -d boinc ]; then
-    if [ ! -d boinc/.git ]; then
-       echo "E: found directory 'boinc' which is not a git repository where I meant to export the boinc source tree to. Please clean up."
+if [ -d boinci-v2 ]; then
+    if [ ! -d boinc-v2/.git ]; then
+       echo "E: found directory 'boinc-v2' which is not a git repository where I meant to export the boinc source tree to. Please clean up."
        exit 1
     fi
 fi
 
-if [ -f boinc ]; then
-    echo "E: found file 'boinc' where I meant to export the boinc source tree to. Please clean up."
+if [ -f boinc-v2 ]; then
+    echo "E: found file 'boinc-v2' where I meant to export the boinc source tree to. Please clean up."
     exit 1
 fi
 
@@ -126,14 +126,14 @@ if [ -n "$missing" ]; then
     exit 1
 fi
 
-if [ -d boinc ]; then
+if [ -d boinc-v2 ]; then
     echo "I: Updating BOINC source tree. This takes a bit of time."
-    cd boinc
+    cd boinc-v2
     git pull
 else
     echo "I: Cloning BOINC source tree. This takes a while, maybe five minutes."
     git clone $GIT_ROOT
-    cd boinc
+    cd boinc-v2
 fi
 
 # Remove non-free or unneeded sources or cruft from the upstream source
@@ -203,8 +203,8 @@ EOATTRIBUTES
 # number from configure.ac and rename the $ORIG_DIR
 # accordingly.
 #
-
-TAG=client_release_$VERSION
+MAJOR_RELEASE=7.0
+TAG=client_release/$MAJOR_RELEASE/$VERSION
 if [ $VERSION = "HEAD" ]; then
     CFG_AC="configure.ac"
     if [ ! -r $CFG_AC ]; then

-- 
pkg-boinc scripts



More information about the pkg-boinc-commits mailing list