From 356bc488715887f2ada5758883b3352f1d820853 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 22 Apr 2005 21:49:23 +0000 Subject: Use Gentoo-specific paths #90073 by Thilo Bangert. (Portage version: 2.0.51.19) --- net-misc/clockspeed-conf/ChangeLog | 9 ++++++- .../clockspeed-conf-0.4.5-r1.ebuild | 29 ++++++++++++++++++++++ .../files/clockspeed-conf-0.4.5-gentoo.patch | 26 +++++++++++++++++++ .../files/digest-clockspeed-conf-0.4.5-r1 | 1 + 4 files changed, 64 insertions(+), 1 deletion(-) create mode 100644 net-misc/clockspeed-conf/clockspeed-conf-0.4.5-r1.ebuild create mode 100644 net-misc/clockspeed-conf/files/clockspeed-conf-0.4.5-gentoo.patch create mode 100644 net-misc/clockspeed-conf/files/digest-clockspeed-conf-0.4.5-r1 (limited to 'net-misc/clockspeed-conf') diff --git a/net-misc/clockspeed-conf/ChangeLog b/net-misc/clockspeed-conf/ChangeLog index d3b6eddf8f26..cb4e01b58f8f 100644 --- a/net-misc/clockspeed-conf/ChangeLog +++ b/net-misc/clockspeed-conf/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-misc/clockspeed-conf # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/clockspeed-conf/ChangeLog,v 1.1 2005/04/19 22:22:54 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/clockspeed-conf/ChangeLog,v 1.2 2005/04/22 21:49:23 vapier Exp $ + +*clockspeed-conf-0.4.5-r1 (22 Apr 2005) + + 22 Apr 2005; Mike Frysinger + +files/clockspeed-conf-0.4.5-gentoo.patch, + +clockspeed-conf-0.4.5-r1.ebuild: + Use Gentoo-specific paths #90073 by Thilo Bangert. *clockspeed-conf (19 Apr 2005) diff --git a/net-misc/clockspeed-conf/clockspeed-conf-0.4.5-r1.ebuild b/net-misc/clockspeed-conf/clockspeed-conf-0.4.5-r1.ebuild new file mode 100644 index 000000000000..712ea371d81f --- /dev/null +++ b/net-misc/clockspeed-conf/clockspeed-conf-0.4.5-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/clockspeed-conf/clockspeed-conf-0.4.5-r1.ebuild,v 1.1 2005/04/22 21:49:23 vapier Exp $ + +inherit eutils + +DESCRIPTION="scripts to setup a clockspeed client and/or a taiclockd server" +HOMEPAGE="http://foo42.de/devel/sysutils/clockspeed-conf/" +SRC_URI="http://foo42.de/distfiles/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="net-misc/clockspeed + sys-process/daemontools" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-gentoo.patch +} + +src_install() { + dobin clockspeed-conf taiclockd-conf || die "dobin" + doman clockspeed-conf.8 taiclockd-conf.8 + dodoc README TODO +} diff --git a/net-misc/clockspeed-conf/files/clockspeed-conf-0.4.5-gentoo.patch b/net-misc/clockspeed-conf/files/clockspeed-conf-0.4.5-gentoo.patch new file mode 100644 index 000000000000..dffbb35b08c7 --- /dev/null +++ b/net-misc/clockspeed-conf/files/clockspeed-conf-0.4.5-gentoo.patch @@ -0,0 +1,26 @@ +Configure for Gentoo + +Patch by Thilo Bangert +http://bugs.gentoo.org/show_bug.cgi?id=90073 + +--- clockspeed-conf ++++ clockspeed-conf +@@ -15,6 +15,7 @@ + #ADJUST_LOGDIR defaults to main + #VA=yes shortcut for 'ADJUST_LOGDIR=clockspeed-adjust' + # ++CLOCKSPEED_INSTALLATION="GENTOO" + [ -z "${CLOCKSPEED_INSTALLATION}" ] && CLOCKSPEED_INSTALLATION="DJB" + + PATH=/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/command:${PATH} +@@ -106,6 +107,10 @@ + BINDIR="${PREFIX}/clockspeed/bin" + ADJUSTFILE="${PREFIX}/clockspeed/adjust" + ;; ++ GENTOO) ++ ETCDIR="/var/lib/clockspeed" ++ BINDIR="/usr/bin" ++ ;; + custom) + # we expect ETCDIR and BINDIR from environment !!! + ;; diff --git a/net-misc/clockspeed-conf/files/digest-clockspeed-conf-0.4.5-r1 b/net-misc/clockspeed-conf/files/digest-clockspeed-conf-0.4.5-r1 new file mode 100644 index 000000000000..f1cf70f20d35 --- /dev/null +++ b/net-misc/clockspeed-conf/files/digest-clockspeed-conf-0.4.5-r1 @@ -0,0 +1 @@ +MD5 4a4117d341f5f1c80201e6361eb49722 clockspeed-conf-0.4.5.tar.gz 7190 -- cgit v1.2.3-65-gdbad