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