Репозитории ALT

S: | 3.2.7-alt1 |
5.1: | 3.0.8-alt0.M51.1 |
4.1: | 3.0.2-alt2 |
4.0: | 3.0.2-alt0.2.M40.1 |
+updates: | 2.6.9-alt3 |
3.0: | 2.6.5-alt1 |
+backports: | 2.6.9-alt0.M30.1 |
Группа :: Сети/Передача файлов
Пакет: rsync
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: rsync
Version: 2.6.5
Release: alt1
#define vers_pre pre2
%define srcname %name-%version
Summary: A program for synchronizing files over a network
License: GPL
Group: Networking/File transfer
# rsync.samba.org::rsyncftp/%srcname.tar.gz
# rsync.samba.org::rsyncftp/preview/%srcname.tar.gz
Source: ftp://%name.samba.org/pub/%name/%srcname.tar.bz2
Source1: %name.xinetd
Source2: rsyncd.conf
Patch11: rsync-2.6.4-rh-alt-build.patch
Patch12: rsync-2.6.4-alt-defaults.patch
Patch13: rsync-2.6.4-alt-setrlimit.patch
Patch14: rsync-2.6.4-alt-apt.patch
# Automatically added by buildreq on Fri Nov 15 2002
BuildRequires: libpopt-devel
%package server
Summary: Server environment for the %name program
Group: System/Servers
PreReq: %name = %version-%release, coreutils, shadow-utils
%description
Rsync uses a quick and reliable algorithm to very quickly bring
remote and host files into sync. Rsync is fast because it just
sends the differences in the files over the network (instead of
sending the complete files). Rsync is often used as a very powerful
mirroring process or just as a more capable replacement for the
rcp command. A technical report which describes the rsync algorithm
is included in this package.
Install this package if you need a powerful mirroring program.
%description server
Rsync uses a quick and reliable algorithm to very quickly bring
remote and host files into sync. Rsync is fast because it just
sends the differences in the files over the network (instead of
sending the complete files). Rsync is often used as a very powerful
mirroring process or just as a more capable replacement for the
rcp command. A technical report which describes the rsync algorithm
is included in this package.
Install this package if you need powerful mirroring server.
%prep
%setup -q -n %srcname
%patch11 -p1
%patch12 -p1
%patch13 -p1
%patch14 -p1
find -type f -name \*.orig -delete -print
%build
%configure
%make_build CCOPTFLAGS="$RPM_OPT_FLAGS"
%{?!__buildreqs:%{?!_without_check:%{?!_disable_check:make check}}}
%install
%__mkdir_p %buildroot{%_bindir,%_mandir/man{1,5}}
%makeinstall
%__install -pD -m640 %SOURCE1 %buildroot%_sysconfdir/xinetd.d/%name
%__install -pD -m600 %SOURCE2 %buildroot%_sysconfdir/rsyncd.conf
%post server
/usr/sbin/groupadd -r -f rsyncd
/usr/sbin/useradd -r -g rsyncd -d /dev/null -s /dev/null -c 'The %name daemon' -n rsyncd >/dev/null 2>&1 ||:
%triggerpostun server -- %name
for f in %_sysconfdir/rsyncd.conf %_sysconfdir/xinetd.d/%name; do
if [ ! -f "$f" ]; then
if [ -f "$f.rpmsave" ]; then
%__cp -pf "$f.rpmsave" "$f"
elif [ -f "$f.rpmnew" ]; then
%__cp -pf "$f.rpmnew" "$f"
fi
fi
done
%files
%_bindir/*
%_man1dir/*
%doc tech_report.tex *NEWS* README zlib/README.rsync TODO
%files server
%config(noreplace) %_sysconfdir/xinetd.d/%name
%config(noreplace) %_sysconfdir/rsyncd.conf
%_man5dir/*
%changelog
…
Полный changelog можно просмотреть здесь
Version: 2.6.5
Release: alt1
#define vers_pre pre2
%define srcname %name-%version
Summary: A program for synchronizing files over a network
License: GPL
Group: Networking/File transfer
# rsync.samba.org::rsyncftp/%srcname.tar.gz
# rsync.samba.org::rsyncftp/preview/%srcname.tar.gz
Source: ftp://%name.samba.org/pub/%name/%srcname.tar.bz2
Source1: %name.xinetd
Source2: rsyncd.conf
Patch11: rsync-2.6.4-rh-alt-build.patch
Patch12: rsync-2.6.4-alt-defaults.patch
Patch13: rsync-2.6.4-alt-setrlimit.patch
Patch14: rsync-2.6.4-alt-apt.patch
# Automatically added by buildreq on Fri Nov 15 2002
BuildRequires: libpopt-devel
%package server
Summary: Server environment for the %name program
Group: System/Servers
PreReq: %name = %version-%release, coreutils, shadow-utils
%description
Rsync uses a quick and reliable algorithm to very quickly bring
remote and host files into sync. Rsync is fast because it just
sends the differences in the files over the network (instead of
sending the complete files). Rsync is often used as a very powerful
mirroring process or just as a more capable replacement for the
rcp command. A technical report which describes the rsync algorithm
is included in this package.
Install this package if you need a powerful mirroring program.
%description server
Rsync uses a quick and reliable algorithm to very quickly bring
remote and host files into sync. Rsync is fast because it just
sends the differences in the files over the network (instead of
sending the complete files). Rsync is often used as a very powerful
mirroring process or just as a more capable replacement for the
rcp command. A technical report which describes the rsync algorithm
is included in this package.
Install this package if you need powerful mirroring server.
%prep
%setup -q -n %srcname
%patch11 -p1
%patch12 -p1
%patch13 -p1
%patch14 -p1
find -type f -name \*.orig -delete -print
%build
%configure
%make_build CCOPTFLAGS="$RPM_OPT_FLAGS"
%{?!__buildreqs:%{?!_without_check:%{?!_disable_check:make check}}}
%install
%__mkdir_p %buildroot{%_bindir,%_mandir/man{1,5}}
%makeinstall
%__install -pD -m640 %SOURCE1 %buildroot%_sysconfdir/xinetd.d/%name
%__install -pD -m600 %SOURCE2 %buildroot%_sysconfdir/rsyncd.conf
%post server
/usr/sbin/groupadd -r -f rsyncd
/usr/sbin/useradd -r -g rsyncd -d /dev/null -s /dev/null -c 'The %name daemon' -n rsyncd >/dev/null 2>&1 ||:
%triggerpostun server -- %name
for f in %_sysconfdir/rsyncd.conf %_sysconfdir/xinetd.d/%name; do
if [ ! -f "$f" ]; then
if [ -f "$f.rpmsave" ]; then
%__cp -pf "$f.rpmsave" "$f"
elif [ -f "$f.rpmnew" ]; then
%__cp -pf "$f.rpmnew" "$f"
fi
fi
done
%files
%_bindir/*
%_man1dir/*
%doc tech_report.tex *NEWS* README zlib/README.rsync TODO
%files server
%config(noreplace) %_sysconfdir/xinetd.d/%name
%config(noreplace) %_sysconfdir/rsyncd.conf
%_man5dir/*
%changelog
…
Полный changelog можно просмотреть здесь