SHA256
1
0
forked from pool/rsync

Accepting request 1198081 from network

- add patch rsync-run-dir.patch:
  * Drop dependency on /var/run compat symlink, this causes problems
    on image based systems

  * rsync-patches-3.2.7.tar.gz
  * rsync-patches-3.2.7.tar.gz.asc
- Update to 3.3.0
    - Fixed a bug with --sparse --inplace where a trailing gap in
      the source file would not clear out the trailing data in the
    - Fixed an buffer overflow in the checksum2 code if SHA1 is
      that the extra tests don't complain about a strlcpy() limit
      the larger value to cause an overflow).
    - Add a backtick to the list of characters that the filename
    - Fixed a string-comparison issue in the internal handling of
    - Change the argv handling to work with a newer popt library
    - Rsync now calls OpenSSL_add_all_algorithms() when compiled
    - Fixed a problem in the daemon auth for older protocols
      (29 and before) if the openssl library is being used to
      nroff doesn't support these idioms, touch the file
- New version fixes bug (boo#1203727): implicit containing directory
  in /etc and restoring them while an RPM update.
    the older `--protect-args` (`-s`) option but in a way that
    current locale's decimal point character, which made rsync
  instead of AC_CHECK_LIB(attr,getxattr) so libattr is
- Do not depend on insserv if the system supports systemd; it's
- Remove sysvinit support on distros that have systemd
  not link to libattr but it picks the glibc implementation
- Build with PIE and full RELRO
 * Apply drop-cache patch from rsync-patches tarball, adds option
   --drop-cache so rsync is drop the memory cache of files when

OBS-URL: https://build.opensuse.org/request/show/1198081
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rsync?expand=0&rev=89
This commit is contained in:
Dominique Leuenberger 2024-09-02 11:13:14 +00:00 committed by Git OBS Bridge
commit 7ae9fcce0c
4 changed files with 87 additions and 67 deletions

12
rsync-run-dir.patch Normal file
View File

@ -0,0 +1,12 @@
diff -ur rsync-3.3.0.old/rsync.h rsync-3.3.0/rsync.h
--- rsync-3.3.0.old/rsync.h 2022-10-16 19:28:58.000000000 +0200
+++ rsync-3.3.0/rsync.h 2024-08-26 11:31:14.458919925 +0200
@@ -30,7 +30,7 @@
/* RSYNCD_SYSCONF is now set in config.h */
#define RSYNCD_USERCONF "rsyncd.conf"
-#define DEFAULT_LOCK_FILE "/var/run/rsyncd.lock"
+#define DEFAULT_LOCK_FILE "/run/rsyncd.lock"
#define URL_PREFIX "rsync://"
#define SYMLINK_PREFIX "/rsyncd-munged/" /* This MUST have a trailing slash! */

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Aug 26 09:41:28 UTC 2024 - Thorsten Kukuk <kukuk@suse.com>
- add patch rsync-run-dir.patch:
* Drop dependency on /var/run compat symlink, this causes problems
on image based systems
-------------------------------------------------------------------
Thu May 23 11:50:19 UTC 2024 - David Anes <david.anes@suse.com>

View File

@ -56,6 +56,7 @@ Source12: %{name}.keyring
Source13: rsyncd
Patch0: rsync-no-libattr.patch
Patch2: rsync-usr-etc.patch
Patch3: rsync-run-dir.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: c++_compiler

View File

@ -4,7 +4,7 @@ use chroot = true
transfer logging = true
log format = %h %o %f %l %b
log file = /var/log/rsyncd.log
pid file = /var/run/rsyncd.pid
pid file = /run/rsyncd.pid
hosts allow = trusted.hosts
slp refresh = 300
use slp = false