wok diff rsync/receipt @ rev 25463

Up expat (2.4.9) fixes CVE-2022-40674
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 29 20:05:23 2022 +0000 (20 months ago)
parents 1805f71c5d9f
children 6acd28d149b8
line diff
     1.1 --- a/rsync/receipt	Fri May 06 11:04:25 2022 +0000
     1.2 +++ b/rsync/receipt	Thu Sep 29 20:05:23 2022 +0000
     1.3 @@ -1,23 +1,25 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="rsync"
     1.7 -VERSION="3.2.3"
     1.8 +VERSION="3.2.4"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="Utility that provides fast incremental."
    1.11 +TAGS="sync copy secure"
    1.12 +SHORT_DESC="Utility that provides fast incremental file transfer."
    1.13  MAINTAINER="pankso@slitaz.org"
    1.14  LICENSE="GPL3"
    1.15 +WEB_SITE="https://rsync.samba.org/"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18 -WEB_SITE="https://rsync.samba.org/"
    1.19  WGET_URL="${WEB_SITE}ftp/rsync/src/$TARBALL"
    1.20 +
    1.21 +SUGGESTED="bash openssl"
    1.22 +DEPENDS="attr acl lz4-lib popt xxhash-lib zstd"
    1.23 +BUILD_DEPENDS="acl-dev attr-dev lz4-dev popt-dev xxhash-dev zstd-dev"
    1.24 +
    1.25  CONFIG_FILES="/etc/rsyncd.conf"
    1.26  SECRET_FILES="/etc/rsyncd.secrets"
    1.27 -TAGS="sync copy secure"
    1.28  HOST_ARCH="i486 arm"
    1.29  
    1.30 -DEPENDS="popt attr acl xxhash-lib lz4-lib zstd"
    1.31 -BUILD_DEPENDS="popt-dev attr-dev acl-dev xxhash-dev lz4-dev zstd-dev"
    1.32 -SUGGESTED="bash openssl"
    1.33 -
    1.34  # TazPanel
    1.35  TAZPANEL_DAEMON="man::rsync|help::rsync|edit|options|web::$WEB_SITE"
    1.36  
    1.37 @@ -30,32 +32,32 @@
    1.38  # Rules to configure and make the package.
    1.39  compile_rules()
    1.40  {
    1.41 -	./configure \
    1.42 -		--prefix=/usr \
    1.43 -		--mandir=/usr/share/man \
    1.44 -		--disable-iconv \
    1.45 -		--disable-iconv-open \
    1.46 -		--disable-openssl \
    1.47 +	./configure			\
    1.48 +		--prefix=/usr		\
    1.49 +		--mandir=/usr/share/man	\
    1.50 +		--disable-iconv		\
    1.51 +		--disable-iconv-open	\
    1.52 +		--disable-openssl	\
    1.53  		$CONFIGURE_ARGS
    1.54  	sed -i  -e 's/HAVE_ICONV_H ./HAVE_ICONV_H 0/' \
    1.55  		-e 's/HAVE_ICONV_OPEN ./HAVE_ICONV_OPEN 0/' config.h
    1.56 -	sed -i 's/-liconv//' Makefile
    1.57 +	sed -i 's/-liconv//'	Makefile
    1.58  	make &&
    1.59 -	make DESTDIR=$DESTDIR install
    1.60 +	make install DESTDIR=$DESTDIR
    1.61  }
    1.62  
    1.63  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.64  genpkg_rules()
    1.65  {
    1.66 -	mkdir -p $fs/usr
    1.67 -	cp -a $install/usr/bin $fs/usr
    1.68 -	# Config file is /etc/rsyncd.conf.
    1.69 -	# User and passwd in /etc/rsyncd.secrets, syntax : user:passwd
    1.70 +	cook_copy_folders	bin
    1.71 +
    1.72 +	# Configuration file is /etc/rsyncd.conf.
    1.73 +	# User and password in /etc/rsyncd.secrets, syntax : user:passwd
    1.74  	#
    1.75 -	cp -a $stuff/etc $fs
    1.76 -	cp -a $stuff/usr $fs
    1.77 -	chown root.root $fs/etc/init.d/*
    1.78 -	chmod 0644 $fs/etc/rsyncd.conf
    1.79 +	cp -a $stuff/etc	$fs
    1.80 +	cp -a $stuff/usr	$fs
    1.81 +	chown root.root		$fs/etc/init.d/*
    1.82 +	chmod 0644		$fs/etc/rsyncd.conf
    1.83  }
    1.84  
    1.85  post_install()
    1.86 @@ -70,5 +72,6 @@
    1.87  
    1.88  post_remove()
    1.89  {
    1.90 -	grep -q rsync "$1/etc/inetd.conf" && sed -i '/rsync/d' "$1/etc/inetd.conf"
    1.91 +	grep -q rsync		"$1/etc/inetd.conf" &&
    1.92 +	sed -i '/rsync/d'	"$1/etc/inetd.conf"
    1.93  }