Репозитории 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: 3.0.8
Release: alt0.M51.1
%define srcname rsync-%version
Summary: A program for synchronizing files over a network
License: GPLv3
Group: Networking/File transfer
Url: http://rsync.samba.org
# git://git.samba.org/rsync refs/heads/b3.0.x
Source: %srcname.tar
# git://git.altlinux.org/gears/r/rsync.git
Patch: rsync-%version-%release.patch
BuildRequires: libacl-devel libattr-devel libpopt-devel
BuildRequires: xz
%package server
Summary: Server environment for the rsync program
Group: System/Servers
BuildArch: noarch
Requires: %name = %version-%release
%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.
%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.
This package includes rsyncd daemon functionality.
%prep
%setup -n %srcname
%patch -p1
xz -9 OLDNEWS
%build
./prepare-source
%add_optflags -fno-strict-aliasing
%configure
%make_build CCOPTFLAGS="%optflags"
%install
%makeinstall_std
install -pD -m640 packaging/lsb/rsync.xinetd \
%buildroot%_sysconfdir/xinetd.d/rsync
install -pD -m600 rsyncd.conf \
%buildroot%_sysconfdir/rsyncd.conf
install -pD -m640 rsyncd.logrotate \
%buildroot%_sysconfdir/logrotate.d/rsyncd
install -pD /dev/null %buildroot%_logdir/rsyncd/rsyncd.log
%check
make -k check
%post server
/usr/sbin/groupadd -r -f rsyncd
/usr/sbin/useradd -r -g rsyncd -d /dev/null -s /dev/null \
-c 'The rsync daemon' -n rsyncd >/dev/null 2>&1 ||:
%triggerpostun server -- %name
for f in %_sysconfdir/rsyncd.conf %_sysconfdir/xinetd.d/rsync; 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 support/ tech_report.tex *NEWS* README zlib/README.rsync TODO
%files server
%config(noreplace) %_sysconfdir/logrotate.d/rsyncd
%config(noreplace) %_sysconfdir/xinetd.d/rsync
%config(noreplace) %_sysconfdir/rsyncd.conf
%_man5dir/*
%attr(750,root,adm) %dir %_logdir/rsyncd
%ghost %attr(640,root,adm) %verify(not md5 mtime size) %_logdir/rsyncd/rsyncd.log
%changelog
…
Полный changelog можно просмотреть здесь
Version: 3.0.8
Release: alt0.M51.1
%define srcname rsync-%version
Summary: A program for synchronizing files over a network
License: GPLv3
Group: Networking/File transfer
Url: http://rsync.samba.org
# git://git.samba.org/rsync refs/heads/b3.0.x
Source: %srcname.tar
# git://git.altlinux.org/gears/r/rsync.git
Patch: rsync-%version-%release.patch
BuildRequires: libacl-devel libattr-devel libpopt-devel
BuildRequires: xz
%package server
Summary: Server environment for the rsync program
Group: System/Servers
BuildArch: noarch
Requires: %name = %version-%release
%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.
%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.
This package includes rsyncd daemon functionality.
%prep
%setup -n %srcname
%patch -p1
xz -9 OLDNEWS
%build
./prepare-source
%add_optflags -fno-strict-aliasing
%configure
%make_build CCOPTFLAGS="%optflags"
%install
%makeinstall_std
install -pD -m640 packaging/lsb/rsync.xinetd \
%buildroot%_sysconfdir/xinetd.d/rsync
install -pD -m600 rsyncd.conf \
%buildroot%_sysconfdir/rsyncd.conf
install -pD -m640 rsyncd.logrotate \
%buildroot%_sysconfdir/logrotate.d/rsyncd
install -pD /dev/null %buildroot%_logdir/rsyncd/rsyncd.log
%check
make -k check
%post server
/usr/sbin/groupadd -r -f rsyncd
/usr/sbin/useradd -r -g rsyncd -d /dev/null -s /dev/null \
-c 'The rsync daemon' -n rsyncd >/dev/null 2>&1 ||:
%triggerpostun server -- %name
for f in %_sysconfdir/rsyncd.conf %_sysconfdir/xinetd.d/rsync; 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 support/ tech_report.tex *NEWS* README zlib/README.rsync TODO
%files server
%config(noreplace) %_sysconfdir/logrotate.d/rsyncd
%config(noreplace) %_sysconfdir/xinetd.d/rsync
%config(noreplace) %_sysconfdir/rsyncd.conf
%_man5dir/*
%attr(750,root,adm) %dir %_logdir/rsyncd
%ghost %attr(640,root,adm) %verify(not md5 mtime size) %_logdir/rsyncd/rsyncd.log
%changelog
…
Полный changelog можно просмотреть здесь