summaryrefslogtreecommitdiff
path: root/net-fs
diff options
context:
space:
mode:
authorStefaan De Roeck <stefaan@gentoo.org>2006-09-09 11:52:11 +0000
committerStefaan De Roeck <stefaan@gentoo.org>2006-09-09 11:52:11 +0000
commitfdb65eb571c166dd88f2a5741570be40239dc60f (patch)
tree18bcaf734d02edb6fdc35112ab68276f86f99356 /net-fs
parentStable on alpha (wrt bug #124381) (diff)
downloadgentoo-2-fdb65eb571c166dd88f2a5741570be40239dc60f.tar.gz
gentoo-2-fdb65eb571c166dd88f2a5741570be40239dc60f.tar.bz2
gentoo-2-fdb65eb571c166dd88f2a5741570be40239dc60f.zip
Version bump to release candidate, put module somewhere a "make modules_install" will not erase it
(Portage version: 2.1.1_rc1-r7)
Diffstat (limited to 'net-fs')
-rw-r--r--net-fs/openafs-kernel/ChangeLog9
-rw-r--r--net-fs/openafs-kernel/files/digest-openafs-kernel-1.4.2_rc36
-rw-r--r--net-fs/openafs-kernel/openafs-kernel-1.4.2_rc3.ebuild54
3 files changed, 68 insertions, 1 deletions
diff --git a/net-fs/openafs-kernel/ChangeLog b/net-fs/openafs-kernel/ChangeLog
index 81bcf560f369..1165d156b6b6 100644
--- a/net-fs/openafs-kernel/ChangeLog
+++ b/net-fs/openafs-kernel/ChangeLog
@@ -1,6 +1,13 @@
# 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.25 2006/09/09 11:17:10 stefaan Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs-kernel/ChangeLog,v 1.26 2006/09/09 11:52:11 stefaan Exp $
+
+*openafs-kernel-1.4.2_rc3 (09 Sep 2006)
+
+ 09 Sep 2006; Stefaan De Roeck <stefaan@gentoo.org>
+ +openafs-kernel-1.4.2_rc3.ebuild:
+ Version bump to release candidate, put module somewhere a "make
+ modules_install" will not erase it
09 Sep 2006; Stefaan De Roeck <stefaan@gentoo.org>
openafs-kernel-1.4.1.ebuild:
diff --git a/net-fs/openafs-kernel/files/digest-openafs-kernel-1.4.2_rc3 b/net-fs/openafs-kernel/files/digest-openafs-kernel-1.4.2_rc3
new file mode 100644
index 000000000000..d172d3d3ab69
--- /dev/null
+++ b/net-fs/openafs-kernel/files/digest-openafs-kernel-1.4.2_rc3
@@ -0,0 +1,6 @@
+MD5 2eade303b340f5708642055341af8288 openafs-1.4.2fc3-src.tar.bz2 12433296
+RMD160 2f95c8631b2cc393136ba6a5b81c247830708ea5 openafs-1.4.2fc3-src.tar.bz2 12433296
+SHA256 b13ff2184b877ceeafc222e87efd1af4406c51e01b20541e5111c138476d936a openafs-1.4.2fc3-src.tar.bz2 12433296
+MD5 6f298d8eb669b91b43b50ff8bd8dc5ef openafs-gentoo-0.9.tar.bz2 17015
+RMD160 07b90f9093677c6e043412c42dfa8096628fe6de openafs-gentoo-0.9.tar.bz2 17015
+SHA256 3f08b6f76b860efe522affccdfc393ea12b2255a3fe476d8d3f12b5f88233f26 openafs-gentoo-0.9.tar.bz2 17015
diff --git a/net-fs/openafs-kernel/openafs-kernel-1.4.2_rc3.ebuild b/net-fs/openafs-kernel/openafs-kernel-1.4.2_rc3.ebuild
new file mode 100644
index 000000000000..c5c699656af6
--- /dev/null
+++ b/net-fs/openafs-kernel/openafs-kernel-1.4.2_rc3.ebuild
@@ -0,0 +1,54 @@
+# 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.4.2_rc3.ebuild,v 1.1 2006/09/09 11:52:11 stefaan Exp $
+
+inherit eutils linux-mod versionator toolchain-funcs
+
+PATCHVER=0.9
+MY_PV=${PV/_rc/fc}
+MY_PN=${PN/-kernel}
+MY_P=${MY_PN}-${MY_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}/candidate/${MY_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() {
+ 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}/openafs.${KV_OBJ} ] \
+ || die "Couldn't find compiled kernel module"
+
+ MODULE_NAMES='openafs(fs/openafs:$MOD_SRCDIR)'
+
+ linux-mod_src_install
+}
+