r869 - in /scripts: export-kbs supported_platforms.php

fst at users.alioth.debian.org fst at users.alioth.debian.org
Sun Mar 30 09:22:22 UTC 2008


Author: fst
Date: Sun Mar 30 09:22:22 2008
New Revision: 869

URL: http://svn.debian.org/wsvn/pkg-boinc/?sc=1&rev=869
Log:
misc updates

Modified:
    scripts/export-kbs
    scripts/supported_platforms.php

Modified: scripts/export-kbs
URL: http://svn.debian.org/wsvn/pkg-boinc/scripts/export-kbs?rev=869&op=diff
==============================================================================
--- scripts/export-kbs (original)
+++ scripts/export-kbs Sun Mar 30 09:22:22 2008
@@ -3,19 +3,27 @@
 
 set -e
 
-DATE=`date +%Y%m%d`
-SVN_ROOT="https://svn.sourceforge.net/svnroot/kboincspy"
+SVN_ROOT="https://kboincspy.svn.sourceforge.net/svnroot/kboincspy"
 
-WORKING_DIR="kboincspy-cvs-$DATE"
-ORIG_ARCHIVE="kboincspy-cvs_$DATE.orig.tar.gz"
-
-if test -e $WORKING_DIR || test -e $ORIG_ARCHIVE; then
-    echo "Error: $WORKING_DIR or $ORIG_ARCHIVE already exists"
+ORIG_DIR="kboincspy-SNAPSHOT"
+if [ -e $ORIG_DIR ]; then
+    echo "Error: $ORIG_DIR already exists"
     exit 1
 fi
 
-svn export "$SVN_ROOT/trunk/kboincspy" $WORKING_DIR
-tar -czf $ORIG_ARCHIVE $WORKING_DIR
-rm -rf $WORKING_DIR
+svn export "$SVN_ROOT/trunk/kboincspy" $ORIG_DIR
+
+REVISION=`svn info "$SVN_ROOT" | grep "Last Changed Rev:" | cut -d' ' -f'4'`
+VERSION=`grep 'set(KBS_LIB_VERSION' "$ORIG_DIR/CMakeLists.txt" | \
+    cut -d' ' -f2 | sed 's/)//g'`
+
+ORIG_ARCHIVE="kboincspy_$VERSION+svn$REVISION.orig.tar.gz"
+if [ -e $ORIG_ARCHIVE ]; then
+    echo "Error: $ORIG_ARCHIVE already exists"
+    exit 1
+fi
+
+tar -czf $ORIG_ARCHIVE $ORIG_DIR
+rm -rf $ORIG_DIR
 
 exit 0

Modified: scripts/supported_platforms.php
URL: http://svn.debian.org/wsvn/pkg-boinc/scripts/supported_platforms.php?rev=869&op=diff
==============================================================================
--- scripts/supported_platforms.php (original)
+++ scripts/supported_platforms.php Sun Mar 30 09:22:22 2008
@@ -35,8 +35,10 @@
     'einstein' => array('http://einstein.phys.uwm.edu/', 'Einstein at Home'),
     'enigma' => array('http://enigma.no-ip.net:443/enigma/', 'Enigma at Home'),
     'eternity2' => array('http://eternity2.net/', 'Eternity2.net'),
+    'gerasim' => array('http://www.gerasim.boinc.ru/Gerasim/', 'Gerasim at Home'),
     'hash' => array('http://boinc.banaan.org/hashclash/', 'HashClash'),
     'hydrogen' => array('http://hydrogenathome.org/', 'Hydrogen at Home'),
+    'irealm' => array('http://www.intelligencerealm.com/aisystem/', 'Intelligence Realm'),
     'leiden' => array('http://boinc.gorlaeus.net/', 'Leiden Classical'),
     'lhc' => array('http://lhcathome.cern.ch/', 'LHC at home'),
     'malaria' => array('http://www.malariacontrol.net/', 'malaricontrol.net'),




More information about the pkg-boinc-commits mailing list