Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/chrony: ChangeLog chrony-1.30.ebuild chrony-1.30_pre1.ebuild
Date: Fri, 04 Jul 2014 13:41:35
Message-Id: 20140704134132.36AED2004E@flycatcher.gentoo.org
1 jer 14/07/04 13:41:32
2
3 Modified: ChangeLog
4 Added: chrony-1.30.ebuild
5 Removed: chrony-1.30_pre1.ebuild
6 Log:
7 Version bump.
8
9 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A792A613)
10
11 Revision Changes Path
12 1.133 net-misc/chrony/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/chrony/ChangeLog?rev=1.133&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/chrony/ChangeLog?rev=1.133&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/chrony/ChangeLog?r1=1.132&r2=1.133
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-misc/chrony/ChangeLog,v
21 retrieving revision 1.132
22 retrieving revision 1.133
23 diff -u -r1.132 -r1.133
24 --- ChangeLog 7 Jun 2014 12:42:55 -0000 1.132
25 +++ ChangeLog 4 Jul 2014 13:41:31 -0000 1.133
26 @@ -1,6 +1,12 @@
27 # ChangeLog for net-misc/chrony
28 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-misc/chrony/ChangeLog,v 1.132 2014/06/07 12:42:55 jer Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-misc/chrony/ChangeLog,v 1.133 2014/07/04 13:41:31 jer Exp $
31 +
32 +*chrony-1.30 (04 Jul 2014)
33 +
34 + 04 Jul 2014; Jeroen Roovers <jer@g.o> -chrony-1.30_pre1.ebuild,
35 + +chrony-1.30.ebuild:
36 + Version bump.
37
38 07 Jun 2014; Jeroen Roovers <jer@g.o> chrony-1.30_pre1.ebuild:
39 RESTRICT=test for compile failure/downloading.
40
41
42
43 1.1 net-misc/chrony/chrony-1.30.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/chrony/chrony-1.30.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/chrony/chrony-1.30.ebuild?rev=1.1&content-type=text/plain
47
48 Index: chrony-1.30.ebuild
49 ===================================================================
50 # Copyright 1999-2014 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/net-misc/chrony/chrony-1.30.ebuild,v 1.1 2014/07/04 13:41:32 jer Exp $
53
54 EAPI=5
55 inherit eutils systemd toolchain-funcs
56
57 DESCRIPTION="NTP client and server programs"
58 HOMEPAGE="http://chrony.tuxfamily.org/"
59 SRC_URI="http://download.tuxfamily.org/${PN}/${P/_/-}.tar.gz"
60 LICENSE="GPL-2"
61 SLOT="0"
62
63 KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~sparc ~x86"
64 IUSE="caps ipv6 +readline +rtc selinux"
65
66 RDEPEND="
67 caps? ( sys-libs/libcap )
68 readline? ( >=sys-libs/readline-4.1-r4 )
69 selinux? ( sec-policy/selinux-chronyd )
70 "
71 DEPEND="
72 ${RDEPEND}
73 sys-apps/texinfo
74 "
75
76 RESTRICT=test
77
78 S="${WORKDIR}/${P/_/-}"
79
80 src_prepare() {
81 sed -i \
82 -e 's:/etc/chrony\.:/etc/chrony/chrony.:g' \
83 -e 's:/var/run:/run:g' \
84 conf.c chrony.texi.in chrony.txt examples/* FAQ || die
85 }
86
87 src_configure() {
88 tc-export CC
89
90 # not an autotools generated script
91 ./configure \
92 $(usex caps '' --disable-linuxcaps) \
93 $(usex ipv6 '' --disable-ipv6) \
94 $(usex readline '' --disable-readline) \
95 $(usex rtc '' --disable-rtc) \
96 --docdir=/usr/share/doc/${PF} \
97 --infodir=/usr/share/info \
98 --mandir=/usr/share/man \
99 --prefix=/usr \
100 --sysconfdir=/etc/chrony \
101 --without-nss \
102 --without-tomcrypt \
103 ${EXTRA_ECONF} \
104 || die
105 }
106
107 src_compile() {
108 emake all docs
109 }
110
111 src_install() {
112 default
113 rm "${D}"/usr/share/doc/${PF}/COPYING || die
114 doinfo chrony.info*
115
116 newinitd "${FILESDIR}"/chronyd.init chronyd
117 newconfd "${FILESDIR}"/chronyd.conf chronyd
118
119 insinto /etc/${PN}
120 newins examples/chrony.conf.example chrony.conf
121 newins examples/chrony.keys.example chrony.keys
122
123 keepdir /var/{lib,log}/chrony
124
125 insinto /etc/logrotate.d
126 newins "${FILESDIR}"/chrony.logrotate chrony
127
128 systemd_newunit "${FILESDIR}"/chronyd.service-r1 chronyd.service
129 systemd_enable_ntpunit 50-chrony chronyd.service
130 }