summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorsten Veller <tove@gentoo.org>2008-03-29 08:11:16 +0000
committerTorsten Veller <tove@gentoo.org>2008-03-29 08:11:16 +0000
commit8535ce88a717d40a7a29923693d19110fda688bd (patch)
tree71d9a79dafda1a4ad7be532104d75ba339a75c40 /net-misc/chrony
parentwhitespace (diff)
downloadgentoo-2-8535ce88a717d40a7a29923693d19110fda688bd.tar.gz
gentoo-2-8535ce88a717d40a7a29923693d19110fda688bd.tar.bz2
gentoo-2-8535ce88a717d40a7a29923693d19110fda688bd.zip
Cleaning
(Portage version: 2.1.4.4)
Diffstat (limited to 'net-misc/chrony')
-rw-r--r--net-misc/chrony/ChangeLog5
-rw-r--r--net-misc/chrony/chrony-1.21-r1.ebuild66
2 files changed, 4 insertions, 67 deletions
diff --git a/net-misc/chrony/ChangeLog b/net-misc/chrony/ChangeLog
index f0c3e8f65604..217c79119886 100644
--- a/net-misc/chrony/ChangeLog
+++ b/net-misc/chrony/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-misc/chrony
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/chrony/ChangeLog,v 1.41 2008/03/28 14:46:43 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/chrony/ChangeLog,v 1.42 2008/03/29 08:11:16 tove Exp $
+
+ 29 Mar 2008; Torsten Veller <tove@gentoo.org> -chrony-1.21-r1.ebuild:
+ Cleaning
28 Mar 2008; nixnut <nixnut@gentoo.org> chrony-1.23.ebuild:
Stable on ppc wrt bug 214757
diff --git a/net-misc/chrony/chrony-1.21-r1.ebuild b/net-misc/chrony/chrony-1.21-r1.ebuild
deleted file mode 100644
index 6d3a6b788441..000000000000
--- a/net-misc/chrony/chrony-1.21-r1.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/chrony/chrony-1.21-r1.ebuild,v 1.8 2006/11/03 20:58:05 iluxa Exp $
-
-inherit eutils toolchain-funcs
-
-PATCH_VER=1
-PATCHDIR="${WORKDIR}/patch"
-
-DESCRIPTION="NTP client and server programs"
-HOMEPAGE="http://chrony.sunsite.dk/"
-SRC_URI="http://chrony.sunsite.dk/download/${P}.tar.gz
- mirror://gentoo/${P}-patches-${PATCH_VER}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 hppa mips ppc sparc x86"
-IUSE="readline"
-
-DEPEND="readline? ( >=sys-libs/readline-4.1-r4 )"
-
-src_unpack() {
- unpack ${A} ; cd "${S}"
- epatch "${FILESDIR}"/${PN}-1.20-conf.c-gentoo.diff
- epatch "${FILESDIR}"/${PN}-1.20-chrony.conf.example-gentoo.diff
- epatch "${FILESDIR}"/${P}-makefile.diff
-
- # patches from chrony git repo: <http://chrony.sunsite.dk/git>
- EPATCH_MULTI_MSG="Applying patches from upstream..." \
- EPATCH_EXCLUDE="chrony-1.21-quash_compile_warnings.diff" \
- EPATCH_FORCE="yes" \
- EPATCH_SUFFIX="diff" epatch "${PATCHDIR}"
-
- # Allow Hz=200 detection (#21058, Alexander Papaspyrou)
-# epatch "${FILESDIR}"/${PN}-1.20-sys_linux.c-gentoo.diff
-
- sed -i "s:#if defined(__i386__) || defined(__sh__):& || defined(__x86_64__):" \
- io_linux.h || die "amd64 fix"
- sed -i "s:/etc/chrony:/etc/chrony/chrony:g" \
- chrony*.{1,5,8} faq.txt chrony.texi || die "sed failed"
- epatch "${FILESDIR}"/${P}-hppa.patch
-}
-
-src_compile() {
- export CC="$(tc-getCC)"
- econf $(use_enable readline) || die "configure failed"
- emake all || die "make failed"
- emake docs || die "make docs failed"
-}
-
-src_install() {
- dobin chronyc || die "dobin failed"
- dosbin chronyd || die "dosbin failed"
-
- dodoc chrony.txt README examples/chrony.{conf,keys}.example || die "dodoc failed"
- dohtml chrony.html || die "dohtml failed"
- doman *.{1,5,8}
- doinfo chrony.info*
-
- newinitd "${FILESDIR}"/chronyd.rc chronyd || die "newinitd failed"
- dosed "s:the documentation directory:/usr/share/doc/${PF}/:" \
- /etc/init.d/chronyd || die "doc sed failed"
- newconfd "${FILESDIR}"/chronyd.conf chronyd || die "newconfd failed"
-
- keepdir /var/{lib,log}/chrony /etc/chrony
-}