version 1.1, 2012/02/17 15:09:30
|
version 1.1.1.4, 2021/03/17 00:32:36
|
Line 1
|
Line 1
|
Summary: A fast, versatile, remote (and local) file-copying tool |
Summary: A fast, versatile, remote (and local) file-copying tool |
Name: rsync |
Name: rsync |
Version: 3.0.9 | Version: 3.2.3 |
%define fullversion %{version} |
%define fullversion %{version} |
Release: 1 |
Release: 1 |
%define srcdir src |
%define srcdir src |
Group: Applications/Internet |
Group: Applications/Internet |
Source0: http://rsync.samba.org/ftp/rsync/%{srcdir}/rsync-%{fullversion}.tar.gz | License: GPL |
#Source1: http://rsync.samba.org/ftp/rsync/%{srcdir}/rsync-patches-%{fullversion}.tar.gz | Source0: https://rsync.samba.org/ftp/rsync/%{srcdir}/rsync-%{fullversion}.tar.gz |
URL: http://rsync.samba.org/ | #Source1: https://rsync.samba.org/ftp/rsync/%{srcdir}/rsync-patches-%{fullversion}.tar.gz |
| URL: https://rsync.samba.org/ |
|
|
Prefix: %{_prefix} |
Prefix: %{_prefix} |
BuildRoot: /var/tmp/%{name}-root |
BuildRoot: /var/tmp/%{name}-root |
License: GPL |
|
|
|
|
%package ssl-daemon |
|
Summary: An stunnel config file to support ssl rsync daemon connections. |
|
Group: Applications/Internet |
|
Requires: rsync, stunnel >= 4 |
|
|
%description |
%description |
Rsync is a fast and extraordinarily versatile file copying tool. It can |
Rsync is a fast and extraordinarily versatile file copying tool. It can |
copy locally, to/from another host over any remote shell, or to/from a |
copy locally, to/from another host over any remote shell, or to/from a |
Line 24 differences between the source files and the existing
|
Line 29 differences between the source files and the existing
|
destination. Rsync is widely used for backups and mirroring and as an |
destination. Rsync is widely used for backups and mirroring and as an |
improved copy command for everyday use. |
improved copy command for everyday use. |
|
|
|
%description ssl-daemon |
|
Provides a config file for stunnel that will (if you start your stunnel |
|
service) cause stunnel to listen for ssl rsync-daemon connections and run |
|
"rsync --daemon" to handle them. |
|
|
%prep |
%prep |
# Choose one -- setup source only, or setup source + rsync-patches: |
# Choose one -- setup source only, or setup source + rsync-patches: |
%setup -q -n rsync-%{fullversion} |
%setup -q -n rsync-%{fullversion} |
#%setup -q -b1 -n rsync-%{fullversion} |
#%setup -q -b1 -n rsync-%{fullversion} |
|
|
# If you you used "%setup -q -b1", choose the patches you wish to apply: | # If you you used "%setup -q -b1 ...", choose the patches you wish to apply: |
#patch -p1 <patches/acls.diff |
#patch -p1 <patches/acls.diff |
#patch -p1 <patches/xattrs.diff |
#patch -p1 <patches/xattrs.diff |
#patch -p1 <patches/remote-option.diff |
#patch -p1 <patches/remote-option.diff |
Line 46 make
|
Line 56 make
|
|
|
%install |
%install |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
|
make install install-ssl-daemon DESTDIR=$RPM_BUILD_ROOT |
|
|
%makeinstall | mkdir -p $RPM_BUILD_ROOT/etc/xinetd.d $RPM_BUILD_ROOT/etc/rsync-ssl/certs |
| |
mkdir -p $RPM_BUILD_ROOT/etc/xinetd.d | |
install -m 644 packaging/lsb/rsync.xinetd $RPM_BUILD_ROOT/etc/xinetd.d/rsync |
install -m 644 packaging/lsb/rsync.xinetd $RPM_BUILD_ROOT/etc/xinetd.d/rsync |
|
|
#install -p -m 755 support/rsyncdb $RPM_BUILD_ROOT/usr/bin/rsyncdb |
|
|
|
%clean |
%clean |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
|
|
%files |
%files |
%defattr(-,root,root) |
%defattr(-,root,root) |
%doc COPYING NEWS OLDNEWS README support/ tech_report.tex | %doc COPYING NEWS.md README.md support/ tech_report.tex |
%config(noreplace) /etc/xinetd.d/rsync |
%config(noreplace) /etc/xinetd.d/rsync |
%{_prefix}/bin/rsync* | %{_prefix}/bin/rsync |
| %{_prefix}/bin/rsync-ssl |
%{_mandir}/man1/rsync.1* |
%{_mandir}/man1/rsync.1* |
|
%{_mandir}/man1/rsync-ssl.1* |
%{_mandir}/man5/rsyncd.conf.5* |
%{_mandir}/man5/rsyncd.conf.5* |
|
|
|
%files ssl-daemon |
|
%config(noreplace) /etc/stunnel/rsyncd.conf |
|
%dir /etc/rsync-ssl/certs |
|
|
%changelog |
%changelog |
* Fri Sep 23 2011 Wayne Davison <wayned@samba.org> | * Thu Aug 06 2020 Wayne Davison <wayne@opencoder.net> |
Released 3.0.9. | Released 3.2.3. |
|
|
* Fri Mar 21 2008 Wayne Davison <wayned@samba.org> | * Fri Mar 21 2008 Wayne Davison <wayne@opencoder.net> |
Added installation of /etc/xinetd.d/rsync file and some commented-out |
Added installation of /etc/xinetd.d/rsync file and some commented-out |
lines that demonstrate how to use the rsync-patches tar file. |
lines that demonstrate how to use the rsync-patches tar file. |