SRPMSVERSIONS: version fetch update for chromium-pepper-flash and flashplugin

This commit is contained in:
Silvan Calarco 2016-12-03 19:16:35 +01:00
parent 9849ee91ff
commit b1d86fff96

View File

@ -3,7 +3,7 @@ SRPMVERSION["b43-firmware"]=4.150.10.5
SRPMRELEASE["b43-firmware"]=1mamba
# flashplugin
if [ ! "$SRPMCHECK" -o "$SRPMCHECK" = "flashplugin" ]; then
SRPMVERSION["flashplugin"]="`curl --max-time 20 -s http://www.adobe.com/software/flash/about/ | grep -A3 "Linux" | tail -n1 | sed -e 's/[[:space:]]*<[^>][^>]*>//g;s/[[:space:]]//' 2>/dev/null`"
SRPMVERSION["flashplugin"]="`curl --max-time 20 -sL 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
fi
# msttcorefonts
@ -23,12 +23,12 @@ fi
SRPMRELEASE["spotify"]=1mamba
# sun-java7
if [ ! "$SRPMCHECK" -o "$SRPMCHECK" = "sun-java7" ]; then
SRPMVERSION["sun-java7"]="`curl --max-time 20 -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`"
SRPMVERSION["sun-java7"]="`curl --max-time 20 -sL 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
fi
# sun-java8
if [ ! "$SRPMCHECK" -o "$SRPMCHECK" = "sun-java8" ]; then
SRPMVERSION["sun-java8"]="`curl --max-time 20 -s http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html|grep "Linux x86.*i586.tar.gz"|tail -n1|sed "s|.*/java/jdk/\(.*\)/jdk-.*|\1|;s|-|_|" 2>/dev/null`"
SRPMVERSION["sun-java8"]="`curl --max-time 20 -sL http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html|grep "Linux x86.*i586.tar.gz"|tail -n1|sed "s|.*/java/jdk/\(.*\)/jdk-.*|\1|;s|-|_|" 2>/dev/null`"
SRPMRELEASE["sun-java8"]=1mamba
fi
# virtualbox-extension-pack
@ -42,7 +42,7 @@ SRPMRELEASE["win32codecs"]=1mamba
# chromium-pepper-flash
if [ ! "$SRPMCHECK" -o "$SRPMCHECK" = "chromium-pepper-flash" ]; then
if [ "`uname -m`" == "x86_64" ]; then
SRPMVERSION["chromium-pepper-flash"]="`curl --max-time 20 -s "http://googlechromereleases.blogspot.it/" | grep -i -m 1 "stable channel has been updated to" | sed "s|.*[^0-9]\([0-9]*\.[0-9]*\.[0-9]*\.[0-9]*\).*|\1|" 2>/dev/null`"
SRPMVERSION["chromium-pepper-flash"]="`curl --max-time 20 -sL "https://googlechromereleases.blogspot.it/" | grep -i -A10 "stable channel" | grep -m1 "[^0-9][0-9]*\.[0-9]*\.[0-9]*\.[0-9]*" | sed "s|.*[^0-9]\([0-9]*\.[0-9]*\.[0-9]*\.[0-9]*\).*|\1|" 2>/dev/null`"
else
SRPMVERSION["chromium-pepper-flash"]="0"
fi