[SM-Commit] GIT changes to stable-0.4 grimoire by Flavien Bridault (ae1360e12e3b30a1fdb1276dc9444b0f44c0a7ce)

Flavien Bridault scm at mail.sourcemage.org
Tue Aug 15 13:38:47 EDT 2006


GIT changes to stable-0.4 grimoire by Flavien Bridault <vlaaad at sourcemage.org>:

 utils/bochs-snapshot/DETAILS |    3 +--
 utils/bochs-snapshot/HISTORY |    5 +++++
 2 files changed, 6 insertions(+), 2 deletions(-)

New commits:
commit ae1360e12e3b30a1fdb1276dc9444b0f44c0a7ce
Author: Flavien Bridault <vlaaad at sourcemage.org>
Commit: Flavien Bridault <vlaaad at sourcemage.org>

    bochs-snapshot: use wget to get the version, bug#11386

diff --git a/utils/bochs-snapshot/DETAILS b/utils/bochs-snapshot/DETAILS
index 0d1d136..468a50f 100755
--- a/utils/bochs-snapshot/DETAILS
+++ b/utils/bochs-snapshot/DETAILS
@@ -1,12 +1,11 @@
            SPELL=bochs-snapshot
-         VERSION=`lynx -dump http://bochs.sourceforge.net/cvs-snapshot/ | grep .tar.gz | head -n 1 | sed 's/.tar.gz.*//' | sed 's/.*bochs-//'`
+         VERSION=$(wget -qO - http://bochs.sourceforge.net/cvs-snapshot/ | sed -n 's/^.*bochs-\([[:digit:]]*\).tar.gz[^<].*$/\1/p')
           SOURCE=bochs-$VERSION.tar.gz
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/bochs-$VERSION
    SOURCE_URL[0]=http://bochs.sourceforge.net/cvs-snapshot/$SOURCE
    SOURCE_IGNORE=volatile
         WEB_SITE=http://bochs.sourceforge.net
          ENTERED=20020531
-         UPDATED=20020731
       LICENSE[0]=GPL
        BUILD_API=2
            SHORT="[snapshot/devel branch] i386 hardware emulator"
diff --git a/utils/bochs-snapshot/HISTORY b/utils/bochs-snapshot/HISTORY
index a101f4b..f933174 100644
--- a/utils/bochs-snapshot/HISTORY
+++ b/utils/bochs-snapshot/HISTORY
@@ -1,3 +1,8 @@
+2006-07-11 Jaka Kranjc <lynxlynxlynx at sourcemage.org>
+	* DETAILS: use wget to get the version, lynx isn't part of basesystem, nor
+	  was it depended upon. Made the check a bit faster, with a
+	  penalty on readability. Fixes #11386
+
 2005-11-30 Seth Woolley <seth at tautology.org>
 	* DETAILS: MD5 IGNORE to SOURCE_HASH volatile
 



More information about the SM-Commit mailing list