]> git.pld-linux.org Git - packages/rdate.git/commitdiff
This commit was manufactured by cvs2git to create branch 'unlabeled-1.4.2'.
authorcvs2git <feedback@pld-linux.org>
Mon, 31 Mar 2003 20:43:40 +0000 (20:43 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Sprout from master 2003-03-31 20:43:40 UTC Tomek Orzechowski <orzech@pld-linux.org> '- experimental SYNC_HWCLOCK support'
Delete:
    rdate-segfault.patch
    rdate.init
    rdate.spec
    rdate.sysconfig

rdate-segfault.patch [deleted file]
rdate.init [deleted file]
rdate.spec [deleted file]
rdate.sysconfig [deleted file]

diff --git a/rdate-segfault.patch b/rdate-segfault.patch
deleted file mode 100644 (file)
index ad9492a..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ru rdate-1.3.orig/rdate.c rdate-1.3/rdate.c
---- rdate-1.3.orig/rdate.c     Wed Nov  6 16:58:53 2002
-+++ rdate-1.3/rdate.c  Tue Jan 14 12:30:46 2003
-@@ -234,7 +234,7 @@
-         /* Do specified action(s) */
-         if(set_mode && stime(&timeval) < 0)
-           {
--            writeLog(1, "%s: could not set system time: %s", strerror(errno));
-+            writeLog(1, "could not set system time: %s", strerror(errno));
-             retval = 1;
-             break;
-           }
diff --git a/rdate.init b/rdate.init
deleted file mode 100644 (file)
index 9ada571..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-#!/bin/sh
-#
-# rdate                This shell script takes care of setting date from ntp server on startup
-#
-# chkconfig:    2345 11 89
-# description: set time with rdate
-# processname: rdate
-
-# Source function library.
-. /etc/rc.d/init.d/functions
-
-# Source networking configuration.
-. /etc/sysconfig/network
-
-# Check that networking is up.
-if is_no "${NETWORKING}"; then
-       msg_network_down rdate
-       exit 1
-fi
-
-SET_TIME=no
-
-# Get service config
-if [ -f /etc/sysconfig/rdate ] ; then
-       . /etc/sysconfig/rdate
-fi
-
-# See how we were called.
-case "$1" in
-  start|restart)
-       # Check if we have to do anything:
-       if [ "$SET_TIME" = "yes" ]; then
-               if [ -n "$RDATE_SERVER" ]; then
-                       run_cmd "Setting time from remote server: $RDATE_SERVER" rdate -s -l $RDATE_SERVER
-               fi
-       fi
-       ;;
-  stop)
-       # nothing to do
-       ;;
-  status)
-       if [ -n "$RDATE_SERVER" ]; then
-               rdate $RDATE_SERVER
-               echo -n "Local time: "
-               date
-               echo -n "Local machine hardware clock: "
-               clock --show
-       fi
-       ;;
-  *)
-       msg_usage "$0 {start|stop|restart|status}"
-       exit 1
-esac
diff --git a/rdate.spec b/rdate.spec
deleted file mode 100644 (file)
index 7fc70be..0000000
+++ /dev/null
@@ -1,117 +0,0 @@
-Summary:       Remote clock reader (and local setter)
-Summary(de):   Entfernter Uhrenleser (lokaler Einsteller)
-Summary(es):   Lector de reloj remoto (y ajuste local)
-Summary(fr):   Lecteur d'horloge distante (et configurateur local)
-Summary(pl):   Program podaj±cy (i ustawiaj±cy) zdalny czas zegara
-Summary(pt_BR):        Leitor de relógio remoto (e ajustador local)
-Summary(ru):   ðÒÏÇÒÁÍÍÁ ÄÌÑ ÞÔÅÎÉÑ ÕÄÁÌÅÎÎÙÈ ÞÁÓÏ× É ÕÓÔÁÎÏ×ËÉ ÐÏ ÎÉÍ ÍÅÓÔÎÙÈ
-Summary(tr):   Að üzerinden sistem saatini ayarlayan yazýlým
-Name:          rdate
-Version:       1.3
-Release:       5
-License:       GPL
-Group:         Networking/Utilities
-Source0:       ftp://people.redhat.com/sopwith/%{name}-%{version}.tar.gz
-Source1:       %{name}.init
-Source2:       %{name}.sysconfig
-Source3:       %{name}.cron
-Patch0:                %{name}-segfault.patch
-Requires(post,postun): /sbin/chkconfig
-Obsoletes:     rdate-bsd
-BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-
-%description
-rdate is a program that can retrieve the time from another machine on
-your network. If run as root, it will also set your local time to that
-of the machine you queried. It is not super accurate; get ntpd if you
-are really worried about milliseconds.
-
-%description -l de
-rdate ist ein Programm, das die Uhrzeit von einem anderen
-Netzwerkrechner lesen kann. Wenn Sie es als root ausführen, stellt es
-Ihre Ortszeit auf die des abgefragten Rechners ein. Es ist nicht sehr
-genau. Wenn Sie auf die Millisekunde genau sein wollen, besorgen Sie
-sich ntpd.
-
-%description -l es
-Rdate es un programa que puede retornar el tiempo (fecha/hora) de otra
-máquina en tu red. Si le ejecutas como root, también configurará el
-tiempo local como el de la máquina solicitada. No es muy riguroso;
-coge xntpd, si realmente te preocupa los milisegundos.
-
-%description -l fr
-rdate permet de récupérer l'heure d'une autre machine du réseau. s'il
-est lancé par root, il configurera aussi votre heure locale avec celle
-de la machine que vous avez interrogé. Il n'est pas très précis ; si
-vous vous souciez des millisecondes, récupérez ntpd.
-
-%description -l pl
-rdate jest programem który odczytuje datê i godzinê z innej maszyny w
-sieci. Je¿eli jest uruchamiany jako root mo¿e tak¿e s³u¿yæ do
-synchronizacji lokalnego czasu wzglêdem innego komputera w sieci. Nie
-jest zbyt dok³adny i je¿eli milisekundy maj± dla nas znaczenie nale¿y
-u¿yæ ntpd.
-
-%description -l pt_BR
-Rdate é um programa que pode retornar o tempo (data/hora) de outra
-máquina na sua rede. Se rodar como root, ele também irá configurar o
-hora local como o da máquina requisitada. Ele não é super preciso;
-pegue xntpd se você realmente se preocupa com milisegundos.
-
-%description -l ru
-õÔÉÌÉÔÁ rdate ÓÞÉÔÙ×ÁÅÔ ÄÁÔÕ É ×ÒÅÍÑ Ó ÄÒÕÇÏÊ ÍÁÛÉÎÙ ×ÁÛÅÊ ÓÅÔÉ
-ÉÓÐÏÌØÚÕÑ ÐÒÏÔÏËÏÌ ÏÐÉÓÁÎÎÙÊ × RFC 868. åÓÌÉ ×Ù ÚÁÐÕÓËÁÅÔÅ rdate ÏÔ
-ÐÏÌØÚÏ×ÁÔÅÌÑ root, ÏÎÁ ÔÁËÖÅ ÍÏÖÅÔ ÕÓÔÁÎÏ×ÉÔØ ×ÒÅÍÑ ÎÁ ÌÏËÁÌØÎÏÊ
-ÍÁÛÉÎÅ × ÓÏÏÔ×ÅÔÓÔ×ÉÉ ÓÏ ×ÒÅÍÅÎÅÍ ÎÁ ÕÄÁÌÅÎÎÏÊ ÍÁÛÉÎÅ. éÍÅÊÔÅ × ×ÉÄÕ,
-ÞÔÏ rdate ÎÅ ÏÔÌÉÞÁÅÔÓÑ ÏÓÏÂÅÎÎÏÊ ÔÏÞÎÏÓÔØÀ; ÅÓÌÉ ×Ù ÚÁÂÏÔÉÔÅÓØ Ï
-ÍÉÌÌÉÓÅËÕÎÄÁÈ, ÕÓÔÁÎÏ×ÉÔÅ ÐÁËÅÔ xntp3, ×ËÌÀÞÁÀÝÉÊ ÄÅÍÏÎÁ xntpd.
-
-%description -l tr
-rdate ile herhangi baþka bir makinadan sistem saatini sorgulanabilir.
-Yetkili kullanýcý tarafýndan çalýþtýrýlýrsa sistem saatini ayarlamak
-da mümkündür. Ne var ki bu uygulama çok hassas deðildir.
-
-%description -l uk
-õÔÉ̦ÔÁ rdate ÏÔÒÉÍÕ¤ ÄÁÔÕ ÔÁ ÞÁÓ Ú ¦ÎÛϧ ÍÁÛÉÎÉ Õ ×ÁۦʠÍÅÒÅÖ¦,
-×ÉËÏÒÉÓÔÏ×ÕÀÞÉ ÐÒÏÔÏËÏÌ ÏÐÉÓÁÎÉÊ × RFC 868. ñËÝÏ ×É ÚÁÐÕÓËÁ¤ÔÅ rdate
-צĠËÏÒÉÓÔÕ×ÁÞÁ root, ×ÏÎÁ ÔÁËÏÖ ÍÏÖÅ ×ÓÔÁÎÏ×ÉÔÉ ÞÁÓ ÎÁ ÌÏËÁÌØΦÊ
-ÍÁÛÉΦ Õ ×¦ÄÐÏצÄÎÏÓÔ¦ ¦Ú ÞÁÓÏÍ ÎÁ ×¦ÄÄÁÌÅΦʠÍÁÛÉΦ. íÁÊÔÅ ÎÁ Õ×ÁÚ¦,
-ÝÏ rdate ÎŠצÄÒ¦ÚÎѤÔØÓÑ ÏÓÏÂÌÉ×ÏÀ ÔÏÞΦÓÔÀ; ÑËÝÏ ×É ÔÕÒÂÕ¤ÔÅÓØ ÐÒÏ
-̦ͦÓÅËÕÎÄÉ, ×ÓÔÁÎÏצÔØ ÐÁËÅÔ xntp3, ÑËÉÊ ×ËÌÀÞÁ¤ ÄÅÍÏÎÁ xntpd.
-
-%prep
-%setup -q
-%patch0 -p1
-
-%build
-%{__make} clean
-%{__make} CFLAGS="-DINET6 %{rpmcflags}"
-
-%install
-rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,/etc/{cron.daily,rc.d/init.d,sysconfig}}
-
-install rdate $RPM_BUILD_ROOT%{_bindir}
-install rdate.1 $RPM_BUILD_ROOT%{_mandir}/man1
-install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
-install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
-install %{SOURCE3} $RPM_BUILD_ROOT/etc/cron.daily/%{name}
-
-%post
-/sbin/chkconfig --add rdate
-
-%preun
-if [ "$1" = "0" ]; then
-       /sbin/chkconfig --del rdate
-fi
-       
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%files
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/rdate
-%attr(755,root,root) /etc/rc.d/init.d/%{name}
-%attr(755,root,root) /etc/cron.daily/%{name}
-%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
-%{_mandir}/man1/*
diff --git a/rdate.sysconfig b/rdate.sysconfig
deleted file mode 100644 (file)
index 3b66ab0..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-# Do you want to set data from remote server at all?
-#SET_TIME="yes"
-
-# Do you want to sync hardware clock with system time?
-#SYNC_HWCLOCK="yes"
-
-# From which server?
-#RDATE_SERVERS=""
This page took 0.099354 seconds and 4 git commands to generate.