Gentoo Archives: gentoo-commits

From: "Christian Zoffoli (xmerlin)" <xmerlin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-cluster/openais: ChangeLog openais-0.80.3-r1.ebuild openais-0.80.3.ebuild
Date: Fri, 21 Nov 2008 22:55:53
Message-Id: E1L3eui-0005z9-VD@stork.gentoo.org
1 xmerlin 08/11/21 22:55:48
2
3 Modified: ChangeLog
4 Added: openais-0.80.3-r1.ebuild
5 Removed: openais-0.80.3.ebuild
6 Log:
7 openais whitetank updated to r1661.
8 (Portage version: 2.1.4.4)
9
10 Revision Changes Path
11 1.4 sys-cluster/openais/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/openais/ChangeLog?rev=1.4&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/openais/ChangeLog?rev=1.4&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/openais/ChangeLog?r1=1.3&r2=1.4
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-cluster/openais/ChangeLog,v
20 retrieving revision 1.3
21 retrieving revision 1.4
22 diff -u -r1.3 -r1.4
23 --- ChangeLog 17 Mar 2008 16:02:41 -0000 1.3
24 +++ ChangeLog 21 Nov 2008 22:55:48 -0000 1.4
25 @@ -1,6 +1,15 @@
26 # ChangeLog for sys-cluster/openais
27 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openais/ChangeLog,v 1.3 2008/03/17 16:02:41 xmerlin Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openais/ChangeLog,v 1.4 2008/11/21 22:55:48 xmerlin Exp $
30 +
31 +*openais-0.80.3-r1 (21 Nov 2008)
32 +
33 + 21 Nov 2008; Christian Zoffoli <xmerlin@g.o>
34 + +files/openais-0.80.3-Makefile.inc-VARS.patch,
35 + +files/openais-0.80.3-Makefile-VARS.patch,
36 + +files/openais-0.80.3-r1661.patch, -openais-0.80.3.ebuild,
37 + +openais-0.80.3-r1.ebuild:
38 + openais whitetank updated to r1661.
39
40 *openais-0.80.3 (17 Mar 2008)
41
42
43
44
45 1.1 sys-cluster/openais/openais-0.80.3-r1.ebuild
46
47 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/openais/openais-0.80.3-r1.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/openais/openais-0.80.3-r1.ebuild?rev=1.1&content-type=text/plain
49
50 Index: openais-0.80.3-r1.ebuild
51 ===================================================================
52 # Copyright 1999-2008 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/sys-cluster/openais/openais-0.80.3-r1.ebuild,v 1.1 2008/11/21 22:55:48 xmerlin Exp $
55
56 inherit eutils flag-o-matic toolchain-funcs
57
58 IUSE="debug"
59 DESCRIPTION="Open Application Interface Specification cluster framework"
60 HOMEPAGE="http://www.openais.org/"
61 #SRC_URI="ftp://ftp%40openais%2Eorg:downloads@×××××××.org/downloads/${P}/${P}.tar.gz"
62 SRC_URI="http://devresources.linux-foundation.org/dev/openais/downloads/${P}/${P}.tar.gz"
63 LICENSE="BSD public-domain"
64 SLOT="0"
65 KEYWORDS="~amd64 ~x86"
66 DEPEND="virtual/libc"
67
68 src_unpack() {
69 unpack ${A}
70 cd "${S}"
71 epatch "${FILESDIR}"/${P}-Makefile-ARCH.patch || die
72 epatch "${FILESDIR}"/${P}-Makefile-LIBDIR.patch || die
73 epatch "${FILESDIR}"/${P}-Makefile.inc-FLAGS.patch || die
74
75 epatch "${FILESDIR}"/${P}-Makefile.inc-VARS.patch || die
76 epatch "${FILESDIR}"/${P}-Makefile-VARS.patch || die
77
78 #epatch "${FILESDIR}"/${P}-r1514.patch || die
79 epatch "${FILESDIR}"/${P}-r1661.patch || die
80
81 #epatch "${FILESDIR}"/${P}-r1661-pacemaker-openais.conf.patch || die
82 #epatch "${FILESDIR}"/${P}-r1661-pacemaker.patch || die
83 #epatch "${FILESDIR}"/pacemaker.diff || die
84 }
85
86 pkg_setup() {
87 enewgroup ais
88 enewuser ais -1 -1 -1 ais
89 }
90
91 src_compile() {
92 useq debug && append-flags -O0 -ggdb -Wall -DDEBUG
93 emake -j1 LIBDIR="/usr/$(get_libdir)/openais" \
94 CFLAGS="${CFLAGS}" CC="$(tc-getCC)"
95 }
96
97 src_install() {
98 emake LIBDIR="/usr/$(get_libdir)/openais" \
99 DESTDIR="${D}" install || die "make install failed"
100
101 insinto /etc/ais
102 doins "${FILESDIR}"/openais.conf
103
104 # http://bugs.gentoo.org/show_bug.cgi?id=160847#c16
105 dosym /usr/sbin/aisexec /sbin/aisexec
106
107 dodir /etc/env.d
108 echo LDPATH="/usr/$(get_libdir)/openais" > "${D}"/etc/env.d/03openais
109
110 newinitd "${FILESDIR}"/ais.initd ais
111
112 diropts -o ais -g ais -m 0750
113 keepdir /var/log/ais
114
115 exeinto /usr/libexec/openais
116 doexe exec/openais-instantiate || die
117 doexe test/{ckptbench,ckptbenchth,ckpt-rd,ckptstress,ckpt-wr,clc_cli_script} || die
118 doexe test/{cpgbench,evsbench,evtbench} || die
119 doexe test/{publish,subscription,testamf1,testckpt,testclm,testclm2,testcpg,testcpg2} || die
120 doexe test/{testevs,testevt,testlck,testmsg,unlink} || die
121
122 dosbin test/openais-cfgtool || die
123
124 dodoc CHANGELOG QUICKSTART README.* SECURITY TODO conf/*
125 }