diff options
author | Johannes Winkelmann <jw@smts.ch> | 2006-02-23 15:26:10 +0000 |
---|---|---|
committer | Johannes Winkelmann <jw@smts.ch> | 2006-02-23 15:26:10 +0000 |
commit | e3afe2298e821d7f5860128720e665d8fb3bd641 (patch) | |
tree | bfb499432688352b1140b13ad8252c8e4e739006 /rdate | |
download | core-e3afe2298e821d7f5860128720e665d8fb3bd641.tar.gz core-e3afe2298e821d7f5860128720e665d8fb3bd641.tar.xz |
create branch for 2.2
Diffstat (limited to 'rdate')
-rw-r--r-- | rdate/.footprint | 10 | ||||
-rw-r--r-- | rdate/.md5sum | 2 | ||||
-rw-r--r-- | rdate/Pkgfile | 16 | ||||
-rwxr-xr-x | rdate/rdate | 8 |
4 files changed, 36 insertions, 0 deletions
diff --git a/rdate/.footprint b/rdate/.footprint new file mode 100644 index 00000000..b51c8bb5 --- /dev/null +++ b/rdate/.footprint @@ -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/man1/ +-rw-r--r-- root/root usr/man/man1/rdate.1.gz diff --git a/rdate/.md5sum b/rdate/.md5sum new file mode 100644 index 00000000..6c853bc0 --- /dev/null +++ b/rdate/.md5sum @@ -0,0 +1,2 @@ +895e666bcf4c925202e5170299f28227 rdate +b2e5bbfa10ec480076750fd78fe7f7a5 rdate-1.4.tar.gz diff --git a/rdate/Pkgfile b/rdate/Pkgfile new file mode 100644 index 00000000..940dd2d5 --- /dev/null +++ b/rdate/Pkgfile @@ -0,0 +1,16 @@ +# Description: Retrieves the date and time from another machine on your network (RFC 868) +# URL: ftp://people.redhat.com/sopwith/ +# Maintainer: Per Lidén <per@fukt.bth.se> + +name=rdate +version=1.4 +release=1 +source=(ftp://people.redhat.com/sopwith/$name-$version.tar.gz rdate) + +build() { + cd $name-$version + make CFLAGS="$CFLAGS" + install -D -m 755 rdate $PKG/usr/bin/rdate + install -D -m 755 ../rdate $PKG/etc/cron/daily/rdate + install -D -m 644 rdate.1 $PKG/usr/man/man1/rdate.1 +} diff --git a/rdate/rdate b/rdate/rdate new file mode 100755 index 00000000..2ac9dc38 --- /dev/null +++ b/rdate/rdate @@ -0,0 +1,8 @@ +#!/bin/sh +# +# /etc/cron/daily/rdate: synchronize system clock +# + +#/usr/bin/rdate -s <server> + +# End of file |