[pkg-boinc-commits] r420 - scripts
Frank S. Thomas
fst-guest at costa.debian.org
Mon May 15 13:34:57 UTC 2006
Author: fst-guest
Date: 2006-05-15 13:34:57 +0000 (Mon, 15 May 2006)
New Revision: 420
Added:
scripts/download-seti
Modified:
scripts/export-seti
Log:
Reintroduced download-seti script. The CVS export of setiathome_enhanced is
missing some important files and therefore does not build.
Added: scripts/download-seti
===================================================================
--- scripts/download-seti 2006-05-15 12:42:02 UTC (rev 419)
+++ scripts/download-seti 2006-05-15 13:34:57 UTC (rev 420)
@@ -0,0 +1,29 @@
+#!/bin/sh
+# $Id$
+#
+# Usage: download-seti 5.13 2006-05-15
+
+set -e
+
+VERSION="$1"
+DATE="$2"
+
+# validate options
+if [ -z "$VERSION" ]; then
+ echo "Error: version number was not specified"
+ exit 1
+
+elif [ -z "$DATE" ]; then
+ echo "Error: date was not specified"
+ exit 1
+fi
+
+NIGHTLY_DIR="http://setiweb.ssl.berkeley.edu/sah/seti_source/nightly"
+FILENAME="setiathome_enhanced-client-cvs-$DATE.tar.gz"
+
+DEBIAN_VERSION="$VERSION+cvs`echo $DATE | sed s/-//g`"
+
+wget "$NIGHTLY_DIR/$FILENAME" || exit 1
+mv $FILENAME "boinc-app-seti_$DEBIAN_VERSION.orig.tar.gz"
+
+exit 0
Property changes on: scripts/download-seti
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:keywords
+ Id
Modified: scripts/export-seti
===================================================================
--- scripts/export-seti 2006-05-15 12:42:02 UTC (rev 419)
+++ scripts/export-seti 2006-05-15 13:34:57 UTC (rev 420)
@@ -29,12 +29,12 @@
if [ -z "$DATE" ]; then
DEBIAN_VERSION="$VERSION+cvs`date +%Y%m%d`"
ORIG_DIR="boinc-app-seti-$DEBIAN_VERSION.orig"
- CVS_COMMAND="cvs -d $CVS_ROOT export -D now -r setiathome_enhanced -d $ORIG_DIR $CVS_MODULE"
+ CVS_COMMAND="cvs -d $CVS_ROOT export -r setiathome_enhanced -D now -d $ORIG_DIR $CVS_MODULE"
elif [ -n "$DATE" ]; then
DEBIAN_VERSION="$VERSION+cvs$DATE"
ORIG_DIR="boinc-app-seti-$DEBIAN_VERSION.orig"
- CVS_COMMAND="cvs -d $CVS_ROOT export -D $DATE -r setiathome_enhanced -d $ORIG_DIR $CVS_MODULE"
+ CVS_COMMAND="cvs -d $CVS_ROOT export -r setiathome_enhanced -D $DATE -d $ORIG_DIR $CVS_MODULE"
fi
ORIG_ARCHIVE="boinc-app-seti_$DEBIAN_VERSION.orig.tar.gz"
More information about the pkg-boinc-commits
mailing list