summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-01-10 01:36:26 +0000
committerMike Frysinger <vapier@gentoo.org>2003-01-10 01:36:26 +0000
commita103cdeeef85aa880038ff812847862cb2ed87f8 (patch)
tree15f7ad36eb00df0b028d2013664e3b7f97f08bb3 /net-misc/clockspeed
parentThis works fine on ppc. Also; there is no -r6.. I'm guessing the prev. Chang... (diff)
downloadhistorical-a103cdeeef85aa880038ff812847862cb2ed87f8.tar.gz
historical-a103cdeeef85aa880038ff812847862cb2ed87f8.tar.bz2
historical-a103cdeeef85aa880038ff812847862cb2ed87f8.zip
static support #12978
Diffstat (limited to 'net-misc/clockspeed')
-rw-r--r--net-misc/clockspeed/ChangeLog9
-rw-r--r--net-misc/clockspeed/clockspeed-0.62-r2.ebuild43
-rw-r--r--net-misc/clockspeed/files/clockspeed-0.62-r2-gentoo.diff34
-rw-r--r--net-misc/clockspeed/files/digest-clockspeed-0.62-r21
4 files changed, 83 insertions, 4 deletions
diff --git a/net-misc/clockspeed/ChangeLog b/net-misc/clockspeed/ChangeLog
index c0d066334842..534fe4489a45 100644
--- a/net-misc/clockspeed/ChangeLog
+++ b/net-misc/clockspeed/ChangeLog
@@ -1,14 +1,15 @@
# ChangeLog for net-misc/clockspeed
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/net-misc/clockspeed/ChangeLog,v 1.7 2002/12/13 11:00:11 blizzy Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/clockspeed/ChangeLog,v 1.8 2003/01/10 01:36:26 vapier Exp $
- 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
-
+*clockspeed-0.62-r2 (09 Jan 2003)
+
+ 09 Jan 2003; Mike Frysinger <vapier@gentoo.org> :
+ Added a patch to support static in USE #12978
*clockspeed-0.62-r1 (1 Feb 2002)
20 Oct 2002; Calum Selkirk <cselkirk@gentoo.org> clockspeed-0.62-r1.ebuild :
-
Added ppc to KEYWORDS.
09 Jul 2002; phoen][x <phoenix@gentoo.org> clockspeed-0.62-r1.ebuild
diff --git a/net-misc/clockspeed/clockspeed-0.62-r2.ebuild b/net-misc/clockspeed/clockspeed-0.62-r2.ebuild
new file mode 100644
index 000000000000..4db07fd6f322
--- /dev/null
+++ b/net-misc/clockspeed/clockspeed-0.62-r2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/clockspeed/clockspeed-0.62-r2.ebuild,v 1.1 2003/01/10 01:36:26 vapier Exp $
+
+DESCRIPTION="a simple ntp client"
+SRC_URI="http://cr.yp.to/clockspeed/${P}.tar.gz"
+HOMEPAGE="http://cr.yp.to/"
+
+KEYWORDS="~x86 ~ppc ~sparc"
+LICENSE="freeware"
+SLOT="0"
+IUSE="static"
+
+DEPEND="virtual/glibc
+ sys-apps/groff"
+RDEPEND="virtual/glibc"
+
+src_compile() {
+ patch -p1 < ${FILESDIR}/${PF}-gentoo.diff || die
+ cp conf-cc{,.old}
+ sed -e "s/@CFLAGS@/${CFLAGS}/" conf-cc.old > conf-cc
+ use static && LDFLAGS="${LDFLAGS} -static"
+ cp conf-ld{,.old}
+ sed -e "s/@LDFLAGS@/${LDFLAGS}/" conf-ld.old > conf-ld
+ emake || die
+}
+
+src_install() {
+ dobin clockspeed clockadd clockview sntpclock taiclock taiclockd
+ dosbin ${FILESDIR}/ntpclockset
+
+ doman clockspeed.1 clockadd.1 clockview.1 sntpclock.1 taiclock.1 taiclockd.1
+ dodoc BLURB CHANGES README THANKS TODO INSTALL
+
+ insinto /etc
+ doins leapsecs.dat
+}
+
+pkg_postinst() {
+ echo
+ einfo "Use ntpclockset to set your clock!"
+ echo
+}
diff --git a/net-misc/clockspeed/files/clockspeed-0.62-r2-gentoo.diff b/net-misc/clockspeed/files/clockspeed-0.62-r2-gentoo.diff
new file mode 100644
index 000000000000..1f97b2b1b6d3
--- /dev/null
+++ b/net-misc/clockspeed/files/clockspeed-0.62-r2-gentoo.diff
@@ -0,0 +1,34 @@
+diff -ur clockspeed-0.62.orig/conf-cc clockspeed-0.62/conf-cc
+--- clockspeed-0.62.orig/conf-cc Tue Oct 13 13:37:49 1998
++++ clockspeed-0.62/conf-cc Thu Apr 19 19:55:16 2001
+@@ -1,3 +1,3 @@
+-gcc -O2
++gcc @CFLAGS@
+
+ This will be used to compile .c files.
+diff -ur clockspeed-0.62.orig/conf-home clockspeed-0.62/conf-home
+--- clockspeed-0.62.orig/conf-home Tue Oct 13 13:37:49 1998
++++ clockspeed-0.62/conf-home Thu Apr 19 19:55:00 2001
+@@ -1,4 +1,4 @@
+-/usr/local/clockspeed
++/usr
+
+ This is the clockspeed home directory. Programs will be installed in
+ .../bin.
+diff -ur clockspeed-0.62.orig/conf-ld clockspeed-0.62/conf-ld
+--- clockspeed-0.62.orig/conf-ld Tue Oct 13 13:37:49 1998
++++ clockspeed-0.62/conf-ld Thu Apr 19 19:54:54 2001
+@@ -1,3 +1,3 @@
+-gcc -s
++gcc @LDFLAGS@
+
+ This will be used to link .o files into an executable.
+--- clockspeed-0.62/clockview.c~ Tue Oct 13 19:37:49 1998
++++ clockspeed-0.62/clockview.c Thu Apr 26 01:11:43 2001
+@@ -1,5 +1,5 @@
+ #include <sys/types.h>
+-#include <sys/time.h>
++#include <time.h>
+ #include "substdio.h"
+ #include "readwrite.h"
+ #include "strerr.h"
diff --git a/net-misc/clockspeed/files/digest-clockspeed-0.62-r2 b/net-misc/clockspeed/files/digest-clockspeed-0.62-r2
new file mode 100644
index 000000000000..3009c656b67d
--- /dev/null
+++ b/net-misc/clockspeed/files/digest-clockspeed-0.62-r2
@@ -0,0 +1 @@
+MD5 425614174fcfe2ad42d22d3d02e2d567 clockspeed-0.62.tar.gz 25797