diff options
author | Stefaan De Roeck <stefaan@gentoo.org> | 2006-12-03 08:14:42 +0000 |
---|---|---|
committer | Stefaan De Roeck <stefaan@gentoo.org> | 2006-12-03 08:14:42 +0000 |
commit | dfbfb79bab38522eb6ceec3e4931feb74f90be9d (patch) | |
tree | d677de237d879a34b4b72b3c18477a08d7d582a1 /net-fs/openafs-kernel | |
parent | Fix broken compilation against kernel 2.6.19 (#156938). (diff) | |
download | gentoo-2-dfbfb79bab38522eb6ceec3e4931feb74f90be9d.tar.gz gentoo-2-dfbfb79bab38522eb6ceec3e4931feb74f90be9d.tar.bz2 gentoo-2-dfbfb79bab38522eb6ceec3e4931feb74f90be9d.zip |
Version bump of unstable (hard-masked) version to 1.5.12
(Portage version: 2.1.2_rc2-r3)
Diffstat (limited to 'net-fs/openafs-kernel')
-rw-r--r-- | net-fs/openafs-kernel/ChangeLog | 8 | ||||
-rw-r--r-- | net-fs/openafs-kernel/files/digest-openafs-kernel-1.5.12 | 6 | ||||
-rw-r--r-- | net-fs/openafs-kernel/openafs-kernel-1.5.12.ebuild | 53 |
3 files changed, 66 insertions, 1 deletions
diff --git a/net-fs/openafs-kernel/ChangeLog b/net-fs/openafs-kernel/ChangeLog index 3bd5d90cd99d..247ec89c8334 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-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs-kernel/ChangeLog,v 1.42 2006/12/01 03:25:04 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs-kernel/ChangeLog,v 1.43 2006/12/03 08:14:42 stefaan Exp $ + +*openafs-kernel-1.5.12 (03 Dec 2006) + + 03 Dec 2006; Stefaan De Roeck <stefaan@gentoo.org> + -openafs-kernel-1.5.8.ebuild, +openafs-kernel-1.5.12.ebuild: + Version bump of unstable (hard-masked) version to 1.5.12 01 Dec 2006; Joseph Jezak <josejx@gentoo.org> openafs-kernel-1.4.2-r1.ebuild: diff --git a/net-fs/openafs-kernel/files/digest-openafs-kernel-1.5.12 b/net-fs/openafs-kernel/files/digest-openafs-kernel-1.5.12 new file mode 100644 index 000000000000..fc46b729ec58 --- /dev/null +++ b/net-fs/openafs-kernel/files/digest-openafs-kernel-1.5.12 @@ -0,0 +1,6 @@ +MD5 636e80d5c60a5ed10477b4085af452a3 openafs-1.5.12-src.tar.bz2 13090135 +RMD160 a778da90c28b71187b6af262909eb01ae8e1d720 openafs-1.5.12-src.tar.bz2 13090135 +SHA256 7c9af7b47b8a23824c6b0ebe6bc2cbfb9405e17d238a96212555c702c564f2b1 openafs-1.5.12-src.tar.bz2 13090135 +MD5 f3407a8924b2690e8774d8f1d6c11a5a openafs-gentoo-0.10.tar.bz2 16807 +RMD160 cf7c3e16387dbc274140e0f96b25a2a749e87b45 openafs-gentoo-0.10.tar.bz2 16807 +SHA256 d462f3168610d73153f20eb37057f7f8607d95c56342a5f1de8c984174300a6d openafs-gentoo-0.10.tar.bz2 16807 diff --git a/net-fs/openafs-kernel/openafs-kernel-1.5.12.ebuild b/net-fs/openafs-kernel/openafs-kernel-1.5.12.ebuild new file mode 100644 index 000000000000..5141c2ebd6b9 --- /dev/null +++ b/net-fs/openafs-kernel/openafs-kernel-1.5.12.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2006 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.5.12.ebuild,v 1.1 2006/12/03 08:14:42 stefaan Exp $ + +inherit eutils linux-mod versionator toolchain-funcs + +PATCHVER=0.10 +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="IPL-1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~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)" make only_libafs || die "Failed: make" +} + +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) afspag(fs/openafs:$MOD_SRCDIR)' + + linux-mod_src_install +} + |