Gentoo Archives: gentoo-commits

From: "Alexys Jacob (ultrabug)" <ultrabug@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-cluster/corosync: corosync-1.4.4.ebuild ChangeLog
Date: Mon, 29 Oct 2012 13:56:32
Message-Id: 20121029135621.D6F5A21600@flycatcher.gentoo.org
1 ultrabug 12/10/29 13:56:21
2
3 Modified: ChangeLog
4 Added: corosync-1.4.4.ebuild
5 Log:
6 corosync-1 series version bump
7
8 (Portage version: 2.1.11.30/cvs/Linux x86_64, signed Manifest commit with key B658FA13)
9
10 Revision Changes Path
11 1.25 sys-cluster/corosync/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/corosync/ChangeLog?rev=1.25&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/corosync/ChangeLog?rev=1.25&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/corosync/ChangeLog?r1=1.24&r2=1.25
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-cluster/corosync/ChangeLog,v
20 retrieving revision 1.24
21 retrieving revision 1.25
22 diff -u -r1.24 -r1.25
23 --- ChangeLog 29 Oct 2012 13:41:52 -0000 1.24
24 +++ ChangeLog 29 Oct 2012 13:56:21 -0000 1.25
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sys-cluster/corosync
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/corosync/ChangeLog,v 1.24 2012/10/29 13:41:52 ultrabug Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/corosync/ChangeLog,v 1.25 2012/10/29 13:56:21 ultrabug Exp $
30 +
31 +*corosync-1.4.4 (29 Oct 2012)
32 +
33 + 29 Oct 2012; Ultrabug <ultrabug@g.o> +corosync-1.4.4.ebuild:
34 + Version bump of corosync-1 series
35
36 *corosync-2.1.0 (29 Oct 2012)
37
38
39
40
41 1.1 sys-cluster/corosync/corosync-1.4.4.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/corosync/corosync-1.4.4.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/corosync/corosync-1.4.4.ebuild?rev=1.1&content-type=text/plain
45
46 Index: corosync-1.4.4.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sys-cluster/corosync/corosync-1.4.4.ebuild,v 1.1 2012/10/29 13:56:21 ultrabug Exp $
51
52 EAPI=4
53
54 inherit base autotools
55
56 DESCRIPTION="OSI Certified implementation of a complete cluster engine"
57 HOMEPAGE="http://www.corosync.org/"
58 SRC_URI="https://github.com/downloads/corosync/corosync/${P}.tar.gz"
59
60 LICENSE="BSD-2 public-domain"
61 SLOT="0"
62 KEYWORDS="~amd64 ~hppa ~x86 ~x86-fbsd"
63 IUSE="doc infiniband ssl static-libs"
64
65 RDEPEND="!sys-cluster/heartbeat
66 ssl? ( dev-libs/nss )
67 infiniband? (
68 sys-infiniband/libibverbs
69 sys-infiniband/librdmacm
70 )"
71 DEPEND="${RDEPEND}
72 virtual/pkgconfig
73 doc? ( sys-apps/groff )"
74
75 PATCHES=(
76 "${FILESDIR}/${PN}-docs.patch"
77 )
78
79 DOCS=( README.recovery README.devmap SECURITY TODO AUTHORS )
80
81 src_prepare() {
82 base_src_prepare
83 eautoreconf
84 }
85
86 src_configure() {
87 # appends lib to localstatedir automatically
88 # FIXME: install just shared libs --disable-static does not work
89 econf \
90 --localstatedir=/var \
91 --docdir=/usr/share/doc/${PF} \
92 $(use_enable doc) \
93 $(use_enable ssl nss) \
94 $(use_enable infiniband rdma)
95 }
96
97 src_install() {
98 default
99 newinitd "${FILESDIR}"/${PN}.initd ${PN}
100 rm "${D}"/etc/init.d/corosync-notifyd || die
101
102 insinto /etc/logrotate.d
103 newins "${FILESDIR}"/${PN}.logrotate ${PN}
104
105 keepdir /var/lib/corosync
106 use static-libs || rm -rf "${D}"/usr/$(get_libdir)/*.a || die
107 }