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_pre1.ebuild
Date: Sat, 07 Jun 2014 12:36:43
Message-Id: 20140607123638.62F232004E@flycatcher.gentoo.org
1 jer 14/06/07 12:36:38
2
3 Modified: ChangeLog
4 Added: chrony-1.30_pre1.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A792A613)
9
10 Revision Changes Path
11 1.131 net-misc/chrony/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/chrony/ChangeLog?rev=1.131&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/chrony/ChangeLog?rev=1.131&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/chrony/ChangeLog?r1=1.130&r2=1.131
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-misc/chrony/ChangeLog,v
20 retrieving revision 1.130
21 retrieving revision 1.131
22 diff -u -r1.130 -r1.131
23 --- ChangeLog 9 Feb 2014 12:38:50 -0000 1.130
24 +++ ChangeLog 7 Jun 2014 12:36:38 -0000 1.131
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.130 2014/02/09 12:38:50 jer Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-misc/chrony/ChangeLog,v 1.131 2014/06/07 12:36:38 jer Exp $
30 +
31 +*chrony-1.30_pre1 (07 Jun 2014)
32 +
33 + 07 Jun 2014; Jeroen Roovers <jer@g.o> +chrony-1.30_pre1.ebuild:
34 + Version bump.
35
36 09 Feb 2014; Jeroen Roovers <jer@g.o> -chrony-1.29-r1.ebuild:
37 Old.
38
39
40
41 1.1 net-misc/chrony/chrony-1.30_pre1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/chrony/chrony-1.30_pre1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/chrony/chrony-1.30_pre1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: chrony-1.30_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.30_pre1.ebuild,v 1.1 2014/06/07 12:36:38 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=""
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 S="${WORKDIR}/${P/_/-}"
75
76 src_prepare() {
77 sed -i \
78 -e 's:/etc/chrony\.:/etc/chrony/chrony.:g' \
79 -e 's:/var/run:/run:g' \
80 conf.c chrony.texi.in chrony.txt examples/* faq.txt || die
81 }
82
83 src_configure() {
84 tc-export CC
85
86 # not an autotools generated script
87 ./configure \
88 $(usex caps '' --disable-linuxcaps) \
89 $(usex ipv6 '' --disable-ipv6) \
90 $(usex readline '' --disable-readline) \
91 $(usex rtc '' --disable-rtc) \
92 --docdir=/usr/share/doc/${PF} \
93 --infodir=/usr/share/info \
94 --mandir=/usr/share/man \
95 --prefix=/usr \
96 --sysconfdir=/etc/chrony \
97 --without-nss \
98 --without-tomcrypt \
99 ${EXTRA_ECONF} \
100 || die
101 }
102
103 src_compile() {
104 emake all docs
105 }
106
107 src_install() {
108 default
109 rm "${D}"/usr/share/doc/${PF}/COPYING || die
110 doinfo chrony.info*
111
112 newinitd "${FILESDIR}"/chronyd.init chronyd
113 newconfd "${FILESDIR}"/chronyd.conf chronyd
114
115 insinto /etc/${PN}
116 newins examples/chrony.conf.example chrony.conf
117 newins examples/chrony.keys.example chrony.keys
118
119 keepdir /var/{lib,log}/chrony
120
121 insinto /etc/logrotate.d
122 newins "${FILESDIR}"/chrony.logrotate chrony
123
124 systemd_newunit "${FILESDIR}"/chronyd.service-r1 chronyd.service
125 systemd_enable_ntpunit 50-chrony chronyd.service
126 }