diff options
author | Christian Zoffoli <xmerlin@gentoo.org> | 2008-03-17 16:38:40 +0000 |
---|---|---|
committer | Christian Zoffoli <xmerlin@gentoo.org> | 2008-03-17 16:38:40 +0000 |
commit | af34c864ed5d496954adaa8b7819891f2f6e54fe (patch) | |
tree | 06b2374058d3df022fbedac1f637ef82b53b5c7c /sys-cluster | |
parent | Add init.d/conf.d scripts for 3.1.5. (diff) | |
download | gentoo-2-af34c864ed5d496954adaa8b7819891f2f6e54fe.tar.gz gentoo-2-af34c864ed5d496954adaa8b7819891f2f6e54fe.tar.bz2 gentoo-2-af34c864ed5d496954adaa8b7819891f2f6e54fe.zip |
Version bump. 1.0x.00 is scheduled to be removed soon.
(Portage version: 2.1.4.4)
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/fence/ChangeLog | 9 | ||||
-rw-r--r-- | sys-cluster/fence/fence-1.02.00-r1.ebuild | 16 | ||||
-rw-r--r-- | sys-cluster/fence/fence-1.03.00.ebuild | 12 | ||||
-rw-r--r-- | sys-cluster/fence/fence-1.04.00.ebuild | 12 | ||||
-rw-r--r-- | sys-cluster/fence/fence-2.02.00.ebuild | 73 |
5 files changed, 100 insertions, 22 deletions
diff --git a/sys-cluster/fence/ChangeLog b/sys-cluster/fence/ChangeLog index f6819121b87e..2cb4db6aef3a 100644 --- a/sys-cluster/fence/ChangeLog +++ b/sys-cluster/fence/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-cluster/fence -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/fence/ChangeLog,v 1.31 2007/05/12 13:20:38 xmerlin Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/fence/ChangeLog,v 1.32 2008/03/17 16:38:40 xmerlin Exp $ + +*fence-2.02.00 (17 Mar 2008) + + 17 Mar 2008; Christian Zoffoli <xmerlin@gentoo.org> +fence-2.02.00.ebuild: + Version bump. 1.0x.00 is scheduled to be removed soon. 12 May 2007; Christian Zoffoli <xmerlin@gentoo.org> fence-1.03.00.ebuild: Stable on x86. diff --git a/sys-cluster/fence/fence-1.02.00-r1.ebuild b/sys-cluster/fence/fence-1.02.00-r1.ebuild index f2f6f0df1915..249cde390eef 100644 --- a/sys-cluster/fence/fence-1.02.00-r1.ebuild +++ b/sys-cluster/fence/fence-1.02.00-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/fence/fence-1.02.00-r1.ebuild,v 1.6 2007/03/09 11:13:36 xmerlin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/fence/fence-1.02.00-r1.ebuild,v 1.7 2008/03/17 16:38:40 xmerlin Exp $ inherit eutils @@ -32,8 +32,8 @@ S="${WORKDIR}/${MY_P}/${PN}" src_unpack() { unpack ${A} - cd ${S} - epatch ${WORKDIR}/${PN}-${PV}-${CVS_RELEASE}-cvs.patch || die + cd "${S}" + epatch "${WORKDIR}"/${PN}-${PV}-${CVS_RELEASE}-cvs.patch || die } src_compile() { @@ -42,11 +42,11 @@ src_compile() { } src_install() { - emake DESTDIR=${D} install || die "install problem" + emake DESTDIR="${D}" install || die "install problem" into / - dosbin ${FILESDIR}/${PN}_xen || die + dosbin "${FILESDIR}"/${PN}_xen || die - newinitd ${FILESDIR}/${PN}d.rc ${PN}d || die - newconfd ${FILESDIR}/${PN}d.conf ${PN}d || die + newinitd "${FILESDIR}"/${PN}d.rc ${PN}d || die + newconfd "${FILESDIR}"/${PN}d.conf ${PN}d || die } diff --git a/sys-cluster/fence/fence-1.03.00.ebuild b/sys-cluster/fence/fence-1.03.00.ebuild index 0d0aa8554d5f..c4963e8b6bc0 100644 --- a/sys-cluster/fence/fence-1.03.00.ebuild +++ b/sys-cluster/fence/fence-1.03.00.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/fence/fence-1.03.00.ebuild,v 1.4 2007/05/12 13:20:38 xmerlin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/fence/fence-1.03.00.ebuild,v 1.5 2008/03/17 16:38:40 xmerlin Exp $ CLUSTER_RELEASE="1.03.00" MY_P="cluster-${CLUSTER_RELEASE}" @@ -32,11 +32,11 @@ src_compile() { } src_install() { - emake DESTDIR=${D} install || die "install problem" + emake DESTDIR="${D}" install || die "install problem" into / - dosbin ${FILESDIR}/${PN}_xen || die + dosbin "${FILESDIR}"/${PN}_xen || die - newinitd ${FILESDIR}/${PN}d.rc ${PN}d || die - newconfd ${FILESDIR}/${PN}d.conf ${PN}d || die + newinitd "${FILESDIR}"/${PN}d.rc ${PN}d || die + newconfd "${FILESDIR}"/${PN}d.conf ${PN}d || die } diff --git a/sys-cluster/fence/fence-1.04.00.ebuild b/sys-cluster/fence/fence-1.04.00.ebuild index 7d8c61e4dc9b..2ab1e8fdbd0a 100644 --- a/sys-cluster/fence/fence-1.04.00.ebuild +++ b/sys-cluster/fence/fence-1.04.00.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/fence/fence-1.04.00.ebuild,v 1.1 2007/03/09 11:13:36 xmerlin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/fence/fence-1.04.00.ebuild,v 1.2 2008/03/17 16:38:40 xmerlin Exp $ CLUSTER_RELEASE="1.04.00" MY_P="cluster-${CLUSTER_RELEASE}" @@ -32,11 +32,11 @@ src_compile() { } src_install() { - emake DESTDIR=${D} install || die "install problem" + emake DESTDIR="${D}" install || die "install problem" into / - dosbin ${FILESDIR}/${PN}_xen || die + dosbin "${FILESDIR}"/${PN}_xen || die - newinitd ${FILESDIR}/${PN}d.rc ${PN}d || die - newconfd ${FILESDIR}/${PN}d.conf ${PN}d || die + newinitd "${FILESDIR}"/${PN}d.rc ${PN}d || die + newconfd "${FILESDIR}"/${PN}d.conf ${PN}d || die } diff --git a/sys-cluster/fence/fence-2.02.00.ebuild b/sys-cluster/fence/fence-2.02.00.ebuild new file mode 100644 index 000000000000..055d640ccba3 --- /dev/null +++ b/sys-cluster/fence/fence-2.02.00.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/fence/fence-2.02.00.ebuild,v 1.1 2008/03/17 16:38:40 xmerlin Exp $ + +inherit eutils versionator + +CLUSTER_RELEASE="${PV}" +MY_P="cluster-${CLUSTER_RELEASE}" + +MAJ_PV="$(get_major_version)" +MIN_PV="$(get_version_component_range 2).$(get_version_component_range 3)" + +DESCRIPTION="I/O group fencing system" +HOMEPAGE="http://sources.redhat.com/cluster/" +SRC_URI="ftp://sources.redhat.com/pub/cluster/releases/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="=sys-cluster/ccs-${CLUSTER_RELEASE}* + =sys-cluster/openais-0.82* + =sys-cluster/dlm-lib-${CLUSTER_RELEASE}* + =sys-cluster/cman-lib-${CLUSTER_RELEASE}* + dev-perl/Net-Telnet + dev-perl/Net-SSLeay + " + +RDEPEND="$DEPEND" + +S="${WORKDIR}/${MY_P}/${PN}" + +src_unpack() { + unpack ${A} + cd "${S}" + chmod u+x "${WORKDIR}"/${MY_P}/scripts/define2var +} + +src_compile() { + (cd "${WORKDIR}"/${MY_P}; + ./configure \ + --cc=$(tc-getCC) \ + --cflags="-Wall" \ + --disable_kernel_check \ + --release_major="$MAJ_PV" \ + --release_minor="$MIN_PV" \ + --dlmlibdir=/usr/lib \ + --dlmincdir=/usr/include \ + --cmanlibdir=/usr/lib \ + --cmanincdir=/usr/include \ + ) || die "configure problem" + + (cd "${WORKDIR}"/${MY_P}/group; + emake -j1 clean all \ + ) || die "compile problem" + + # fix the manual pages have executable bit + sed -i -e ' + /\tinstall -d/s/install/& -m 0755/; t + /\tinstall/s/install/& -m 0644/' \ + man/Makefile + + emake -j1 clean all || die "compile problem" +} + +src_install() { + (cd "${WORKDIR}"/${MY_P}/group; + emake DESTDIR="${D}" install \ + ) || die "install problem" + + emake DESTDIR="${D}" install || die "install problem" +} |