[521] | 1 | %define _bindir %{_prefix}/sbin |
---|
| 2 | |
---|
| 3 | Summary: Synchronizes system time using the Network Time Protocol (NTP). |
---|
[9333] | 4 | Summary(ja): Network Time Protocol (NTP) を用いたシステム時刻の同期 |
---|
[521] | 5 | Name: ntp |
---|
[7061] | 6 | Version: 4.2.6p5 |
---|
[10735] | 7 | Release: 8%{?_dist_release} |
---|
[521] | 8 | License: distributable |
---|
| 9 | Group: System Environment/Daemons |
---|
| 10 | URL: http://www.ntp.org/ |
---|
| 11 | Source0: ftp://ftp.udel.edu/pub/ntp/ntp4/ntp-%{version}.tar.gz |
---|
| 12 | Source1: ntp.conf |
---|
| 13 | Source2: ntp.keys |
---|
| 14 | Source3: ntpd.init |
---|
| 15 | Source4: ntpd.sysconfig |
---|
[2509] | 16 | Source5: ntpstat-0.2.tgz |
---|
[521] | 17 | |
---|
[2509] | 18 | Source100: ntpd-NM-dispatch |
---|
[521] | 19 | Source999: filter-requires-ntp.sh |
---|
| 20 | |
---|
[2509] | 21 | # ntpbz #802 |
---|
| 22 | Patch1: ntp-4.2.6p1-sleep.patch |
---|
| 23 | # add support for dropping root to ntpdate |
---|
[7061] | 24 | Patch2: ntp-4.2.6p4-droproot.patch |
---|
[2509] | 25 | # ntpbz #779 |
---|
| 26 | Patch3: ntp-4.2.6p3-bcast.patch |
---|
| 27 | # align buffer for control messages |
---|
| 28 | Patch4: ntp-4.2.6p1-cmsgalign.patch |
---|
| 29 | # link ntpd with -ffast-math on ia64 |
---|
[10735] | 30 | Patch5: ntp-4.2.6p1-linkfastmath.patch |
---|
[7061] | 31 | # ntpbz #2294 |
---|
| 32 | Patch6: ntp-4.2.6p5-fipsmd5.patch |
---|
[2509] | 33 | # ntpbz #759 |
---|
| 34 | Patch7: ntp-4.2.6p1-retcode.patch |
---|
[10735] | 35 | # ntpbz #2085 |
---|
| 36 | Patch8: ntp-4.2.6p5-rootdisp.patch |
---|
| 37 | # ntpbz #2309 |
---|
| 38 | Patch9: ntp-4.2.6p5-hexpw.patch |
---|
[2509] | 39 | # ntpbz #898 |
---|
[7061] | 40 | Patch10: ntp-4.2.6p4-htmldoc.patch |
---|
[10735] | 41 | # ntpbz #1402 |
---|
| 42 | Patch11: ntp-4.2.6p5-updatebclient.patch |
---|
[2509] | 43 | # fix precision calculation on fast CPUs |
---|
| 44 | Patch12: ntp-4.2.4p7-getprecision.patch |
---|
| 45 | # ntpbz #1408 |
---|
[10735] | 46 | Patch13: ntp-4.2.6p5-logdefault.patch |
---|
[2509] | 47 | # add option -m to lock memory |
---|
[7061] | 48 | Patch14: ntp-4.2.6p4-mlock.patch |
---|
[10735] | 49 | # restore pre 4.2.6 ntpdate behavior |
---|
| 50 | Patch15: ntp-4.2.6p5-ntpdatetimeout.patch |
---|
| 51 | # ntpbz #2040 |
---|
| 52 | Patch16: ntp-4.2.6p5-identlen.patch |
---|
[2509] | 53 | # ntpbz #1670 |
---|
| 54 | Patch17: ntp-4.2.6p3-broadcastdelay.patch |
---|
| 55 | # ntpbz #1671 |
---|
[7061] | 56 | Patch18: ntp-4.2.6p5-delaycalib.patch |
---|
[10735] | 57 | # ntpbz #2019 |
---|
| 58 | Patch19: ntp-4.2.6p5-pwcipher.patch |
---|
| 59 | # ntpbz #2320 |
---|
| 60 | Patch20: ntp-4.2.6p5-noservres.patch |
---|
| 61 | # ntpbz #2506 |
---|
| 62 | Patch21: ntp-4.2.6p5-refreshroute.patch |
---|
| 63 | # ntpbz #2666 |
---|
| 64 | Patch22: ntp-4.2.6p5-cve-2014-9294.patch |
---|
| 65 | # ntpbz #2665 |
---|
| 66 | Patch23: ntp-4.2.6p5-cve-2014-9293.patch |
---|
| 67 | # ntpbz #2667 |
---|
| 68 | Patch24: ntp-4.2.6p5-cve-2014-9295.patch |
---|
| 69 | # ntpbz #2670 |
---|
| 70 | Patch25: ntp-4.2.6p5-cve-2014-9296.patch |
---|
| 71 | # ntpbz #2671 |
---|
| 72 | Patch26: ntp-4.2.6p5-cve-2014-9297.patch |
---|
| 73 | # ntpbz #2672 |
---|
| 74 | Patch27: ntp-4.2.6p5-cve-2014-9298.patch |
---|
| 75 | # ntpbz #2174 |
---|
| 76 | Patch28: ntp-4.2.6p5-sourceport.patch |
---|
| 77 | # ntpbz #2612 |
---|
| 78 | Patch29: ntp-4.2.6p5-monwarn.patch |
---|
| 79 | # ntpbz #1232 |
---|
| 80 | Patch30: ntp-4.2.6p5-nanoshm.patch |
---|
| 81 | # ntpbz #2661 |
---|
| 82 | Patch32: ntp-4.2.6p5-mreadvar.patch |
---|
| 83 | # ntpbz #730 |
---|
| 84 | Patch33: ntp-4.2.6p5-rsaexp.patch |
---|
| 85 | # ntpbz #2537 |
---|
| 86 | Patch34: ntp-4.2.6p5-keylen.patch |
---|
| 87 | # ntpbz #2627 |
---|
| 88 | Patch35: ntp-4.2.6p5-shmperm.patch |
---|
| 89 | # ntpbz #2745 |
---|
| 90 | Patch36: ntp-4.2.6p5-xleap.patch |
---|
| 91 | # ntpbz #2805 |
---|
| 92 | Patch37: ntp-4.2.6p5-mcastjoin.patch |
---|
| 93 | # ntpbz #2779 |
---|
| 94 | Patch39: ntp-4.2.6p5-cve-2015-1798.patch |
---|
| 95 | # ntpbz #2781 |
---|
| 96 | Patch40: ntp-4.2.6p5-cve-2015-1799.patch |
---|
| 97 | # ntpbz #2797 |
---|
| 98 | Patch41: ntp-4.2.6p5-cve-2015-3405.patch |
---|
| 99 | # ntpbz #2837 |
---|
| 100 | Patch42: ntp-4.2.6p5-dscp.patch |
---|
| 101 | # ntpbz #2901 |
---|
| 102 | Patch43: ntp-4.2.6p5-cve-2015-7704.patch |
---|
| 103 | # allow only one step larger than panic threshold with -g |
---|
| 104 | Patch44: ntp-4.2.6p5-cve-2015-5300.patch |
---|
| 105 | # ntpbz #2246 |
---|
| 106 | Patch45: ntp-4.2.6p5-leapreset.patch |
---|
| 107 | # ntpbz #2081 |
---|
| 108 | Patch46: ntp-4.2.6p5-rawstats.patch |
---|
| 109 | # ntpbz #2639, #2880 |
---|
| 110 | Patch47: ntp-4.2.6p5-clockstate.patch |
---|
| 111 | # ntpbz #2851 |
---|
| 112 | Patch48: ntp-4.2.6p5-restrict46.patch |
---|
| 113 | # ntpbz #1593 |
---|
| 114 | Patch49: ntp-4.2.6p5-cve-2015-5194.patch |
---|
| 115 | # fix crash when referencing disabled statistic type |
---|
| 116 | Patch50: ntp-4.2.6p5-cve-2015-5195.patch |
---|
| 117 | # don't hang in sntp with crafted reply |
---|
| 118 | Patch51: ntp-4.2.6p5-cve-2015-5219.patch |
---|
| 119 | # ntpbz #2909 |
---|
| 120 | Patch52: ntp-4.2.6p5-cve-2015-7701.patch |
---|
| 121 | # ntpbz #2899 |
---|
| 122 | Patch53: ntp-4.2.6p5-cve-2015-7691_7692_7702.patch |
---|
| 123 | # ntpbz #2919 |
---|
| 124 | Patch54: ntp-4.2.6p5-cve-2015-7852.patch |
---|
| 125 | # ntpbz #2902 |
---|
| 126 | Patch55: ntp-4.2.6p5-cve-2015-7703.patch |
---|
| 127 | # ntpbz #2945 |
---|
| 128 | Patch56: ntp-4.2.6p5-cve-2015-8138.patch |
---|
| 129 | # ntpbz #2939, #2940 |
---|
| 130 | Patch57: ntp-4.2.6p5-cve-2015-7977_7978.patch |
---|
| 131 | # ntpbz #2942, ntpbz #3007 |
---|
| 132 | Patch60: ntp-4.2.6p5-cve-2015-7979.patch |
---|
| 133 | # ntpbz #2978 |
---|
| 134 | Patch61: ntp-4.2.6p5-cve-2016-1548.patch |
---|
| 135 | # ntpbz #3009 |
---|
| 136 | Patch62: ntp-4.2.6p5-cve-2016-2518.patch |
---|
| 137 | # ntpbz #2879 |
---|
| 138 | Patch63: ntp-4.2.6p5-cve-2016-1550.patch |
---|
[521] | 139 | |
---|
[2509] | 140 | # handle unknown clock types |
---|
[10735] | 141 | Patch100: ntpstat-0.2-clksrc.patch |
---|
[2509] | 142 | # process first packet in multipacket response |
---|
[10735] | 143 | Patch101: ntpstat-0.2-multipacket.patch |
---|
[2509] | 144 | # use current system variable names |
---|
[10735] | 145 | Patch102: ntpstat-0.2-sysvars.patch |
---|
[2509] | 146 | # print synchronization distance instead of dispersion |
---|
[10735] | 147 | Patch103: ntpstat-0.2-maxerror.patch |
---|
[7061] | 148 | # fix error bit checking |
---|
[10735] | 149 | Patch104: ntpstat-0.2-errorbit.patch |
---|
| 150 | # improve man page |
---|
| 151 | Patch105: ntpstat-0.2-manual.patch |
---|
[2509] | 152 | |
---|
[10735] | 153 | # fix included autoopts to not crash on range error |
---|
| 154 | Patch150: ntp-4.2.6p5-optsrange.patch |
---|
[2509] | 155 | |
---|
[10735] | 156 | Patch1000: ntp-4.2.6p5-u64.patch |
---|
[521] | 157 | |
---|
[2509] | 158 | Requires(pre): /sbin/chkconfig |
---|
[9463] | 159 | BuildRequires: openssl-devel |
---|
[9466] | 160 | BuildRequires: libedit-devel |
---|
[2512] | 161 | BuildRequires: libcap-devel |
---|
[521] | 162 | BuildRequires: autoconf |
---|
[10735] | 163 | BuildRequires: bison |
---|
[2512] | 164 | # ntpstat |
---|
| 165 | BuildRequires: perl-HTML-Parser |
---|
[521] | 166 | #Conflicts: xntp3 |
---|
| 167 | Obsoletes: xntp3 |
---|
| 168 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 169 | |
---|
[9463] | 170 | Packager: iwamoto |
---|
| 171 | Vendor: Project Vine |
---|
| 172 | Distribution: Vine Linux |
---|
| 173 | |
---|
[521] | 174 | # Working around perl dependency problem |
---|
| 175 | %define __find_requires %{SOURCE999} |
---|
| 176 | |
---|
| 177 | %description |
---|
| 178 | The Network Time Protocol (NTP) is used to synchronize a computer's |
---|
| 179 | time with another reference time source. The ntp package contains |
---|
| 180 | utilities and daemons which will synchronize your computer's time to |
---|
| 181 | Coordinated Universal Time (UTC) via the NTP protocol and NTP servers. |
---|
| 182 | The ntp package includes ntpdate (a program for retrieving the date |
---|
| 183 | and time from remote machines via a network) and ntpd (a daemon which |
---|
| 184 | continuously adjusts system time). |
---|
| 185 | |
---|
| 186 | Install the ntp package if you need tools for keeping your system's |
---|
| 187 | time synchronized via the NTP protocol. |
---|
| 188 | #' |
---|
| 189 | |
---|
[2509] | 190 | %package perl |
---|
| 191 | Summary: NTP utilities written in perl |
---|
[9333] | 192 | Summary(ja): perl で記述された NTP ユーティリティ |
---|
[2509] | 193 | Group: Applications/System |
---|
| 194 | Requires: %{name} = %{version}-%{release} |
---|
| 195 | |
---|
| 196 | %description perl |
---|
| 197 | This package contains perl scripts ntp-wait and ntptrace. |
---|
| 198 | |
---|
[2512] | 199 | |
---|
[521] | 200 | %prep |
---|
[2509] | 201 | %setup -q -a 5 |
---|
[521] | 202 | |
---|
[2509] | 203 | %patch1 -p1 -b .sleep |
---|
| 204 | %patch2 -p1 -b .droproot |
---|
| 205 | %patch3 -p1 -b .bcast |
---|
| 206 | %patch4 -p1 -b .cmsgalign |
---|
| 207 | %ifarch ia64 |
---|
[10735] | 208 | %patch5 -p1 -b .linkfastmath |
---|
[521] | 209 | %endif |
---|
[7061] | 210 | %patch6 -p1 -b .fipsmd5 |
---|
[2509] | 211 | %patch7 -p1 -b .retcode |
---|
[10735] | 212 | %patch8 -p1 -b .rootdisp |
---|
| 213 | %patch9 -p1 -b .hexpw |
---|
[2509] | 214 | %patch10 -p1 -b .htmldoc |
---|
[10735] | 215 | %patch11 -p1 -b .updatebclient |
---|
[2509] | 216 | %patch12 -p1 -b .getprecision |
---|
| 217 | %patch13 -p1 -b .logdefault |
---|
| 218 | %patch14 -p1 -b .mlock |
---|
[10735] | 219 | %patch15 -p1 -b .ntpdatetimeout |
---|
| 220 | %patch16 -p1 -b .identlen |
---|
[2509] | 221 | %patch17 -p1 -b .broadcastdelay |
---|
| 222 | %patch18 -p1 -b .delaycalib |
---|
[10735] | 223 | %patch19 -p1 -b .pwcipher |
---|
| 224 | %patch20 -p1 -b .noservres |
---|
| 225 | %patch21 -p1 -b .refreshroute |
---|
| 226 | %patch22 -p1 -b .cve-2014-9294 |
---|
| 227 | %patch23 -p1 -b .cve-2014-9293 |
---|
| 228 | %patch24 -p1 -b .cve-2014-9295 |
---|
| 229 | %patch25 -p1 -b .cve-2014-9296 |
---|
| 230 | %patch26 -p1 -b .cve-2014-9297 |
---|
| 231 | %patch27 -p1 -b .cve-2014-9298 |
---|
| 232 | %patch28 -p1 -b .sourceport |
---|
| 233 | %patch29 -p1 -b .monwarn |
---|
| 234 | %patch30 -p1 -b .nanoshm |
---|
| 235 | %patch32 -p1 -b .mreadvar |
---|
| 236 | %patch33 -p1 -b .rsaexp |
---|
| 237 | %patch34 -p1 -b .keylen |
---|
| 238 | %patch35 -p1 -b .shmperm |
---|
| 239 | %patch36 -p1 -b .xleap |
---|
| 240 | %patch37 -p1 -b .mcastjoin |
---|
| 241 | %patch39 -p1 -b .cve-2015-1798 |
---|
| 242 | %patch40 -p1 -b .cve-2015-1799 |
---|
| 243 | %patch41 -p1 -b .cve-2015-3405 |
---|
| 244 | %patch42 -p1 -b .dscp |
---|
| 245 | %patch43 -p1 -b .cve-2015-7704 |
---|
| 246 | %patch44 -p1 -b .cve-2015-5300 |
---|
| 247 | %patch45 -p1 -b .leapreset |
---|
| 248 | %patch46 -p1 -b .rawstats |
---|
| 249 | %patch47 -p1 -b .clockstate |
---|
| 250 | %patch48 -p1 -b .restrict46 |
---|
| 251 | %patch49 -p1 -b .cve-2015-5194 |
---|
| 252 | %patch50 -p1 -b .cve-2015-5195 |
---|
| 253 | %patch51 -p1 -b .cve-2015-5219 |
---|
| 254 | %patch52 -p1 -b .cve-2015-7701 |
---|
| 255 | %patch53 -p1 -b .cve-2015-7691_7692_7702 |
---|
| 256 | %patch54 -p1 -b .cve-2015-7852 |
---|
| 257 | %patch55 -p1 -b .cve-2015-7703 |
---|
| 258 | %patch56 -p1 -b .cve-2015-8138 |
---|
| 259 | %patch57 -p1 -b .cve-2015-7977_7978 |
---|
| 260 | %patch60 -p1 -b .cve-2015-7979 |
---|
| 261 | %patch61 -p1 -b .cve-2016-1548 |
---|
| 262 | %patch62 -p1 -b .cve-2016-2518 |
---|
| 263 | %patch63 -p1 -b .cve-2016-1550 |
---|
[521] | 264 | |
---|
[10735] | 265 | # ntpstat patches |
---|
| 266 | %patch100 -p1 -b .clksrc |
---|
| 267 | %patch101 -p1 -b .multipacket |
---|
| 268 | %patch102 -p1 -b .sysvars |
---|
| 269 | %patch103 -p1 -b .maxerror |
---|
| 270 | %patch104 -p1 -b .errorbit |
---|
| 271 | %patch105 -p1 -b .manual |
---|
| 272 | |
---|
| 273 | # autoopt patches |
---|
| 274 | %patch150 -p1 -b .optsrange |
---|
| 275 | |
---|
| 276 | %patch1000 -p1 -b .u64 |
---|
| 277 | |
---|
[2509] | 278 | # set default path to sntp KoD database |
---|
| 279 | sed -i 's|/var/db/ntp-kod|%{_localstatedir}/lib/ntp/sntp-kod|' sntp/{sntp.1,main.c} |
---|
| 280 | |
---|
[10735] | 281 | # fix line terminators |
---|
| 282 | sed -i 's|\r||g' html/scripts/{footer.txt,style.css} |
---|
[2509] | 283 | |
---|
[10735] | 284 | for f in COPYRIGHT ChangeLog; do |
---|
| 285 | iconv -f iso8859-1 -t utf8 -o ${f}{_,} && touch -r ${f}{,_} && mv -f ${f}{_,} |
---|
| 286 | done |
---|
[2509] | 287 | |
---|
[10735] | 288 | # make the build fail if the parsers are not regenerated |
---|
| 289 | rm ntpd/ntp_parser.{c,h} |
---|
| 290 | echo > ntpd/ntp_keyword.h |
---|
[521] | 291 | |
---|
| 292 | %build |
---|
[10735] | 293 | export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -fno-strict-overflow" |
---|
| 294 | if echo 'int main () { return 0; }' | gcc -pie -fPIE -O2 -xc - -o pietest 2>/dev/null; then |
---|
| 295 | ./pietest && export CFLAGS="$CFLAGS -pie -fPIE" |
---|
| 296 | rm -f pietest |
---|
| 297 | fi |
---|
| 298 | export LDFLAGS="-Wl,-z,relro,-z,now" |
---|
[521] | 299 | |
---|
[10735] | 300 | %configure \ |
---|
| 301 | --prefix=/usr \ |
---|
| 302 | --with-openssl-libdir=%{_libdir} |
---|
[2512] | 303 | |
---|
[10735] | 304 | make -C ntpd ntp_keyword.h |
---|
| 305 | %__make %{?_smp_mflags} |
---|
[2512] | 306 | |
---|
[10735] | 307 | sed -i 's|$ntpq = "ntpq"|$ntpq = "%{_sbindir}/ntpq"|' scripts/ntptrace |
---|
| 308 | sed -i 's|ntpq -c |%{_sbindir}/ntpq -c |' scripts/ntp-wait |
---|
[521] | 309 | |
---|
[2509] | 310 | pushd html |
---|
| 311 | ../scripts/html2man |
---|
| 312 | # remove adjacent blank lines |
---|
| 313 | sed -i 's/^[\t\ ]*$//;/./,/^$/!d' man/man*/*.[58] |
---|
| 314 | popd |
---|
| 315 | |
---|
[10735] | 316 | %__make %{?_smp_mflags} -C ntpstat-0.2 CFLAGS="$CFLAGS" |
---|
| 317 | |
---|
[521] | 318 | %install |
---|
| 319 | rm -rf $RPM_BUILD_ROOT |
---|
| 320 | |
---|
| 321 | %makeinstall |
---|
| 322 | |
---|
[2509] | 323 | { pushd $RPM_BUILD_ROOT |
---|
[521] | 324 | |
---|
| 325 | mkdir -p .%{_sysconfdir}/{ntp,rc.d/init.d,sysconfig} |
---|
| 326 | mkdir -p .%{_sysconfdir}/NetworkManager/dispatcher.d |
---|
| 327 | install -m644 $RPM_SOURCE_DIR/ntp.conf .%{_sysconfdir}/ntp.conf |
---|
| 328 | touch .%{_sysconfdir}/ntp/drift |
---|
| 329 | install -m600 $RPM_SOURCE_DIR/ntp.keys .%{_sysconfdir}/ntp/keys |
---|
| 330 | touch .%{_sysconfdir}/ntp/step-tickers |
---|
| 331 | install -m755 $RPM_SOURCE_DIR/ntpd.init .%{_sysconfdir}/rc.d/init.d/ntpd |
---|
| 332 | install -m644 %{SOURCE4} .%{_sysconfdir}/sysconfig/ntpd |
---|
[2509] | 333 | install -m755 %{SOURCE100} .%{_sysconfdir}/NetworkManager/dispatcher.d/06-ntpd |
---|
[521] | 334 | |
---|
| 335 | strip .%{_bindir}/* || : |
---|
[2509] | 336 | popd |
---|
[521] | 337 | } |
---|
| 338 | |
---|
[2509] | 339 | mkdir -p $RPM_BUILD_ROOT%{_mandir}/man8 |
---|
| 340 | pushd html/man/man8 |
---|
| 341 | install -m 644 ntp-wait.8 $RPM_BUILD_ROOT%{_mandir}/man8/ |
---|
| 342 | install -m 644 ntptrace.8 $RPM_BUILD_ROOT%{_mandir}/man8/ |
---|
| 343 | popd |
---|
| 344 | |
---|
| 345 | pushd ntpstat-0.2 |
---|
| 346 | mkdir -p $RPM_BUILD_ROOT%{_bindir} |
---|
| 347 | install -m 755 ntpstat $RPM_BUILD_ROOT%{_bindir} |
---|
| 348 | install -m 644 ntpstat.1 $RPM_BUILD_ROOT%{_mandir}/man8/ntpstat.8 |
---|
| 349 | popd |
---|
| 350 | |
---|
[521] | 351 | %clean |
---|
| 352 | rm -rf $RPM_BUILD_ROOT |
---|
| 353 | |
---|
| 354 | %post |
---|
| 355 | /sbin/chkconfig --add ntpd |
---|
| 356 | |
---|
| 357 | %preun |
---|
| 358 | if [ $1 = 0 ]; then |
---|
| 359 | service ntpd stop > /dev/null 2>&1 |
---|
| 360 | /sbin/chkconfig --del ntpd |
---|
| 361 | fi |
---|
| 362 | |
---|
| 363 | %postun |
---|
| 364 | if [ "$1" -ge "1" ]; then |
---|
| 365 | # service ntpd condrestart > /dev/null 2>&1 |
---|
| 366 | service ntpd condrestart |
---|
| 367 | fi |
---|
| 368 | |
---|
| 369 | %files |
---|
| 370 | %defattr(-,root,root) |
---|
| 371 | %doc html/* NEWS TODO |
---|
[2509] | 372 | |
---|
| 373 | %{_sbindir}/ntp-keygen |
---|
| 374 | %{_sbindir}/ntpd |
---|
| 375 | %{_sbindir}/ntpdate |
---|
| 376 | %{_sbindir}/ntpdc |
---|
| 377 | %{_sbindir}/ntpq |
---|
| 378 | %{_sbindir}/ntpstat |
---|
| 379 | %{_sbindir}/ntptime |
---|
| 380 | %{_sbindir}/sntp |
---|
| 381 | %{_sbindir}/tickadj |
---|
| 382 | |
---|
[521] | 383 | %config %{_sysconfdir}/rc.d/init.d/ntpd |
---|
[9333] | 384 | # %config(noreplace) %{_sysconfdir}/ntp.conf |
---|
| 385 | %config %{_sysconfdir}/ntp.conf |
---|
[521] | 386 | %dir %{_sysconfdir}/ntp/ |
---|
| 387 | %ghost %config(missingok) %{_sysconfdir}/ntp/drift |
---|
| 388 | %config(noreplace) %{_sysconfdir}/ntp/keys |
---|
| 389 | %ghost %config(missingok) %{_sysconfdir}/ntp/step-tickers |
---|
| 390 | %config(noreplace) %{_sysconfdir}/sysconfig/ntpd |
---|
| 391 | %{_sysconfdir}/NetworkManager/dispatcher.d/* |
---|
| 392 | %{_mandir}/man1/* |
---|
[2509] | 393 | %{_mandir}/man8/ntpstat* |
---|
[521] | 394 | |
---|
[2509] | 395 | %files perl |
---|
| 396 | %defattr(-,root,root) |
---|
| 397 | %{_sbindir}/ntp-wait |
---|
| 398 | %{_sbindir}/ntptrace |
---|
| 399 | %{_mandir}/man8/ntp-wait.8* |
---|
| 400 | %{_mandir}/man8/ntptrace.8* |
---|
| 401 | |
---|
[521] | 402 | %changelog |
---|
[10735] | 403 | * Thu Jul 21 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.2.6p5-8 |
---|
| 404 | - imported all patches from CentOS. |
---|
| 405 | |
---|
[10290] | 406 | * Sun May 15 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.2.6p5-7 |
---|
| 407 | - rebuild with openssl-1.0.2 |
---|
| 408 | |
---|
[9466] | 409 | * Mon Mar 23 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.2.6p5-6 |
---|
| 410 | - replaced readline with libedit (NTPL conflicts GPL). |
---|
| 411 | |
---|
[9463] | 412 | * Sun Mar 22 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 4.2.6p5-5 |
---|
| 413 | - rebuilt with readline 6.3 |
---|
| 414 | - fixed location of Vendor/Distribution/Packager tag |
---|
| 415 | (to avoid inclusion in %%description perl) |
---|
| 416 | |
---|
[9391] | 417 | * Fri Feb 27 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 4.2.6p5-4 |
---|
| 418 | - added patch140 and 150 from Vine Linux/6 |
---|
| 419 | * Mon Feb 9 2015 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 4.2.6p3-5 |
---|
| 420 | - add patch140 for fix CVE-2014-9297 (length value in extension fields) |
---|
| 421 | - add patch150 for fix CVE-2014-9298 (bypass ACLs based on IPv6) |
---|
| 422 | these patches based from debian wheezy, thanks. |
---|
| 423 | |
---|
[9333] | 424 | * Fri Feb 6 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 4.2.6p5-3 |
---|
| 425 | - added patch100-130 from Vine Linux/6 |
---|
| 426 | * Sun Dec 21 2014 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 4.2.6p3-4 |
---|
| 427 | - add Patch100-130 for fix CVE-2014-9293,4,5,6 |
---|
| 428 | these patches are from rhel6, thanks. |
---|
| 429 | * Sat Dec 13 2014 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 4.2.6p3-3 |
---|
| 430 | - update default ntp.conf |
---|
| 431 | - remove "noreplace" of ntp.conf in files section |
---|
| 432 | - added Japanese summary |
---|
| 433 | |
---|
[7061] | 434 | * Sat Nov 3 2012 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 4.2.6p5-1 |
---|
| 435 | - new upstream release |
---|
| 436 | - update patches from fc18 |
---|
| 437 | - fix changelog typo.... |
---|
| 438 | |
---|
[2512] | 439 | * Sun Jan 16 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 4.2.6p3-2 |
---|
| 440 | - add config options to use openssl libs, readline libs |
---|
| 441 | - add BR: libcap-devel, perl-HTML-Parser (Thanks to Take-san) |
---|
| 442 | |
---|
[2509] | 443 | * Sat Jan 15 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 4.2.6p3-1 |
---|
| 444 | - new upstream release |
---|
| 445 | - built with openssl 1.0.0c |
---|
[7061] | 446 | - perl scripts are separated to -perl package |
---|
[2509] | 447 | |
---|
| 448 | * Sat Dec 12 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 4.2.4p8-1 |
---|
| 449 | - new upstream release with security fix (CVE-2009-3563) |
---|
| 450 | |
---|
[521] | 451 | * Fri Aug 21 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 4.2.4p7-3 |
---|
| 452 | - add NetworkManager/dispatcher.d/06-ntpd for NM |
---|
| 453 | - fix changelog typo... |
---|
| 454 | |
---|
| 455 | * Wed May 20 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 4.2.4p7-2 |
---|
| 456 | - turn on daemon restart message |
---|
| 457 | |
---|
| 458 | * Wed May 20 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 4.2.4p7-1 |
---|
| 459 | - new upstream release with security fix (CVE-2009-0159,1252) |
---|
| 460 | - drop pacth100 (included in new release) |
---|
| 461 | - update patch5 to fit p7 release |
---|
| 462 | |
---|
| 463 | * Mon Apr 27 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 4.2.4p6-2 |
---|
| 464 | - add patch100 for fix CVE-2009-0159 (ntpq) |
---|
| 465 | - run autoreconf instead of autoconf |
---|
| 466 | |
---|
| 467 | * Sun Jan 11 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 4.2.4p6-1 |
---|
| 468 | - new upstream release with security fix (CVE-2009-0021) |
---|
| 469 | |
---|
| 470 | * Mon Apr 28 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.2.4p4-1 |
---|
| 471 | - new upstream release |
---|
| 472 | |
---|
| 473 | * Sun Aug 5 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.2.4p3-0vl2 |
---|
| 474 | - rebuilt |
---|
| 475 | |
---|
| 476 | * Thu Jul 26 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.2.4p3-0vl1 |
---|
| 477 | - new upstream release |
---|
| 478 | - updated Patch5 |
---|
| 479 | |
---|
| 480 | * Mon Nov 20 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 4.2.0-0vl7 |
---|
| 481 | - rebuild for Vine Seed |
---|
| 482 | |
---|
| 483 | * Mon Nov 20 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 4.2.0-0vl6 |
---|
| 484 | - add Patch5 to skip checking md5.h |
---|
| 485 | |
---|
| 486 | * Mon Nov 20 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.2.0-0vl5 |
---|
| 487 | - rebuilt without libelf-devel (ppc.rpm linked with libelf.so.0) |
---|
| 488 | |
---|
| 489 | * Fri Aug 18 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 4.2.0-0vl4 |
---|
| 490 | - rebuild with readline-5.1 |
---|
| 491 | - add BuildRequires: openssl-devel, readline-devel |
---|
| 492 | |
---|
| 493 | * Fri Apr 09 2004 Tomoya TAKA <taka@vinelinux.org> 4.2.0-0vl3 |
---|
| 494 | - rebuild with openssl-0.9.7d |
---|
| 495 | - add config_crypto.patch for alpha (Patch4) |
---|
| 496 | |
---|
| 497 | * Wed Mar 3 2004 NISHIMURA Daisuke <nishi@graco.c.u-tokyo.ac.jp> 4.2.0-0vl2 |
---|
| 498 | - ntp.conf (Source1): authenticate command has been disappeared. |
---|
| 499 | - ntpd.init (Source3): remove RedHat's firewall-related codes. |
---|
| 500 | - remove obsolete patches (Patch0, Patch1) |
---|
| 501 | |
---|
| 502 | * Mon Feb 16 2004 IWAI, Masaharu <iwai@alib.jp> 4.2.0-0vl1 |
---|
| 503 | - update to 4.2.0 |
---|
| 504 | - update ntpd.init (Source3): from Fedora ntp-4.2.0-5 |
---|
| 505 | - add ntpd.sysconfig (Source4) |
---|
| 506 | - stop patching vsnprintf patch (Patch1) |
---|
| 507 | |
---|
| 508 | * Mon Sep 1 2003 IWAI, Masaharu <iwai@alib.jp> 4.1.2-0vl1 |
---|
| 509 | - update to 4.1.2 |
---|
| 510 | - update URL tag |
---|
| 511 | - update vsnprintf.patch (Patch1) |
---|
| 512 | |
---|
| 513 | * Tue May 06 2003 Tomoya TAKA <taka@vinelinux.org> 4.1.1-0vl2 |
---|
| 514 | - rebuild with new toolchain |
---|
| 515 | |
---|
| 516 | * Fri Mar 01 2002 Toru Sagami <sagami@vinelinux.org> 4.1.1-0vl1 |
---|
| 517 | - update to 4.1.1 |
---|
| 518 | |
---|
| 519 | * Tue Sep 04 2001 Jiro Yamada <jiro@fd.catv.ne.jp> |
---|
| 520 | - update to 4.1.0 |
---|
| 521 | |
---|
| 522 | * Mon Apr 09 2001 akira yamada <akira@vinelinux.org> |
---|
| 523 | - new upstream version 4.0.99k23. |
---|
| 524 | |
---|
| 525 | * Thu Apr 05 2001 akira yamada <akira@vinelinux.org> |
---|
| 526 | - fixed buffer overrun (imported from debian). |
---|
| 527 | - imported from rawhide. |
---|
| 528 | |
---|
| 529 | * Mon Mar 5 2001 Preston Brown <pbrown@redhat.com> |
---|
| 530 | - allow comments in /etc/ntp/step-tickers file (#28786). |
---|
| 531 | - need patch0 (glibc patch) on ia64 too |
---|
| 532 | |
---|
| 533 | * Tue Feb 13 2001 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 534 | - also set prog=ntpd in initscript |
---|
| 535 | |
---|
| 536 | * Tue Feb 13 2001 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 537 | - use "$prog" instead of "$0" for the init script |
---|
| 538 | |
---|
| 539 | * Thu Feb 8 2001 Preston Brown <pbrown@redhat.com> |
---|
| 540 | - i18n-neutral .init script (#26525) |
---|
| 541 | |
---|
| 542 | * Tue Feb 6 2001 Preston Brown <pbrown@redhat.com> |
---|
| 543 | - use gethostbyname on addresses in /etc/ntp.conf for ntptime command (#26250) |
---|
| 544 | |
---|
| 545 | * Mon Feb 5 2001 Preston Brown <pbrown@redhat.com> |
---|
| 546 | - start earlier and stop later (#23530) |
---|
| 547 | |
---|
| 548 | * Mon Feb 5 2001 Bernhard Rosenkraenzer <bero@redhat.com> |
---|
| 549 | - i18nize init script (#26078) |
---|
| 550 | |
---|
| 551 | * Sat Jan 6 2001 Jeff Johnson <jbj@redhat.com> |
---|
| 552 | - typo in ntp.conf (#23173). |
---|
| 553 | |
---|
| 554 | * Mon Dec 11 2000 Karsten Hopp <karsten@redhat.de> |
---|
| 555 | - rebuilt to fix permissions of /usr/share/doc/ntp-xxx |
---|
| 556 | |
---|
| 557 | * Thu Nov 2 2000 Jeff Johnson <jbj@redhat.com> |
---|
| 558 | - correct mis-spellings in ntpq.htm (#20007). |
---|
| 559 | |
---|
| 560 | * Thu Oct 19 2000 Jeff Johnson <jbj@redhat.com> |
---|
| 561 | - add %ghost /etc/ntp/drift (#15222). |
---|
| 562 | |
---|
| 563 | * Wed Oct 18 2000 Jeff Johnson <jbj@redhat.com> |
---|
| 564 | - comment out default values for keys, warn about starting with -A (#19316). |
---|
| 565 | - take out -A from ntpd startup as well. |
---|
| 566 | - update to 4.0.99k. |
---|
| 567 | |
---|
| 568 | * Wed Aug 23 2000 Jeff Johnson <jbj@redhat.com> |
---|
| 569 | - use vsnprintf rather than vsprintf (#16676). |
---|
| 570 | |
---|
| 571 | * Mon Aug 14 2000 Jeff Johnson <jbj@redhat.com> |
---|
| 572 | - remove Conflicts: so that the installer is happy. |
---|
| 573 | |
---|
| 574 | * Tue Jul 25 2000 Jeff Johnson <jbj@redhat.com> |
---|
| 575 | - workaround glibc-2.1.90 lossage for now. |
---|
| 576 | |
---|
| 577 | * Thu Jul 20 2000 Bill Nottingham <notting@redhat.com> |
---|
| 578 | - move initscript back |
---|
| 579 | |
---|
| 580 | * Wed Jul 12 2000 Prospector <bugzilla@redhat.com> |
---|
| 581 | - automatic rebuild |
---|
| 582 | |
---|
| 583 | * Mon Jun 26 2000 Preston Brown <pbrown@redhat.com> |
---|
| 584 | - move and update init script, update post/preun/postun scripts |
---|
| 585 | |
---|
| 586 | * Wed Jun 21 2000 Preston Brown <pbrown@redhat.com> |
---|
| 587 | - noreplace ntp.conf,keys files |
---|
| 588 | |
---|
| 589 | * Mon Jun 12 2000 Jeff Johnson <jbj@redhat.com> |
---|
| 590 | - Create 4.0.99j package. |
---|
| 591 | - FHS packaging. |
---|