summaryrefslogtreecommitdiff
path: root/net-fs
diff options
context:
space:
mode:
authorStefaan De Roeck <stefaan@gentoo.org>2006-09-09 14:30:47 +0000
committerStefaan De Roeck <stefaan@gentoo.org>2006-09-09 14:30:47 +0000
commit8869f3bf7b72a1f4e39128ff895f1ee51e0c8622 (patch)
tree1b0d6fc7e1a059cda705ee0ba6aacaff57423e20 /net-fs
parentVersion bump. (diff)
downloadgentoo-2-8869f3bf7b72a1f4e39128ff895f1ee51e0c8622.tar.gz
gentoo-2-8869f3bf7b72a1f4e39128ff895f1ee51e0c8622.tar.bz2
gentoo-2-8869f3bf7b72a1f4e39128ff895f1ee51e0c8622.zip
Add development release (hard masked)
(Portage version: 2.1.1_rc1-r7)
Diffstat (limited to 'net-fs')
-rw-r--r--net-fs/openafs-kernel/ChangeLog8
-rw-r--r--net-fs/openafs-kernel/files/digest-openafs-kernel-1.5.86
-rw-r--r--net-fs/openafs-kernel/openafs-kernel-1.5.8.ebuild53
3 files changed, 66 insertions, 1 deletions
diff --git a/net-fs/openafs-kernel/ChangeLog b/net-fs/openafs-kernel/ChangeLog
index 1165d156b6b6..dead78f1c710 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.26 2006/09/09 11:52:11 stefaan Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs-kernel/ChangeLog,v 1.27 2006/09/09 14:30:47 stefaan Exp $
+
+*openafs-kernel-1.5.8 (09 Sep 2006)
+
+ 09 Sep 2006; Stefaan De Roeck <stefaan@gentoo.org>
+ +openafs-kernel-1.5.8.ebuild:
+ Add development release (hard masked)
*openafs-kernel-1.4.2_rc3 (09 Sep 2006)
diff --git a/net-fs/openafs-kernel/files/digest-openafs-kernel-1.5.8 b/net-fs/openafs-kernel/files/digest-openafs-kernel-1.5.8
new file mode 100644
index 000000000000..f0a2f73031ec
--- /dev/null
+++ b/net-fs/openafs-kernel/files/digest-openafs-kernel-1.5.8
@@ -0,0 +1,6 @@
+MD5 766a6f5eaccfcc4b2a1e6f3a23d3440e openafs-1.5.8-src.tar.bz2 12570373
+RMD160 ec4d52f838e7ea52ba3e9fb8c681d8d36e678db3 openafs-1.5.8-src.tar.bz2 12570373
+SHA256 e17d6c28985dfe8f2cea4b1e794d569b6579bf029a0e32e6ee5e49fad2690b8f openafs-1.5.8-src.tar.bz2 12570373
+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.8.ebuild b/net-fs/openafs-kernel/openafs-kernel-1.5.8.ebuild
new file mode 100644
index 000000000000..3dd8d1ce4142
--- /dev/null
+++ b/net-fs/openafs-kernel/openafs-kernel-1.5.8.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.8.ebuild,v 1.1 2006/09/09 14:30:47 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
+}
+