CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
openrdate: initial import (verified compilation)
authorJose V Beneyto <sepen@crux.nu>
Tue, 29 Jun 2010 07:29:30 +0000 (09:29 +0200)
committerJose V Beneyto <sepen@crux.nu>
Tue, 29 Jun 2010 07:29:30 +0000 (09:29 +0200)
openrdate/.footprint [new file with mode: 0644]
openrdate/.md5sum [new file with mode: 0644]
openrdate/Pkgfile [new file with mode: 0644]
openrdate/rdate [new file with mode: 0644]

diff --git a/openrdate/.footprint b/openrdate/.footprint
new file mode 100644 (file)
index 0000000..8dfe3fa
--- /dev/null
@@ -0,0 +1,10 @@
+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/man/
+drwxr-xr-x     root/root       usr/man/man8/
+-rw-r--r--     root/root       usr/man/man8/rdate.8.gz
diff --git a/openrdate/.md5sum b/openrdate/.md5sum
new file mode 100644 (file)
index 0000000..da21470
--- /dev/null
@@ -0,0 +1,2 @@
+ad9bd58e1fb7babc74d0a0a16a1248a2  openrdate-1.2.tar.gz
+ccb1100f79fae9e5013022ec97a0ec06  rdate
diff --git a/openrdate/Pkgfile b/openrdate/Pkgfile
new file mode 100644 (file)
index 0000000..d71514a
--- /dev/null
@@ -0,0 +1,24 @@
+# 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
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
+# Depends on:
+
+name=openrdate
+version=1.2
+release=1
+source=(http://dl.sourceforge.net/sourceforge/openrdate/$name-$version.tar.gz \
+        rdate)
+
+build() {
+  cd $name-$version
+
+  ./configure --build=$CHOST \
+              --host=$CTARGET \
+              --prefix=/usr \
+              --mandir=/usr/man
+
+  make AR="$AR"
+  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 (file)
index 0000000..74457b8
--- /dev/null
@@ -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