wok rev 25815

Update clonezilla, partclone, drbl and fix screen build
author Stanislas Leduc <shann@slitaz.org>
date Fri Feb 28 15:30:22 2025 +0100 (3 months ago)
parents fe989cf33f73
children 194c0a50fe72
files clonezilla/receipt drbl/receipt partclone/receipt screen/receipt
line diff
     1.1 --- a/clonezilla/receipt	Thu Feb 20 10:58:47 2025 +0100
     1.2 +++ b/clonezilla/receipt	Fri Feb 28 15:30:22 2025 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="clonezilla"
     1.7 -VERSION="3.27.16"
     1.8 +VERSION="5.6.13"
     1.9  CATEGORY="misc"
    1.10  SHORT_DESC="The Free and Open Source Software for Disk Imaging and Cloning"
    1.11  MAINTAINER="shann@slitaz.org"
    1.12 @@ -9,13 +9,20 @@
    1.13  WEB_SITE="https://clonezilla.org"
    1.14  
    1.15  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.16 -WGET_URL="https://free.nchc.org.tw/drbl-core/old/src/$TARBALL"
    1.17 +#WGET_URL="https://free.nchc.org.tw/drbl-core/old/src/$TARBALL"
    1.18 +WGET_URL="https://free.nchc.org.tw/drbl-core/src/stable/$TARBALL"
    1.19  
    1.20  DEPENDS="bash drbl partclone ntfsprogs ntfs-3g partimage sshfs-fuse \
    1.21 -screen dosfslabel gptfdisk coreutils-multicall util-linux-setterm \
    1.22 -util-linux-sfdisk parted"
    1.23 +coreutils-command coreutils-conditions coreutils-context-system \
    1.24 +coreutils-context-working coreutils-directory coreutils-disk \
    1.25 +coreutils-file-attributes coreutils-file-output-full \
    1.26 +coreutils-file-special coreutils-operations coreutils-print \
    1.27 +coreutils-redirection screen gptfdisk util-linux-sfdisk \
    1.28 +util-linux-setterm parted"
    1.29  BUILD_DEPENDS=""
    1.30  
    1.31 +HOST_ARCH="i486 x86_64"
    1.32 +
    1.33  # What is the latest version available today?
    1.34  current_version()
    1.35  {
     2.1 --- a/drbl/receipt	Thu Feb 20 10:58:47 2025 +0100
     2.2 +++ b/drbl/receipt	Fri Feb 28 15:30:22 2025 +0100
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="drbl"
     2.7 -VERSION="2.25.10"
     2.8 +VERSION="5.3.2"
     2.9  CATEGORY="misc"
    2.10  SHORT_DESC="Diskless Remote Boot in Linux"
    2.11  MAINTAINER="shann@slitaz.org"
    2.12 @@ -9,19 +9,20 @@
    2.13  WEB_SITE="https://drbl.org/"
    2.14  
    2.15  TARBALL="$PACKAGE-$VERSION.tar.xz"
    2.16 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    2.17 +WGET_URL="http://free.nchc.org.tw/$PACKAGE-core/src/stable/$TARBALL"
    2.18  
    2.19 -DEPENDS="bash bc dialog disktype dmidecode e2fsprogs ethtool expect \
    2.20 +DEPENDS="bash bc binutils dialog disktype dmidecode e2fsprogs ethtool expect \
    2.21  file gnu-netcat lzop memtest mtools openssh parted partimage perl pigz procps \
    2.22 -reiserfsprogs rsync strace tcpdump syslinux systemd udpcast"
    2.23 +reiserfsprogs rsync strace tcpdump syslinux udpcast"
    2.24  BUILD_DEPENDS=""
    2.25  
    2.26 +HOST_ARCH="i486 x86_64"
    2.27 +
    2.28  # What is the latest version available today?
    2.29  current_version()
    2.30  {
    2.31 -	wget -O - https://sourceforge.net/projects/drbl/files/drbl_stable/ 2>/dev/null | \
    2.32 -	sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
    2.33 -	sed '/scope="row/!d;s|.*/drbl-||;s|-.*||;q'
    2.34 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
    2.35 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
    2.36  }
    2.37  
    2.38  # Rules to configure and make the package.
    2.39 @@ -35,9 +36,8 @@
    2.40  {
    2.41  	cp -a $install/* $fs/
    2.42  
    2.43 -	# Fix UTF-8 locales
    2.44 -	lang_path="/usr/share/drbl/lang/bash"
    2.45 -	for lang in $(ls $fs/$lang_path | grep -v "UTF-8" | grep -v "check-bash-lang"); do
    2.46 -		ln -sf $lang $fs/$lang_path/$lang.UTF-8
    2.47 +	# Fix miss UTF-8 locale
    2.48 +	for lang in $(ls $fs/usr/share/drbl/lang/bash |grep -Ev 'check-bash-lang|UTF-8'); do
    2.49 +	    ln -s $lang $fs/usr/share/drbl/lang/bash/$lang.UTF-8
    2.50  	done
    2.51  }
     3.1 --- a/partclone/receipt	Thu Feb 20 10:58:47 2025 +0100
     3.2 +++ b/partclone/receipt	Fri Feb 28 15:30:22 2025 +0100
     3.3 @@ -1,19 +1,21 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="partclone"
     3.7 -VERSION="0.2.70"
     3.8 +VERSION="0.3.32"
     3.9  CATEGORY="system-tools"
    3.10  SHORT_DESC="Utilities to smartly backup partitions."
    3.11  MAINTAINER="erjo@slitaz.org"
    3.12  LICENSE="GPL2"
    3.13  WEB_SITE="https://partclone.org/"
    3.14  TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.15 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    3.16 +WGET_URL="https://github.com/Thomas-Tsai/partclone/archive/refs/tags/$VERSION.tar.gz"
    3.17  TAGS="backup"
    3.18  
    3.19  DEPENDS="ncursesw ntfs-3g e2fsprogs"
    3.20  BUILD_DEPENDS="util-linux-blkid-dev util-linux-uuid-dev libxslt e2fsprogs-dev \
    3.21 - ncursesw-dev ntfsprogs-dev ntfs-3g-dev docbook-xsl"
    3.22 +ncursesw-dev ntfsprogs-dev ntfs-3g-dev docbook-xsl automake libtool openssl-dev"
    3.23 +
    3.24 +HOST_ARCH="i486 x86_64"
    3.25  
    3.26  # What is the latest version available today?
    3.27  current_version()
    3.28 @@ -25,6 +27,13 @@
    3.29  # Rules to configure and make the package.
    3.30  compile_rules()
    3.31  {
    3.32 +
    3.33 +	# Workaround to build thanks aleksej
    3.34 +	# see https://forum.slitaz.org/topic/parclone-needs-to-be-rebuilded
    3.35 +	export RPM_ARCH=$ARCH
    3.36 +	sed -i 's|exit 1|exit 0|' fail-mbr/compile-mbr.sh
    3.37 +
    3.38 +	./autogen &&
    3.39  	./configure LDFLAGS="$LDFLAGS -lcom_err" $CONFIGURE_ARGS \
    3.40  		--enable-extfs \
    3.41  		--enable-fat \
     4.1 --- a/screen/receipt	Thu Feb 20 10:58:47 2025 +0100
     4.2 +++ b/screen/receipt	Fri Feb 28 15:30:22 2025 +0100
     4.3 @@ -14,8 +14,7 @@
     4.4  CONFIG_FILES="/etc/screenrc"
     4.5  
     4.6  SUGGESTED="screen-terminfo"
     4.7 -DEPENDS="elfutils"
     4.8 -BUILD_DEPENDS="automake ncursesw-extra texinfo"
     4.9 +BUILD_DEPENDS="automake ncursesw-dev ncursesw-extra texinfo"
    4.10  
    4.11  # What is the latest version available today?
    4.12  current_version()