From 5fa1e7b25734a0e5761b4b941711cbb9531094be Mon Sep 17 00:00:00 2001 From: wifislax-ng Date: Fri, 19 Feb 2016 17:17:39 +0100 Subject: [PATCH] Reparados fpc , lazarus , qtractor y openshot --- Desarrollo/fpc_updater | 11 ++++++----- Desarrollo/lazarus_updater | 11 ++++++----- Multimedia/openshot_updater | 5 +++-- Multimedia/qtractor_updater | 10 ++++++---- 4 files changed, 21 insertions(+), 16 deletions(-) diff --git a/Desarrollo/fpc_updater b/Desarrollo/fpc_updater index e4c9feb..9e82a55 100755 --- a/Desarrollo/fpc_updater +++ b/Desarrollo/fpc_updater @@ -2,7 +2,7 @@ # Script by www.seguridadwireless.net -SCRIPT_VERSION=20160211 +SCRIPT_VERSION=20160219 ############################################################ ## Funciones comunes. Su nombre empieza por f_ ## @@ -19,19 +19,20 @@ F_variables() { PRGNAM=fpc echo -ne "\033]2;${PRGNAM}_updater\007" WEB=https://sourceforge.net/projects/freepascal/files/Linux/ - VERSION=$(curl -s $WEB/ | grep -m1 "class=\"folder" | awk '{print $2}' | cut -d "\"" -f 2) - DOWNLOAD=$(curl -s $WEB/$VERSION/ | grep "class=\"file " | awk '{print $2}' | cut -d "\"" -f 2 | awk '{print $1}' | grep "i386") + #VERSION=$(curl -s $WEB/ | grep -m1 "class=\"folder" | awk '{print $2}' | cut -d "\"" -f 2) + VERSION=2.6.4 + DOWNLOAD=http://downloads.sourceforge.net/freepascal/${PRGNAM}-$VERSION.i386-linux.tar DOWNLOAD2=https://downloads.sourceforge.net/freepascal/${PRGNAM}build-$VERSION.tar.gz DOWNLOAD3=https://downloads.sourceforge.net/project/freepascal/Source/$VERSION/$PRGNAM-$VERSION.source.tar.gz } # Si el paquete no existe se descargara de internet F_download(){ - if [ ! -f $DOWNLOAD ]; then + if [ ! -f ${PRGNAM}-$VERSION.i386-linux.tar ]; then echo echo "$CYAN"Descargando sources de $PRGNAM-$VERSION"$CIERRE" sleep 2 - aria2c -x 3 $WEB/$VERSION/$DOWNLOAD + aria2c -x 3 $DOWNLOAD fi if [ ! -f ${PRGNAM}build-$VERSION.tar.gz ]; then echo diff --git a/Desarrollo/lazarus_updater b/Desarrollo/lazarus_updater index bf313e0..5054b27 100755 --- a/Desarrollo/lazarus_updater +++ b/Desarrollo/lazarus_updater @@ -2,7 +2,7 @@ # Script by www.seguridadwireless.net -SCRIPT_VERSION=20151102 +SCRIPT_VERSION=20160219 ############################################################ ## Funciones comunes. Su nombre empieza por f_ ## @@ -18,11 +18,12 @@ f_variables(){ F_variables() { PRGNAM=lazarus echo -ne "\033]2;${PRGNAM}_updater\007" - WEB=ftp://freepascal.dfmk.hu/pub/lazarus/releases/Lazarus%20Zip%20_%20GZip/ - VERSION=`curl -s $WEB | grep -v RC | grep Lazarus | tail -1 |rev|cut -d ' ' -f1|rev` + WEB=https://sourceforge.net/projects/lazarus/files/Lazarus%20Zip%20_%20GZip/ + RAMA=$(curl -s $WEB | grep -m1 "class=\"folder"|sed 's/ //g'|cut -d '"' -f2|sed 's/Lazarus//g') + VERSION=`curl -s ${WEB}Lazarus%20${RAMA}/|grep tar.gz|head -1|cut -d- -f2|sed 's/ //g'` EXTENSION=tar.gz SOURCES=$PRGNAM-$VERSION-0.$EXTENSION - DOWNLOAD=http://downloads.sourceforge.net/$PRGNAM/$SOURCES + DOWNLOAD="https://sourceforge.net/projects/$PRGNAM/files/Lazarus%20Zip%20_%20GZip/Lazarus%201.6/$SOURCES" } # Comprobar dependencias @@ -96,4 +97,4 @@ F_compilar #Hacemos strip sobre el paquete f_strip #Creamos xzm , instalamos y salimos -f_tareasFinales +f_tareasFinales \ No newline at end of file diff --git a/Multimedia/openshot_updater b/Multimedia/openshot_updater index 47a0408..bdd0668 100755 --- a/Multimedia/openshot_updater +++ b/Multimedia/openshot_updater @@ -2,7 +2,7 @@ # Script by www.seguridadwireless.net -SCRIPT_VERSION=20151024 +SCRIPT_VERSION=20160219 CATEGORIA="Editores de video" ############################################################ @@ -18,7 +18,8 @@ f_variables(){ # Definicion de variables F_variables() { WEB=http://www.openshot.org/download/ - VERSION=`curl -s $WEB | grep Version | head -1 | cut -d ">" -f2 | cut -d "<" -f-1 | sed "s/ //g"` + #VERSION=`curl -s $WEB | grep Version | head -1 | cut -d ">" -f2 | cut -d "<" -f-1 | sed "s/ //g"` + VERSION=1.4.3 RAMA=`echo $VERSION | cut -d "." -f-2` PRGNAM=openshot echo -ne "\033]2;${PRGNAM}_updater\007" diff --git a/Multimedia/qtractor_updater b/Multimedia/qtractor_updater index be5c658..12e5d97 100755 --- a/Multimedia/qtractor_updater +++ b/Multimedia/qtractor_updater @@ -2,7 +2,7 @@ # Script by www.seguridadwireless.net -SCRIPT_VERSION=20160211 +SCRIPT_VERSION=20160219 CATEGORIA="Editores de audio" ############################################################ @@ -19,11 +19,13 @@ f_variables(){ F_variables() { PRGNAM=qtractor echo -ne "\033]2;${PRGNAM}_updater\007" - WEB=https://sourceforge.net/projects/$PRGNAM/files/$PRGNAM/ - VERSION=`curl -s $WEB| grep [0-9]/$PRGNAM|head -1|cut -d- -f2|cut -d t -f-1|sed 's/.$//g'` + #WEB=https://sourceforge.net/projects/$PRGNAM/files/$PRGNAM/ + WEB=https://sourceforge.net/projects/qtractor/files/qtractor%20%28attic%29 + #VERSION=`curl -s $WEB| grep [0-9]/$PRGNAM|head -1|cut -d- -f2|cut -d t -f-1|sed 's/.$//g'` + VERSION=0.7.1 EXTENSION=tar.gz SOURCES=$PRGNAM-$VERSION.$EXTENSION - DOWNLOAD=${WEB}${VERSION}/$SOURCES + DOWNLOAD=${WEB}/$SOURCES } # Descomprimimos el fichero descargado y compilamos