diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2006-05-30 11:19:52 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2006-05-30 11:19:52 +0000 |
commit | 840250a4357f6166c762aaef7c5f5c875e7ef11e (patch) | |
tree | 6087674e0962ea987601f046e28beb0072ff0c00 /sys-fs | |
parent | Added ~ppc64; bug #134717 (diff) | |
download | gentoo-2-840250a4357f6166c762aaef7c5f5c875e7ef11e.tar.gz gentoo-2-840250a4357f6166c762aaef7c5f5c875e7ef11e.tar.bz2 gentoo-2-840250a4357f6166c762aaef7c5f5c875e7ef11e.zip |
New ebuild, sources from debian, works with kernel-2.6.16, bug 131161
(Portage version: 2.1_rc3-r2)
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/cloop/ChangeLog | 9 | ||||
-rw-r--r-- | sys-fs/cloop/cloop-2.02.1-r1.ebuild | 60 | ||||
-rw-r--r-- | sys-fs/cloop/files/digest-cloop-2.02.1 | 2 | ||||
-rw-r--r-- | sys-fs/cloop/files/digest-cloop-2.02.1-r1 | 3 |
4 files changed, 72 insertions, 2 deletions
diff --git a/sys-fs/cloop/ChangeLog b/sys-fs/cloop/ChangeLog index 189d0d85ea9f..f4508a7603b5 100644 --- a/sys-fs/cloop/ChangeLog +++ b/sys-fs/cloop/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-fs/cloop -# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/cloop/ChangeLog,v 1.9 2005/08/15 09:43:33 genstef Exp $ +# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/cloop/ChangeLog,v 1.10 2006/05/30 11:19:51 genstef Exp $ + +*cloop-2.02.1-r1 (30 May 2006) + + 30 May 2006; Stefan Schweizer <genstef@gentoo.org> +cloop-2.02.1-r1.ebuild: + New ebuild, sources from debian, works with kernel-2.6.16, bug 131161 *cloop-2.02.1 (15 Aug 2005) diff --git a/sys-fs/cloop/cloop-2.02.1-r1.ebuild b/sys-fs/cloop/cloop-2.02.1-r1.ebuild new file mode 100644 index 000000000000..c3d78a6624c8 --- /dev/null +++ b/sys-fs/cloop/cloop-2.02.1-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/cloop/cloop-2.02.1-r1.ebuild,v 1.1 2006/05/30 11:19:51 genstef Exp $ + +inherit linux-mod eutils + +DESCRIPTION="Compressed filesystem loopback kernel module" +HOMEPAGE="http://www.knopper.net/knoppix/" +SRC_URI="mirror://debian/pool/main/c/cloop/${PN}_${PV}+eb.10.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +S=${WORKDIR}/${P}+eb.10 + +pkg_setup() { + CONFIG_CHECK="ZLIB_INFLATE" + if kernel_is 2 4 + then + CONFIG_CHECK="${CONFIG_CHECK} ZLIB_DEFLATE" + fi + MODULE_NAMES="cloop(fs:)" + BUILD_TARGETS="all" + BUILD_PARAMS="KVERSION=${KV_FULL} KERNEL_DIR=${KV_DIR}" + linux-mod_pkg_setup +} + +src_unpack() { + unpack ${A} + cd ${S} + sed -i 's:MODULE_PARM(\([^,]*\), "s");:module_param(\1, charp, 0);:' compressed_loop.c + sed -i -e 's:__stringify(KBUILD_MODNAME):"cloop":' compressed_loop.c +} + +src_install() { + linux-mod_src_install + + dobin create_compressed_fs extract_compressed_fs + cp debian/create_compressed_fs.1 debian/extract_compressed_fs.1 + doman debian/create_compressed_fs.1 debian/extract_compressed_fs.1 + dodoc CHANGELOG README +} + +pkg_postinst () { + if kernel_is 2 4 + then + einfo "Adding /dev/cloop devices" + if [ -e /dev/cloop ] ; then + rm -f /dev/cloop + fi + mknod /dev/cloop b 240 0 || die + if [ -e /dev/cloop1 ] ; then + rm -f /dev/cloop1 + fi + mknod /dev/cloop1 b 240 1 || die + fi + + linux-mod_pkg_postinst +} diff --git a/sys-fs/cloop/files/digest-cloop-2.02.1 b/sys-fs/cloop/files/digest-cloop-2.02.1 index 8c787ff77d1a..7117037007dd 100644 --- a/sys-fs/cloop/files/digest-cloop-2.02.1 +++ b/sys-fs/cloop/files/digest-cloop-2.02.1 @@ -1 +1,3 @@ MD5 7cf51aeafbd38de5a26c9ab8addc154b cloop_2.02-1.tar.gz 428919 +RMD160 9d80010ac817f488a9f0c67b74e59aadb670490a cloop_2.02-1.tar.gz 428919 +SHA256 cfb243a5301e452bbe67fb6f84d5accf1a72f858037cc628046522fa1f212c06 cloop_2.02-1.tar.gz 428919 diff --git a/sys-fs/cloop/files/digest-cloop-2.02.1-r1 b/sys-fs/cloop/files/digest-cloop-2.02.1-r1 new file mode 100644 index 000000000000..fa1f48dfd2f7 --- /dev/null +++ b/sys-fs/cloop/files/digest-cloop-2.02.1-r1 @@ -0,0 +1,3 @@ +MD5 5f9249087531f36774981312fc9bf951 cloop_2.02.1+eb.10.tar.gz 348471 +RMD160 bf63e46622d4f1289ea1f577fde08f6b5e977ef0 cloop_2.02.1+eb.10.tar.gz 348471 +SHA256 4e6770379a98588ad82f5fd2800454333ba19e33606f239cc44c2e127187f757 cloop_2.02.1+eb.10.tar.gz 348471 |