# HG changeset patch # User Pascal Bellard # Date 1684569524 0 # Node ID 2b069c72d47e6da19b306696e51fe85d7f9f3bba # Parent 7303172dab0d3388179cf2c269e802dae36e5262 Add some current_version diff -r 7303172dab0d -r 2b069c72d47e alsa-ucm-conf/receipt --- a/alsa-ucm-conf/receipt Fri May 19 11:17:17 2023 +0000 +++ b/alsa-ucm-conf/receipt Sat May 20 07:58:44 2023 +0000 @@ -13,6 +13,13 @@ HOST_ARCH="any" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ + sed '/alsa-ucm-conf/!d;s|.*alsa-ucm-conf-||;s|.tar.*||' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 7303172dab0d -r 2b069c72d47e bin86/receipt --- a/bin86/receipt Fri May 19 11:17:17 2023 +0000 +++ b/bin86/receipt Sat May 20 07:58:44 2023 +0000 @@ -6,7 +6,7 @@ SHORT_DESC="A complete 8086 assembler and loader" MAINTAINER="slaxemulator@gmail.com" LICENSE="GPL2" -WEB_SITE="http://www.debath.co.uk/" +WEB_SITE="https://github.com/lkundrak/dev86/" WANTED="dev86" TAGS="assembler 8086" diff -r 7303172dab0d -r 2b069c72d47e broadcom-wl/receipt --- a/broadcom-wl/receipt Fri May 19 11:17:17 2023 +0000 +++ b/broadcom-wl/receipt Sat May 20 07:58:44 2023 +0000 @@ -14,6 +14,13 @@ DEPENDS="linux" BUILD_DEPENDS="linux-module-headers xz" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ + sed '/hybrid-portsrc_x86_32-v/!d;s|.*hybrid-portsrc_x86_32-v||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 7303172dab0d -r 2b069c72d47e broadcom-wl64/receipt --- a/broadcom-wl64/receipt Fri May 19 11:17:17 2023 +0000 +++ b/broadcom-wl64/receipt Sat May 20 07:58:44 2023 +0000 @@ -17,6 +17,13 @@ AUFS_NOT_RAMFS="uclibc-cross-compiler-x86_64 is not compatible with aufs+tmpfs 8(" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ + sed '/hybrid-portsrc_x86_32-v/!d;s|.*hybrid-portsrc_x86_32-v||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 7303172dab0d -r 2b069c72d47e dev86/receipt --- a/dev86/receipt Fri May 19 11:17:17 2023 +0000 +++ b/dev86/receipt Sat May 20 07:58:44 2023 +0000 @@ -7,7 +7,7 @@ MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://www.debath.co.uk/" +WEB_SITE="https://github.com/lkundrak/dev86/" WGET_URL="https://github.com/lkundrak/dev86/archive/v$VERSION.tar.gz" TAGS="compiler C assembler 8086" diff -r 7303172dab0d -r 2b069c72d47e e3/receipt --- a/e3/receipt Fri May 19 11:17:17 2023 +0000 +++ b/e3/receipt Sat May 20 07:58:44 2023 +0000 @@ -15,6 +15,13 @@ DEPENDS="" BUILD_DEPENDS="make nasm" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ + sed '/"e3-/!d;s|.*e3-||;s|.t.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 7303172dab0d -r 2b069c72d47e elksemu/receipt --- a/elksemu/receipt Fri May 19 11:17:17 2023 +0000 +++ b/elksemu/receipt Sat May 20 07:58:44 2023 +0000 @@ -6,7 +6,7 @@ SHORT_DESC="ELKS (linux-8086) binary format support" MAINTAINER="devel@slitaz.org" LICENSE="GPL2" -WEB_SITE="http://www.debath.co.uk/" +WEB_SITE="https://github.com/lkundrak/dev86/" WANTED="dev86" TAGS="virtual 8086 vm86" diff -r 7303172dab0d -r 2b069c72d47e enet/receipt --- a/enet/receipt Fri May 19 11:17:17 2023 +0000 +++ b/enet/receipt Sat May 20 07:58:44 2023 +0000 @@ -6,7 +6,7 @@ SHORT_DESC="A relatively thin, simple and robust network communication layer on top of UDP." MAINTAINER="devl547@gmail.com" LICENSE="MIT" -WEB_SITE="http://enet.bespin.org/" +WEB_SITE="https://github.com/lsalzman/enet/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="$WEB_SITE/download/$TARBALL" diff -r 7303172dab0d -r 2b069c72d47e funionfs/receipt --- a/funionfs/receipt Fri May 19 11:17:17 2023 +0000 +++ b/funionfs/receipt Sat May 20 07:58:44 2023 +0000 @@ -14,6 +14,13 @@ BUILD_DEPENDS="fuse2-dev" DEPENDS="fuse2" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ + sed '/orig/!d;s|.*funionfs_||;s|.orig.*||' +} + # Rules to configure and make the package. compile_rules() { diff -r 7303172dab0d -r 2b069c72d47e gkII/receipt --- a/gkII/receipt Fri May 19 11:17:17 2023 +0000 +++ b/gkII/receipt Sat May 20 07:58:44 2023 +0000 @@ -13,8 +13,14 @@ DEPENDS="gtk+" BUILD_DEPENDS="gtk+-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ + sed '/gkII/!d;s|.*gkII-||;s|.tar.*||' +} + # Rules to configure and make the package. -# compile_rules() { cd $src/src diff -r 7303172dab0d -r 2b069c72d47e lesspipe/receipt --- a/lesspipe/receipt Fri May 19 11:17:17 2023 +0000 +++ b/lesspipe/receipt Sat May 20 07:58:44 2023 +0000 @@ -17,6 +17,13 @@ HOST_ARCH="any" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { @@ -33,6 +40,7 @@ cook_copy_folders bin } +# Post install/remove commands for Tazpkg. post_install() { echo " diff -r 7303172dab0d -r 2b069c72d47e libmpdclient/receipt --- a/libmpdclient/receipt Fri May 19 11:17:17 2023 +0000 +++ b/libmpdclient/receipt Sat May 20 07:58:44 2023 +0000 @@ -6,24 +6,25 @@ SHORT_DESC="C & C++ API library for MPD." MAINTAINER="erjo@slitaz.org" LICENSE="BSD" -TARBALL="$PACKAGE-$VERSION.tar.xz" +TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://mpd.wikia.com/wiki/ClientLib:libmpdclient" -WGET_URL="https://www.musicpd.org/download/$PACKAGE/2/$TARBALL" +WGET_URL="https://github.com/MusicPlayerDaemon/libmpdclient/archive/refs/tags/v$VERSION.tar.gz" HOST_ARCH="i486 arm" DEPENDS="" +BUILD_DEPENDS="automake" # What is the latest version available today? current_version() { - wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ - sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { - cd $src + ./autogen.sh ./configure \ --disable-documentation \ $CONFIGURE_ARGS && @@ -36,4 +37,3 @@ mkdir -p $fs/usr/lib cp -a $install/usr/lib/*.so* $fs/usr/lib } - diff -r 7303172dab0d -r 2b069c72d47e linux-cloop/receipt --- a/linux-cloop/receipt Fri May 19 11:17:17 2023 +0000 +++ b/linux-cloop/receipt Sat May 20 07:58:44 2023 +0000 @@ -16,8 +16,14 @@ BUILD_DEPENDS="linux-module-headers xz" SUGGESTED="cloop-utils" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ + sed '/cloop_.*tar/!d;s|.*cloop_||;s|.tar.*||' +} + # Rules to configure and make the package. - compile_rules() { patch -p0 < $stuff/cloop.u @@ -37,6 +43,7 @@ done } +# Pre and post install commands for Tazpkg. post_install() { chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz diff -r 7303172dab0d -r 2b069c72d47e linux64-cloop/receipt --- a/linux64-cloop/receipt Fri May 19 11:17:17 2023 +0000 +++ b/linux64-cloop/receipt Sat May 20 07:58:44 2023 +0000 @@ -19,8 +19,14 @@ AUFS_NOT_RAMFS="uclibc-cross-compiler-x86_64 is not compatible with aufs+tmpfs 8(" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ + sed '/cloop_.*tar/!d;s|.*cloop_||;s|.tar.*||' +} + # Rules to configure and make the package. - compile_rules() { patch -p0 < $stuff/cloop.u @@ -40,6 +46,7 @@ done } +# Pre and post install commands for Tazpkg. post_install() { chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz64 diff -r 7303172dab0d -r 2b069c72d47e nted/receipt --- a/nted/receipt Fri May 19 11:17:17 2023 +0000 +++ b/nted/receipt Sat May 20 07:58:44 2023 +0000 @@ -16,6 +16,13 @@ DEPENDS="alsa-lib cairo gettext-base gtk+ harfbuzz" BUILD_DEPENDS="alsa-lib-dev cairo-dev gettext gtk+-dev harfbuzz-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/nted-/!d;s|.*nted-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 7303172dab0d -r 2b069c72d47e orpheus/receipt --- a/orpheus/receipt Fri May 19 11:17:17 2023 +0000 +++ b/orpheus/receipt Sat May 20 07:58:44 2023 +0000 @@ -15,6 +15,13 @@ DEPENDS="ncurses libvorbis libogg libxml2 zlib" BUILD_DEPENDS="autoconf automake libvorbis-dev libogg-dev ncurses-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed '/orpheus/!d;s|.*orpheus-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 7303172dab0d -r 2b069c72d47e php-auth-pam/receipt --- a/php-auth-pam/receipt Fri May 19 11:17:17 2023 +0000 +++ b/php-auth-pam/receipt Sat May 20 07:58:44 2023 +0000 @@ -13,6 +13,13 @@ DEPENDS="php-apache pam" BUILD_DEPENDS="php-dev pam pam-dev autoconf automake sed coreutils-conditions" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ + sed '/orig.tar.gz/!d;s|.*pam_||;s|.orig.*||;q' +} + # Rules to configure and make the package. compile_rules() { @@ -38,6 +45,7 @@ cp -a $install/usr/lib/php/extensions/*/*.so $fs/usr/share/php } +# Post install/remove commands for Tazpkg. post_install() { grep -q ^extension=pam_auth.so "$1/etc/php.ini" || \ diff -r 7303172dab0d -r 2b069c72d47e portmap/receipt --- a/portmap/receipt Fri May 19 11:17:17 2023 +0000 +++ b/portmap/receipt Sat May 20 07:58:44 2023 +0000 @@ -13,11 +13,16 @@ DEPENDS="libwrap" BUILD_DEPENDS="libwrap-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*/*}/ 2>/dev/null | \ + sed '/portmap-/!d;s|.*portmap-||;s|/.*||' +} + # rules to configure and make the package. compile_rules() { - cd $src - # Build # Disabling TCP_WRAPPER with NO_TCP_WRAPPER variable NO_TCP_WRAPPER=1 make @@ -35,7 +40,7 @@ install -g root -o root -m 0755 stuff/init.d/portmap $fs/etc/init.d } - +# Pre and post install commands for Tazpkg. post_install() { # Post message when installing. diff -r 7303172dab0d -r 2b069c72d47e py3k-pillow/receipt --- a/py3k-pillow/receipt Fri May 19 11:17:17 2023 +0000 +++ b/py3k-pillow/receipt Sat May 20 07:58:44 2023 +0000 @@ -15,6 +15,13 @@ DEPENDS="freetype jpeg py3k tk zlib" BUILD_DEPENDS="jpeg-dev py3k-dev zlib-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/python-pillow/Pillow/releases 2>/dev/null | \ + sed '/Pillow\/tree/!d;s|.*tree/||;s|".*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 7303172dab0d -r 2b069c72d47e tesseract-ocr-data/receipt --- a/tesseract-ocr-data/receipt Fri May 19 11:17:17 2023 +0000 +++ b/tesseract-ocr-data/receipt Sat May 20 07:58:44 2023 +0000 @@ -10,3 +10,10 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://github.com/tesseract-ocr/tessdata/archive/refs/tags/$VERSION.tar.gz" + +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} diff -r 7303172dab0d -r 2b069c72d47e transcode/receipt --- a/transcode/receipt Fri May 19 11:17:17 2023 +0000 +++ b/transcode/receipt Sat May 20 07:58:44 2023 +0000 @@ -15,6 +15,13 @@ BUILD_DEPENDS="ffmpeg-dev lame-dev libdvdread-dev jpeg-dev libvorbis-dev \ imagemagick-dev alsa-lib-dev xorg-libXv-dev libgnutls" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ + sed '/transcode-/!d;s|.*transcode-||;s|.tar.*||' +} + # Rules to configure and make the package. compile_rules() { diff -r 7303172dab0d -r 2b069c72d47e ttf-mgopen/receipt --- a/ttf-mgopen/receipt Fri May 19 11:17:17 2023 +0000 +++ b/ttf-mgopen/receipt Sat May 20 07:58:44 2023 +0000 @@ -11,6 +11,13 @@ WGET_URL="http://ftp.dei.uc.pt/pub/linux/gentoo/distfiles/79/mgopen-$VERSION.tar.gz" TAGS="font ttf" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ + sed '/mgopen-/!d;s|.*mgopen-||;s|.tar.*||' +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r 7303172dab0d -r 2b069c72d47e wordgrinder/receipt --- a/wordgrinder/receipt Fri May 19 11:17:17 2023 +0000 +++ b/wordgrinder/receipt Sat May 20 07:58:44 2023 +0000 @@ -14,6 +14,13 @@ DEPENDS="freetype lua ncursesw xorg-libXft" BUILD_DEPENDS="freetype-dev lua-dev ncursesw-dev ninja xorg-libXft-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ + sed '/WordGrinder/!d;s|.*Grinder ||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 7303172dab0d -r 2b069c72d47e xcursor-aero/receipt --- a/xcursor-aero/receipt Fri May 19 11:17:17 2023 +0000 +++ b/xcursor-aero/receipt Sat May 20 07:58:44 2023 +0000 @@ -1,6 +1,7 @@ # SliTaz package receipt. PACKAGE="xcursor-aero" +GITHASH="7234f9883d5d7ba2b79379b90ee99f3b1480a3b4" # 20190710 VERSION="0.2" CATEGORY="customization" SHORT_DESC="Aero cursor theme" @@ -8,12 +9,19 @@ LICENSE="GPL" WEB_SITE="https://www.gnome-look.org/p/999972/" TARBALL="$PACKAGE-$VERSION.tar.gz" -WGET_URL="https://github.com/Infinality/mouse-cursors/raw/master/aero.tar.gz" +WGET_URL="https://github.com/Infinality/mouse-cursors/raw/$GITHASH/aero.tar.gz" TAGS="cursor-theme" DEPENDS="xorg-libXcursor" BUILD_DEPENDS="" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/Infinality/mouse-cursors/commits/master 2>/dev/null | \ + sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() {