Gentoo Archives: gentoo-commits

From: "Torsten Veller (tove)" <tove@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/chrony: ChangeLog chrony-1.23.ebuild
Date: Sun, 02 Dec 2007 17:56:49
Message-Id: E1Iyt3c-0006Vf-LW@stork.gentoo.org
1 tove 07/12/02 17:56:44
2
3 Modified: ChangeLog
4 Added: chrony-1.23.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.1.4_rc4)
8
9 Revision Changes Path
10 1.38 net-misc/chrony/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/chrony/ChangeLog?rev=1.38&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/chrony/ChangeLog?rev=1.38&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/chrony/ChangeLog?r1=1.37&r2=1.38
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-misc/chrony/ChangeLog,v
19 retrieving revision 1.37
20 retrieving revision 1.38
21 diff -u -r1.37 -r1.38
22 --- ChangeLog 20 Aug 2007 12:55:42 -0000 1.37
23 +++ ChangeLog 2 Dec 2007 17:56:44 -0000 1.38
24 @@ -1,6 +1,11 @@
25 # ChangeLog for net-misc/chrony
26 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-misc/chrony/ChangeLog,v 1.37 2007/08/20 12:55:42 tove Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-misc/chrony/ChangeLog,v 1.38 2007/12/02 17:56:44 tove Exp $
29 +
30 +*chrony-1.23 (02 Dec 2007)
31 +
32 + 02 Dec 2007; Torsten Veller <tove@g.o> +chrony-1.23.ebuild:
33 + Version bump.
34
35 20 Aug 2007; Torsten Veller <tove@g.o> files/chronyd.conf:
36 Fix bug #189037
37
38
39
40 1.1 net-misc/chrony/chrony-1.23.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/chrony/chrony-1.23.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/chrony/chrony-1.23.ebuild?rev=1.1&content-type=text/plain
44
45 Index: chrony-1.23.ebuild
46 ===================================================================
47 # Copyright 1999-2007 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/net-misc/chrony/chrony-1.23.ebuild,v 1.1 2007/12/02 17:56:44 tove Exp $
50
51 inherit eutils toolchain-funcs
52
53 MY_P=${P/_pre/-pre}
54 S=${WORKDIR}/${MY_P}
55
56 DESCRIPTION="NTP client and server programs"
57 HOMEPAGE="http://chrony.sunsite.dk/"
58 SRC_URI="http://chrony.sunsite.dk/download/${MY_P}.tar.gz"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~amd64 ~hppa ~mips ~ppc ~sparc ~x86"
63 IUSE="readline"
64
65 DEPEND="readline? ( >=sys-libs/readline-4.1-r4 )"
66
67 src_unpack() {
68 unpack ${A} ; cd "${S}"
69 epatch "${FILESDIR}"/${PN}-1.20-conf.c-gentoo.diff
70 epatch "${FILESDIR}"/${PN}-1.20-chrony.conf.example-gentoo.diff
71 epatch "${FILESDIR}"/${PN}-1.21-makefile.diff
72
73 sed -i "s:/etc/chrony:/etc/chrony/chrony:g" \
74 chrony*.{1,5,8} faq.txt chrony.texi || die "sed failed"
75 epatch "${FILESDIR}"/${PN}-1.21-hppa.patch
76 }
77
78 src_compile() {
79 tc-export CC
80 local myconf
81 # selfwritten configure
82 use readline || myconf="--disable-readline"
83 ./configure --prefix=/usr \
84 --infodir=/usr/share/info \
85 --mandir=/usr/share/man \
86 ${myconf} ${EXTRA_ECONF} || die "configure failed"
87 emake all || die "make failed"
88 emake docs || die "make docs failed"
89 }
90
91 src_install() {
92 dobin chronyc || die
93 dosbin chronyd || die
94
95 dodoc chrony.txt README examples/chrony.{conf,keys}.example || die
96 dohtml chrony.html || die
97 doman *.{1,5,8}
98 doinfo chrony.info*
99
100 newinitd "${FILESDIR}"/chronyd.rc chronyd || die
101 dosed "s:the documentation directory:/usr/share/doc/${PF}/:" \
102 /etc/init.d/chronyd || die "doc sed failed"
103 newconfd "${FILESDIR}"/chronyd.conf chronyd || die
104
105 keepdir /var/{lib,log}/chrony /etc/chrony
106 }
107
108
109
110 --
111 gentoo-commits@g.o mailing list