Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 207

Summary: rdate-1.1.ebuild (New Package)
Product: Gentoo Linux Reporter: Ferry Meyndert <m0rpheus>
Component: Current packagesAssignee: Mikael Hallendal (hallski) (RETIRED) <hallski>
Status: RESOLVED FIXED    
Severity: normal Keywords: EBUILD
Priority: High    
Version: 1.0 RC6 r14   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ferry Meyndert 2002-01-17 06:50:37 UTC
rdate is a nice little tool i use in some of time sync scripts. ANd can get the
time from ntp server.

thinks fits best in net-misc

example usage:

rdate ntp.xs4all.nl>/dev/null;hwclock --systohc>/dev/null
Comment 1 Ferry Meyndert 2002-01-17 06:53:21 UTC
And Agin i have troubles attachinf files so here it is



#Copyright 2002 Gentoo Technologies,Inc.
#Distributed under the terms of the GNU General Public License, v2 or later
#Author Ferry Meyndert <m0rpheus@poseidon.mine.nu>

A=${P}.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="Nice little tool too sync time with a ntp server."
SRC_URI="ftp://people.redhat.com/sopwith/${A}"
HOMEPAGE="http://people.redhat.com/sopwith/"

DEPEND=">=sys-libs/glibc-2.1.3"

RDEPEND=$DEPEND

src_unpack() {

        unpack ${A}


}

src_compile() {

        make || die
}

src_install () {

        into /usr
        dobin rdate
}