diff options
author | Christian Zoffoli <xmerlin@gentoo.org> | 2008-03-17 17:23:01 +0000 |
---|---|---|
committer | Christian Zoffoli <xmerlin@gentoo.org> | 2008-03-17 17:23:01 +0000 |
commit | 6f81bea6aacd8992b9f8e11d51a172809ebdc4ef (patch) | |
tree | 1656dcb5cdca85d22d5e5e3dc80897eeb8962604 /sys-cluster/gfs-kernel | |
parent | whitespace (diff) | |
download | gentoo-2-6f81bea6aacd8992b9f8e11d51a172809ebdc4ef.tar.gz gentoo-2-6f81bea6aacd8992b9f8e11d51a172809ebdc4ef.tar.bz2 gentoo-2-6f81bea6aacd8992b9f8e11d51a172809ebdc4ef.zip |
Version bump. 1.0x.00 is scheduled to be removed soon.
(Portage version: 2.1.4.4)
Diffstat (limited to 'sys-cluster/gfs-kernel')
-rw-r--r-- | sys-cluster/gfs-kernel/ChangeLog | 10 | ||||
-rw-r--r-- | sys-cluster/gfs-kernel/gfs-kernel-1.02.00-r1.ebuild | 16 | ||||
-rw-r--r-- | sys-cluster/gfs-kernel/gfs-kernel-1.02.00-r2.ebuild | 18 | ||||
-rw-r--r-- | sys-cluster/gfs-kernel/gfs-kernel-1.03.00-r1.ebuild | 14 | ||||
-rw-r--r-- | sys-cluster/gfs-kernel/gfs-kernel-1.04.00.ebuild | 10 | ||||
-rw-r--r-- | sys-cluster/gfs-kernel/gfs-kernel-2.02.00.ebuild | 70 |
6 files changed, 108 insertions, 30 deletions
diff --git a/sys-cluster/gfs-kernel/ChangeLog b/sys-cluster/gfs-kernel/ChangeLog index 6c27c1a25bd2..fd915d71a1c8 100644 --- a/sys-cluster/gfs-kernel/ChangeLog +++ b/sys-cluster/gfs-kernel/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for sys-cluster/gfs-kernel # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gfs-kernel/ChangeLog,v 1.27 2008/02/20 14:22:21 caleb Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gfs-kernel/ChangeLog,v 1.28 2008/03/17 17:23:01 xmerlin Exp $ + +*gfs-kernel-2.02.00 (17 Mar 2008) + + 17 Mar 2008; Christian Zoffoli <xmerlin@gentoo.org> + gfs-kernel-1.02.00-r1.ebuild, gfs-kernel-1.02.00-r2.ebuild, + gfs-kernel-1.03.00-r1.ebuild, gfs-kernel-1.04.00.ebuild, + +gfs-kernel-2.02.00.ebuild: + Version bump. 1.0x.00 is scheduled to be removed soon. 20 Feb 2008; Caleb Tennis <caleb@gentoo.org> +files/gfs-kernel-1.04.00-post2.6.22-compilefix.patch: diff --git a/sys-cluster/gfs-kernel/gfs-kernel-1.02.00-r1.ebuild b/sys-cluster/gfs-kernel/gfs-kernel-1.02.00-r1.ebuild index 31d11c6e7441..596b37611e98 100644 --- a/sys-cluster/gfs-kernel/gfs-kernel-1.02.00-r1.ebuild +++ b/sys-cluster/gfs-kernel/gfs-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/gfs-kernel/gfs-kernel-1.02.00-r1.ebuild,v 1.8 2007/03/03 00:00:09 xmerlin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gfs-kernel/gfs-kernel-1.02.00-r1.ebuild,v 1.9 2008/03/17 17:23:01 xmerlin Exp $ inherit eutils linux-mod linux-info @@ -39,15 +39,15 @@ pkg_setup() { src_unpack() { unpack ${A} - cd ${S} + cd "${S}" - epatch ${WORKDIR}/gfs-kernel-1.02.00-20060714-cvs-part1.patch || die + epatch "${WORKDIR}"/gfs-kernel-1.02.00-20060714-cvs-part1.patch || die if kernel_is 2 6; then if [ "$KV_PATCH" -gt "16" ] ; then - epatch ${WORKDIR}/gfs-kernel-1.02.00-20060714-cvs-part2.patch || die + epatch "${WORKDIR}"/gfs-kernel-1.02.00-20060714-cvs-part2.patch || die fi fi - epatch ${FILESDIR}/${PN/headers/kernel}-${PV}-${CVS_RELEASE}-cvs-compile.patch || die + epatch "${FILESDIR}"/${PN/headers/kernel}-${PV}-${CVS_RELEASE}-cvs-compile.patch || die } src_compile() { @@ -58,8 +58,8 @@ src_compile() { } src_install() { - emake DESTDIR=${D} module_dir=${D}/lib/modules/${KV_FULL} install || die "install problem" - rm -f ${D}/usr/include/linux/* || die + emake DESTDIR="${D}" module_dir="${D}"/lib/modules/${KV_FULL} install || die "install problem" + rm -f "${D}"/usr/include/linux/* || die } pkg_postinst() { diff --git a/sys-cluster/gfs-kernel/gfs-kernel-1.02.00-r2.ebuild b/sys-cluster/gfs-kernel/gfs-kernel-1.02.00-r2.ebuild index 6209a2fd552e..49a92684dba9 100644 --- a/sys-cluster/gfs-kernel/gfs-kernel-1.02.00-r2.ebuild +++ b/sys-cluster/gfs-kernel/gfs-kernel-1.02.00-r2.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/gfs-kernel/gfs-kernel-1.02.00-r2.ebuild,v 1.1 2007/05/08 10:53:48 xmerlin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gfs-kernel/gfs-kernel-1.02.00-r2.ebuild,v 1.2 2008/03/17 17:23:01 xmerlin Exp $ inherit eutils linux-mod linux-info @@ -40,16 +40,16 @@ pkg_setup() { src_unpack() { unpack ${A} - cd ${S} + cd "${S}" - epatch ${WORKDIR}/gfs-kernel-1.02.00-20060714-cvs-part1.patch || die + epatch "${WORKDIR}"/gfs-kernel-1.02.00-20060714-cvs-part1.patch || die if kernel_is 2 6; then if [ "$KV_PATCH" -gt "16" ] ; then - epatch ${WORKDIR}/gfs-kernel-1.02.00-20060714-cvs-part2.patch || die + epatch "${WORKDIR}"/gfs-kernel-1.02.00-20060714-cvs-part2.patch || die fi if [ "$KV_PATCH" -ge "18" ] ; then - epatch ${FILESDIR}/${PN}-1.03.00-post-2.6.18.patch || die + epatch "${FILESDIR}"/${PN}-1.03.00-post-2.6.18.patch || die sed -i \ -e 's|version.h|utsrelease.h|g' \ @@ -58,7 +58,7 @@ src_unpack() { fi fi - epatch ${FILESDIR}/${PN/headers/kernel}-${PV}-${CVS_RELEASE}-cvs-compile.patch || die + epatch "${FILESDIR}"/${PN/headers/kernel}-${PV}-${CVS_RELEASE}-cvs-compile.patch || die } src_compile() { @@ -69,8 +69,8 @@ src_compile() { } src_install() { - emake DESTDIR=${D} module_dir=${D}/lib/modules/${KV_FULL} install || die "install problem" - rm -f ${D}/usr/include/linux/* || die + emake DESTDIR="${D}" module_dir="${D}"/lib/modules/${KV_FULL} install || die "install problem" + rm -f "${D}"/usr/include/linux/* || die } pkg_postinst() { diff --git a/sys-cluster/gfs-kernel/gfs-kernel-1.03.00-r1.ebuild b/sys-cluster/gfs-kernel/gfs-kernel-1.03.00-r1.ebuild index 02dd4bca7ff5..ead905bf7384 100644 --- a/sys-cluster/gfs-kernel/gfs-kernel-1.03.00-r1.ebuild +++ b/sys-cluster/gfs-kernel/gfs-kernel-1.03.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/gfs-kernel/gfs-kernel-1.03.00-r1.ebuild,v 1.2 2007/05/12 13:28:14 xmerlin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gfs-kernel/gfs-kernel-1.03.00-r1.ebuild,v 1.3 2008/03/17 17:23:01 xmerlin Exp $ inherit eutils linux-mod linux-info @@ -34,15 +34,15 @@ pkg_setup() { src_unpack() { unpack ${A} - cd ${S} + cd "${S}" if kernel_is 2 6; then if [ "$KV_PATCH" -lt "17" ] ; then - epatch ${FILESDIR}/gfs-kernel-1.03.00-pre2.6.17-compilefix.patch || die + epatch "${FILESDIR}"/gfs-kernel-1.03.00-pre2.6.17-compilefix.patch || die fi if [ "$KV_PATCH" -ge "18" ] ; then - epatch ${FILESDIR}/${P}-post-2.6.18.patch || die + epatch "${FILESDIR}"/${P}-post-2.6.18.patch || die sed -i \ -e 's|version.h|utsrelease.h|g' \ @@ -60,8 +60,8 @@ src_compile() { } src_install() { - emake DESTDIR=${D} module_dir=${D}/lib/modules/${KV_FULL} install || die "install problem" - rm -f ${D}/usr/include/linux/* || die + emake DESTDIR="${D}" module_dir="${D}"/lib/modules/${KV_FULL} install || die "install problem" + rm -f "${D}"/usr/include/linux/* || die } pkg_postinst() { diff --git a/sys-cluster/gfs-kernel/gfs-kernel-1.04.00.ebuild b/sys-cluster/gfs-kernel/gfs-kernel-1.04.00.ebuild index efbf503322ae..7e2257ffeaa5 100644 --- a/sys-cluster/gfs-kernel/gfs-kernel-1.04.00.ebuild +++ b/sys-cluster/gfs-kernel/gfs-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/gfs-kernel/gfs-kernel-1.04.00.ebuild,v 1.2 2007/05/12 13:28:14 xmerlin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gfs-kernel/gfs-kernel-1.04.00.ebuild,v 1.3 2008/03/17 17:23:01 xmerlin Exp $ inherit eutils linux-mod linux-info @@ -34,7 +34,7 @@ pkg_setup() { src_unpack() { unpack ${A} - cd ${S} + cd "${S}" if kernel_is 2 6; then if [ "$KV_PATCH" -lt "18" ] ; then @@ -59,8 +59,8 @@ src_compile() { } src_install() { - emake DESTDIR=${D} module_dir=${D}/lib/modules/${KV_FULL} install || die "install problem" - rm -f ${D}/usr/include/linux/* || die + emake DESTDIR="${D}" module_dir="${D}"/lib/modules/${KV_FULL} install || die "install problem" + rm -f "${D}"/usr/include/linux/* || die } pkg_postinst() { diff --git a/sys-cluster/gfs-kernel/gfs-kernel-2.02.00.ebuild b/sys-cluster/gfs-kernel/gfs-kernel-2.02.00.ebuild new file mode 100644 index 000000000000..9326a8f8d2d0 --- /dev/null +++ b/sys-cluster/gfs-kernel/gfs-kernel-2.02.00.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gfs-kernel/gfs-kernel-2.02.00.ebuild,v 1.1 2008/03/17 17:23:01 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 kernel 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.24*" +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_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/gfs; + emake clean all \ + ) || die "compile problem" +} + +src_install() { + (cd "${S}"/src/gfs; + emake DESTDIR="${D}" module_dir="${D}"/lib/modules/${KV_FULL} install \ + ) || die "install problem" + + dodoc "${FILESDIR}"/gfs-kernel-locking-symbol.patch || die +} + +pkg_postinst() { + linux-mod_pkg_postinst + + einfo "" + einfo "Please remember to re-emerge ${PN} when you upgrade your kernel!" + einfo "" + einfo "To use this kernel module you have to path your kernel with" + einfo "/usr/share/doc/${P}/gfs-kernel-locking-symbol.patch (bug #210495)" + einfo "" +} |