Commit Graph

37 Commits

Author SHA1 Message Date
Maxim Storchak 8951378aec rsync: support xxhash and lz4
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2024-04-19 21:51:40 +08:00
John Audia 4e770bf887 rsync: update to 3.3.0
Changelog: https://download.samba.org/pub/rsync/NEWS#3.3.0

$ rsync --version
rsync  version 3.3.0  protocol version 31
Copyright (C) 1996-2024 by Andrew Tridgell, Wayne Davison, and others.
Web site: https://rsync.samba.org/
Capabilities:
    64-bit files, 64-bit inums, 64-bit timestamps, 64-bit long ints,
    no socketpairs, symlinks, symtimes, hardlinks, no hardlink-specials,
    no hardlink-symlinks, IPv6, atimes, batchfiles, inplace, append, no ACLs,
    no xattrs, optional secluded-args, no iconv, prealloc, stop-at,
    no crtimes
Optimizations:
    no SIMD-roll, no asm-roll, no openssl-crypto, asm-MD5
Checksum list:
    md5 md4 none
Compress list:
    zlibx zlib none
Daemon auth list:
    md5 md4

Build system: x86/64
Build-tested: x86/64/AMD Cezanne
Run-tested: x86/64/AMD Cezanne

Signed-off-by: John Audia <therealgraysky@proton.me>
2024-04-13 14:05:48 -07:00
Paul Fertser 0c10c224be treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.

The following temporary change was made to the core:

diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
 abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))

 COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))

 all:
 FORCE: ;

And this command used to fix affected packages:

for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
                              sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
  make package/$i/download
done

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 22:46:58 +02:00
John Audia de85ed88a7 rsync: update to 3.2.7
Bump to latest upstream release.

Signed-off-by: John Audia <therealgraysky@proton.me>
2022-10-28 14:54:42 +02:00
John Audia deddf26cc2 rsync: incorporate upstream fixes
Upstream is requesting that packagers cherry-pick two commits to fix the
current release.[1]

1. https://www.mail-archive.com/rsync@lists.samba.org/msg33576.html

Signed-off-by: John Audia <therealgraysky@proton.me>
2022-09-25 09:05:55 -04:00
John Audia 454bbae888 rsync: bump to 3.2.6
Bump to latest upstream release.

Signed-off-by: John Audia <therealgraysky@proton.me>
2022-09-14 21:59:38 +03:00
John Audia eeaacc9052 rsync: bump to 3.2.5
With the new OW release approaching, it might be better to get an officially
tagged upstream release in as PR#19087 just contained a fix for CVE-2022-29154
which itself introduced a few bugs.

Signed-off-by: John Audia <therealgraysky@proton.me>
2022-08-15 13:50:15 +02:00
John Audia 2611b86547 rsync: fix CVE-2022-29154
The rsync package is vulnerable to CVE-2022-29154[1], which is not yet in a
non-preview release. This commit applies the upstream commit to fix it and
several subsequent commits needed to fix bugs the initial fix introduced[2].

1. https://rsync.samba.org/ftp/rsync/NEWS#SECURITY_FIXES-3.2.5
2. https://bugs.archlinux.org/task/75558

Signed-off-by: John Audia <therealgraysky@proton.me>
2022-08-13 11:31:08 +02:00
John Audia 4876401174 rsync: bump to 3.2.4
Bump to latest upstream release.

Signed-off-by: John Audia <graysky@archlinux.us>
2022-04-20 18:14:27 +02:00
Matt Reeve 081229aa09 rsync: Add rrsync script
Rrsync is a perl script that is supplied as an extra with the rsync program.
It must be used in conjunction with openssh-server or openssh-server-pam
as it requires ~/.ssh/authorized_keys which is not supported by dropbear.

Rrsync allows selective access to subdirectories in either read-only, write-only or read-write,
depending on settings in authorized_keys. This allows for safe, restrictive access.
It's particularly useful for automated backup purposes.

An example usage would be this entry:

command="/usr/bin/rrsync -ro /home" <public key here>

This would allow a system connecting with this public key to be able to rsync FROM the
/home directory tree only. It could not write to this directory, nor read from any other directory.

