|
version 1.1.1.2, 2013/10/14 07:51:14
|
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.1.0 | 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-client |
|
| Summary: Provides rsync-ssl |
|
| Requires: stunnel >= 4 |
|
| |
|
| %package ssl-daemon |
%package ssl-daemon |
| Summary: An stunnel config file to support ssl rsync daemon connections. |
Summary: An stunnel config file to support ssl rsync daemon connections. |
| Requires: stunnel >= 4 | 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 |
|
Line 32 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-client |
|
| Provides the rsync-ssl script that makes use of stunnel 4 to open an ssl |
|
| connection to an rsync daemon (on port 874). This setup does NOT require |
|
| any local stunnel daemon to be running to connect to the remote ssl rsyncd. |
|
| |
|
| %description ssl-daemon |
%description ssl-daemon |
| Provides a config file for stunnel that will (if you start your stunnel |
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 |
service) cause stunnel to listen for ssl rsync-daemon connections and run |
|
Line 64 make
|
Line 56 make
|
| |
|
| %install |
%install |
| rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
| make install install-ssl-client install-ssl-daemon DESTDIR=$RPM_BUILD_ROOT | make install install-ssl-daemon DESTDIR=$RPM_BUILD_ROOT |
| |
|
| mkdir -p $RPM_BUILD_ROOT/etc/xinetd.d $RPM_BUILD_ROOT/etc/rsync-ssl/certs |
mkdir -p $RPM_BUILD_ROOT/etc/xinetd.d $RPM_BUILD_ROOT/etc/rsync-ssl/certs |
| 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 |
|
Line 74 rm -rf $RPM_BUILD_ROOT
|
Line 66 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-client |
|
| %{_prefix}/bin/rsync-ssl |
|
| %{_prefix}/bin/stunnel-rsync |
|
| |
|
| %files ssl-daemon |
%files ssl-daemon |
| %config(noreplace) /etc/stunnel/rsyncd.conf |
%config(noreplace) /etc/stunnel/rsyncd.conf |
| %dir /etc/rsync-ssl/certs |
%dir /etc/rsync-ssl/certs |
| |
|
| %changelog |
%changelog |
| * Sat Sep 28 2013 Wayne Davison <wayned@samba.org> | * Thu Aug 06 2020 Wayne Davison <wayne@opencoder.net> |
| Released 3.1.0. | 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. |