summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2006-10-19 17:30:35 +0000
committerStefan Schweizer <genstef@gentoo.org>2006-10-19 17:30:35 +0000
commite0baeec44a2c8121f6f7c6404476ca54554aeb32 (patch)
tree57e3da6c34560d0d09c0120a3f7936c57ba97ed1 /sys-fs
parentDepend on 1.1.2 version of flac, as the 1.1.3 version changes API. (diff)
downloadgentoo-2-e0baeec44a2c8121f6f7c6404476ca54554aeb32.tar.gz
gentoo-2-e0baeec44a2c8121f6f7c6404476ca54554aeb32.tar.bz2
gentoo-2-e0baeec44a2c8121f6f7c6404476ca54554aeb32.zip
version bump thanks to Juan J. Prieto <jjprieto@eneotecnologia.com> in bug 151924
(Portage version: 2.1.2_pre3-r5)
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/cloop/ChangeLog8
-rw-r--r--sys-fs/cloop/cloop-2.04.ebuild60
-rw-r--r--sys-fs/cloop/files/digest-cloop-2.043
3 files changed, 70 insertions, 1 deletions
diff --git a/sys-fs/cloop/ChangeLog b/sys-fs/cloop/ChangeLog
index 357454dddb35..d272228f188d 100644
--- a/sys-fs/cloop/ChangeLog
+++ b/sys-fs/cloop/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-fs/cloop
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/cloop/ChangeLog,v 1.13 2006/07/14 21:57:03 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/cloop/ChangeLog,v 1.14 2006/10/19 17:30:35 genstef Exp $
+
+*cloop-2.04 (19 Oct 2006)
+
+ 19 Oct 2006; Stefan Schweizer <genstef@gentoo.org> +cloop-2.04.ebuild:
+ version bump thanks to Juan J. Prieto <jjprieto@eneotecnologia.com> in bug
+ 151924
14 Jul 2006; Stefan Schweizer <genstef@gentoo.org>
-files/cloop-2.01.5-netinet-gentoo.patch,
diff --git a/sys-fs/cloop/cloop-2.04.ebuild b/sys-fs/cloop/cloop-2.04.ebuild
new file mode 100644
index 000000000000..e6265e96d43f
--- /dev/null
+++ b/sys-fs/cloop/cloop-2.04.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.04.ebuild,v 1.1 2006/10/19 17:30:35 genstef Exp $
+
+inherit linux-mod eutils
+
+DESCRIPTION="Compressed filesystem loopback kernel module"
+HOMEPAGE="http://packages.debian.org/unstable/source/cloop http://www.knopper.net/knoppix"
+SRC_URI="mirror://debian/pool/main/c/cloop/${PN}_${PV}-1+eb.1-7.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+S=${WORKDIR}/${P}-1+eb.1
+
+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}
+ kernel_is 2 4 || 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.04 b/sys-fs/cloop/files/digest-cloop-2.04
new file mode 100644
index 000000000000..bcbdd0db451e
--- /dev/null
+++ b/sys-fs/cloop/files/digest-cloop-2.04
@@ -0,0 +1,3 @@
+MD5 b87e32cfabe620ebd66adbaf85db88be cloop_2.04-1+eb.1-7.tar.gz 302314
+RMD160 d2556d86301ce5c98535daa0a2ccf4412e0476ad cloop_2.04-1+eb.1-7.tar.gz 302314
+SHA256 f5b3c2120a3620cbbef2f26b9dbcc78224681a9f25d80090fc30f940301500e0 cloop_2.04-1+eb.1-7.tar.gz 302314