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