wok rev 25584

Update some web_site / wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jun 02 17:42:43 2023 +0000 (11 months ago)
parents ba642f310677
children 0ce13f3a8b96
files asterisk-sound-fr/receipt asterisk-sound/receipt cairo-clock/receipt dahdi-tools/receipt libpri/receipt perl-locale-gettext/receipt qutim/receipt xar/receipt
line diff
     1.1 --- a/asterisk-sound-fr/receipt	Wed May 31 16:56:53 2023 +0000
     1.2 +++ b/asterisk-sound-fr/receipt	Fri Jun 02 17:42:43 2023 +0000
     1.3 @@ -9,7 +9,7 @@
     1.4  WEB_SITE="https://www.asterisk.org/"
     1.5  
     1.6  TARBALL="asterisk-core-sounds-fr-gsm-$VERSION.tar.gz"
     1.7 -WGET_URL="http://downloads.asterisk.org/pub/telephony/sounds/releases/$TARBALL"
     1.8 +WGET_URL="https://downloads.asterisk.org/pub/telephony/sounds/releases/$TARBALL"
     1.9  
    1.10  DEPENDS="asterisk"
    1.11  
     2.1 --- a/asterisk-sound/receipt	Wed May 31 16:56:53 2023 +0000
     2.2 +++ b/asterisk-sound/receipt	Fri Jun 02 17:42:43 2023 +0000
     2.3 @@ -9,7 +9,7 @@
     2.4  WEB_SITE="https://www.asterisk.org/"
     2.5  
     2.6  TARBALL="asterisk-core-sounds-en-gsm-$VERSION.tar.gz"
     2.7 -WGET_URL="http://downloads.asterisk.org/pub/telephony/sounds/releases/$TARBALL"
     2.8 +WGET_URL="https://downloads.asterisk.org/pub/telephony/sounds/releases/$TARBALL"
     2.9  
    2.10  DEPENDS="asterisk"
    2.11  
     3.1 --- a/cairo-clock/receipt	Wed May 31 16:56:53 2023 +0000
     3.2 +++ b/cairo-clock/receipt	Fri Jun 02 17:42:43 2023 +0000
     3.3 @@ -9,7 +9,7 @@
     3.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     3.5  WEB_SITE="https://web.archive.org/web/20120101103112/http://macslow.thepimp.net:80/?page_id=23"
     3.6  #WGET_URL="http://macslow.thepimp.net/projects/cairo-clock/$TARBALL"
     3.7 -WGET_URL="http://ftp.de.debian.org/debian/pool/main/c/$PACKAGE/${PACKAGE}_$VERSION.orig.tar.gz"
     3.8 +WGET_URL="http://archive.ubuntu.com/ubuntu/ubuntu/pool/universe/c/$PACKAGE/${PACKAGE}_$VERSION.orig.tar.gz"
     3.9  
    3.10  DEPENDS="gtk+ cairo librsvg xorg-xcompmgr libglade libgsf"
    3.11  BUILD_DEPENDS="intltool gtk+ cairo-dev librsvg-dev libglade-dev libgsf-dev \
     4.1 --- a/dahdi-tools/receipt	Wed May 31 16:56:53 2023 +0000
     4.2 +++ b/dahdi-tools/receipt	Fri Jun 02 17:42:43 2023 +0000
     4.3 @@ -8,7 +8,7 @@
     4.4  LICENSE="GPL2"
     4.5  TARBALL="$PACKAGE-$VERSION.tar.gz"
     4.6  WEB_SITE="https://www.asterisk.org/"
     4.7 -WGET_URL="http://downloads.asterisk.org/pub/telephony/$PACKAGE/releases/$TARBALL"
     4.8 +WGET_URL="https://downloads.asterisk.org/pub/telephony/$PACKAGE/releases/$TARBALL"
     4.9  CONFIG_FILES="/etc/dahdi/"
    4.10  
    4.11  DEPENDS="libusb-compat newt libpri dahdi-perl"
     5.1 --- a/libpri/receipt	Wed May 31 16:56:53 2023 +0000
     5.2 +++ b/libpri/receipt	Fri Jun 02 17:42:43 2023 +0000
     5.3 @@ -9,7 +9,7 @@
     5.4  WEB_SITE="https://www.asterisk.org/"
     5.5  
     5.6  TARBALL="$PACKAGE-$VERSION.tar.gz"
     5.7 -WGET_URL="http://downloads.asterisk.org/pub/telephony/libpri/$TARBALL"
     5.8 +WGET_URL="https://downloads.asterisk.org/pub/telephony/libpri/$TARBALL"
     5.9  
    5.10  BUILD_DEPENDS="dahdi-dev dahdi-linux-dev"
    5.11  
     6.1 --- a/perl-locale-gettext/receipt	Wed May 31 16:56:53 2023 +0000
     6.2 +++ b/perl-locale-gettext/receipt	Fri Jun 02 17:42:43 2023 +0000
     6.3 @@ -6,7 +6,7 @@
     6.4  SHORT_DESC="Permits access from Perl to the gettext() family of functions."
     6.5  MAINTAINER="slaxemulator@gmail.com"
     6.6  LICENSE="GPL"
     6.7 -WEB_SITE="https://metacpan.org/release/gettext/"
     6.8 +WEB_SITE="https://metacpan.org/dist/Locale-gettext"
     6.9  
    6.10  SOURCE="gettext"
    6.11  TARBALL="$SOURCE-$VERSION.tar.gz"
    6.12 @@ -15,6 +15,7 @@
    6.13  DEPENDS="gettext-base perl"
    6.14  BUILD_DEPENDS="$DEPENDS"
    6.15  
    6.16 +# What is the latest version available today?
    6.17  current_version()
    6.18  {
    6.19  	wget -O - $WEB_SITE 2>/dev/null | \
     7.1 --- a/qutim/receipt	Wed May 31 16:56:53 2023 +0000
     7.2 +++ b/qutim/receipt	Fri Jun 02 17:42:43 2023 +0000
     7.3 @@ -6,17 +6,18 @@
     7.4  SHORT_DESC="Multiprotocol IM, written in qt4"
     7.5  MAINTAINER="devl547@gmail.com"
     7.6  LICENSE="GPL LGPL CC-BY"
     7.7 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
     7.8 -WEB_SITE="http://qutim.org"
     7.9 -WGET_URL="$WEB_SITE/dwnl/40/$TARBALL"
    7.10 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    7.11 +WEB_SITE="https://web.archive.org/web/20230329042857/http://qutim.org/"
    7.12 +WGET_URL="https://github.com/euroelessar/qutim/archive/refs/tags/v$VERSION.tar.gz"
    7.13  
    7.14  DEPENDS="qt4 qca qt4-phonon xorg-libXss libjreen Qt4-qca-ossl"
    7.15 -BUILD_DEPENDS="Qt4-dev qmake cmake qca-dev xorg-libXss-dev dbus-dev libjreen-dev mesa-dev"
    7.16 +BUILD_DEPENDS="Qt4-dev qmake cmake qca-dev xorg-libXss-dev dbus-dev libjreen-dev mesa-dev libpurple-dev"
    7.17  
    7.18 +# What is the latest version available today?
    7.19  current_version()
    7.20  {
    7.21 -	wget -O - $WEB_SITE/download 2>/dev/null | \
    7.22 -	sed "/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
    7.23 +	wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
    7.24 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
    7.25  }
    7.26  
    7.27  # Rules to configure and make the package.
     8.1 --- a/xar/receipt	Wed May 31 16:56:53 2023 +0000
     8.2 +++ b/xar/receipt	Fri Jun 02 17:42:43 2023 +0000
     8.3 @@ -9,11 +9,12 @@
     8.4  WEB_SITE="https://mackyle.github.io/xar/"
     8.5  
     8.6  TARBALL="$PACKAGE-$VERSION.tar.gz"
     8.7 -WGET_URL="https://github.com/downloads/mackyle/xar/$TARBALL"
     8.8 +WGET_URL="https://github.com/mackyle/xar/archive/refs/tags/$TARBALL"
     8.9  
    8.10  DEPENDS="acl attr bzlib glibc-base libcrypto liblzma libxml2 zlib"
    8.11 -BUILD_DEPENDS="bzip2-dev liblzma-dev openssl-dev zlib-dev"
    8.12 +BUILD_DEPENDS="bzip2-dev liblzma-dev openssl-dev zlib-dev automake"
    8.13  
    8.14 +# What is the latest version available today?
    8.15  current_version()
    8.16  {
    8.17  	wget -O - https://github.com/mackyle/xar/tags 2>/dev/null | \
    8.18 @@ -23,6 +24,11 @@
    8.19  # Rules to configure and make the package.
    8.20  compile_rules()
    8.21  {
    8.22 +	cd xar
    8.23 +	sed -e 's|.*EXT2_ECOMPR_FL)|#ifdef EXT2_ECOMPR_FL\n&|;s|EXT2_ECOMPR_FL .*|&\n#endif|' \
    8.24 +	    -e 's|.*CompError",|#ifdef EXT2_ECOMPR_FL\n&|;s|CompError").*|&\n#endif|' \
    8.25 +	    -i lib/ext2.c
    8.26 +	./autogen.sh &&
    8.27  	./configure $CONFIGURE_ARGS &&
    8.28  	make &&
    8.29  	make install