# ChangeLog for net-misc/rdate
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/net-misc/rdate/ChangeLog,v 1.2 2002/07/09 10:43:46 phoenix Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/rdate/ChangeLog,v 1.3 2002/10/20 08:56:34 seemant Exp $
+
+*rdate-990821 (20 Oct 2002)
+
+ 20 Oct 2002; Seemant Kulleen <seemant@gentoo.org> rdate-990821-r1.ebuild
+ files/digest-rdate-990821-r1 :
+
+ Updated to use ipv6 and compiler flags from /etc/make.conf. Thanks to:
+ maurizio@iridium.aetheric.org (Maurizio Disimino) in bug #8808.
*rdate-990821 (1 Feb 2002)
--- /dev/null
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# /home/cvsroot/gentoo-x86/net-misc/rdate,v 1.2 2001/02/15 18:17:31 achim Exp
+# $Header: /var/cvsroot/gentoo-x86/net-misc/rdate/rdate-990821-r1.ebuild,v 1.1 2002/10/20 08:56:34 seemant Exp $
+
+inherit flag-o-matic
+
+IUSE="ipv6"
+
+DESCRIPTION="rdate uses the NTP server of your choice to syncronize/show the current time"
+SRC_URI="ftp://metalab.unc.edu/pub/Linux/system/network/misc/${P}.tar.gz"
+HOMEPAGE="http://www.freshmeat.net/projects/rdate"
+
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~sparc64"
+LICENSE="GPL-2"
+
+DEPEND="sys-apps/supersed"
+
+src_install(){
+ use ipv6 && append-flags "-DINET6"
+
+ ssed -i "s/^\(CFLAGS = \).*/\1${CFLAGS}/" Makefile
+
+ dodir /usr/{bin,share/man/man1}
+ make DESTDIR=${D} install || die "Failed to install rdate"
+ dodoc README.linux
+}