r741 - /scripts/download-seti /trunk/boinc-app-seti/debian/changelog /trunk/boinc-app-seti/debian/rules

smoe-guest at users.alioth.debian.org smoe-guest at users.alioth.debian.org
Thu Nov 15 13:23:55 UTC 2007


Author: smoe-guest
Date: Thu Nov 15 13:23:55 2007
New Revision: 741

URL: http://svn.debian.org/wsvn/pkg-boinc/?sc=1&rev=741
Log:
  * boinc-app-seti: wrote debian/rules get-orig-source target 
  * scripts/download-seti: added just a tiny bit of verbosity


Modified:
    scripts/download-seti
    trunk/boinc-app-seti/debian/changelog
    trunk/boinc-app-seti/debian/rules

Modified: scripts/download-seti
URL: http://svn.debian.org/wsvn/pkg-boinc/scripts/download-seti?rev=741&op=diff
==============================================================================
--- scripts/download-seti (original)
+++ scripts/download-seti Thu Nov 15 13:23:55 2007
@@ -17,6 +17,11 @@
 FILENAME="setiathome_enhanced-client-cvs-$DATE.tar.gz"
 
 curl --fail "$NIGHTLY_DIR/{,old/}$FILENAME" -o "$FILENAME" || true
+
+echo
+echo 'The download with curl needs to be successful only once. Ignore an error message in the "old" subdir.'
+echo
+
 tar -xzf "$FILENAME"
 rm "$FILENAME"
 

Modified: trunk/boinc-app-seti/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-boinc/trunk/boinc-app-seti/debian/changelog?rev=741&op=diff
==============================================================================
--- trunk/boinc-app-seti/debian/changelog (original)
+++ trunk/boinc-app-seti/debian/changelog Thu Nov 15 13:23:55 2007
@@ -1,6 +1,9 @@
-boinc-app-seti (5.13+cvs20060510-4) UNRELEASED; urgency=low
+boinc-app-seti (5.13+cvs20071114-1) UNRELEASED; urgency=low
 
   * NOT RELEASED YET
+
+  * boinc-app-seti: wrote debian/rules get-orig-source target (Steffen
+    Moeller)
 
  -- Frank S. Thomas <frank at thomas-alfeld.de>  Wed, 17 Oct 2007 15:01:58 +0200
 

Modified: trunk/boinc-app-seti/debian/rules
URL: http://svn.debian.org/wsvn/pkg-boinc/trunk/boinc-app-seti/debian/rules?rev=741&op=diff
==============================================================================
--- trunk/boinc-app-seti/debian/rules (original)
+++ trunk/boinc-app-seti/debian/rules Thu Nov 15 13:23:55 2007
@@ -34,3 +34,15 @@
 clean::
 	dh_clean client/setiathome-$(UPSTREAM_VERSION).*
 	dh_clean debian/extra/app_info.xml
+
+
+get-orig-source:
+        curl=`which curl`; if [ -z "$$curl" ]; then echo curl needs to be installed; exit -1; fi
+        bc=`which bc`; if [ -z "$$bc" ]; then echo bc needs to be installed; exit -1; fi
+        (cd .. ; \
+         url="http://svn.debian.org/wsvn/pkg-boinc/scripts/download-seti?op=file&rev=0&sc=0" ; \
+         wget -O - -Nc "$$url" | sed -e '1,/PRE/d' -e '/PRE/,$$d' -e 's/&quot;/"/g' -e 's/&nbsp;/ /g' >  download-seti; \
+         dd=`date +%d` ; d=`echo $$dd-1|bc`; ddd=`date +%Y-%m|tr -d '\n'`-$$d; \
+         echo "release date=$$ddd"; \
+         sh download-seti $$ddd)
+




More information about the pkg-boinc-commits mailing list