Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37728918
en ru br
ALT Linux repositórios
S:4.4-alt1
5.0: 1.23-alt1
4.1: 1.23-alt1

Group :: Sistema/Configurações/Rede
RPM: chrony

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: chrony
Version: 1.23
Release: alt1

Summary: Chrony clock synchronization program
License: GPLv2 only
Group: System/Configuration/Other

Url: http://chrony.sunsite.dk/
Source0: http://chrony.sunsite.dk/download/chrony-%version.tar.gz
Source1: chronyd.init
Source2: chrony.conf
Source3: chrony.keys
Source4: chrony.logrotate
Patch0: chrony-1.23-etcchrony.patch

# Automatically added by buildreq on Mon Feb 25 2008

BuildRequires: libncurses-devel libreadline-devel

Conflicts: ntpd openntpd

%description
A pair of programs for keeping computer clocks accurate. chronyd is a
background (daemon) program and chronyc is a command-line interface to it.
Time reference sources for chronyd can be RFC1305 NTP servers, human (via
keyboard and chronyc), and the computer's real-time clock at boot time (Linux
only). chronyd can determine the rate at which the computer gains or loses
time and compensate for it whilst no external reference is present.
chronyd's use of NTP servers can be switched on and off (through chronyc) to
support computers with dial-up/intermittent access to the Internet. chronyd
can also act as an RFC1305-compatible NTP server.

%prep
%setup
%patch0 -p1

%build
CFLAGS="%optflags" \
./configure --prefix=/usr --mandir=%_mandir
%make_build

%install
%make install DESTDIR=%buildroot
install -pD -m755 %_sourcedir/chronyd.init %buildroot%_initrddir/chronyd
install -pD -m644 %_sourcedir/chrony.conf %buildroot%_sysconfdir/chrony/chrony.conf
install -pD -m644 %_sourcedir/chrony.keys %buildroot%_sysconfdir/chrony/chrony.keys
install -pD -m644 %_sourcedir/chrony.logrotate %buildroot%_sysconfdir/logrotate.d/chrony
rm -rf %buildroot/usr/doc
install -d %buildroot/var/lib/chrony

%post
%post_service chronyd

%preun
%preun_service chronyd

%files
%doc chrony.txt
%config(noreplace) %_initrddir/chronyd
%dir %_sysconfdir/chrony
%config(noreplace) %_sysconfdir/chrony/chrony.conf
%config(noreplace) %_sysconfdir/chrony/chrony.keys
%config(noreplace) %_sysconfdir/logrotate.d/chrony
%_bindir/*
%_sbindir/*
%dir /var/lib/chrony
%_man1dir/*
%_man5dir/*
%_man8dir/*

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009