summaryrefslogtreecommitdiff
path: root/net-fs
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2003-11-21 07:53:52 +0000
committerSeemant Kulleen <seemant@gentoo.org>2003-11-21 07:53:52 +0000
commit0a18ac617d84a15a29307f2cace1e42ee2a6405c (patch)
tree59a584e48cdb3c8fff4f1332f850004f449f2b84 /net-fs
parentkernel module for coda filesystem, version 6 (diff)
downloadhistorical-0a18ac617d84a15a29307f2cace1e42ee2a6405c.tar.gz
historical-0a18ac617d84a15a29307f2cace1e42ee2a6405c.tar.bz2
historical-0a18ac617d84a15a29307f2cace1e42ee2a6405c.zip
kernel module for coda filesystem, version 6
Diffstat (limited to 'net-fs')
-rw-r--r--net-fs/coda-kernel/Manifest4
-rw-r--r--net-fs/coda-kernel/coda-kernel-6.0.0.ebuild47
-rw-r--r--net-fs/coda-kernel/files/digest-coda-kernel-6.0.01
-rw-r--r--net-fs/coda-kernel/metadata.xml10
4 files changed, 61 insertions, 1 deletions
diff --git a/net-fs/coda-kernel/Manifest b/net-fs/coda-kernel/Manifest
index ba5cce8956c4..9cd990d14dff 100644
--- a/net-fs/coda-kernel/Manifest
+++ b/net-fs/coda-kernel/Manifest
@@ -1,2 +1,4 @@
-MD5 fde794426f460a04e94d0f6f216a0b84 coda-kernel-6.0.0.ebuild 985
+MD5 f19dba9b562a7e08c5b67450946d8f7c coda-kernel-6.0.0.ebuild 1321
+MD5 a003620956f0bc40946792969633755e ChangeLog 447
+MD5 f819dce85efb0038f6355c6fe783d8f4 metadata.xml 320
MD5 c7f6a115db65915dee65cd11dba37b64 files/digest-coda-kernel-6.0.0 65
diff --git a/net-fs/coda-kernel/coda-kernel-6.0.0.ebuild b/net-fs/coda-kernel/coda-kernel-6.0.0.ebuild
new file mode 100644
index 000000000000..13dcb6ad0bc5
--- /dev/null
+++ b/net-fs/coda-kernel/coda-kernel-6.0.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: Addme please
+
+MY_PN=linux-coda
+MY_P=${MY_PN}-${PV}
+S=${WORKDIR}/${MY_PN}
+DESCRIPTION="Kernel module for the Coda Filesystem. The stock module will not work for Coda versions 6.0 and above."
+HOMEPAGE="http://www.coda.cs.cmu.edu/"
+SRC_URI="ftp://ftp.coda.cs.cmu.edu/pub/coda/linux/kernel/${MY_P}.tgz"
+
+RESTRICT="nostrip"
+
+SLOT="${KV}"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~mips ~arm ~amd64 ~ia64"
+
+DEPEND=">=virtual/linux-sources-2.4"
+
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ # Fix retarded Configure script. Have the coda developers actually seen
+ # a 2.4 kernel source tree before?
+ sed -i 's:MODVER="$LINUX:MODVER="$LINUX/include/linux:' Configure
+}
+
+src_compile() {
+ # Why does everything about Coda have to be different?
+ # Why use 'Configure' when everyone else on earth uses 'configure'... 0_o
+ ./Configure --srctree --kernel=/usr/src/linux --noprompt || die
+
+ # Must unset the CFLAGS or we trigger an ifdef in the Makefile which causes
+ # the module to not build correctly. ;|
+ unset CFLAGS
+ make coda.o || die "make failed"
+}
+
+src_install() {
+ einstall MODDIR="${D}/lib/modules/${KV}"
+}
+
+pkg_postinst() {
+ [ -x /usr/sbin/update-modules ] && /usr/sbin/update-modules
+}
diff --git a/net-fs/coda-kernel/files/digest-coda-kernel-6.0.0 b/net-fs/coda-kernel/files/digest-coda-kernel-6.0.0
new file mode 100644
index 000000000000..32a949a617a0
--- /dev/null
+++ b/net-fs/coda-kernel/files/digest-coda-kernel-6.0.0
@@ -0,0 +1 @@
+MD5 340ed8d028e1915ee7f67de2bbaf221d linux-coda-6.0.0.tgz 131052
diff --git a/net-fs/coda-kernel/metadata.xml b/net-fs/coda-kernel/metadata.xml
new file mode 100644
index 000000000000..f2a1e47ec051
--- /dev/null
+++ b/net-fs/coda-kernel/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>system-tools</herd>
+<maintainer>
+ <email>seemant@gentoo.org</email>
+ <name>Seemant Kulleen</name>
+ <notes>through Michael C. Ferguson mcf@augustmail.com</notes>
+</maintainer>
+</pkgmetadata>