mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Clemens Gruber <clemens.gruber@pqgruber.com>
To: ptxdist@pengutronix.de
Cc: Clemens Gruber <clemens.gruber@pqgruber.com>
Subject: [ptxdist] [PATCH 1/2] rsync3: version bump 3.0.5 -> 3.2.3
Date: Tue, 22 Sep 2020 12:20:12 +0200	[thread overview]
Message-ID: <20200922102013.84967-1-clemens.gruber@pqgruber.com> (raw)

Fixes several security issues and other bugs.

No longer use the bundled (outdated) zlib, instead depend on the ZLIB
package in PTXdist and fix configure arguments.

We also switch to the https URL.

Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
---
 rules/rsync3.in   |  1 +
 rules/rsync3.make | 18 ++++++++++++++----
 2 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/rules/rsync3.in b/rules/rsync3.in
index 3781f50ba..7dc03a52e 100644
--- a/rules/rsync3.in
+++ b/rules/rsync3.in
@@ -2,6 +2,7 @@
 menuconfig RSYNC3
 	tristate
 	prompt "rsync v3                      "
+	select ZLIB
 	select OPENSSH	if RUNTIME
 	select OPENSSH_SSH
 	select ACL	if RSYNC3_ACL
diff --git a/rules/rsync3.make b/rules/rsync3.make
index 69a33b4c6..a585f6265 100644
--- a/rules/rsync3.make
+++ b/rules/rsync3.make
@@ -14,11 +14,11 @@ PACKAGES-$(PTXCONF_RSYNC3) += rsync3
 #
 # Paths and names
 #
-RSYNC3_VERSION	:= 3.0.5
-RSYNC3_MD5	:= a130e736c011572cb423b6245e97fc4b
+RSYNC3_VERSION	:= 3.2.3
+RSYNC3_MD5	:= 209f8326f5137d8817a6276d9577a2f1
 RSYNC3		:= rsync-$(RSYNC3_VERSION)
 RSYNC3_SUFFIX	:= tar.gz
-RSYNC3_URL	:= http://rsync.samba.org/ftp/rsync/src/$(RSYNC3).$(RSYNC3_SUFFIX)
+RSYNC3_URL	:= https://download.samba.org/pub/rsync/src/$(RSYNC3).$(RSYNC3_SUFFIX)
 RSYNC3_SOURCE	:= $(SRCDIR)/$(RSYNC3).$(RSYNC3_SUFFIX)
 RSYNC3_DIR	:= $(BUILDDIR)/$(RSYNC3)
 RSYNC3_LICENSE	:= GPL-3.0-only
@@ -34,13 +34,23 @@ RSYNC3_AUTOCONF  := \
 	$(CROSS_AUTOCONF_USR) \
 	--disable-debug \
 	--disable-profile \
+	--disable-md2man \
+	--$(call ptx/endis, PTXCONF_ARCH_X86)-simd \
+	--$(call ptx/endis, PTXCONF_ARCH_X86)-asm \
 	$(GLOBAL_LARGE_FILE_OPTION) \
 	$(GLOBAL_IPV6_OPTION) \
 	--disable-locale \
+	--disable-openssl \
+	--disable-xxhash \
+	--disable-zstd \
+	--disable-lz4 \
+	--$(call ptx/endis, PTXCONF_ICONV)-iconv-open \
 	--$(call ptx/endis, PTXCONF_ICONV)-iconv \
 	--$(call ptx/endis, PTXCONF_RSYNC3_ACL)-acl-support \
 	--$(call ptx/endis, PTXCONF_RSYNC3_ATTR)-xattr-support \
-	--with-included-popt
+	--with-included-popt \
+	--without-included-zlib \
+	--with-protected-args
 
 # ----------------------------------------------------------------------------
 # Target-Install
-- 
2.28.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

             reply	other threads:[~2020-09-22 10:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-22 10:20 Clemens Gruber [this message]
2020-09-22 10:20 ` [ptxdist] [PATCH 2/2] rsync3: support zstd compression Clemens Gruber
2020-10-06  8:18   ` [ptxdist] [APPLIED] " Michael Olbrich
2020-10-06  8:18 ` [ptxdist] [APPLIED] rsync3: version bump 3.0.5 -> 3.2.3 Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200922102013.84967-1-clemens.gruber@pqgruber.com \
    --to=clemens.gruber@pqgruber.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox