summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2005-01-01 21:30:42 +0000
committerDaniel Black <dragonheart@gentoo.org>2005-01-01 21:30:42 +0000
commit774c83eedb2797b18cdecdb0104b1be7b185e42f (patch)
treeed98618fe98b720e818d11da82d5dd115c68cfff /sys-fs
parenterr merged too many things last commit (diff)
downloadhistorical-774c83eedb2797b18cdecdb0104b1be7b185e42f.tar.gz
historical-774c83eedb2797b18cdecdb0104b1be7b185e42f.tar.bz2
historical-774c83eedb2797b18cdecdb0104b1be7b185e42f.zip
added 1.4 version for 2.4 Kernels
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/cowloop/ChangeLog7
-rw-r--r--sys-fs/cowloop/Manifest10
-rw-r--r--sys-fs/cowloop/cowloop-1.4.ebuild43
-rw-r--r--sys-fs/cowloop/files/digest-cowloop-1.41
4 files changed, 56 insertions, 5 deletions
diff --git a/sys-fs/cowloop/ChangeLog b/sys-fs/cowloop/ChangeLog
index 899135d9a571..e1425d772398 100644
--- a/sys-fs/cowloop/ChangeLog
+++ b/sys-fs/cowloop/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-fs/cowloop
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/cowloop/ChangeLog,v 1.1 2005/01/01 15:03:47 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/cowloop/ChangeLog,v 1.2 2005/01/01 21:30:42 dragonheart Exp $
+
+*cowloop-1.4 (02 Jan 2005)
+
+ 02 Jan 2005; Daniel Black <dragonheart@gentoo.org> +cowloop-1.4.ebuild:
+ added 1.4 version for 2.4 Kernels
*cowloop-2.11 (02 Jan 2005)
diff --git a/sys-fs/cowloop/Manifest b/sys-fs/cowloop/Manifest
index cec5cbc9036c..aa52384929ed 100644
--- a/sys-fs/cowloop/Manifest
+++ b/sys-fs/cowloop/Manifest
@@ -2,13 +2,15 @@
Hash: SHA1
MD5 8eb2e210b008e2f40e9a9a9d9da112e2 cowloop-2.11.ebuild 1100
+MD5 f1222167b13618a592fb64ac39521b29 cowloop-1.4.ebuild 1160
MD5 6d796b061ed1c1337ef157a5f74dab35 metadata.xml 403
-MD5 88dd82bd9643f8e6cfcb8966459ce950 ChangeLog 458
+MD5 961cd9add5526574ac75363052aa1f44 ChangeLog 597
MD5 5b1d181cd462a69063fe74fd3179a116 files/digest-cowloop-2.11 63
+MD5 c1f4e8a9d7f7054d5560717155944ba1 files/digest-cowloop-1.4 62
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
-iD8DBQFB1rvZmdTrptrqvGERAs/nAJ4+4LJ3Xte/ePhsOMCc4kAgm26RUwCeOimQ
-uInJEFnKvRSpb1RtP0KguYs=
-=73mK
+iD8DBQFB1xaImdTrptrqvGERAqqIAJ9VFXYX47dZiSw/EYQ1vfNlP3E9JgCdH6xt
+3pMdHwYuyN2ugA0LXr+M5rg=
+=RHLc
-----END PGP SIGNATURE-----
diff --git a/sys-fs/cowloop/cowloop-1.4.ebuild b/sys-fs/cowloop/cowloop-1.4.ebuild
new file mode 100644
index 000000000000..d0a282e0bd41
--- /dev/null
+++ b/sys-fs/cowloop/cowloop-1.4.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/cowloop/cowloop-1.4.ebuild,v 1.1 2005/01/01 21:30:42 dragonheart Exp $
+
+inherit linux-mod toolchain-funcs
+
+DESCRIPTION="A copy-on-write loop driver (block device) to be used on top of any other block driver"
+HOMEPAGE="http://www.atconsultancy.nl/cowloop/"
+SRC_URI="http://www.atconsultancy.nl/cowloop/packages/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="2.4"
+KEYWORDS="x86"
+IUSE=""
+DEPEND="virtual/libc
+ virtual/linux-sources"
+
+MODULE_NAMES="cowloop(misc:${S})"
+BUILD_PARAMS="-C ${KERNEL_DIR} SUBDIRS=${S} -I."
+BUILD_TARGETS="modules"
+
+
+pkg_setup() {
+ linux-mod_pkg_setup
+ einfo "Linux kernel ${KV_FULL}"
+ if ! kernel_is 2 4
+ then
+ eerror "This version only works with 2.4 kernels"
+ eerror "For 2.6 kernel support, use version 2.11 or later"
+ die "No compatible kernel detected!"
+ fi
+}
+
+src_compile() {
+ $(tc-getCC) -O2 -s -I. -D__KERNEL__ -DLINUX -DMODULE -DCOWMAJOR=241 \
+ -I${KERNEL_DIR}/include ${CFLAGS} -c cowloop.c \
+ || die "module compile failure"
+}
+
+src_install() {
+ linux-mod_src_install
+ doman man/*
+}
diff --git a/sys-fs/cowloop/files/digest-cowloop-1.4 b/sys-fs/cowloop/files/digest-cowloop-1.4
new file mode 100644
index 000000000000..4d10feb5e6f2
--- /dev/null
+++ b/sys-fs/cowloop/files/digest-cowloop-1.4
@@ -0,0 +1 @@
+MD5 a80aafee62dca976dc0967ee474febbc cowloop-1.4.tar.gz 12580