Summary: Tool for getting the date/time from a remote machine. Summary(ja): リモートマシンから日付/時刻を取得するツール Name: rdate Version: 1.4 Release: 3%{?_dist_release} License: GPLv2+ Group: Applications/System URL: ftp://people.redhat.com/sopwith/ Source: ftp://people.redhat.com/sopwith/rdate-%{version}.tar.gz Patch0: rdate-1.4-udp.patch Patch1: rdate-1.4-addrinfo.patch Patch2: rdate-1.4-spellerr.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root %description The rdate utility retrieves the date and time from another machine on your network, using the protocol described in RFC 868. If you run rdate as root, it will set local time of your machine to the time of the machine that you queried. %description -l ja rdate はネットワーク上の他マシンから RFC 868 のプロトコルを使って 日付と時刻を取得するユーティリティです. root 権限で rdate を実行すると,取得した時刻情報を元に実行マシンの 時刻を設定します. %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 %build make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS -DINET6" %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_bindir} %makeinstall %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc COPYING %attr(0755,root,root) %{_bindir}/rdate %{_mandir}/man1/rdate.1* %changelog * Sun May 1 2011 Ryoichi INAGAKI 1.4-3 - rebuilt with current VineSeed - added Patches from FC * Wed Jan 19 2011 Honza Horak - 1.4-16 - man page fix * Mon Mar 31 2008 Jiri Moskovcak - 1.4-11 - fixed early freeing of addrinfo * Tue Jul 10 2007 Jiri Moskovcak 1.4-8 - fixes memory allocation - Resolves: #190883 * Fri Aug 15 2008 Shu KONNO 1.4-2vl5 - applied new versioning policy, spec in utf-8 * Sun Oct 3 2004 Ryoichi INAGAKI 1.4-2vl1 - based on 1.4-2 from Fedora * Mon Mar 22 2004 Elliot Lee 1.4-1 - Timeout (-t) patch from Johan Nilsson * Sun Jul 20 2003 Ryoichi INAGAKI 1.3-3vl1 - based on 1.3-3 from Rawhide - s/Copyright/License/ * Wed Jan 10 2001 MATSUBAYASHI 'Shaolin' Kohji - 1.0-7vl1 - based on 1.0-7 from Rawhide - added Japanese summary and description * Thu Dec 7 2000 Crutcher Dunnavant - rebuild for new tree * Thu Aug 17 2000 Jeff Johnson - summaries from specspo. * Wed Aug 09 2000 Philipp Knirsch - Bugfix for missing /etc/services entry for time protocol (#15797) * Mon Jul 31 2000 Crutcher Dunnavant - tracked successful rdate attempts, so that failure returns 1 * Wed Jul 12 2000 Prospector - automatic rebuild * Sun Jun 18 2000 Jeff Johnson - FHS packaging. * Fri Feb 04 2000 Elliot Lee - Rewrite the stinking thing due to license worries (bug #8619) * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 8) * Sun Aug 16 1998 Jeff Johnson - build root * Tue May 05 1998 Prospector System - translations modified for de, fr, tr * Mon Oct 20 1997 Otto Hammersmith - fixed the url to the source * Mon Jul 21 1997 Erik Troan - built against glibc