diff options
author | Stefaan De Roeck <stefaan@gentoo.org> | 2007-07-24 13:24:37 +0000 |
---|---|---|
committer | Stefaan De Roeck <stefaan@gentoo.org> | 2007-07-24 13:24:37 +0000 |
commit | b014f0e3448e618ceca18790f50fa96ca1301950 (patch) | |
tree | 6b3b21ddb89b53abc3018da69afd83f2a023d9d7 /net-fs | |
parent | Version bump, stable x86, remove old, thanks to Jan Simons <jan.simons at web... (diff) | |
download | gentoo-2-b014f0e3448e618ceca18790f50fa96ca1301950.tar.gz gentoo-2-b014f0e3448e618ceca18790f50fa96ca1301950.tar.bz2 gentoo-2-b014f0e3448e618ceca18790f50fa96ca1301950.zip |
Now compatible with linux-2.6.22 (bug #185130)
(Portage version: 2.1.3_rc8)
Diffstat (limited to 'net-fs')
-rw-r--r-- | net-fs/openafs-kernel/ChangeLog | 8 | ||||
-rw-r--r-- | net-fs/openafs-kernel/files/digest-openafs-kernel-1.4.4-r1 | 6 | ||||
-rw-r--r-- | net-fs/openafs-kernel/openafs-kernel-1.4.4-r1.ebuild | 52 |
3 files changed, 65 insertions, 1 deletions
diff --git a/net-fs/openafs-kernel/ChangeLog b/net-fs/openafs-kernel/ChangeLog index dfe37966551e..062dc167d84c 100644 --- a/net-fs/openafs-kernel/ChangeLog +++ b/net-fs/openafs-kernel/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-fs/openafs-kernel # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs-kernel/ChangeLog,v 1.68 2007/06/02 11:54:00 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs-kernel/ChangeLog,v 1.69 2007/07/24 13:24:37 stefaan Exp $ + +*openafs-kernel-1.4.4-r1 (24 Jul 2007) + + 24 Jul 2007; Stefaan De Roeck <stefaan@gentoo.org> + +openafs-kernel-1.4.4-r1.ebuild: + Now compatible with linux-2.6.22 (bug #185130) 02 Jun 2007; Raúl Porcel <armin76@gentoo.org> openafs-kernel-1.2.13.ebuild, openafs-kernel-1.4.0-r1.ebuild, diff --git a/net-fs/openafs-kernel/files/digest-openafs-kernel-1.4.4-r1 b/net-fs/openafs-kernel/files/digest-openafs-kernel-1.4.4-r1 new file mode 100644 index 000000000000..17a2546ecc37 --- /dev/null +++ b/net-fs/openafs-kernel/files/digest-openafs-kernel-1.4.4-r1 @@ -0,0 +1,6 @@ +MD5 59cd499c6bf337b1f2215f83a7404794 openafs-1.4.4-src.tar.bz2 12500224 +RMD160 712907afc74ced010996dd43f785b341ac24da46 openafs-1.4.4-src.tar.bz2 12500224 +SHA256 a417c4d5eab6cf68c6082b6bd93d7ca70410635794308b731269b246ba80f7e4 openafs-1.4.4-src.tar.bz2 12500224 +MD5 28984a29cf9cb9e8032c4dff1ce236d0 openafs-gentoo-0.14.tar.bz2 18765 +RMD160 fdacf72a4007a1b76e138fa88fc5577916470c27 openafs-gentoo-0.14.tar.bz2 18765 +SHA256 e8470ca63bddb39322dc2e8b26013d8ea51eb1fe4a8c36b709498135b46dee4c openafs-gentoo-0.14.tar.bz2 18765 diff --git a/net-fs/openafs-kernel/openafs-kernel-1.4.4-r1.ebuild b/net-fs/openafs-kernel/openafs-kernel-1.4.4-r1.ebuild new file mode 100644 index 000000000000..255e15f38476 --- /dev/null +++ b/net-fs/openafs-kernel/openafs-kernel-1.4.4-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs-kernel/openafs-kernel-1.4.4-r1.ebuild,v 1.1 2007/07/24 13:24:37 stefaan Exp $ + +inherit eutils linux-mod versionator toolchain-funcs + +PATCHVER=0.14 +MY_PN=${PN/-kernel} +MY_P=${MY_PN}-${PV} +S=${WORKDIR}/${MY_P} +DESCRIPTION="The OpenAFS distributed file system kernel module" +HOMEPAGE="http://www.openafs.org/" +SRC_URI="http://openafs.org/dl/${MY_PN}/${PV}/${MY_P}-src.tar.bz2 + mirror://gentoo/${MY_PN}-gentoo-${PATCHVER}.tar.bz2" + +LICENSE="IBM openafs-krb5 openafs-krb5-a APSL-2 sun-rpc" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +PATCHDIR=${WORKDIR}/gentoo/patches/$(get_version_component_range 1-2) + +CONFIG_CHECK="!DEBUG_RODATA" +DEBUG_RODATA_ERROR="OpenAFS is incompatible with linux' CONFIG_DEBUG_RODATA option" + +pkg_setup() { + linux-mod_pkg_setup +} + +src_unpack() { + unpack ${A}; cd ${S} + + EPATCH_SUFFIX="patch" epatch ${PATCHDIR} + + ./regen.sh || die "Failed: regenerating configure script" +} + +src_compile() { + ARCH="$(tc-arch-kernel)" econf --with-linux-kernel-headers=${KV_DIR} || die "Failed: econf" + + ARCH="$(tc-arch-kernel)" emake -j1 only_libafs || die "Failed: emake" +} + +src_install() { + MOD_SRCDIR=$(expr ${S}/src/libafs/MODLOAD-*) + [ -f ${MOD_SRCDIR}/libafs.${KV_OBJ} ] \ + || die "Couldn't find compiled kernel module" + + MODULE_NAMES='libafs(fs/openafs:$MOD_SRCDIR)' + + linux-mod_src_install +} |