wok-6.x rev 25287

updated rsync (3.2.3 -> 3.2.4)
author Hans-G?nter Theisgen
date Mon Jul 18 17:50:55 2022 +0100 (2022-07-18)
parents 51e40ddb3d8c
children 5caef8cf684f
files rsync/description.txt rsync/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/rsync/description.txt	Mon Jul 18 17:50:55 2022 +0100
     1.3 @@ -0,0 +1,6 @@
     1.4 +Rsync is a file transfer program for Unix systems.
     1.5 +Rsync uses the "rsync algorithm" which provides a very fast
     1.6 +method for bringing remote files into sync.
     1.7 +It does this by sending just the differences in the files
     1.8 +across the link, without requiring that both sets of files
     1.9 +are present at one of the ends of the link beforehand.
     2.1 --- a/rsync/receipt	Mon Jul 18 17:11:03 2022 +0100
     2.2 +++ b/rsync/receipt	Mon Jul 18 17:50:55 2022 +0100
     2.3 @@ -1,23 +1,25 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="rsync"
     2.7 -VERSION="3.2.3"
     2.8 +VERSION="3.2.4"
     2.9  CATEGORY="network"
    2.10 -SHORT_DESC="Utility that provides fast incremental."
    2.11 +TAGS="sync copy secure"
    2.12 +SHORT_DESC="Utility that provides fast incremental file transfer."
    2.13  MAINTAINER="pankso@slitaz.org"
    2.14  LICENSE="GPL3"
    2.15 +WEB_SITE="https://rsync.samba.org/"
    2.16 +
    2.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.18 -WEB_SITE="https://rsync.samba.org/"
    2.19  WGET_URL="${WEB_SITE}ftp/rsync/src/$TARBALL"
    2.20 +
    2.21 +SUGGESTED="bash openssl"
    2.22 +DEPENDS="attr acl lz4-lib popt xxhash-lib zstd"
    2.23 +BUILD_DEPENDS="acl-dev attr-dev lz4-dev popt-dev xxhash-dev zstd-dev"
    2.24 +
    2.25  CONFIG_FILES="/etc/rsyncd.conf"
    2.26  SECRET_FILES="/etc/rsyncd.secrets"
    2.27 -TAGS="sync copy secure"
    2.28  HOST_ARCH="i486 arm"
    2.29  
    2.30 -DEPENDS="popt attr acl xxhash-lib lz4-lib zstd"
    2.31 -BUILD_DEPENDS="popt-dev attr-dev acl-dev xxhash-dev lz4-dev zstd-dev"
    2.32 -SUGGESTED="bash openssl"
    2.33 -
    2.34  # TazPanel
    2.35  TAZPANEL_DAEMON="man::rsync|help::rsync|edit|options|web::$WEB_SITE"
    2.36  
    2.37 @@ -30,32 +32,32 @@
    2.38  # Rules to configure and make the package.
    2.39  compile_rules()
    2.40  {
    2.41 -	./configure \
    2.42 -		--prefix=/usr \
    2.43 -		--mandir=/usr/share/man \
    2.44 -		--disable-iconv \
    2.45 -		--disable-iconv-open \
    2.46 -		--disable-openssl \
    2.47 +	./configure			\
    2.48 +		--prefix=/usr		\
    2.49 +		--mandir=/usr/share/man	\
    2.50 +		--disable-iconv		\
    2.51 +		--disable-iconv-open	\
    2.52 +		--disable-openssl	\
    2.53  		$CONFIGURE_ARGS
    2.54  	sed -i  -e 's/HAVE_ICONV_H ./HAVE_ICONV_H 0/' \
    2.55  		-e 's/HAVE_ICONV_OPEN ./HAVE_ICONV_OPEN 0/' config.h
    2.56 -	sed -i 's/-liconv//' Makefile
    2.57 +	sed -i 's/-liconv//'	Makefile
    2.58  	make &&
    2.59 -	make DESTDIR=$DESTDIR install
    2.60 +	make install DESTDIR=$DESTDIR
    2.61  }
    2.62  
    2.63  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.64  genpkg_rules()
    2.65  {
    2.66 -	mkdir -p $fs/usr
    2.67 -	cp -a $install/usr/bin $fs/usr
    2.68 -	# Config file is /etc/rsyncd.conf.
    2.69 -	# User and passwd in /etc/rsyncd.secrets, syntax : user:passwd
    2.70 +	cook_copy_folders	bin
    2.71 +
    2.72 +	# Configuration file is /etc/rsyncd.conf.
    2.73 +	# User and password in /etc/rsyncd.secrets, syntax : user:passwd
    2.74  	#
    2.75 -	cp -a $stuff/etc $fs
    2.76 -	cp -a $stuff/usr $fs
    2.77 -	chown root.root $fs/etc/init.d/*
    2.78 -	chmod 0644 $fs/etc/rsyncd.conf
    2.79 +	cp -a $stuff/etc	$fs
    2.80 +	cp -a $stuff/usr	$fs
    2.81 +	chown root.root		$fs/etc/init.d/*
    2.82 +	chmod 0644		$fs/etc/rsyncd.conf
    2.83  }
    2.84  
    2.85  post_install()
    2.86 @@ -70,5 +72,6 @@
    2.87  
    2.88  post_remove()
    2.89  {
    2.90 -	grep -q rsync "$1/etc/inetd.conf" && sed -i '/rsync/d' "$1/etc/inetd.conf"
    2.91 +	grep -q rsync		"$1/etc/inetd.conf" &&
    2.92 +	sed -i '/rsync/d'	"$1/etc/inetd.conf"
    2.93  }