diff options
Diffstat (limited to 'openrdate')
-rw-r--r-- | openrdate/.footprint | 11 | ||||
-rw-r--r-- | openrdate/.md5sum | 2 | ||||
-rw-r--r-- | openrdate/.sha256sum | 2 | ||||
-rw-r--r-- | openrdate/Pkgfile | 21 | ||||
-rw-r--r-- | openrdate/Pkgfile.old | 17 | ||||
-rw-r--r-- | openrdate/rdate | 13 |
6 files changed, 66 insertions, 0 deletions
diff --git a/openrdate/.footprint b/openrdate/.footprint new file mode 100644 index 0000000..7ceb473 --- /dev/null +++ b/openrdate/.footprint @@ -0,0 +1,11 @@ +drwxr-xr-x root/root etc/ +drwxr-xr-x root/root etc/cron/ +drwxr-xr-x root/root etc/cron/daily/ +-rwxr-xr-x root/root etc/cron/daily/rdate +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/rdate +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man8/ +-rw-r--r-- root/root usr/share/man/man8/rdate.8.bz2 diff --git a/openrdate/.md5sum b/openrdate/.md5sum new file mode 100644 index 0000000..90e4fb6 --- /dev/null +++ b/openrdate/.md5sum @@ -0,0 +1,2 @@ +ad9bd58e1fb7babc74d0a0a16a1248a2 openrdate-1.2.tar.gz +c212d60bdabec86c27d82b1a19223aa0 rdate diff --git a/openrdate/.sha256sum b/openrdate/.sha256sum new file mode 100644 index 0000000..3846727 --- /dev/null +++ b/openrdate/.sha256sum @@ -0,0 +1,2 @@ +2921fc96d4ca676190d6ffd45fa80e107c1fe12291c0c4f64827c29639863332 openrdate-1.2.tar.gz +b050a5e063a5b0b8ce6dde657729335ce7dc3eb02e002fb35f37aa0ef71d3aa1 rdate diff --git a/openrdate/Pkgfile b/openrdate/Pkgfile new file mode 100644 index 0000000..52bb9e4 --- /dev/null +++ b/openrdate/Pkgfile @@ -0,0 +1,21 @@ +description="Time setting software implementing RFC 868 (inetd time) and RFC 2030 (SNTP/NTP) protocols." +packager="CRUX System Team <core-ports AT crux DOT nu>" +maintainer="Lukc <lukc AT upyum DOT com>" +url="http://sourceforge.net/projects/openrdate/" +depends=() + +name=openrdate +version=1.2 +release=1 +source=( + http://downloads.sourceforge.net/project/$name/$name/$name-$version.tar.gz/$name-$version.tar.gz + rdate +) +build () +{ + cd $name-$version; + ./configure --prefix=$prefix --mandir=$mandir; + make; + make DESTDIR=$PKG install; + install -D -m 755 $SRC/rdate $PKG/etc/cron/daily/rdate +} diff --git a/openrdate/Pkgfile.old b/openrdate/Pkgfile.old new file mode 100644 index 0000000..a469f87 --- /dev/null +++ b/openrdate/Pkgfile.old @@ -0,0 +1,17 @@ +# Description: Time setting software implementing RFC 868 (inetd time) and RFC 2030 (SNTP/NTP) protocols +# URL: http://sourceforge.net/projects/openrdate/ +# Maintainer: CRUX System Team, core-ports at crux dot nu + +name=openrdate +version=1.2 +release=1 +source=(http://downloads.sourceforge.net/project/$name/$name/$name-$version.tar.gz/$name-$version.tar.gz + rdate) + +build() { + cd $name-$version + ./configure --prefix=/usr --mandir=/usr/man + make + make DESTDIR=$PKG install + install -D -m 755 $SRC/rdate $PKG/etc/cron/daily/rdate +} diff --git a/openrdate/rdate b/openrdate/rdate new file mode 100644 index 0000000..1e9218b --- /dev/null +++ b/openrdate/rdate @@ -0,0 +1,13 @@ +#!/bin/sh +# +# /etc/cron/daily/rdate: synchronize system clock +# +# Note: +# If called with the -a option, rdate use the adjtime +# system call instead of settimeofday to gradually skew +# the local time to the remote time rather than just +# hopping. See rdate(8) and adjtime(2). + +#/usr/bin/rdate -nav pool.ntp.org + +# End of file |