diff options
Diffstat (limited to 'packaging/lsb/rsync.spec')
-rw-r--r-- | packaging/lsb/rsync.spec | 38 |
1 files changed, 31 insertions, 7 deletions
diff --git a/packaging/lsb/rsync.spec b/packaging/lsb/rsync.spec index 234666be..1c045603 100644 --- a/packaging/lsb/rsync.spec +++ b/packaging/lsb/rsync.spec @@ -1,6 +1,6 @@ Summary: A fast, versatile, remote (and local) file-copying tool Name: rsync -Version: 3.0.3 +Version: 3.1.0 %define fullversion %{version} Release: 1 %define srcdir src @@ -13,6 +13,14 @@ Prefix: %{_prefix} BuildRoot: /var/tmp/%{name}-root License: GPL +%package ssl-client +Summary: Provides rsync-ssl +Requires: stunnel >= 4 + +%package ssl-daemon +Summary: An stunnel config file to support ssl rsync daemon connections. +Requires: stunnel >= 4 + %description 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 @@ -24,12 +32,22 @@ differences between the source files and the existing files in the destination. Rsync is widely used for backups and mirroring and as an 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 +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 # Choose one -- setup source only, or setup source + rsync-patches: %setup -q -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/xattrs.diff #patch -p1 <patches/remote-option.diff @@ -47,13 +65,11 @@ make %install rm -rf $RPM_BUILD_ROOT -%makeinstall +make install install-ssl-client install-ssl-daemon -mkdir -p $RPM_BUILD_ROOT/etc/xinetd.d +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 -p -m 755 support/rsyncdb $RPM_BUILD_ROOT/usr/bin/rsyncdb - %clean rm -rf $RPM_BUILD_ROOT @@ -61,10 +77,18 @@ rm -rf $RPM_BUILD_ROOT %defattr(-,root,root) %doc COPYING NEWS OLDNEWS README support/ tech_report.tex %config(noreplace) /etc/xinetd.d/rsync -%{_prefix}/bin/rsync* +%{_prefix}/bin/rsync %{_mandir}/man1/rsync.1* %{_mandir}/man5/rsyncd.conf.5* +%files ssl-client +%{_prefix}/bin/rsync-ssl +%{_prefix}/bin/stunnel-rsync + +%files ssl-daemon +%config(noreplace) /etc/stunnel/rsyncd.conf +%dir /etc/rsync-ssl/certs + %changelog * Sun Jun 29 2008 Wayne Davison <wayned@samba.org> Released 3.0.3. |