Search
j0ke.net Open Build Service
>
Projects
>
oldschool
>
rsync
> rsync-2.6.9.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File rsync-2.6.9.spec of Package rsync
%define TYPE UNSTABLE Name: rsync Summary: Replacement for rcp/mirror that has many more features Version: 2.6.9 Release: 1 URL: http://rsync.samba.org/ Group: Networking/Utilities License: Andrew Tridgell and Paul Mackerras (GPL) Vendor: InterNetX GmbH Packager: InterNetX Package Maintainer <cs@internetx.de> BuildPreReq: gcc autoconf automake BuildRoot: %{_tmppath}/%{name}-%{version}-root Source: rsync-%{version}.tar.gz Patch: rsync-2.6.0.diff Epoch: 1 %description rsync uses the "rsync algorithm" which provides a very fast method for bringing remote files into sync. It does this by sending just the differences in the files across the link, without requiring that both sets of files are present at one of the ends of the link beforehand. At first glance this may seem impossible because the calculation of diffs between two files normally requires local access to both files. A technical report describing the rsync algorithm is included with this package. %prep %setup %patch -p1 %build ./configure \ --prefix=/usr \ --bindir=/usr/bin \ --mandir=%{_mandir} \ --infodir=%{_infodir} \ --sysconfdir=/etc %install [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT #patch -p0 < PATCH/rsyncstats.diff mkdir -p $RPM_BUILD_ROOT/usr/sbin ln -s /usr/bin/rsync $RPM_BUILD_ROOT/usr/sbin/rsyncd #install -m 755 -o root -g root rsyncstats $RPM_BUILD_ROOT/usr/bin mkdir -p $RPM_BUILD_ROOT/etc install -m 644 -o root -g root PATCH/rsyncd.conf $RPM_BUILD_ROOT/etc/rsyncd.conf install -m 600 -o root -g root PATCH/rsyncd.secrets $RPM_BUILD_ROOT/etc/rsyncd.secrets mkdir -p $RPM_BUILD_ROOT/etc/init.d install PATCH/rsyncd $RPM_BUILD_ROOT/etc/init.d/rsyncd ln -sf /etc/init.d/rsyncd $RPM_BUILD_ROOT/usr/sbin/rcrsyncd mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates install -m 644 PATCH/rc.config.rsyncd $RPM_BUILD_ROOT/var/adm/fillup-templates %post echo "Updating etc/rc.config..." if [ -x bin/fillup ] ; then bin/fillup -q -d = etc/rc.config var/adm/fillup-templates/rc.config.rsyncd else echo "ERROR: fillup not found. This should not happen. Please compare" echo "etc/rc.config and var/adm/fillup-templates/rc.config.rsyncd and" echo "update by hand." fi # Create symbolic run level links during installation sbin/insserv etc/init.d/rsyncd %postun sbin/insserv etc/init.d/ %files /etc/init.d/rsyncd %config(noreplace) /etc/rsyncd.conf %config(noreplace) /etc/rsyncd.secrets /usr/bin/rsync #/usr/bin/rsyncstats /usr/sbin/rcrsyncd /usr/sbin/rsyncd /usr/share/man/man1/rsync.1.gz /usr/share/man/man5/rsyncd.conf.5.gz /var/adm/fillup-templates/rc.config.rsyncd %clean [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT rm -rf %{_builddir}/%{name}-%{version} %changelog * Fri Dec 22 2006 - cs@internetx.de - version bump to 2.6.9 * Wed Jun 07 2006 - cs@internetx.de - version bump to 2.6.8 * Fri Mar 24 2006 - cs@internetx.de - version bump to 2.6.7 * Sat Sep 03 2005 - cs@internetx.de - version bump to 2.6.6 * Tue Jun 21 2005 - cs@internetx.de - version bump to 2.6.5 * Fri Apr 01 2005 - cs@internetx.de - version bump to 2.6.4 * Fri Oct 01 2004 - cs@internetx.de - version bump to 2.6.3 * Thu Dec 04 2003 - cs@internetx.de - version 2.5.7 fixes a heap overflow security vulnerability.