wok rev 24093
Up squashfs (4.5)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 27 16:57:54 2021 +0000 (2021-07-27) |
parents | 01737061adb0 |
children | 46dcc80bef41 |
files | 0install/receipt GConf/receipt Geomyidae/receipt ORBit2/receipt PyQt-x11-gpl/receipt R/receipt TeXmacs/receipt TiMidity++/receipt Xdialog/receipt btrfs-progs/receipt glib/receipt kbd/receipt mtd-utils/receipt scrounge-ntfs/receipt squashfs/receipt syslinux/stuff/iso2exe/taziso testdisk/receipt |
line diff
1.1 --- a/0install/receipt Sun Jul 18 13:15:53 2021 +0000 1.2 +++ b/0install/receipt Tue Jul 27 16:57:54 2021 +0000 1.3 @@ -14,6 +14,12 @@ 1.4 DEPENDS="pygtk xdg-utils" 1.5 BUILD_DEPENDS="python pygobject" 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - https://github.com/0install/0install/releases 2>/dev/null | \ 1.10 + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' 1.11 +} 1.12 + 1.13 # Rules to configure and make the package. 1.14 compile_rules() 1.15 {
2.1 --- a/GConf/receipt Sun Jul 18 13:15:53 2021 +0000 2.2 +++ b/GConf/receipt Tue Jul 27 16:57:54 2021 +0000 2.3 @@ -18,6 +18,12 @@ 2.4 BUILD_DEPENDS="dbus-dev dbus-glib-dev gettext gobject-introspection-dev intltool 2.5 libcomerr3 libcrypto libxml2-dev ORBit2-dev polkit-dev" 2.6 2.7 +current_version() 2.8 +{ 2.9 + wget -O - $(dirname $WGET_URL) 2>/dev/null | sed '/LATEST/!d;s|.*IS-||;s|<.*||' 2.10 +} 2.11 + 2.12 +# Handle cross comilation. Use host Perl, Python, etc 2.13 # Rules to configure and make the package. 2.14 compile_rules() 2.15 {
3.1 --- a/Geomyidae/receipt Sun Jul 18 13:15:53 2021 +0000 3.2 +++ b/Geomyidae/receipt Tue Jul 27 16:57:54 2021 +0000 3.3 @@ -13,6 +13,12 @@ 3.4 #WGET_URL="${WEB_SITE}src/$PACKAGE/$TARBALL" 3.5 WGET_URL="ftp://bitreich.org/releases/$SOURCE/$TARBALL" 3.6 3.7 +current_version() 3.8 +{ 3.9 + wget -O - http://r-36.net/scm/geomyidae/refs.html | \ 3.10 + cat X | sed '/<td>/!d;s|.*v||;s|<.*||' | sed '$!d' 3.11 +} 3.12 + 3.13 # Rules to configure and make the package. 3.14 compile_rules() 3.15 {
4.1 --- a/ORBit2/receipt Sun Jul 18 13:15:53 2021 +0000 4.2 +++ b/ORBit2/receipt Tue Jul 27 16:57:54 2021 +0000 4.3 @@ -8,12 +8,17 @@ 4.4 LICENSE="GPL2" 4.5 TARBALL="$PACKAGE-$VERSION.tar.bz2" 4.6 WEB_SITE="https://www.gnome.org/" 4.7 -WGET_URL="ftp://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL" 4.8 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" 4.9 CROSS="bug: Could not check for borked linking while cross-compiling" 4.10 4.11 DEPENDS="glib libIDL dbus dbus-glib" 4.12 BUILD_DEPENDS="glib-dev dbus-dev dbus-glib-dev libIDL pkg-config" 4.13 4.14 +current_version() 4.15 +{ 4.16 + wget -O - $(dirname $WGET_URL) 2>/dev/null | sed '/LATEST/!d;s|.*IS-||;s|<.*||' 4.17 +} 4.18 + 4.19 # Rules to configure and make the package. 4.20 compile_rules() 4.21 {
5.1 --- a/PyQt-x11-gpl/receipt Sun Jul 18 13:15:53 2021 +0000 5.2 +++ b/PyQt-x11-gpl/receipt Tue Jul 27 16:57:54 2021 +0000 5.3 @@ -16,6 +16,12 @@ 5.4 libQtDBus libQtClucene sip gcc-lib-base dbus" 5.5 BUILD_DEPENDS="python-dev sip-dev Qt4-dev qmake" 5.6 5.7 +current_version() 5.8 +{ 5.9 + wget -O - https://riverbankcomputing.com/software/pyqt/download 2>/dev/null | \ 5.10 + sed "/$SOURCE/!d;s|.*$SOURCE-||;s|.tar.*||;q" 5.11 +} 5.12 + 5.13 # Rules to configure and make the package. 5.14 compile_rules() 5.15 {
6.1 --- a/R/receipt Sun Jul 18 13:15:53 2021 +0000 6.2 +++ b/R/receipt Tue Jul 27 16:57:54 2021 +0000 6.3 @@ -15,6 +15,12 @@ 6.4 midori pcre readline" 6.5 BUILD_DEPENDS="bzip2-dev curl-dev gfortran liblzma-dev pcre-dev readline-dev" 6.6 6.7 +current_version() 6.8 +{ 6.9 + wget -O - $WEB_SITE 2>/dev/null | \ 6.10 + sed '/released on/!d;s|.*version ||;s| (.*||;q' 6.11 +} 6.12 + 6.13 # Rules to configure and make the package. 6.14 compile_rules() 6.15 {
7.1 --- a/TeXmacs/receipt Sun Jul 18 13:15:53 2021 +0000 7.2 +++ b/TeXmacs/receipt Tue Jul 27 16:57:54 2021 +0000 7.3 @@ -14,6 +14,12 @@ 7.4 # freetype and TeXmacs-windows-fonts avoid depending on TeX which is a *huge* system 7.5 BUILD_DEPENDS="xorg-libX11-dev gmp-dev guile-dev freetype-dev imlib2-dev" 7.6 7.7 +current_version() 7.8 +{ 7.9 + wget -O - http://ftp.texmacs.org/pub/$PACKAGE/targz/ 2>/dev/null | \ 7.10 + sed "/src.tar/!d;s|.*$PACKAGE-\\(.*\\).src.*\".*|\\1|" | sort -Vr | sed q 7.11 +} 7.12 + 7.13 # Rules to configure and make the package. 7.14 compile_rules() 7.15 {
8.1 --- a/TiMidity++/receipt Sun Jul 18 13:15:53 2021 +0000 8.2 +++ b/TiMidity++/receipt Tue Jul 27 16:57:54 2021 +0000 8.3 @@ -16,6 +16,12 @@ 8.4 BUILD_DEPENDS="alsa-lib-dev flac-dev gtk+-dev jack-audio-connection-kit-dev \ 8.5 libao-dev libogg-dev libvorbis-dev portaudio-dev xorg-libXaw3d-dev" 8.6 8.7 +current_version() 8.8 +{ 8.9 + wget -O - $WEB_SITE/files/ 2>/dev/null | sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | \ 8.10 + xargs wget -O - 2>/dev/null | sed "/${PACKAGE}-/!d;s|.*${PACKAGE}-\\([0-9\\.]*\\)*\".*|\\1|" | sed '/^[0-9]/!d;q' 8.11 +} 8.12 + 8.13 # Rules to configure and make the package. 8.14 compile_rules() 8.15 {
9.1 --- a/Xdialog/receipt Sun Jul 18 13:15:53 2021 +0000 9.2 +++ b/Xdialog/receipt Tue Jul 27 16:57:54 2021 +0000 9.3 @@ -16,6 +16,11 @@ 9.4 xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender" 9.5 BUILD_DEPENDS="autoconf automake m4 gettext gtk+-dev" 9.6 9.7 +current_version() 9.8 +{ 9.9 + wget -O - $WEB_SITE 2>/dev/null | \ 9.10 + sed '/current release is/!d;s|.*v||;s|. .*||' 9.11 +} 9.12 # Rules to configure and make the package. 9.13 compile_rules() 9.14 {
10.1 --- a/btrfs-progs/receipt Sun Jul 18 13:15:53 2021 +0000 10.2 +++ b/btrfs-progs/receipt Tue Jul 27 16:57:54 2021 +0000 10.3 @@ -18,6 +18,12 @@ 10.4 lzo-dev py3k-dev util-linux-blkid-dev util-linux-uuid-dev 10.5 zlib-dev zstd-dev" 10.6 10.7 +current_version() 10.8 +{ 10.9 + wget -O - https://github.com/kdave/btrfs-progs/releases 2>/dev/null | \ 10.10 + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' 10.11 +} 10.12 + 10.13 # Rules to configure and make the package. 10.14 compile_rules() 10.15 {
11.1 --- a/glib/receipt Sun Jul 18 13:15:53 2021 +0000 11.2 +++ b/glib/receipt Tue Jul 27 16:57:54 2021 +0000 11.3 @@ -8,24 +8,24 @@ 11.4 LICENSE="GPL2" 11.5 TARBALL="$PACKAGE-$VERSION.tar.xz" 11.6 WEB_SITE="https://www.gtk.org/" 11.7 -WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL" 11.8 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" 11.9 HOST_ARCH="i486 arm" 11.10 11.11 DEPENDS="pcre libffi libxml2 elfutils" 11.12 BUILD_DEPENDS="pcre-dev libffi-dev gettext zlib-dev perl python-dev \ 11.13 elfutils-dev libxml2-dev libxml2-tools automake" 11.14 11.15 -current_version() 11.16 -{ 11.17 - wget -O - $(dirname $WGET_URL) 2>/dev/null | sed '/LATEST/!d;s|.*IS-||;s|<.*||' 11.18 -} 11.19 - 11.20 # Handle cross comilation. Use host Perl, Python, etc 11.21 case "$ARCH" in 11.22 arm*) 11.23 BUILD_DEPENDS="pcre-dev libffi-dev zlib-dev elfutils-dev libxml2-dev" ;; 11.24 esac 11.25 11.26 +current_version() 11.27 +{ 11.28 + wget -O - $(dirname $WGET_URL) 2>/dev/null | sed '/LATEST/!d;s|.*IS-||;s|<.*||' 11.29 +} 11.30 + 11.31 # Rules to configure and make the package. 11.32 compile_rules() 11.33 {
12.1 --- a/kbd/receipt Sun Jul 18 13:15:53 2021 +0000 12.2 +++ b/kbd/receipt Tue Jul 27 16:57:54 2021 +0000 12.3 @@ -22,6 +22,12 @@ 12.4 arm) BUILD_DEPENDS="check-dev flex" ;; 12.5 esac 12.6 12.7 +current_version() 12.8 +{ 12.9 + wget -O - https://github.com/legionus/kbd/releases 2>/dev/null | \ 12.10 + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' 12.11 +} 12.12 + 12.13 # Rules to configure and make the package. 12.14 compile_rules() 12.15 {
13.1 --- a/mtd-utils/receipt Sun Jul 18 13:15:53 2021 +0000 13.2 +++ b/mtd-utils/receipt Tue Jul 27 16:57:54 2021 +0000 13.3 @@ -14,6 +14,12 @@ 13.4 DEPENDS="lzo util-linux-uuid zlib" 13.5 BUILD_DEPENDS="acl-dev file lzo-dev openssl-dev util-linux-uuid-dev zlib-dev" 13.6 13.7 +current_version() 13.8 +{ 13.9 + wget -O - http://git.infradead.org/mtd-utils.git 2> /dev/null | \ 13.10 + sed '/mtd-utils.git\/tag\//!d;s|.*mtd-utils-||;s|<.*||;q' 13.11 +} 13.12 + 13.13 # Rules to configure and make the package. 13.14 compile_rules() 13.15 {
14.1 --- a/scrounge-ntfs/receipt Sun Jul 18 13:15:53 2021 +0000 14.2 +++ b/scrounge-ntfs/receipt Tue Jul 27 16:57:54 2021 +0000 14.3 @@ -13,6 +13,12 @@ 14.4 DEPENDS="" 14.5 BUILD_DEPENDS="" 14.6 14.7 +current_version() 14.8 +{ 14.9 + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ 14.10 + sed "/tar.gz/!d;s|.*$PACKAGE-||;s|.tar.*||;q" 14.11 +} 14.12 + 14.13 # Rules to configure and make the package. 14.14 compile_rules() 14.15 {
15.1 --- a/squashfs/receipt Sun Jul 18 13:15:53 2021 +0000 15.2 +++ b/squashfs/receipt Tue Jul 27 16:57:54 2021 +0000 15.3 @@ -1,7 +1,7 @@ 15.4 # SliTaz package receipt. 15.5 15.6 PACKAGE="squashfs" 15.7 -VERSION="4.4" 15.8 +VERSION="4.5" 15.9 CATEGORY="base-system" 15.10 SHORT_DESC="Linux squashfs userland tools." 15.11 MAINTAINER="pascal.bellard@slitaz.org" 15.12 @@ -11,8 +11,8 @@ 15.13 TARBALL="$PACKAGE-$VERSION.tar.gz" 15.14 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" 15.15 15.16 -DEPENDS="liblzma linux-squashfs lz4-lib lzo zlib" 15.17 -BUILD_DEPENDS="attr-dev liblzma-dev lz4-dev lzo-dev zlib-dev" 15.18 +DEPENDS="liblzma linux-squashfs lz4-lib lzo zlib zstd" 15.19 +BUILD_DEPENDS="attr-dev liblzma-dev lz4-dev lzo-dev zlib-dev zstd-dev" 15.20 15.21 current_version() 15.22 { 15.23 @@ -24,13 +24,9 @@ 15.24 compile_rules() 15.25 { 15.26 cd $src/squashfs-tools 15.27 - # 4.3 15.28 -# sed -i -e 's/int file_size/off_t file_size/' \ 15.29 -# -e 's/source_path.index ++./strdup(&)/' mksquashfs.c 15.30 -# sed -i -e 's/~S_IFMT/S_IFMT/' -e 's/MOVE_ACTION, -2/MOVE_ACTION, 1/' action.c 15.31 15.32 sed -i -e 's/~S_IFMT/S_IFMT/' action.c 15.33 - for i in XZ LZMA_XZ LZO LZ4 15.34 + for i in XZ LZMA_XZ LZO LZ4 ZSTD 15.35 do 15.36 sed -i "s|^#\\(${i}_SUPPORT = 1\\)|\\1|g" Makefile 15.37 done 15.38 @@ -51,7 +47,9 @@ 15.39 15.40 cp -a $install/usr $fs 15.41 cp -a $install/sbin $fs 15.42 + ln -s mksquashfs $fs/usr/sbin/sqfstar 15.43 + ln -s unsquashfs $fs/sbin/sqfscat 15.44 cp $src/README* $install/usr/share/doc 15.45 - cp $src/[CP]* $install/usr/share/doc 15.46 -# cp $src/*example $install/usr/share/doc # 4.3 15.47 + cp $src/A*README* $install/usr/share/doc 15.48 + cp $src/[CPU]* $install/usr/share/doc 15.49 }
16.1 --- a/syslinux/stuff/iso2exe/taziso Sun Jul 18 13:15:53 2021 +0000 16.2 +++ b/syslinux/stuff/iso2exe/taziso Tue Jul 27 16:57:54 2021 +0000 16.3 @@ -1525,9 +1525,10 @@ 16.4 n=1; i=0; r=0 16.5 set -- $len 16.6 ls fd$$* | while read file ; do 16.7 - if [ $i -gt $(($1+$base)) ]; then 16.8 + if [ $i -ge $(($1+$base)) ]; then 16.9 + base=$(($1+$base-$i)) 16.10 shift 16.11 - r=$(($r+100)); n=0; i=0; base=0 16.12 + r=$(($r+100)); n=0; i=0 16.13 fi 16.14 ddq of=$file bs=18k seek=80 count=0 16.15 i=$(($i+1474560))
17.1 --- a/testdisk/receipt Sun Jul 18 13:15:53 2021 +0000 17.2 +++ b/testdisk/receipt Tue Jul 27 16:57:54 2021 +0000 17.3 @@ -18,6 +18,12 @@ 17.4 DEPENDS="e2fsprogs jpeg krb5 libcomerr3 ncurses ncursesw ntfs-3g ntfsprogs zlib" 17.5 BUILD_DEPENDS="e2fsprogs-dev jpeg-dev ncurses-dev ntfs-3g-dev ntfsprogs-dev" 17.6 17.7 +current_version() 17.8 +{ 17.9 + wget -O - $WEB_SITE 2>/dev/null | \ 17.10 + sed '/Download/!d;/^<a /!d;s|.*<b>||;s|</.*||' 17.11 +} 17.12 + 17.13 # Rules to configure and make the package. 17.14 compile_rules() 17.15 {