- update to 1.24 (#555367, CVE-2010-0292 CVE-2010-0293 CVE-2010-0294)
- modify default config - step clock on start if it is off by more than 100 seconds - disable client log - build with -fPIE on sparc
This commit is contained in:
parent
da5bf79bd4
commit
b190c4505a
@ -1 +1 @@
|
|||||||
chrony-1.24-pre1.tar.gz
|
chrony-1.24.tar.gz
|
||||||
|
@ -3,7 +3,8 @@
|
|||||||
server 0.fedora.pool.ntp.org
|
server 0.fedora.pool.ntp.org
|
||||||
server 1.fedora.pool.ntp.org
|
server 1.fedora.pool.ntp.org
|
||||||
server 2.fedora.pool.ntp.org
|
server 2.fedora.pool.ntp.org
|
||||||
|
initstepslew 100 0.fedora.pool.ntp.org 1.fedora.pool.ntp.org 2.fedora.pool.ntp.org
|
||||||
|
|
||||||
driftfile /var/lib/chrony/drift
|
driftfile /var/lib/chrony/drift
|
||||||
|
|
||||||
# Allow client access from local network.
|
# Allow client access from local network.
|
||||||
@ -17,6 +18,9 @@ keyfile /etc/chrony.keys
|
|||||||
# Specify the key used as password for chronyc.
|
# Specify the key used as password for chronyc.
|
||||||
commandkey 1
|
commandkey 1
|
||||||
|
|
||||||
|
# Disable logging of client accesses.
|
||||||
|
noclientlog
|
||||||
|
|
||||||
# Send a message to syslog when chronyd has to correct
|
# Send a message to syslog when chronyd has to correct
|
||||||
# an error larger than 0.5 seconds.
|
# an error larger than 0.5 seconds.
|
||||||
logchange 0.5
|
logchange 0.5
|
||||||
|
19
chrony.spec
19
chrony.spec
@ -1,7 +1,6 @@
|
|||||||
%define prerelease -pre1
|
|
||||||
Name: chrony
|
Name: chrony
|
||||||
Version: 1.24
|
Version: 1.24
|
||||||
Release: 0.1.pre1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: An NTP client/server
|
Summary: An NTP client/server
|
||||||
|
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
@ -32,7 +31,14 @@ in permanently connected environments.
|
|||||||
%setup -q -n %{name}-%{version}%{?prerelease}
|
%setup -q -n %{name}-%{version}%{?prerelease}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="$RPM_OPT_FLAGS -pie -fpie"
|
CFLAGS="$RPM_OPT_FLAGS"
|
||||||
|
%ifarch %{sparc}
|
||||||
|
CFLAGS="$CFLAGS -pie -fPIE"
|
||||||
|
%else
|
||||||
|
CFLAGS="$CFLAGS -pie -fpie"
|
||||||
|
%endif
|
||||||
|
export CFLAGS
|
||||||
|
|
||||||
%configure --docdir=%{_docdir}
|
%configure --docdir=%{_docdir}
|
||||||
make %{?_smp_mflags} getdate all docs
|
make %{?_smp_mflags} getdate all docs
|
||||||
|
|
||||||
@ -100,6 +106,13 @@ fi
|
|||||||
%dir %attr(-,chrony,chrony) %{_localstatedir}/log/chrony
|
%dir %attr(-,chrony,chrony) %{_localstatedir}/log/chrony
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Feb 04 2010 Miroslav Lichvar <mlichvar@redhat.com> 1.24-1
|
||||||
|
- update to 1.24 (#555367, CVE-2010-0292 CVE-2010-0293 CVE-2010-0294)
|
||||||
|
- modify default config
|
||||||
|
- step clock on start if it is off by more than 100 seconds
|
||||||
|
- disable client log
|
||||||
|
- build with -fPIE on sparc
|
||||||
|
|
||||||
* Tue Dec 15 2009 Miroslav Lichvar <mlichvar@redhat.com> 1.24-0.1.pre1
|
* Tue Dec 15 2009 Miroslav Lichvar <mlichvar@redhat.com> 1.24-0.1.pre1
|
||||||
- update to 1.24-pre1
|
- update to 1.24-pre1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user