Signed-off-by: Matt Reeve <matt@mreeve.com>
2021-05-14 18:45:03 +02:00
Maxim Storchak 40555eebf9 rsync: enable iconv if NLS support is enabled globally
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2021-01-02 22:52:52 +02:00
Ian Leonard 54b6de172d rsync: add config option for zstd support
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2020-10-02 22:01:58 -07:00
Ian Leonard 100f43e60e rsync: drop option for included zlib
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2020-10-02 20:53:50 -07:00
Maxim Storchak ed6c736a63 rsync: update to 3.2.3
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2020-08-11 12:26:19 +03:00
Maxim Storchak a10e4fa904 rsync: update to 3.2.2
Force IPv6 support to according to the global CONFIG_IPV6, ignore compile time detection

Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2020-07-06 17:08:48 +03:00
Maxim Storchak e1cd4bcf0a
rsync: fix ipv6 detection
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2020-06-28 13:56:21 -07:00
Rosen Penev 3f00aed153
rsync: update to 3.2.1
Disable several options to enable compilation.

Simplified several configure options.

Remove pointless configure var.

Added ssh hinting patch. Some SSH incompatibility.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-06-27 14:14:46 -07:00
Jan Pavlinec 299e5b0a9b
treewide: add PKG_CPE_ID for better cvescanner coverage
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-09-17 12:40:26 +02:00
Rosen Penev 1e23b4eae0
rsync: Fix compile with -Wimplicit-function-declaration
The configure test for gettimeofday does not include the proper header.
Override the variable as all OpenWrt libc have two arguments for
gettimeofday.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-07-03 18:28:43 -07:00
Simon Tretter d0cc437f94 rsync: Add IPv6 functionality
Signed-off-by: Simon Tretter <simon@mediaarchitectu.re>
2018-07-06 16:57:41 +08:00
Maxim Storchak c2743dee80 rsync: update to 3.1.3
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2018-01-31 12:45:08 +02:00
Maxim Storchak c2d1405919 rsync: fix CVE-2017-17433 and CVE-2017-17434
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2017-12-30 16:52:00 +02:00
Maxim Storchak 99507aa2ee rsync: Fix CVE-2017-15994 and CVE-2017-16548
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2017-12-08 19:56:10 +02:00
Etienne Champetier 4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Hannu Nyman eb0f2f0021 rsync and cifs-utils: update download address
samba.org has apparently started to enforce https-only downloads,
so update the download links for rsync and cifs-utils.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-01-29 17:37:06 +02:00
Daniel Dickinson eb374e2d4d net/rsync: Make using ACL/XATTR the default if it's core default
Core has an option to enable ACL/XATTR by default;
if that is set default rsync to use it.

Signed-off-by: Daniel Dickinson <lede@cshore.thecshore.com>
2017-01-10 16:26:10 -05:00
Maxim Storchak 3a0b5a0111 rsync: update to 3.1.2
https://rsync.samba.org/security.html#s3_1_2:

If you're using a version of rsync older than 3.1.2 as a client and
receiving files from an rsync server that you might not fully trust,
this version adds extra checking to the file list to prevent the sender
from tweaking the paths and/or the transfer requests in a way that could
cause a file to be received outside the transfer destination.

Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2015-12-22 16:53:36 +02:00
Maxim Storchak 6e9b8e6a52 rsync: patch CVE-2014-9512
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2015-02-15 19:43:16 +02:00
Maxim Storchak 85cfa59609 rsync: add license file
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2014-12-14 13:02:49 +02:00
Ian Leonard 0264b06472 rsync: enable selecting bundled or system zlib
rsync, by default, includes a patched zlib within its source tarball. The patch
enables a better compression ratio for rsync streams. However, the client and
server need the same featureset in their zlib in order to understand the
compression stream, or the server will abort the transfer. Older versions have
no understanding of the new compression standard used.

This patch allows the builder to choose whether to use the bundled or system
zlib. It defautls to using the system zlib, as is the default before this
patch.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-09-04 20:56:58 -07:00
Ian Leonard a1680da39d rsyncd: add default logfile to globals
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-09-03 17:28:16 -07:00
Ian Leonard f5a1d1bba6 Merge branch 'master' into license-updates
Signed-off-by: Ian Leonard <antonlacon@gmail.com>

Conflicts:
	devel/patch/Makefile
	multimedia/minidlna/Makefile
2014-08-10 01:09:06 -07:00
Maxim Storchak 4b3d142810 Add license info for luabitop, luaposix, rsync, tgt, wget, acl, attr, haserl, smartmontools, tmux
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2014-08-09 15:47:18 +03:00
Ian Leonard 88cc5288ed rsync: add licensing information.
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-07-31 21:34:30 -07:00
Maxim Storchak 174ee67042 rsync: add support for ACL and XATTR
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2014-06-27 13:19:53 +03:00
Maxim Storchak 43d63745a4 rsync: update to the latest, add myself as a maintainter
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2014-06-27 13:19:43 +03:00
Maxim Storchak 4145614571 rsync: import from packages
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2014-06-27 13:14:56 +03:00