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