summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Holzer <mholzer@gentoo.org>2003-10-12 17:12:09 +0000
committerMartin Holzer <mholzer@gentoo.org>2003-10-12 17:12:09 +0000
commitcdeeffd033663bdc138ba3a5fe36a3cad23a2985 (patch)
tree103ee8839e134803b284a60a1afc4cce11684a6a /sys-apps/cloop
parentVersion bumped. Closes #30792. (diff)
downloadgentoo-2-cdeeffd033663bdc138ba3a5fe36a3cad23a2985.tar.gz
gentoo-2-cdeeffd033663bdc138ba3a5fe36a3cad23a2985.tar.bz2
gentoo-2-cdeeffd033663bdc138ba3a5fe36a3cad23a2985.zip
Version bumped. Closes #30792.
Diffstat (limited to 'sys-apps/cloop')
-rw-r--r--sys-apps/cloop/ChangeLog14
-rw-r--r--sys-apps/cloop/Manifest4
-rw-r--r--sys-apps/cloop/cloop-1.02.ebuild68
-rw-r--r--sys-apps/cloop/files/digest-cloop-1.021
4 files changed, 80 insertions, 7 deletions
diff --git a/sys-apps/cloop/ChangeLog b/sys-apps/cloop/ChangeLog
index c348a1c46550..e8e43cfb35cf 100644
--- a/sys-apps/cloop/ChangeLog
+++ b/sys-apps/cloop/ChangeLog
@@ -1,8 +1,13 @@
# ChangeLog for sys-apps/cloop
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/cloop/ChangeLog,v 1.4 2003/09/04 13:04:37 stuart Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/cloop/ChangeLog,v 1.5 2003/10/12 17:12:05 mholzer Exp $
- 04 Sep 2003; stuart cloop-0.68.ebuild:
+*cloop-1.02 (13 Oct 2003)
+
+ 13 Oct 2003; Martin Holzer <mholzer@gentoo.org> cloop-1.02.ebuild:
+ Version bumped. Closes #30792.
+
+ 04 Sep 2003; stuart <stuart@gentoo.org> cloop-0.68.ebuild:
Fix for bug #27882
cloop needs to be *sure* that the zlib code is linked into the kernel.
@@ -12,14 +17,13 @@
The kernel-mod eclass now provides a function to test for this, and
I've updated the cloop-0.68 ebuild to use it.
- 26 Aug 2003; stuart cloop-1.0.ebuild:
+ 26 Aug 2003; stuart <stuart@gentoo.org> cloop-1.0.ebuild:
Added test to catch cause of bug #27343
- 26 Aug 2003; stuart cloop-0.68.ebuild:
+ 26 Aug 2003; stuart <stuart@gentoo.org> cloop-0.68.ebuild:
Added test to abort if Linux kernel != 2.4.x
*cloop-1.0 (25 Aug 2003)
25 Aug 2003; stuart <stuart@gentoo.org> cloop-0.68.ebuild, cloop-1.0.ebuild:
Initial import
-
diff --git a/sys-apps/cloop/Manifest b/sys-apps/cloop/Manifest
index 13c7d106f664..1abc72416245 100644
--- a/sys-apps/cloop/Manifest
+++ b/sys-apps/cloop/Manifest
@@ -1,7 +1,7 @@
-MD5 770ef1f03953a34123b4a09fc091141e ChangeLog 940
+MD5 d1f639e42e93f782278ec9e7d4fe89fc ChangeLog 1071
MD5 0aa22b40a06cb0a362cb73beb7326b8b cloop-0.68.ebuild 2060
MD5 3db0f939da34558d619d860bd53d6885 cloop-1.0.ebuild 1842
-MD5 5c561f83d45f0332d2ffa4aadbba0f99 cloop-1.02.ebuild 1947
+MD5 13b52e04f9964bff66e8ce3f95695987 cloop-1.02.ebuild 1949
MD5 a2d81d30f83079df12804981e490bd8c files/digest-cloop-0.68 64
MD5 35d772e2810697ea7458e58d4cd8dac1 files/digest-cloop-1.0 62
MD5 012e4f17d0612ece27ca653c7af35662 files/digest-cloop-1.02 63
diff --git a/sys-apps/cloop/cloop-1.02.ebuild b/sys-apps/cloop/cloop-1.02.ebuild
new file mode 100644
index 000000000000..eadab22b3cd9
--- /dev/null
+++ b/sys-apps/cloop/cloop-1.02.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/cloop/cloop-1.02.ebuild,v 1.1 2003/10/12 17:12:05 mholzer Exp $
+
+inherit kernel-mod
+
+MY_PV="${PV}-1"
+MY_P="${PN}_${MY_PV}"
+DESCRIPTION="Compressed filesystem loopback kernel module"
+HOMEPAGE="http://www.knopper.net/knoppix/"
+SRC_URI="http://developer.linuxtag.net/knoppix/sources/${MY_P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+DEPEND=""
+
+# Run-time dependencies, same as DEPEND if RDEPEND isn't defined:
+#RDEPEND=""
+
+S=${WORKDIR}/${PN}-${PV}
+
+badversion () {
+ eerror "This version of cloop will only compile against Linux 2.4.x"
+ eerror "Please change where /usr/src/linux points to, or export the KERNEL_DIR"
+ eerror "environment variable like this:"
+ eerror
+ eerror " KERNEL_DIR=\"<dir>\" emerge cloop"
+
+ die "cloop ${PV} only works with Linux 2.4"
+}
+
+badconfig () {
+ eerror "You have not enabled the zlib compression and/or decompression options"
+ eerror "in your Linux kernel."
+ eerror
+ eerror "You must configure both options to be compiled into your kernel; cloop"
+ eerror "will not compile if the zlib options are compiled as modules"
+ die
+}
+
+src_compile() {
+ kernel-mod_getversion
+ [ "$KV_MAJOR" = "2" ] && [ "$KV_MINOR" != "4" ] && badversion
+
+ . ${KERNEL_DIR}/.config || die "kernel has not been configured yet"
+ [ "$CONFIG_ZLIB_INFLATE" != "y" ] && badconfig
+ [ "$CONFIG_ZLIB_DEFLATE" != "y" ] && badconfig
+
+ kernel-mod_src_compile
+}
+
+src_install() {
+ insinto /lib/modules/$KV_VERSION_FULL/misc
+ doins cloop.o
+ 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 () {
+ einfo "Adding /dev/cloop device"
+ if [ -e /dev/cloop ] ; then
+ rm -f /dev/cloop
+ fi
+ mknod /dev/cloop b 240 0 || die
+}
diff --git a/sys-apps/cloop/files/digest-cloop-1.02 b/sys-apps/cloop/files/digest-cloop-1.02
new file mode 100644
index 000000000000..107b9855fbff
--- /dev/null
+++ b/sys-apps/cloop/files/digest-cloop-1.02
@@ -0,0 +1 @@
+MD5 bf5423599eb39d8bf068b0261d39339b cloop_1.02-1.tar.gz 20156