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/fence: ChangeLog fence-2.03.09-r1.ebuild
Date: Sat, 22 Nov 2008 14:12:16
Message-Id: E1L3tDY-0002wc-Ue@stork.gentoo.org
1 xmerlin 08/11/22 14:12:12
2
3 Modified: ChangeLog
4 Added: fence-2.03.09-r1.ebuild
5 Log:
6 Merged some IPMI fixes.
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.37 sys-cluster/fence/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/fence/ChangeLog?rev=1.37&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/fence/ChangeLog?rev=1.37&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/fence/ChangeLog?r1=1.36&r2=1.37
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-cluster/fence/ChangeLog,v
19 retrieving revision 1.36
20 retrieving revision 1.37
21 diff -u -r1.36 -r1.37
22 --- ChangeLog 21 Nov 2008 22:39:29 -0000 1.36
23 +++ ChangeLog 22 Nov 2008 14:12:12 -0000 1.37
24 @@ -1,6 +1,16 @@
25 # ChangeLog for sys-cluster/fence
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/fence/ChangeLog,v 1.36 2008/11/21 22:39:29 xmerlin Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/fence/ChangeLog,v 1.37 2008/11/22 14:12:12 xmerlin Exp $
29 +
30 +*fence-2.03.09-r1 (22 Nov 2008)
31 +
32 + 22 Nov 2008; Christian Zoffoli <xmerlin@g.o>
33 + +files/fence-2.03.09-ipmi_fix_help_typo_RH_BZ_210687.patch,
34 + +files/fence-2.03.09-ipmi_fix_parameters_RH_BZ_447964.patch,
35 + +files/fence-2.03.09-ipmi_fix_shell.patch,
36 + +files/fence-2.03.09-ipmi_lan_timeout_adjusted_and_configurable.patch,
37 + +fence-2.03.09-r1.ebuild:
38 + Merged some IPMI fixes.
39
40 21 Nov 2008; Christian Zoffoli <xmerlin@g.o> fence-2.03.09.ebuild:
41 Fixed homepage.
42
43
44
45 1.1 sys-cluster/fence/fence-2.03.09-r1.ebuild
46
47 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/fence/fence-2.03.09-r1.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/fence/fence-2.03.09-r1.ebuild?rev=1.1&content-type=text/plain
49
50 Index: fence-2.03.09-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/fence/fence-2.03.09-r1.ebuild,v 1.1 2008/11/22 14:12:12 xmerlin Exp $
55
56 inherit eutils versionator
57
58 CLUSTER_RELEASE="${PV}"
59 MY_P="cluster-${CLUSTER_RELEASE}"
60
61 MAJ_PV="$(get_major_version)"
62 MIN_PV="$(get_version_component_range 2).$(get_version_component_range 3)"
63
64 DESCRIPTION="I/O group fencing system"
65 HOMEPAGE="http://sources.redhat.com/cluster/wiki/"
66 SRC_URI="ftp://sources.redhat.com/pub/cluster/releases/${MY_P}.tar.gz"
67
68 LICENSE="GPL-2"
69 SLOT="0"
70 KEYWORDS="~amd64 ~x86"
71 IUSE=""
72
73 DEPEND="=sys-cluster/ccs-${CLUSTER_RELEASE}*
74 =sys-cluster/openais-0.80.3*
75 =sys-cluster/dlm-lib-${CLUSTER_RELEASE}*
76 =sys-cluster/cman-lib-${CLUSTER_RELEASE}*
77 dev-perl/Net-Telnet
78 dev-perl/Net-SSLeay
79 "
80
81 RDEPEND="$DEPEND"
82
83 S="${WORKDIR}/${MY_P}/${PN}"
84
85 src_unpack() {
86 unpack ${A}
87 cd "${S}"
88 chmod u+x "${WORKDIR}"/${MY_P}/scripts/define2var
89
90 epatch "${FILESDIR}"/fence-2.03.09-ipmi_fix_help_typo_RH_BZ_210687.patch || die
91 epatch "${FILESDIR}"/fence-2.03.09-ipmi_fix_shell.patch || die
92 epatch "${FILESDIR}"/fence-2.03.09-ipmi_fix_parameters_RH_BZ_447964.patch || die
93 epatch "${FILESDIR}"/fence-2.03.09-ipmi_lan_timeout_adjusted_and_configurable.patch || die
94 }
95
96 src_compile() {
97 (cd "${WORKDIR}"/${MY_P};
98 ./configure \
99 --cc=$(tc-getCC) \
100 --cflags="-Wall" \
101 --disable_kernel_check \
102 --dlmlibdir=/usr/lib \
103 --dlmincdir=/usr/include \
104 --cmanlibdir=/usr/lib \
105 --cmanincdir=/usr/include \
106 ) || die "configure problem"
107
108 (cd "${WORKDIR}"/${MY_P}/group;
109 emake -j1 clean all \
110 ) || die "compile problem"
111
112 # fix the manual pages have executable bit
113 sed -i -e '
114 /\tinstall -d/s/install/& -m 0755/; t
115 /\tinstall/s/install/& -m 0644/' \
116 man/Makefile
117
118 emake -j1 clean all || die "compile problem"
119 }
120
121 src_install() {
122 (cd "${WORKDIR}"/${MY_P}/group;
123 emake DESTDIR="${D}" install \
124 ) || die "install problem"
125
126 emake DESTDIR="${D}" install || die "install problem"
127 }