summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2004-11-23 22:36:14 +0000
committerStefan Schweizer <genstef@gentoo.org>2004-11-23 22:36:14 +0000
commitce9666f8a3a892653655f505e88716f34e095268 (patch)
tree193687219ec54b21607eac2abccbb1d7b944418e
parentfixing ultra unipatch line, shouldnt use UNIPATCH_EXCLUDE from the ebuild. (M... (diff)
downloadgentoo-2-ce9666f8a3a892653655f505e88716f34e095268.tar.gz
gentoo-2-ce9666f8a3a892653655f505e88716f34e095268.tar.bz2
gentoo-2-ce9666f8a3a892653655f505e88716f34e095268.zip
Moved from sys-apps/cloop to sys-fs/cloop.
-rw-r--r--sys-fs/cloop/ChangeLog46
-rw-r--r--sys-fs/cloop/Manifest10
-rw-r--r--sys-fs/cloop/cloop-0.68.ebuild77
-rw-r--r--sys-fs/cloop/cloop-1.0.ebuild67
-rw-r--r--sys-fs/cloop/cloop-1.02.ebuild68
-rw-r--r--sys-fs/cloop/cloop-2.00.ebuild72
-rw-r--r--sys-fs/cloop/files/digest-cloop-0.681
-rw-r--r--sys-fs/cloop/files/digest-cloop-1.01
-rw-r--r--sys-fs/cloop/files/digest-cloop-1.021
-rw-r--r--sys-fs/cloop/files/digest-cloop-2.001
-rw-r--r--sys-fs/cloop/metadata.xml5
11 files changed, 349 insertions, 0 deletions
diff --git a/sys-fs/cloop/ChangeLog b/sys-fs/cloop/ChangeLog
new file mode 100644
index 000000000000..ba9fb5bcda36
--- /dev/null
+++ b/sys-fs/cloop/ChangeLog
@@ -0,0 +1,46 @@
+# ChangeLog for sys-apps/cloop
+# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/cloop/ChangeLog,v 1.1 2004/11/23 22:36:14 genstef Exp $
+
+*cloop-1.0 (23 Nov 2004)
+
+ 23 Nov 2004; Stefan Schweizer <genstef@gentoo.org> +metadata.xml,
+ +cloop-0.68.ebuild, +cloop-1.0.ebuild, +cloop-1.02.ebuild,
+ +cloop-2.00.ebuild:
+ Moved from sys-apps/cloop to sys-fs/cloop.
+
+ 29 Dec 2003; Stuart Herbert <stuart@gentoo.org> cloop-0.68.ebuild:
+ New digest (original tarball no longer available; made a new one from source
+ code on my local machine); also fixed compilation failures due to make -jN
+
+*cloop-2.00 (29 Dec 2003)
+
+ 29 Dec 2003; Stuart Herbert <stuart@gentoo.org> cloop-2.00.ebuild:
+ Version bumped. Closes #36696
+
+*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.
+ Simply enabling the zlib config options isn't enough; the code needs
+ to be called from elsewhere in the kernel.
+
+ 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 <stuart@gentoo.org> cloop-1.0.ebuild:
+ Added test to catch cause of bug #27343
+
+ 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)
+*cloop-0.68 (25 Aug 2003)
+
+ 25 Aug 2003; stuart <stuart@gentoo.org> cloop-0.68.ebuild, cloop-1.0.ebuild:
+ Initial import
diff --git a/sys-fs/cloop/Manifest b/sys-fs/cloop/Manifest
new file mode 100644
index 000000000000..bed0d843e378
--- /dev/null
+++ b/sys-fs/cloop/Manifest
@@ -0,0 +1,10 @@
+MD5 8e1bc0ee4930bbf704bb46c9b5548a50 cloop-0.68.ebuild 2113
+MD5 3111209697f13ecb2cf469d2ef4f90d9 cloop-2.00.ebuild 2030
+MD5 8a3e8423b217221a78e35ca0d93afeab cloop-1.0.ebuild 1835
+MD5 2f72def221ab4ddd09c603a9e5c64e85 ChangeLog 1445
+MD5 f8e78ef3fd76cbc56c247d2aa17be955 cloop-1.02.ebuild 1941
+MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
+MD5 35d772e2810697ea7458e58d4cd8dac1 files/digest-cloop-1.0 62
+MD5 aeb66341a09c65ce27293e9bc8867e7c files/digest-cloop-0.68 64
+MD5 012e4f17d0612ece27ca653c7af35662 files/digest-cloop-1.02 63
+MD5 cc6063c4f68af1ae01cf6437c8a224b8 files/digest-cloop-2.00 63
diff --git a/sys-fs/cloop/cloop-0.68.ebuild b/sys-fs/cloop/cloop-0.68.ebuild
new file mode 100644
index 000000000000..ac8b3ec99c1b
--- /dev/null
+++ b/sys-fs/cloop/cloop-0.68.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/cloop/cloop-0.68.ebuild,v 1.1 2004/11/23 22:36:14 genstef Exp $
+
+inherit kernel-mod
+
+MY_PV="${PV}-3"
+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
+}
+
+badconfig_deps () {
+ eerror "You must enable one of these kernel configuration options, to"
+ eerror "ensure that the kernel's zlib support is included:"
+}
+
+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_checkzlibinflate_configured
+
+ # cloop is not safe to compile with -j > 1
+ MAKEOPTS=-j1
+
+ kernel-mod_src_compile
+}
+
+src_install() {
+ insinto /lib/modules/$KV_VERSION_FULL/misc
+ doins cloop.o
+ dobin create_compressed_fs compressloop extract_compressed_fs
+ doman debian/create_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-fs/cloop/cloop-1.0.ebuild b/sys-fs/cloop/cloop-1.0.ebuild
new file mode 100644
index 000000000000..ead54168f93d
--- /dev/null
+++ b/sys-fs/cloop/cloop-1.0.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/cloop/cloop-1.0.ebuild,v 1.1 2004/11/23 22:36:14 genstef 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 compressloop
+ doman debian/create_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-fs/cloop/cloop-1.02.ebuild b/sys-fs/cloop/cloop-1.02.ebuild
new file mode 100644
index 000000000000..9654452a8108
--- /dev/null
+++ b/sys-fs/cloop/cloop-1.02.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/cloop/cloop-1.02.ebuild,v 1.1 2004/11/23 22:36:14 genstef 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-fs/cloop/cloop-2.00.ebuild b/sys-fs/cloop/cloop-2.00.ebuild
new file mode 100644
index 000000000000..7d7a2d947e31
--- /dev/null
+++ b/sys-fs/cloop/cloop-2.00.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/cloop/cloop-2.00.ebuild,v 1.1 2004/11/23 22:36:14 genstef 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 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
+}
diff --git a/sys-fs/cloop/files/digest-cloop-0.68 b/sys-fs/cloop/files/digest-cloop-0.68
new file mode 100644
index 000000000000..d953921d04f6
--- /dev/null
+++ b/sys-fs/cloop/files/digest-cloop-0.68
@@ -0,0 +1 @@
+MD5 526b850ebe9296373471f8fd9d60ddff cloop_0.68-3.tar.gz 213474
diff --git a/sys-fs/cloop/files/digest-cloop-1.0 b/sys-fs/cloop/files/digest-cloop-1.0
new file mode 100644
index 000000000000..8578ca866b69
--- /dev/null
+++ b/sys-fs/cloop/files/digest-cloop-1.0
@@ -0,0 +1 @@
+MD5 f88034ddcd74dab779ce029964c16766 cloop_1.0-1.tar.gz 32246
diff --git a/sys-fs/cloop/files/digest-cloop-1.02 b/sys-fs/cloop/files/digest-cloop-1.02
new file mode 100644
index 000000000000..107b9855fbff
--- /dev/null
+++ b/sys-fs/cloop/files/digest-cloop-1.02
@@ -0,0 +1 @@
+MD5 bf5423599eb39d8bf068b0261d39339b cloop_1.02-1.tar.gz 20156
diff --git a/sys-fs/cloop/files/digest-cloop-2.00 b/sys-fs/cloop/files/digest-cloop-2.00
new file mode 100644
index 000000000000..1e61447e13c1
--- /dev/null
+++ b/sys-fs/cloop/files/digest-cloop-2.00
@@ -0,0 +1 @@
+MD5 a18f5d97bae863b823c42cf6722ef769 cloop_2.00-1.tar.gz 21583
diff --git a/sys-fs/cloop/metadata.xml b/sys-fs/cloop/metadata.xml
new file mode 100644
index 000000000000..96a2d586367d
--- /dev/null
+++ b/sys-fs/cloop/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>base-system</herd>
+</pkgmetadata>