Diff for /embedaddon/rsync/packaging/lsb/rsync.spec between versions 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2012/02/17 15:09:30 version 1.1.1.2, 2013/10/14 07:51:14
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.9Version: 3.1.0
 %define fullversion %{version}  %define fullversion %{version}
 Release: 1  Release: 1
 %define srcdir src  %define srcdir src
Line 13  Prefix: %{_prefix} Line 13  Prefix: %{_prefix}
 BuildRoot: /var/tmp/%{name}-root  BuildRoot: /var/tmp/%{name}-root
 License: GPL  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  %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 32  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
   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 64  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
   
%makeinstallmkdir -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
   
Line 61  rm -rf $RPM_BUILD_ROOT Line 76  rm -rf $RPM_BUILD_ROOT
 %defattr(-,root,root)  %defattr(-,root,root)
 %doc COPYING NEWS OLDNEWS README support/ tech_report.tex  %doc COPYING NEWS OLDNEWS README support/ tech_report.tex
 %config(noreplace) /etc/xinetd.d/rsync  %config(noreplace) /etc/xinetd.d/rsync
%{_prefix}/bin/rsync*%{_prefix}/bin/rsync
 %{_mandir}/man1/rsync.1*  %{_mandir}/man1/rsync.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
   %config(noreplace) /etc/stunnel/rsyncd.conf
   %dir /etc/rsync-ssl/certs
   
 %changelog  %changelog
* Fri Sep 23 2011 Wayne Davison <wayned@samba.org>* Sat Sep 28 2013 Wayne Davison <wayned@samba.org>
Released 3.0.9.Released 3.1.0.
   
 * Fri Mar 21 2008 Wayne Davison <wayned@samba.org>  * Fri Mar 21 2008 Wayne Davison <wayned@samba.org>
 Added installation of /etc/xinetd.d/rsync file and some commented-out  Added installation of /etc/xinetd.d/rsync file and some commented-out

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>