From 3189232b69dec5906a0f144b0e78989449ab7bf9 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Mar 12 2010 13:35:28 +0000 Subject: - update to snapshot 20100302git5fb555 - compile with PPS API support --- diff --git a/.cvsignore b/.cvsignore index baaaffb..9ca74b4 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1,3 @@ chrony-1.24.tar.gz +chrony-1.24-git5fb555.patch.gz +timepps.h diff --git a/chrony.spec b/chrony.spec index f79d63a..7e48f65 100644 --- a/chrony.spec +++ b/chrony.spec @@ -1,6 +1,6 @@ Name: chrony Version: 1.24 -Release: 1%{?dist} +Release: 2.20100302git5fb555%{?dist} Summary: An NTP client/server Group: System Environment/Daemons @@ -12,6 +12,9 @@ Source2: chrony.keys Source3: chronyd.sysconfig Source4: chronyd.init Source5: chrony.logrotate +# wget -O timepps.h 'http://gitweb.enneenne.com/?p=linuxpps;a=blob_plain;f=Documentation/pps/timepps.h;hb=b895b1a28558b83907c691aad231c41a0d14df88' +Source6: timepps.h +Patch0: chrony-1.24-git5fb555.patch.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libcap-devel libedit-devel bison texinfo @@ -29,6 +32,8 @@ in permanently connected environments. %prep %setup -q -n %{name}-%{version}%{?prerelease} +mkdir pps; cp -p %{SOURCE6} pps +%patch0 -p1 %build CFLAGS="$RPM_OPT_FLAGS" @@ -38,6 +43,7 @@ CFLAGS="$CFLAGS -pie -fPIE" CFLAGS="$CFLAGS -pie -fpie" %endif export CFLAGS +export CPPFLAGS="-Ipps" %configure --docdir=%{_docdir} make %{?_smp_mflags} getdate all docs @@ -106,6 +112,10 @@ fi %dir %attr(-,chrony,chrony) %{_localstatedir}/log/chrony %changelog +* Fri Mar 12 2010 Miroslav Lichvar 1.24-2.20100302git5fb555 +- update to snapshot 20100302git5fb555 +- compile with PPS API support + * Thu Feb 04 2010 Miroslav Lichvar 1.24-1 - update to 1.24 (#555367, CVE-2010-0292 CVE-2010-0293 CVE-2010-0294) - modify default config diff --git a/sources b/sources index 6a94fd3..739c732 100644 --- a/sources +++ b/sources @@ -1 +1,3 @@ 8849e95428f43c5ab2692a2812653e65 chrony-1.24.tar.gz +96be74d903008f7322e84229df28a0a7 chrony-1.24-git5fb555.patch.gz +b494eddf72f3455c333eed80642dc20d timepps.h