diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2011-11-20 10:28:15 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2011-11-20 10:28:15 +0000 |
commit | 8edce5989be8e114ad214e3ad57c57e4ca275e46 (patch) | |
tree | 67ddca0f87e5ad67df2ec00fc63b4ba7bf1d5c1d /sys-fs | |
parent | sieve version bump (diff) | |
download | gentoo-2-8edce5989be8e114ad214e3ad57c57e4ca275e46.tar.gz gentoo-2-8edce5989be8e114ad214e3ad57c57e4ca275e46.tar.bz2 gentoo-2-8edce5989be8e114ad214e3ad57c57e4ca275e46.zip |
remove per bug #293579
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/cowloop/ChangeLog | 117 | ||||
-rw-r--r-- | sys-fs/cowloop/Manifest | 25 | ||||
-rw-r--r-- | sys-fs/cowloop/cowloop-3.0-r3.ebuild | 57 | ||||
-rw-r--r-- | sys-fs/cowloop/cowloop-3.1.ebuild | 48 | ||||
-rw-r--r-- | sys-fs/cowloop/files/cowloop-3.0-2.6.28.patch | 152 | ||||
-rw-r--r-- | sys-fs/cowloop/files/cowloop-3.0-cflags.patch | 39 | ||||
-rw-r--r-- | sys-fs/cowloop/files/cowloop-3.0-config_h.patch | 13 | ||||
-rw-r--r-- | sys-fs/cowloop/files/cowloop-3.0-kern-2.6.23.patch | 16 | ||||
-rw-r--r-- | sys-fs/cowloop/files/cowloop-3.0-request_queue_t.patch | 14 | ||||
-rw-r--r-- | sys-fs/cowloop/files/cowloop-3.0-semaphore_h.patch | 14 | ||||
-rw-r--r-- | sys-fs/cowloop/files/cowloop-3.0-vfs_statfs.patch | 34 | ||||
-rw-r--r-- | sys-fs/cowloop/metadata.xml | 8 |
12 files changed, 0 insertions, 537 deletions
diff --git a/sys-fs/cowloop/ChangeLog b/sys-fs/cowloop/ChangeLog deleted file mode 100644 index b8c3ccb15a56..000000000000 --- a/sys-fs/cowloop/ChangeLog +++ /dev/null @@ -1,117 +0,0 @@ -# ChangeLog for sys-fs/cowloop -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/cowloop/ChangeLog,v 1.27 2011/07/20 15:01:36 pacho Exp $ - - 20 Jul 2011; Pacho Ramos <pacho@gentoo.org> metadata.xml: - Drop maintainer due retirement, bug #34534 - -*cowloop-3.1 (24 Feb 2009) - - 24 Feb 2009; Daniel Black <dragonheart@gentoo.org> +cowloop-3.1.ebuild: - version bump thanks to upstream maintainer - Hendrik-Jan Thomassen - - 02 Feb 2009; Daniel Black <dragonheart@gentoo.org> - +files/cowloop-3.0-2.6.28.patch, cowloop-3.0-r3.ebuild: - patch for 2.6.28 thanks to Jerome Poulin in bug #257335 - - 30 Jan 2009; Daniel Black <dragonheart@gentoo.org> - +files/cowloop-3.0-request_queue_t.patch, - +files/cowloop-3.0-semaphore_h.patch, -cowloop-3.0-r2.ebuild, - cowloop-3.0-r3.ebuild: - 2.6.27 kernel patches as per bug #256527. removed -r2 version as it did not - include latest patches. marked 3.0 as x86 stable as I should not have rev - bumped it years ago for the patches I added - -*cowloop-3.0-r3 (01 Apr 2008) - - 01 Apr 2008; Daniel Black <dragonheart@gentoo.org> - +files/cowloop-3.0-kern-2.6.23.patch, +cowloop-3.0-r3.ebuild: - introduced 2.6.23+ compatibility as per bug #208059. Patches by Jouni - Kosonen and bug written by Jérôme Poulin - - 02 May 2007; Robin H. Johnson <robbat2@gentoo.org> cowloop-3.0-r2.ebuild: - Add ~amd64 after some quick testing. - -*cowloop-3.0-r2 (13 Mar 2007) - - 13 Mar 2007; Daniel Black <dragonheart@gentoo.org> +cowloop-3.0-r2.ebuild, - -cowloop-3.0-r1.ebuild: - Fixed udev rules thanks to Magnus as per bug #168297 - - 25 Feb 2007; <genstef@gentoo.org> cowloop-1.4.ebuild, cowloop-2.14.ebuild, - cowloop-2.15-r1.ebuild, cowloop-3.0-r1.ebuild: - use KV_DIR only after linux-mod_pkg_setup, bug 168051 - - 22 Feb 2007; Markus Ullmann <jokey@gentoo.org> ChangeLog: - Redigest for Manifest2 - - 09 Jan 2007; Christian Faulhammer <opfer@gentoo.org> - cowloop-3.0-r1.ebuild: - stable x86, bug #158463 - -*cowloop-3.0-r1 (22 Dec 2006) - - 22 Dec 2006; Daniel Black <dragonheart@gentoo.org> - +files/cowloop-3.0-vfs_statfs.patch, -cowloop-3.0.ebuild, - +cowloop-3.0-r1.ebuild: - vfs_statfs fix thanks to the watchful eye of upstream maintainer - H.J. Thomassen - - 19 Dec 2006; Daniel Black <dragonheart@gentoo.org> - +files/cowloop-3.0-cflags.patch, +files/cowloop-3.0-config_h.patch, - cowloop-3.0.ebuild: - 2.6.19 kernel compatibility patch thanks to Willard Dawson in bug #158463 - -*cowloop-3.0 (16 Dec 2006) - - 16 Dec 2006; Daniel Black <dragonheart@gentoo.org> +cowloop-3.0.ebuild: - version bump - - 18 Feb 2006; Daniel Black <dragonheart@gentoo.org> cowloop-2.15-r1.ebuild: - added option for more that 10 cowloop devices - bug #122901 thanks to Magnus - - 17 Sep 2005; Ciaran McCreesh <ciaranm@gentoo.org> ChangeLog: - Converted to UTF-8, fixed encoding screwups - - 04 Aug 2005; Daniel Black <dragonheart@gentoo.org> cowloop-2.15-r1.ebuild: - added udev rules - -*cowloop-2.15-r1 (04 Aug 2005) - - 04 Aug 2005; Daniel Black <dragonheart@gentoo.org> -cowloop-2.11.ebuild, - -cowloop-2.15.ebuild, +cowloop-2.15-r1.ebuild: - added cowmerge thanks to bug #101159 by Jérôme Poulin - - 26 Jun 2005; David Holm <dholm@gentoo.org> cowloop-2.15.ebuild: - Added to ~ppc. - -*cowloop-2.15 (25 Jun 2005) - - 25 Jun 2005; Daniel Black <dragonheart@gentoo.org> cowloop-2.14.ebuild, - +cowloop-2.15.ebuild: - version bump thanks to meatoo. 2.14 marked x86 stable - - 24 Apr 2005; Daniel Black <dragonheart@gentoo.org> cowloop-2.14.ebuild: - CFLAGS fix - -*cowloop-2.14 (26 Mar 2005) - - 26 Mar 2005; Daniel Black <dragonheart@gentoo.org> +cowloop-2.14.ebuild: - version bump - - 02 Jan 2005; Daniel Black <dragonheart@gentoo.org> cowloop-1.4.ebuild, - cowloop-2.11.ebuild: - Changes thanks to johnm, genstef and dsd - -*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) - - 02 Jan 2005; Daniel Black <dragonheart@gentoo.org> +metadata.xml, - +cowloop-2.11.ebuild: - Initial import as per bug #74738. Initial ebuild by Vanquirius - <marcelogoes@gmail.com> and bugi Ngoc Duy <pclouds@gentoo.org> - diff --git a/sys-fs/cowloop/Manifest b/sys-fs/cowloop/Manifest deleted file mode 100644 index 718b98d519a8..000000000000 --- a/sys-fs/cowloop/Manifest +++ /dev/null @@ -1,25 +0,0 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - -AUX cowloop-3.0-2.6.28.patch 4833 RMD160 94908b657df45a23a2893f309513245bcc410a51 SHA1 639b6c910c6dea75739d423cd255aa72a3ceddfd SHA256 3937d4b6e598e2d1a17cc894db1e2ba38b9bfc8353846b1e7dc6f1706c383e91 -AUX cowloop-3.0-cflags.patch 1367 RMD160 2ace187978410854ede706dc13fa8738137ecb83 SHA1 2376b4b23b4b5795b9be8282d7614f8efbbc559b SHA256 354c1731ddfcd11f9fa62ff7dde6d3c1640a8769aa216c8e9f8a43ca2138d7e9 -AUX cowloop-3.0-config_h.patch 369 RMD160 782dba93dcd1a3248118ab7e59c6123e791ac10a SHA1 9d0f0f9ac5a6d8af7089b7889734f4706818974c SHA256 be79597b3a61b5a22d37ab38c9d2a19c612754cf2ee60d2fd14e6db7503219b6 -AUX cowloop-3.0-kern-2.6.23.patch 541 RMD160 d4660bde58b2eb97228de83ccbaa8928a47437cd SHA1 6ecc76b89ae069cc685718b7c76a047d041ca665 SHA256 fefbb2c13748f14eb74041599ac0b106a77fe3855faa1ce58d5b0126a2f29926 -AUX cowloop-3.0-request_queue_t.patch 397 RMD160 71f39dfb80088393120e03c38ea41a014d88f628 SHA1 792399b1ffe141113750ed9bfc5cb2c382a75b3a SHA256 7bd98d1cbe23a0f199f2b646e0d7ae89c239291cbeb203ec3f401dd668937b2a -AUX cowloop-3.0-semaphore_h.patch 441 RMD160 8eb9c5b8c51e5fd5e9d78c0ef5a0437eeb989e4d SHA1 cd56784cc84bea952a410d74d8480f8800271395 SHA256 e81f988bc3044e503a170488e81adfa84275ea6348b6f908729e9506f206fd67 -AUX cowloop-3.0-vfs_statfs.patch 1096 RMD160 531d32023649ba5497dc059e7e439690cabd8410 SHA1 65a0e51653b932f6b197b3a41abe643d08c1dd3d SHA256 203dfe0343df3ab2c465bdb9f44dc5dd5e0b4bc5f36273000d99993763fcb62f -DIST cowloop-3.0.tar.gz 129034 RMD160 10614214e43be983df652c941dcab74f76bc076e SHA1 c307f30f0a807ac018fe5ee24f330948d98dedbf SHA256 bf71e90c216f862ece4a48401fa5517cfcc91267e8648e30524ed2b9097489ce -DIST cowloop-3.1.tar.gz 156461 RMD160 b495f26ff834e1852fff283e3568590abb7f7a15 SHA1 7f8ad325b9ff0bf9edd48c2a305fa88b45ead987 SHA256 bedf293c25c93bf140594e580be5b7f8a625bb11978328c23f35d269e929a739 -EBUILD cowloop-3.0-r3.ebuild 1726 RMD160 1eb24723e56deaee5c1a5361205c58a01a215de0 SHA1 578269339ea37008ff18b186c9fc8bb530db164e SHA256 a1491f7ca406de31520de6e34d965f5f751269c2df7ae1bdb85e82a8738ac791 -EBUILD cowloop-3.1.ebuild 1437 RMD160 f30d49c950e27706dcb40397f2ce304ef7ff1584 SHA1 b6023712503f8c62e4d77331fcf4ca4f15a98040 SHA256 8625661b58df9a7ceb488263a423455a4d2b1e5c4b80ad7649b3dd73beddb4dd -MISC ChangeLog 4166 RMD160 e69da9b2c6c6de2b618eb9c5c041b05831631c55 SHA1 db1e3d495ba0ffb3db99409f518dae1a228ebb6b SHA256 b0ec22cd9fe9f74e2539ebf5f74e6bc5a34bd1e2dfeac9ff05c0a494f90649d3 -MISC metadata.xml 248 RMD160 55f25ec59877ec3627fa4aaa346a61eacf403cad SHA1 3e7cd001b0c0005e3a86cb73d8ce32c2ad50d2fe SHA256 7404eee9a4427538674065b37d113a6531546b1126da727a21b6dbae1926bf98 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.18 (GNU/Linux) - -iJwEAQEIAAYFAk59s3YACgkQfXuS5UK5QB0kBQP9EVQezqGnAzkFjhSoLytuY9HI -WWVfwVqCFK1x5pvuRL0KJ/egDkaIv5PVD7YfWEUpKczQqEI6DmxitpFF+t3AB0c4 -B+il3AKm+aSnmtvHKV8RldCjEI5Rg9t1bIhEA0WmzcAb+tMVD42I4wW/CzoW4I+C -sFeqkfGm6c4qPlsMTwU= -=D1cS ------END PGP SIGNATURE----- diff --git a/sys-fs/cowloop/cowloop-3.0-r3.ebuild b/sys-fs/cowloop/cowloop-3.0-r3.ebuild deleted file mode 100644 index ad8eb18dfd6f..000000000000 --- a/sys-fs/cowloop/cowloop-3.0-r3.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/cowloop/cowloop-3.0-r3.ebuild,v 1.4 2009/02/02 12:24:09 dragonheart Exp $ - -EAPI=2 -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" -KEYWORDS="~amd64 ~ppc x86" -IUSE="" -DEPEND="" -RDEPEND="" - -S=${WORKDIR}/${P}/src -MODULE_NAMES="cowloop(fs:)" -BUILD_TARGETS="modules" - -pkg_setup() { - linux-mod_pkg_setup - BUILD_PARAMS="-C ${KV_DIR} SUBDIRS=${S} -I." - einfo "Linux kernel ${KV_FULL}" - if kernel_is lt 2 6 - then - eerror "This version only works with 2.6 kernels" - eerror "For 2.4 kernel support, use version 1.4" - die "No compatible kernel detected!" - fi -} - -src_prepare() { - epatch "${FILESDIR}"/${P}-cflags.patch - epatch "${FILESDIR}"/${P}-config_h.patch - epatch "${FILESDIR}"/${P}-vfs_statfs.patch - epatch "${FILESDIR}"/${P}-kern-2.6.23.patch - epatch "${FILESDIR}"/${P}-semaphore_h.patch - epatch "${FILESDIR}"/${P}-request_queue_t.patch - epatch "${FILESDIR}"/${P}-2.6.28.patch -} - -src_compile() { - touch .gpl_license_accepted - linux-mod_src_compile - CC="$(tc-getCC)" emake utils || die "make failed" -} - -src_install() { - linux-mod_src_install - emake DESTDIR="${D}" install-utils install-man || die 'make failed' - dodoc "${S}"/../RELEASENOTES "${S}"/../HOWTO ../doc/* - dodir /etc/udev/rules.d - echo 'KERNEL=="cowctl" NAME="cow/ctl"' > "${D}"/etc/udev/rules.d/70-cow.rules - echo 'KERNEL=="cow[0-9]*" NAME="cow/%n"' >> "${D}"/etc/udev/rules.d/70-cow.rules -} diff --git a/sys-fs/cowloop/cowloop-3.1.ebuild b/sys-fs/cowloop/cowloop-3.1.ebuild deleted file mode 100644 index e0b6f3440665..000000000000 --- a/sys-fs/cowloop/cowloop-3.1.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/cowloop/cowloop-3.1.ebuild,v 1.1 2009/02/24 11:56:00 dragonheart Exp $ - -EAPI=2 -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.atcomputing.nl/Tools/cowloop/" -SRC_URI="http://www.atcomputing.nl/Tools/cowloop/packages/${P}.tar.gz" - -LICENSE="GPL-2" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="" -DEPEND="" -RDEPEND="" - -S=${WORKDIR}/${P}/src -MODULE_NAMES="cowloop(fs:)" -BUILD_TARGETS="modules" - -pkg_setup() { - linux-mod_pkg_setup - BUILD_PARAMS="-C ${KV_DIR} SUBDIRS=${S} -I." - einfo "Linux kernel ${KV_FULL}" - if kernel_is lt 2 6 - then - eerror "This version only works with 2.6 kernels" - eerror "For 2.4 kernel support, use version 1.4" - die "No compatible kernel detected!" - fi -} - -src_compile() { - touch .gpl_license_accepted - linux-mod_src_compile - CC="$(tc-getCC)" emake utils || die "make failed" -} - -src_install() { - linux-mod_src_install - emake DESTDIR="${D}" install-utils install-man || die 'make failed' - dodoc "${S}"/../RELEASENOTES.3.1 "${S}"/../HOWTO.install ../doc/* \ - ../testing/* - dodir /etc/udev/rules.d - echo 'KERNEL=="cowctl" NAME="cow/ctl"' > "${D}"/etc/udev/rules.d/70-cow.rules - echo 'KERNEL=="cow[0-9]*" NAME="cow/%n"' >> "${D}"/etc/udev/rules.d/70-cow.rules -} diff --git a/sys-fs/cowloop/files/cowloop-3.0-2.6.28.patch b/sys-fs/cowloop/files/cowloop-3.0-2.6.28.patch deleted file mode 100644 index 23e1573bb8e7..000000000000 --- a/sys-fs/cowloop/files/cowloop-3.0-2.6.28.patch +++ /dev/null @@ -1,152 +0,0 @@ -diff -pur /tmp/cowloop-3.0/src/cowdev.c cowloop-3.0/src/cowdev.c ---- /tmp/cowloop-3.0/src/cowdev.c 2006-12-12 10:28:17.000000000 +1100 -+++ cowloop-3.0/src/cowdev.c 2009-02-02 23:04:45.000000000 +1100 -@@ -198,8 +198,8 @@ pairadd (char *rdopath, char *cowpath, c - /* - ** fill structure info for ioctl COWMKPAIR - */ -- cowpair.rdofile = rdopath; -- cowpair.cowfile = cowpath; -+ cowpair.rdofile = (u_char*) rdopath; -+ cowpair.cowfile = (u_char*) cowpath; - - cowpair.rdoflen = strlen(rdopath); - cowpair.cowflen = strlen(cowpath); -Only in cowloop-3.0/src: cowdev.c.orig -Only in cowloop-3.0/src: cowdev.c.rej -diff -pur /tmp/cowloop-3.0/src/cowloop.c cowloop-3.0/src/cowloop.c ---- /tmp/cowloop-3.0/src/cowloop.c 2006-12-12 10:28:17.000000000 +1100 -+++ cowloop-3.0/src/cowloop.c 2009-02-02 23:15:25.000000000 +1100 -@@ -408,8 +408,13 @@ static long int cowlo_readcowraw (struct - static long int cowlo_writecow (struct cowloop_device *, void *, int, loff_t); - static long int cowlo_writecowraw(struct cowloop_device *, void *, int, loff_t); - -+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,28)) - static int cowlo_ioctl (struct inode *, struct file *, - unsigned int, unsigned long); -+#else -+static int cowlo_ioctl (struct block_device *, fmode_t, -+ unsigned int, unsigned long); -+#endif - - static int cowlo_makepair (struct cowpair __user *); - static int cowlo_removepair (unsigned long __user *); -@@ -434,8 +439,15 @@ static void cowlo_undo_opencow(struct co - ** < 0 - error value - */ - static int -+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,28)) - cowlo_open(struct inode *inode, struct file *file) --{ -+#else -+cowlo_open(struct block_device *bdev, fmode_t mode) -+#endif -+{ -+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,28)) -+ struct inode *inode = bdev->bd_inode; -+#endif - if (!inode) - return -EINVAL; - -@@ -474,9 +486,20 @@ cowlo_open(struct inode *inode, struct f - ** < 0 - error value - */ - static int -+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,28)) - cowlo_release(struct inode *inode, struct file *file) -+#else -+cowlo_release(struct gendisk *gd, fmode_t mode) -+#endif - { - int err = 0; -+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,28)) -+ struct block_device *bdev; -+ struct inode *inode; -+ -+ bdev = bdget_disk(gd, 0); -+ inode = bdev->bd_inode; -+#endif - - if (!inode) - return 0; -@@ -497,10 +520,18 @@ cowlo_release(struct inode *inode, struc - ** < 0 - error value - */ - static int -+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,28)) - cowlo_ioctl(struct inode *inode, struct file *filp, - unsigned int cmd, unsigned long arg) -+#else -+cowlo_ioctl(struct block_device *bdev, fmode_t mode, -+ unsigned int cmd, unsigned long arg) -+#endif - { - struct hd_geometry geo; -+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,28)) -+ struct inode *inode = bdev->bd_inode; -+#endif - - DEBUGP(DCOW "cowloop - ioctl cmd %x\n", cmd); - -@@ -2067,7 +2098,11 @@ cowlo_openrdo(struct cowloop_device *cow - cowdev->belowq = cowdev->belowgd->queue; - - if (cowdev->numblocks == 0) -+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,28)) - cowdev->numblocks = cowdev->belowgd->capacity -+#else -+ cowdev->numblocks = get_capacity(cowdev->belowgd) -+#endif - / (MAPUNIT/512); - } - -@@ -2637,6 +2672,9 @@ cowlo_sync(void) - static int __init - cowlo_init_module(void) - { -+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,28)) -+ spinlock_t ilock; /* Initial lock for the default queue assigned on load */ -+#endif - int rv; - int minor, uptocows; - -@@ -2748,7 +2786,7 @@ cowlo_init_module(void) - ** allocate fake disk as control channel to handle the requests - ** to activate and deactivate cowdevices dynamically - */ -- if ((cowctlgd = alloc_disk(1)) == NULL) { -+ if (!(cowctlgd = alloc_disk(1))) { - printk(KERN_WARNING - "cowloop - unable to alloc_disk for cowctl\n"); - -@@ -2759,11 +2797,19 @@ cowlo_init_module(void) - goto error_out; - } - -+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,28)) -+ spin_lock_init(&ilock); -+#endif -+ - cowctlgd->major = COWMAJOR; - cowctlgd->first_minor = COWCTL; - cowctlgd->minors = 1; - cowctlgd->fops = &cowlo_fops; - cowctlgd->private_data = NULL; -+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,28)) -+ /* The device is of capacity 0, so there won't be any queue request */ -+ cowctlgd->queue = blk_init_queue(NULL, &ilock); -+#endif - sprintf(cowctlgd->disk_name, "cowctl"); - set_capacity(cowctlgd, 0); - -@@ -2816,7 +2862,9 @@ cowlo_cleanup_module(void) - kfree(cowdevall[minor]); - } - kfree(cowdevall); -- -+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,28)) -+ blk_cleanup_queue(cowctlgd->queue); /* cleanup the empty queue */ -+#endif - del_gendisk(cowctlgd); /* revert the alloc_disk() */ - put_disk (cowctlgd); /* revert the add_disk() */ - diff --git a/sys-fs/cowloop/files/cowloop-3.0-cflags.patch b/sys-fs/cowloop/files/cowloop-3.0-cflags.patch deleted file mode 100644 index 1b29d26ffb57..000000000000 --- a/sys-fs/cowloop/files/cowloop-3.0-cflags.patch +++ /dev/null @@ -1,39 +0,0 @@ ---- cowloop-3.0/src/Makefile.orig 2006-12-19 17:12:10.000000000 +1100 -+++ cowloop-3.0/src/Makefile 2006-12-19 17:13:33.000000000 +1100 -@@ -23,28 +23,28 @@ - # make -C $(KERNDIR) SUBDIRS=$(THISDIR) -I. -Wall modules - - cowdev: cowdev.c version.h cowloop.h -- $(CC) -I. -Wall -o cowdev cowdev.c -+ $(CC) $(CFLAGS) -I. -Wall -o cowdev cowdev.c - - cowwatch: cowwatch.c version.h cowloop.h -- $(CC) -I. -Wall -o cowwatch cowwatch.c -+ $(CC) $(CFLAGS) -I. -Wall -o cowwatch cowwatch.c - - cowctl: cowctl.c version.h cowloop.h -- $(CC) -I. -Wall -o cowctl cowctl.c -+ $(CC) $(CFLAGS) -I. -Wall -o cowctl cowctl.c - - cowsync: cowsync.c version.h cowloop.h -- $(CC) -I. -Wall -o cowsync cowsync.c -+ $(CC) $(CFLAGS) -I. -Wall -o cowsync cowsync.c - - cowlist: cowlist.c version.h cowloop.h -- $(CC) -I. -Wall -o cowlist cowlist.c -+ $(CC) $(CFLAGS) -I. -Wall -o cowlist cowlist.c - - cowrepair: cowrepair.c version.h cowloop.h -- $(CC) -I. -Wall -o cowrepair cowrepair.c -+ $(CC) $(CFLAGS) -I. -Wall -o cowrepair cowrepair.c - - cowmerge: cowmerge.c version.h cowloop.h -- $(CC) -I. -Wall -o cowmerge cowmerge.c -+ $(CC) $(CFLAGS) -I. -Wall -o cowmerge cowmerge.c - - cowpack: cowpack.c version.h cowloop.h -- $(CC) -I. -Wall -o cowpack cowpack.c -lz -+ $(CC) $(CFLAGS) -I. -Wall -o cowpack cowpack.c -lz - - #-------------------------------------------------------------------- - diff --git a/sys-fs/cowloop/files/cowloop-3.0-config_h.patch b/sys-fs/cowloop/files/cowloop-3.0-config_h.patch deleted file mode 100644 index eb08ec352735..000000000000 --- a/sys-fs/cowloop/files/cowloop-3.0-config_h.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- cowloop-3.0/src/cowloop.c.orig 2006-12-19 17:16:32.000000000 +1100 -+++ cowloop-3.0/src/cowloop.c 2006-12-19 17:26:25.000000000 +1100 -@@ -233,7 +233,10 @@ - #endif - - #include <linux/types.h> -+#include <linux/autoconf.h> -+#ifndef AUTOCONF_INCLUDED - #include <linux/config.h> -+#endif - #include <linux/module.h> - #include <linux/moduleparam.h> - #include <linux/init.h> diff --git a/sys-fs/cowloop/files/cowloop-3.0-kern-2.6.23.patch b/sys-fs/cowloop/files/cowloop-3.0-kern-2.6.23.patch deleted file mode 100644 index 5d4b7c99e010..000000000000 --- a/sys-fs/cowloop/files/cowloop-3.0-kern-2.6.23.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- cowloop-3.0/src/cowloop.c.orig 2006-12-22 18:31:13.000000000 +1100 -+++ cowloop-3.0/src/cowloop.c 2008-01-30 00:03:55.000000000 +0200 -@@ -2816,9 +2816,13 @@ - for (minor=0; minor < maxcows; minor++) - (void) cowlo_closepair(cowdevall[minor]); - -+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,23)) - if (unregister_blkdev(COWMAJOR, DEVICE_NAME) != 0) - printk(KERN_WARNING "cowloop - cannot unregister blkdev\n"); -+#else -+ unregister_blkdev(COWMAJOR, DEVICE_NAME); -+#endif - - /* - ** get rid of /proc/cow and unregister the driver - */ diff --git a/sys-fs/cowloop/files/cowloop-3.0-request_queue_t.patch b/sys-fs/cowloop/files/cowloop-3.0-request_queue_t.patch deleted file mode 100644 index cf4a42a0ef3f..000000000000 --- a/sys-fs/cowloop/files/cowloop-3.0-request_queue_t.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- ./cowloop-3.0/src/cowloop.c.orig 2009-01-31 07:39:38.000000000 +1100 -+++ ./cowloop-3.0/src/cowloop.c 2009-01-31 07:42:10.000000000 +1100 -@@ -923,7 +923,11 @@ - ** in the queue - */ - static void -+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,25)) - cowlo_request(request_queue_t *q) -+#else -+cowlo_request(struct request_queue *q) -+#endif - { - struct request *req; - struct cowloop_device *cowdev; diff --git a/sys-fs/cowloop/files/cowloop-3.0-semaphore_h.patch b/sys-fs/cowloop/files/cowloop-3.0-semaphore_h.patch deleted file mode 100644 index cad4e1f832db..000000000000 --- a/sys-fs/cowloop/files/cowloop-3.0-semaphore_h.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- cowloop-3.0/src/cowloop.c.orig 2009-01-31 07:31:18.000000000 +1100 -+++ cowloop-3.0/src/cowloop.c 2009-01-31 07:32:46.000000000 +1100 -@@ -250,7 +250,11 @@ - #include <linux/stat.h> - #include <linux/vmalloc.h> - #include <linux/slab.h> -+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,27)) - #include <asm/semaphore.h> -+#else -+#include <linux/semaphore.h> -+#endif - #include <asm/uaccess.h> - #include <linux/proc_fs.h> - #include <linux/blkdev.h> diff --git a/sys-fs/cowloop/files/cowloop-3.0-vfs_statfs.patch b/sys-fs/cowloop/files/cowloop-3.0-vfs_statfs.patch deleted file mode 100644 index d982f5e8b6ac..000000000000 --- a/sys-fs/cowloop/files/cowloop-3.0-vfs_statfs.patch +++ /dev/null @@ -1,34 +0,0 @@ ---- cowloop-3.0/src/cowloop.c.orig 2006-12-22 18:28:09.000000000 +1100 -+++ cowloop-3.0/src/cowloop.c 2006-12-22 18:31:13.000000000 +1100 -@@ -238,6 +238,7 @@ - #include <linux/config.h> - #endif - #include <linux/module.h> -+#include <linux/version.h> - #include <linux/moduleparam.h> - #include <linux/init.h> - #include <linux/errno.h> -@@ -1507,7 +1508,11 @@ - cowdev->cowwrites % SPCDFLINTVL == 0 ) { - struct kstatfs ks; - -+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)) - if (vfs_statfs(cowdev->cowfp->f_dentry->d_inode->i_sb, &ks)==0){ -+#else -+ if (vfs_statfs(cowdev->cowfp->f_dentry, &ks)==0){ -+#endif - if (ks.f_bavail <= SPCMINBLK) { - switch (ks.f_bavail) { - case 0: -@@ -1814,7 +1819,11 @@ - /* - ** administer total and available size of filesystem holding cowfile - */ -+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)) - if (vfs_statfs(cowdev->cowfp->f_dentry->d_inode->i_sb, &ks) == 0) { -+#else -+ if (vfs_statfs(cowdev->cowfp->f_dentry, &ks) == 0) { -+#endif - cowdev->blksize = ks.f_bsize; - cowdev->blktotal = ks.f_blocks; - cowdev->blkavail = ks.f_bavail; diff --git a/sys-fs/cowloop/metadata.xml b/sys-fs/cowloop/metadata.xml deleted file mode 100644 index 1076258a0ce8..000000000000 --- a/sys-fs/cowloop/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer> - <email>maintainer-needed@gentoo.org</email> -</maintainer> -<longdescription></longdescription> -</pkgmetadata> |