diff options
author | Christian Zoffoli <xmerlin@gentoo.org> | 2008-03-17 17:05:35 +0000 |
---|---|---|
committer | Christian Zoffoli <xmerlin@gentoo.org> | 2008-03-17 17:05:35 +0000 |
commit | 30a1bbe5f40a4d5a753d1f403491be848a2ca164 (patch) | |
tree | 20b88f3dbbb8fe87748211bdbba7b1564aa7af43 /sys-cluster | |
parent | Version bump. 1.0x.00 is scheduled to be removed soon. (diff) | |
download | gentoo-2-30a1bbe5f40a4d5a753d1f403491be848a2ca164.tar.gz gentoo-2-30a1bbe5f40a4d5a753d1f403491be848a2ca164.tar.bz2 gentoo-2-30a1bbe5f40a4d5a753d1f403491be848a2ca164.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/gnbd-kernel/ChangeLog | 10 | ||||
-rw-r--r-- | sys-cluster/gnbd-kernel/gnbd-kernel-1.02.00-r1.ebuild | 16 | ||||
-rw-r--r-- | sys-cluster/gnbd-kernel/gnbd-kernel-1.03.00.ebuild | 14 | ||||
-rw-r--r-- | sys-cluster/gnbd-kernel/gnbd-kernel-1.04.00.ebuild | 12 | ||||
-rw-r--r-- | sys-cluster/gnbd-kernel/gnbd-kernel-2.02.00.ebuild | 72 |
5 files changed, 101 insertions, 23 deletions
diff --git a/sys-cluster/gnbd-kernel/ChangeLog b/sys-cluster/gnbd-kernel/ChangeLog index 7fc1f47c90e7..e51baf23f3f5 100644 --- a/sys-cluster/gnbd-kernel/ChangeLog +++ b/sys-cluster/gnbd-kernel/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-cluster/gnbd-kernel -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gnbd-kernel/ChangeLog,v 1.23 2007/05/12 13:31:38 xmerlin Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gnbd-kernel/ChangeLog,v 1.24 2008/03/17 17:05:35 xmerlin Exp $ + +*gnbd-kernel-2.02.00 (17 Mar 2008) + + 17 Mar 2008; Christian Zoffoli <xmerlin@gentoo.org> + +gnbd-kernel-2.02.00.ebuild: + Version bump. 1.0x.00 is scheduled to be removed soon. 12 May 2007; Christian Zoffoli <xmerlin@gentoo.org> gnbd-kernel-1.02.00-r1.ebuild, gnbd-kernel-1.03.00.ebuild: diff --git a/sys-cluster/gnbd-kernel/gnbd-kernel-1.02.00-r1.ebuild b/sys-cluster/gnbd-kernel/gnbd-kernel-1.02.00-r1.ebuild index f4b6b01b664e..9ec6e3c33ac5 100644 --- a/sys-cluster/gnbd-kernel/gnbd-kernel-1.02.00-r1.ebuild +++ b/sys-cluster/gnbd-kernel/gnbd-kernel-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/gnbd-kernel/gnbd-kernel-1.02.00-r1.ebuild,v 1.14 2007/07/14 22:18:04 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gnbd-kernel/gnbd-kernel-1.02.00-r1.ebuild,v 1.15 2008/03/17 17:05:35 xmerlin Exp $ inherit eutils linux-mod linux-info @@ -33,12 +33,12 @@ pkg_setup() { 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 if kernel_is 2 6; then if [ "$KV_PATCH" -ge "18" ] ; then - epatch ${FILESDIR}/${PN}-remove-devfs-support.patch || die + epatch "${FILESDIR}"/${PN}-remove-devfs-support.patch || die sed -i \ -e 's|version.h|utsrelease.h|g' \ @@ -47,7 +47,7 @@ src_unpack() { fi if [ "$KV_PATCH" -ge "19" ] ; then - epatch ${FILESDIR}/${PN}-1.03.00-compile-fix-kernel-post-2.6.18.patch || die + epatch "${FILESDIR}"/${PN}-1.03.00-compile-fix-kernel-post-2.6.18.patch || die fi fi } @@ -60,8 +60,8 @@ src_compile() { } src_install() { - emake DESTDIR=${D} install || die "install problem" - rm -f ${D}/usr/include/linux/gnbd.h || die + emake DESTDIR="${D}" install || die "install problem" + rm -f "${D}"/usr/include/linux/gnbd.h || die } pkg_postinst() { diff --git a/sys-cluster/gnbd-kernel/gnbd-kernel-1.03.00.ebuild b/sys-cluster/gnbd-kernel/gnbd-kernel-1.03.00.ebuild index e1bff9702029..778c64f38023 100644 --- a/sys-cluster/gnbd-kernel/gnbd-kernel-1.03.00.ebuild +++ b/sys-cluster/gnbd-kernel/gnbd-kernel-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/gnbd-kernel/gnbd-kernel-1.03.00.ebuild,v 1.13 2007/07/14 22:18:04 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gnbd-kernel/gnbd-kernel-1.03.00.ebuild,v 1.14 2008/03/17 17:05:35 xmerlin Exp $ inherit linux-mod linux-info @@ -30,11 +30,11 @@ pkg_setup() { src_unpack() { unpack ${A} - cd ${S} + cd "${S}" if kernel_is 2 6; then if [ "$KV_PATCH" -ge "18" ] ; then - epatch ${FILESDIR}/${PN}-remove-devfs-support.patch || die + epatch "${FILESDIR}"/${PN}-remove-devfs-support.patch || die sed -i \ -e 's|version.h|utsrelease.h|g' \ @@ -43,7 +43,7 @@ src_unpack() { fi if [ "$KV_PATCH" -ge "19" ] ; then - epatch ${FILESDIR}/${P}-compile-fix-kernel-post-2.6.18.patch || die + epatch "${FILESDIR}"/${P}-compile-fix-kernel-post-2.6.18.patch || die fi fi } @@ -56,8 +56,8 @@ src_compile() { } src_install() { - emake DESTDIR=${D} install || die "install problem" - rm -f ${D}/usr/include/linux/gnbd.h || die + emake DESTDIR="${D}" install || die "install problem" + rm -f "${D}"/usr/include/linux/gnbd.h || die } pkg_postinst() { diff --git a/sys-cluster/gnbd-kernel/gnbd-kernel-1.04.00.ebuild b/sys-cluster/gnbd-kernel/gnbd-kernel-1.04.00.ebuild index 5a77f344d4a4..19e75e7505fd 100644 --- a/sys-cluster/gnbd-kernel/gnbd-kernel-1.04.00.ebuild +++ b/sys-cluster/gnbd-kernel/gnbd-kernel-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/gnbd-kernel/gnbd-kernel-1.04.00.ebuild,v 1.3 2007/07/14 22:18:04 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gnbd-kernel/gnbd-kernel-1.04.00.ebuild,v 1.4 2008/03/17 17:05:35 xmerlin Exp $ inherit linux-mod linux-info @@ -30,7 +30,7 @@ pkg_setup() { src_unpack() { unpack ${A} - cd ${S} + cd "${S}" if kernel_is 2 6; then if [ "$KV_PATCH" -lt "18" ] ; then @@ -41,7 +41,7 @@ src_unpack() { fi if [ "$KV_PATCH" -lt "19" ] ; then - epatch ${FILESDIR}/${P}-compile-fix-kernel-pre-2.6.19.patch || die + epatch "${FILESDIR}"/${P}-compile-fix-kernel-pre-2.6.19.patch || die fi fi } @@ -54,8 +54,8 @@ src_compile() { } src_install() { - emake DESTDIR=${D} install || die "install problem" - rm -f ${D}/usr/include/linux/gnbd.h || die + emake DESTDIR="${D}" install || die "install problem" + rm -f "${D}"/usr/include/linux/gnbd.h || die } pkg_postinst() { diff --git a/sys-cluster/gnbd-kernel/gnbd-kernel-2.02.00.ebuild b/sys-cluster/gnbd-kernel/gnbd-kernel-2.02.00.ebuild new file mode 100644 index 000000000000..9b964b9ffc39 --- /dev/null +++ b/sys-cluster/gnbd-kernel/gnbd-kernel-2.02.00.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gnbd-kernel/gnbd-kernel-2.02.00.ebuild,v 1.1 2008/03/17 17:05:35 xmerlin Exp $ + +inherit eutils linux-mod linux-info 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="GFS Network Block Devices module" +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="=virtual/linux-sources-2.6.23*" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}/${PN}" + +pkg_setup() { + linux-mod_pkg_setup + case ${KV_FULL} in + 2.2.*|2.4.*) die "${P} supports only 2.6 kernels";; + esac +} + +src_unpack() { + unpack ${A} + cd "${S}" + +# epatch "${FILESDIR}"/${P}-to-cvs-20080217.patch || die +} + +src_compile() { + set_arch_to_kernel + + (cd "${WORKDIR}"/${MY_P}; + ./configure \ + --cc=$(tc-getCC) \ + --cflags="-Wall" \ + --kernel_src=${KERNEL_DIR} \ + --disable_kernel_check \ + --release_major="$MAJ_PV" \ + --release_minor="$MIN_PV" \ + ) || die "configure problem" + + (cd "${S}"/src; + emake \ + ) || die "compile problem" +} + +src_install() { + (cd "${S}"/src; + emake DESTDIR="${D}" module_dir="${D}"/lib/modules/${KV_FULL} install || die "install problem" + ) || die "compile problem" + #rm -f "${D}"/usr/include/linux/gnbd.h || die +} + +pkg_postinst() { + linux-mod_pkg_postinst + + einfo "" + einfo "Please remember to re-emerge ${PN} when you upgrade your kernel!" + einfo "" +} |