summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlavien Bridault2006-08-15 19:40:33 +0200
committerFlavien Bridault2006-08-15 19:40:33 +0200
commit0eccac1bdc84625fe8ede0cc35e001403af5d864 (patch)
treee6be07aa5d6b67b87cbc1a5276dd969c7a5b2704
parent039f020de937dfe10b5a6f00704c2be05dec3c48 (diff)
bochs-snapshot: use wget to get the version, bug#11386
-rwxr-xr-xutils/bochs-snapshot/DETAILS3
-rw-r--r--utils/bochs-snapshot/HISTORY5
2 files changed, 6 insertions, 2 deletions
diff --git a/utils/bochs-snapshot/DETAILS b/utils/bochs-snapshot/DETAILS
index a7435a5126..a5a9215249 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
KEYWORDS="emulator utils"
diff --git a/utils/bochs-snapshot/HISTORY b/utils/bochs-snapshot/HISTORY
index 0877667b19..6b034b2c15 100644
--- a/utils/bochs-snapshot/HISTORY
+++ b/utils/bochs-snapshot/HISTORY
@@ -1,3 +1,8 @@
+2006-07-11 Jaka Kranjc <lynxlynxlynx@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
+
2006-03-12 Karsten Behrmann <BearPerson@sourcemage.org>
* DETAILS: (automated) Add KEYWORDS