From a5cb09f16b7fb4a49850821095c4157b2622340d Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 13 Dec 2014 17:18:58 +0100 Subject: [PATCH] netsrpms: use curl to autodetect the latest available version for various components --- SRPMSVERSIONS | 8 ++++---- SRPMSVERSIONS.arm | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/SRPMSVERSIONS b/SRPMSVERSIONS index 5a8a2d1..233cfea 100644 --- a/SRPMSVERSIONS +++ b/SRPMSVERSIONS @@ -2,19 +2,19 @@ SRPMVERSION["b43-firmware"]=4.150.10.5 SRPMRELEASE["b43-firmware"]=1mamba # flashplugin -SRPMVERSION["flashplugin"]=11.2.202.424 +SRPMVERSION["flashplugin"]="`curl -s http://www.adobe.com/software/flash/about/ | grep -A2 "Linux" | tail -n1 | sed -e 's/[[:space:]]*<[^>][^>]*>//g;s/[[:space:]]//' 2>/dev/null`" SRPMRELEASE["flashplugin"]=1mamba # msttcorefonts SRPMVERSION["msttcorefonts"]=1.3 SRPMRELEASE["msttcorefonts"]=7mamba # skype -SRPMVERSION["skype"]=4.3.0.37 +SRPMVERSION["skype"]="`curl -sLI "http://www.skype.com/go/getskype-linux-beta-dynamic"|grep "linux/skype-"|sed "s|.*skype-\(.*\)\.tar\..*|\1|" 2>/dev/null`" SRPMRELEASE["skype"]=2mamba # spotify SRPMVERSION["spotify"]=20140117 SRPMRELEASE["spotify"]=1mamba # sun-java7 -SRPMVERSION["sun-java7"]=7u67_b01 +SRPMVERSION["sun-java7"]="`curl -s http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html|grep "Linux x86.*i586.tar.gz"|tail -n1|sed "s|.*/java/jdk/\(.*\)/jdk-.*|\1|;s|-|_|" 2>/dev/null`" SRPMRELEASE["sun-java7"]=1mamba # virtualbox-extension-pack SRPMVERSION["virtualbox-extension-pack"]=4.3.20 @@ -23,5 +23,5 @@ SRPMRELEASE["virtualbox-extension-pack"]=1mamba SRPMVERSION["win32codecs"]=20110131 SRPMRELEASE["win32codecs"]=1mamba # chromium-pepper-flash -SRPMVERSION["chromium-pepper-flash"]=37.0.2062.120 +SRPMVERSION["chromium-pepper-flash"]="`curl -s "http://googlechromereleases.blogspot.it/" | grep "stable channel has been updated to" | sed "s|.*updated to \([0-9.]*\) .*|\1|" 2>/dev/null`" SRPMRELEASE["chromium-pepper-flash"]=1mamba diff --git a/SRPMSVERSIONS.arm b/SRPMSVERSIONS.arm index 4bd7ef4..694d5c1 100644 --- a/SRPMSVERSIONS.arm +++ b/SRPMSVERSIONS.arm @@ -1,2 +1,2 @@ -SRPMVERSION["sun-java7"]=7u60_b19 +SRPMVERSION["sun-java7"]="`curl -s http://www.oracle.com/technetwork/java/javase/downloads/jdk7-arm-downloads-2187468.html|grep "Linux ARM.*arm-vfp-sflt.tar.gz"|tail -n1|sed "s|.*/java/jdk/\(.*\)/jdk-.*|\1|;s|-|_|" 2>/dev/null`" SRPMRELEASE["sun-java7"]=1mamba