X-Git-Url: http://git.pld-linux.org/?p=packages%2Frsync.git;a=blobdiff_plain;f=rsync.spec;h=72a0e813a0e8f7bde7eac68ec8408fcbdb055fd1;hp=48850371260d0ddd06c02b366b639d2e5f27b74e;hb=5412de7;hpb=ccf03c22e296efd60d8bfc10a1afe02a6e2affbe diff --git a/rsync.spec b/rsync.spec index 4885037..72a0e81 100644 --- a/rsync.spec +++ b/rsync.spec @@ -1,6 +1,10 @@ +# TODO: +# 3.1.3 rsyncd segfaults very early in server rsync:// mode (both inetd and standalone) +# rsync[27223]: segfault at 7468 ip 00007f4281c56e81 sp 00007ffc29186160 error 4 in libc-2.27.so[7f4281bd3000+1b4000] # # Conditional build: %bcond_with rsh # set remote shell command to rsh instead of ssh (old behaviour) +%bcond_with fadvise # apply fadvise patch %bcond_with tests # perform "make test" # %ifarch alpha @@ -16,20 +20,23 @@ Summary(uk.UTF-8): Програма для ефективного віддале Summary(zh_CN.UTF-8): [通讯]传输工具 Summary(zh_TW.UTF-8): [喙啪]$(B6G?i火(c(B Name: rsync -Version: 3.1.2 -Release: 2 +Version: 3.1.3 +Release: 1 +Epoch: 1 License: GPL v3+ Group: Networking/Utilities -Source0: http://rsync.samba.org/ftp/rsync/%{name}-%{version}.tar.gz -# Source0-md5: 0f758d7e000c0f7f7d3792610fad70cb -Source1: http://rsync.samba.org/ftp/rsync/rsync-patches-%{version}.tar.gz -# Source1-md5: f412602a3cba0b872adfaed905a0aa28 +Source0: https://rsync.samba.org/ftp/rsync/%{name}-%{version}.tar.gz +# Source0-md5: 1581a588fde9d89f6bc6201e8129afaf +Source1: https://rsync.samba.org/ftp/rsync/rsync-patches-%{version}.tar.gz +# Source1-md5: 753fc37ffc277571c69135e8bc5fae9d Source2: %{name}.inet Source3: %{name}.init Source4: %{name}.sysconfig Source5: %{name}d.logrotate Patch0: %{name}-config.patch -URL: http://rsync.samba.org/ +Patch1: https://tobi.oetiker.ch/patches/rsync-3.1.2-1-fadvise.patch +# Patch1-md5: b055468e7cbc5d829aa943f07916d458 +URL: https://rsync.samba.org/ BuildRequires: acl-devel BuildRequires: autoconf >= 2.59 BuildRequires: automake @@ -102,7 +109,7 @@ rsync - це швидша та гнучкіша альтернатива rcp, я Summary: Files necessary to run rsync in daemon mode Summary(pl.UTF-8): Pliki niezbędne do uruchomienia rsynca w trybie serwera Group: Networking/Daemons -Requires: %{name} = %{version}-%{release} +Requires: %{name} = %{epoch}:%{version}-%{release} Requires: rc-inetd Provides: rsyncd Obsoletes: rsyncd @@ -130,7 +137,7 @@ Summary: Files necessary to run rsync in daemon mode Summary(pl.UTF-8): Pliki niezbędne do uruchomienia rsynca w trybie serwera Group: Networking/Daemons Requires(post,preun): /sbin/chkconfig -Requires: %{name} = %{version}-%{release} +Requires: %{name} = %{epoch}:%{version}-%{release} Provides: rsyncd Obsoletes: rsyncd Obsoletes: rsyncd-inetd @@ -155,6 +162,7 @@ techniczna nowego algorytmu została również dołączona do pakietu. %prep %setup -q -b1 %patch0 -p1 +%{?with_fadvise:%patch1 -p1} # for compat with previous patched version patch -p1 -i patches/acls.diff || exit 1