summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2011-07-03 09:18:09 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2011-07-03 09:18:09 +0000
commit60bff2dc99f805ff28a4801a4c868b71434c1938 (patch)
tree84259680e35453ed69930e6697b252fb762e537f /sys-fs/evms
parentStable on amd64 wrt bug #373363 (diff)
downloadhistorical-60bff2dc99f805ff28a4801a4c868b71434c1938.tar.gz
historical-60bff2dc99f805ff28a4801a4c868b71434c1938.tar.bz2
historical-60bff2dc99f805ff28a4801a4c868b71434c1938.zip
sys-fs/evms removal
Diffstat (limited to 'sys-fs/evms')
-rw-r--r--sys-fs/evms/ChangeLog545
-rw-r--r--sys-fs/evms/Manifest40
-rw-r--r--sys-fs/evms/evms-2.5.5-r10.ebuild171
-rw-r--r--sys-fs/evms/evms-2.5.5-r11.ebuild168
-rw-r--r--sys-fs/evms/evms-2.5.5-r5.ebuild152
-rw-r--r--sys-fs/evms/files/2.5.5/BaseName.patch29
-rw-r--r--sys-fs/evms/files/2.5.5/cli_query_segfault.patch28
-rw-r--r--sys-fs/evms/files/2.5.5/cli_reload_options.patch19
-rw-r--r--sys-fs/evms/files/2.5.5/disk_cache.patch106
-rw-r--r--sys-fs/evms/files/2.5.5/get_geometry.patch37
-rw-r--r--sys-fs/evms/files/2.5.5/md_super_fix.patch96
-rw-r--r--sys-fs/evms/files/2.5.5/ntfs_unmkfs.patch33
-rw-r--r--sys-fs/evms/files/2.5.5/raid5_algorithm.patch15
-rw-r--r--sys-fs/evms/files/2.5.5/raid5_degrade_fix.patch38
-rw-r--r--sys-fs/evms/files/2.5.5/raid5_degrade_fix_v2.patch41
-rw-r--r--sys-fs/evms/files/2.5.5/raid5_remove_spare_fix.patch28
-rw-r--r--sys-fs/evms/files/2.5.5/raid5_remove_spare_fix_2.patch34
-rw-r--r--sys-fs/evms/files/evms-2.5.5-as-needed.patch11
-rw-r--r--sys-fs/evms/files/evms-2.5.5-glib_dep.patch45
-rw-r--r--sys-fs/evms/files/evms-2.5.5-ocfs2.patch22
-rw-r--r--sys-fs/evms/files/evms-2.5.5-pagesize.patch58
-rw-r--r--sys-fs/evms/files/evms-2.5.5-snapshot.patch31
-rw-r--r--sys-fs/evms/files/evms-2.5.5-use_disk_group.patch48
-rw-r--r--sys-fs/evms/files/evms.conf-2.5.5-r91
-rwxr-xr-xsys-fs/evms/files/evms.initd26
-rw-r--r--sys-fs/evms/files/evms.initd-2.5.5-r1128
-rwxr-xr-xsys-fs/evms/files/evms.initd-2.5.5-r923
-rw-r--r--sys-fs/evms/files/evms2-start.sh11
-rw-r--r--sys-fs/evms/metadata.xml17
29 files changed, 0 insertions, 1901 deletions
diff --git a/sys-fs/evms/ChangeLog b/sys-fs/evms/ChangeLog
deleted file mode 100644
index c1ef438af7ff..000000000000
--- a/sys-fs/evms/ChangeLog
+++ /dev/null
@@ -1,545 +0,0 @@
-# ChangeLog for sys-fs/evms
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/evms/ChangeLog,v 1.100 2011/05/01 17:19:36 armin76 Exp $
-
- 01 May 2011; Raúl Porcel <armin76@gentoo.org> evms-2.5.5-r5.ebuild,
- evms-2.5.5-r10.ebuild, evms-2.5.5-r11.ebuild:
- Drop ia64/sparc keywords
-
- 13 Sep 2010; Joseph Jezak <josejx@gentoo.org> evms-2.5.5-r11.ebuild:
- Marked ppc/ppc64 stable for bug #302103.
-
- 12 Sep 2010; Raúl Porcel <armin76@gentoo.org> evms-2.5.5-r11.ebuild:
- ia64/sparc stable wrt #302103
-
- 11 Aug 2010; Markos Chandras <hwoarang@gentoo.org> evms-2.5.5-r11.ebuild:
- Stable on amd64 wrt bug #302103
-
- 10 Aug 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org>
- evms-2.5.5-r11.ebuild:
- x86 stable wrt bug #302103
-
-*evms-2.5.5-r11 (24 Jan 2010)
-
- 24 Jan 2010; William Hubbs <williamh@gentoo.org>
- +files/evms.initd-2.5.5-r11, +evms-2.5.5-r11.ebuild:
- merge the addon into the startup script for bug #251730.
-
- 23 Sep 2009; Patrick Lauer <patrick@gentoo.org> evms-2.5.5-r5.ebuild,
- evms-2.5.5-r10.ebuild:
- Remove virtual/libc
-
- 14 Sep 2009; Robin H. Johnson <robbat2@gentoo.org> evms-2.5.5-r5.ebuild,
- evms-2.5.5-r10.ebuild:
- Bug #284953 - device-mapper was merged with LVM as of 2.02.45, so depend
- on either.
-
- 12 Mar 2009; Tiziano Müller <dev-zero@gentoo.org> evms-2.5.5-r10.ebuild:
- Tarball has been update to include a patch to fix bug #260717 (compilation
- fix, thus no rev-bump).
-
- 07 Oct 2008; Peter Alfredsen <loki_val@gentoo.org>
- files/evms-2.5.5-glib_dep.patch, evms-2.5.5-r10.ebuild:
- Fix bug 238685. Eutils eclass changed to disallow patching with -p0 when
- the patch contained absolute paths, which caused the build to fail on
- recently synced systems.
-
- 08 Sep 2008; Tiziano Müller <dev-zero@gentoo.org> -evms-2.5.5-r6.ebuild,
- -evms-2.5.5-r7.ebuild, -evms-2.5.5-r9.ebuild:
- Dropped old revisions.
-
- 08 Sep 2008; Tiziano Müller <dev-zero@gentoo.org> files/evms2-start.sh:
- Removed bashism from start script
-
- 22 Aug 2008; Doug Goldstein <cardoe@gentoo.org> metadata.xml:
- add GLEP 56 USE flag desc from use.local.desc
-
- 19 Apr 2008; Mike Frysinger <vapier@gentoo.org> evms-2.5.5-r10.ebuild:
- pkgconfig only goes in DEPEND #217278.
-
- 01 Mar 2008; Christoph Mende <angelos@gentoo.org> evms-2.5.5-r10.ebuild:
- Stable on amd64, bug #208107
-
- 06 Feb 2008; nixnut <nixnut@gentoo.org> evms-2.5.5-r10.ebuild:
- stable on ppc wrt bug #208107
-
- 06 Feb 2008; Raúl Porcel <armin76@gentoo.org> evms-2.5.5-r10.ebuild:
- ia64/sparc stable wrt #208107
-
- 01 Feb 2008; Brent Baude <ranger@gentoo.org> evms-2.5.5-r10.ebuild:
- Marking evms-2.5.5-r10 ppc64 for bug 208107
-
- 01 Feb 2008; Diego Pettenò <flameeyes@gentoo.org>
- files/evms.initd-2.5.5-r9, files/evms.initd:
- Update init script to work with current development version of OpenRC
- (checkroot -> root; checkfs -> fsck).
-
- 01 Feb 2008; Christian Faulhammer <opfer@gentoo.org>
- evms-2.5.5-r10.ebuild:
- stable x86, bug 208107
-
- 29 Jan 2008; Tiziano Müller <dev-zero@gentoo.org> evms-2.5.5-r10.ebuild:
- Added conditional pkg-config dependencies for USE-flags gtk and ncurses (bug
- #204707), moved patches into tarball.
-
- 29 Jan 2008; Tiziano Müller <dev-zero@gentoo.org> evms-2.5.5-r10.ebuild:
- Added conditional pkg-config dependencies for USE-flags gtk and ncurses (bug
- #204707)
-
-*evms-2.5.5-r10 (03 Dec 2007)
-
- 03 Dec 2007; Tiziano Müller <dev-zero@gentoo.org>
- +files/evms-2.5.5-snapshot.patch, +evms-2.5.5-r10.ebuild:
- Added fix for snapshots on kernel >=2.6.19 (bug #192036). Fixed tests and
- disabled them.
-
- 22 Oct 2007; Raúl Porcel <armin76@gentoo.org> evms-2.5.5-r9.ebuild:
- Re-add ~ia64 wrt #190828
-
- 11 Oct 2007; Markus Rothe <corsair@gentoo.org> evms-2.5.5-r7.ebuild,
- evms-2.5.5-r9.ebuild:
- Added ~ppc64; bug #190828
-
-*evms-2.5.5-r9 (09 Oct 2007)
-
- 09 Oct 2007; Doug Goldstein <cardoe@gentoo.org> -files/evms.conf-2.5.5-r8,
- -files/evms.initd-2.5.5-r8, +files/evms.conf-2.5.5-r9,
- +files/evms.initd-2.5.5-r9, -evms-2.5.5-r8.ebuild, +evms-2.5.5-r9.ebuild:
- Bad day for me to edit stuff. Actually make the changes as described in the
- previous ChangeLog entry
-
-*evms-2.5.5-r8 (08 Oct 2007)
-
- 08 Oct 2007; Doug Goldstein <cardoe@gentoo.org> +files/evms.conf-2.5.5-r8,
- +files/evms.initd-2.5.5-r8, +evms-2.5.5-r8.ebuild:
- evms should start after modules and mdraid by default. If you need to change
- this, edit conf.d/evms. before checkroot -> before checkfs
-
- 12 Sep 2007; Tiziano Müller <dev-zero@gentoo.org> files/evms.initd:
- Un-bash the init-script
-
- 31 Aug 2007; Ferris McCormick <fmccor@gentoo.org> evms-2.5.5-r7.ebuild:
- Add ~sparc keyword --- Bug #190828 (third choice) --- Please see the bug for
- notes on testing.
-
- 31 Aug 2007; Tiziano Müller <dev-zero@gentoo.org> +files/evms2-start.sh:
- Re-added evms2-start.sh (bug #190838).
-
- 30 Aug 2007; Tiziano Müller <dev-zero@gentoo.org> +evms-2.5.5-r6.ebuild:
- Readding -r6 to not drop unstable keywords
-
-*evms-2.5.5-r7 (30 Aug 2007)
-
- 30 Aug 2007; Tiziano Müller <dev-zero@gentoo.org>
- +files/2.5.5/raid5_degrade_fix_v2.patch, +files/evms.initd,
- -files/evms2-start.sh, -evms-2.5.5-r6.ebuild, +evms-2.5.5-r7.ebuild:
- Updated raid5_degrade patch (bug #187944, thanks to Daniel Marmander), added
- hb and hb2 USE flags (bug #177516, thanks to Peter Fern), added
- init.d-script needed for baselayout-2).
-
-*evms-2.5.5-r6 (15 Jul 2007)
-
- 15 Jul 2007; Tiziano Müller <dev-zero@gentoo.org>
- +files/2.5.5/disk_cache.patch, -evms-2.5.5-r1.ebuild,
- -evms-2.5.5-r4.ebuild, +evms-2.5.5-r6.ebuild:
- Added disk_cache patch for bug #185369 (thanks to Attila Jecs)
- Dropped old versions
-
- 06 Apr 2007; Tobias Scherbaum <dertobi123@gentoo.org>
- evms-2.5.5-r5.ebuild:
- ppc stable, bug #163495
-
- 31 Mar 2007; Raúl Porcel <armin76@gentoo.org> evms-2.5.5-r5.ebuild:
- ia64 stable wrt bug 163495
-
- 07 Mar 2007; Tiziano Müller <dev-zero@gentoo.org>
- -files/evms-2.5.5-getpagesize.patch, +files/evms-2.5.5-pagesize.patch,
- evms-2.5.5-r5.ebuild:
- Replaced our patch for bug #169623 with the one from debian.
-
- 06 Mar 2007; Tiziano Müller <dev-zero@gentoo.org>
- +files/evms-2.5.5-getpagesize.patch, evms-2.5.5-r5.ebuild:
- Added patch to fix bug #169623. Fixed some problems with the tests.
-
- 04 Feb 2007; Steve Dibb <beandog@gentoo.org> evms-2.5.5-r4.ebuild,
- evms-2.5.5-r5.ebuild:
- amd64 stable, bug 163495
-
- 02 Feb 2007; Gustavo Zacarias <gustavoz@gentoo.org> evms-2.5.5-r5.ebuild:
- Stable on sparc wrt #163495
-
- 02 Feb 2007; Raúl Porcel <armin76@gentoo.org> evms-2.5.5-r5.ebuild:
- x86 stable wrt bug 163495
-
- 31 Jan 2007; Markus Rothe <corsair@gentoo.org> evms-2.5.5-r5.ebuild:
- Stable on ppc64; bug #163495
-
-*evms-2.5.5-r5 (23 Jan 2007)
-
- 23 Jan 2007; Tiziano Müller <dev-zero@gentoo.org>
- +files/evms-2.5.5-use_disk_group.patch, evms-2.5.5-r4.ebuild,
- +evms-2.5.5-r5.ebuild:
- Added src_test(). Added patch from Debian to set group for /dev/evms/* to
- disk, bug #159358
-
- 09 Dec 2006; Tiziano Müller <dev-zero@gentoo.org> ChangeLog:
- Corrected dependencies to fix #157497, thanks to Gour.
-
-*evms-2.5.5-r4 (04 Dec 2006)
-
- 04 Dec 2006; Tiziano Müller <dev-zero@gentoo.org> +evms-2.5.5-r4.ebuild:
- Always linking statically against glib to solve problems when /usr is not
- yet mounted. Added glib-1 dep if the user wants the gui. Added debug
- USE-flag.
-
-*evms-2.5.5-r3 (02 Dec 2006)
-
- 02 Dec 2006; Tiziano Müller <dev-zero@gentoo.org>
- +files/2.5.5/cli_query_segfault.patch,
- +files/2.5.5/cli_reload_options.patch, +files/evms-2.5.5-glib_dep.patch,
- +files/2.5.5/get_geometry.patch, +files/evms-2.5.5-ocfs2.patch,
- +files/2.5.5/BaseName.patch, +files/2.5.5/ntfs_unmkfs.patch,
- +files/2.5.5/raid5_algorithm.patch, metadata.xml, -evms-2.5.5.ebuild,
- +evms-2.5.5-r3.ebuild:
- Revision bump to include new upstream patches. Included the glib-patch
- provided by Jimmy Jazz (bug #152293) and the ocfs2-patch (bug #147276,
- thanks to Brad Plant). Solved bug #147281 and #154924. Dropped old version.
-
-*evms-2.5.5-r2 (01 Jun 2006)
-
- 01 Jun 2006; Jeremy Huddleston <eradicator@gentoo.org>
- +files/2.5.5/raid5_remove_spare_fix.patch,
- +files/2.5.5/raid5_remove_spare_fix_2.patch, +evms-2.5.5-r2.ebuild:
- Added patches from upstream to fix issues with allowing the user to remove a
- spare from a degraded raid5 array.
-
- 01 Jun 2006; Jeremy Huddleston <eradicator@gentoo.org>
- -files/2.5.3/md_expand.patch, +files/evms-2.5.5-as-needed.patch,
- -files/2.5.3/compaq_segments.patch, -evms-2.5.3-r1.ebuild,
- evms-2.5.5-r1.ebuild:
- Fixed Makefile to work properly with --as-needed. Closes bug #135152.
- Removing old version.
-
- 24 May 2006; Michael Hanselmann <hansmi@gentoo.org> evms-2.5.5-r1.ebuild:
- Stable on ppc.
-
- 23 May 2006; Markus Rothe <corsair@gentoo.org> evms-2.5.5-r1.ebuild:
- Stable on ppc64
-
- 22 May 2006; Mark Loeser <halcy0n@gentoo.org> evms-2.5.5-r1.ebuild:
- Stable on x86; bug #131157
-
- 08 May 2006; Seemant Kulleen <seemant@gentoo.org> evms-2.5.5.ebuild,
- evms-2.5.5-r1.ebuild:
- use the nls USE flag.
-
- 06 May 2006; Jeremy Huddleston <eradicator@gentoo.org>
- evms-2.5.5-r1.ebuild:
- Added ~ppc64.
-
- 05 May 2006; Jeremy Huddleston <eradicator@gentoo.org>
- evms-2.5.5-r1.ebuild:
- Stable amd64 and sparc.
-
-*evms-2.5.5-r1 (02 May 2006)
-
- 02 May 2006; Jeremy Huddleston <eradicator@gentoo.org>
- +files/2.5.5/md_super_fix.patch, +files/2.5.5/raid5_degrade_fix.patch,
- +evms-2.5.5-r1.ebuild:
- Added maintenance patches to handle degraded raid5 arrays. Closes bug #131193.
-
- 29 Mar 2006; Aron Griffis <agriffis@gentoo.org> evms-2.5.5.ebuild:
- Mark 2.5.5 stable on ia64
-
- 23 Mar 2006; Jeremy Huddleston <eradicator@gentoo.org> evms-2.5.5.ebuild:
- Stable amd64 and sparc.
-
-*evms-2.5.5 (01 Mar 2006)
-
- 01 Mar 2006; Jeremy Huddleston <eradicator@gentoo.org>
- -files/2.5.4/corrolator_race.patch, -files/2.5.4/degraded_raid.patch,
- -evms-2.5.4.ebuild, +evms-2.5.5.ebuild:
- Version bump.
-
-*evms-2.5.4 (22 Feb 2006)
-
- 22 Feb 2006; Jeremy Huddleston <eradicator@gentoo.org>
- +files/2.5.4/degraded_raid.patch, +files/2.5.4/corrolator_race.patch,
- -evms-2.5.2-r1.ebuild, -evms-2.5.3.ebuild, +evms-2.5.4.ebuild:
- Version bump.
-
- 07 Feb 2006; Aron Griffis <agriffis@gentoo.org> evms-2.5.3-r1.ebuild:
- Mark 2.5.3-r1 stable on ia64
-
- 11 Nov 2005; Michael Hanselmann <hansmi@gentoo.org> evms-2.5.3-r1.ebuild:
- Stable on ppc.
-
- 24 Oct 2005; Gustavo Zacarias <gustavoz@gentoo.org> evms-2.5.3-r1.ebuild:
- Stable on sparc
-
- 21 Oct 2005; Jeremy Huddleston <eradicator@gentoo.org>
- evms-2.5.3-r1.ebuild:
- Stable amd64, x86.
-
-*evms-2.5.3-r1 (25 Aug 2005)
-
- 25 Aug 2005; Jeremy Huddleston <eradicator@gentoo.org>
- +files/2.5.3/compaq_segments.patch, +files/2.5.3/md_expand.patch,
- +evms-2.5.3-r1.ebuild:
- Version bump to encorporate upstream post-release patches for minor bugfixes.
-
- 05 Jul 2005; Chris Gianelloni <wolf31o2@gentoo.org> evms-2.5.2-r1.ebuild:
- Added ia64 to KEYWORDS. Blame plasmaroo.
-
-*evms-2.5.3 (24 Jun 2005)
-
- 24 Jun 2005; Jeremy Huddleston <eradicator@gentoo.org> +evms-2.5.3.ebuild:
- Version bump for maintenance release.
-
- 02 Jun 2005; Jeremy Huddleston <eradicator@gentoo.org> -files/evms-init,
- -files/evms2-init, -evms-1.2.1-r1.ebuild:
- Removing evms-1 from portage.
-
-*evms-2.5.2-r1 (02 Jun 2005)
-
- 02 Jun 2005; Jeremy Huddleston <eradicator@gentoo.org> -evms-2.5.2.ebuild,
- +evms-2.5.2-r1.ebuild:
- Stable sparc. Revbumping to force users to get evms2-start.sh on their
- system otherwise evms_activate will not be run with recent baselayouts!!!
-
- 27 May 2005; Mike Frysinger <vapier@gentoo.org> +files/evms2-start.sh,
- evms-2.5.2.ebuild:
- Add basic evms2 start addon #50711 by Asbjorn Sannes.
-
- 12 Apr 2005; Jeremy Huddleston <eradicator@gentoo.org> metadata.xml,
- -evms-2.3.4-r1.ebuild:
- Removing old version.
-
- 28 Mar 2005; David Holm <dholm@gentoo.org> evms-2.5.2.ebuild:
- Stable on ppc.
-
- 13 Mar 2005; Jeremy Huddleston <eradicator@gentoo.org> -evms-2.5.1.ebuild,
- evms-2.5.2.ebuild:
- Stable amd64, x86. Added to ~sparc
-
-*evms-2.5.2 (04 Mar 2005)
-
- 04 Mar 2005; Jeremy Huddleston <eradicator@gentoo.org>
- evms-2.3.4-r1.ebuild, -evms-2.4.1.ebuild, evms-2.5.1.ebuild,
- +evms-2.5.2.ebuild:
- Version bump for a bugfix release. Removing old version. Added glib-1
- dependency when USE=ncurses -gtk. Closes bug #83503.
-
- 26 Feb 2005; Jeremy Huddleston <eradicator@gentoo.org> evms-2.5.1.ebuild:
- Stable amd64, x86.
-
-*evms-2.5.1 (05 Feb 2005)
-
- 05 Feb 2005; Jeremy Huddleston <eradicator@gentoo.org> -evms-2.2.2.ebuild,
- -evms-2.3.2-r1.ebuild, -evms-2.4.0.ebuild, -evms-2.5.0.ebuild,
- +evms-2.5.1.ebuild:
- Version bump and cleanup.
-
-*evms-2.5.0 (27 Dec 2004)
-
- 27 Dec 2004; Jeremy Huddleston <eradicator@gentoo.org> +evms-2.5.0.ebuild:
- Version bump.
-
-*evms-2.4.1 (10 Nov 2004)
-
- 10 Nov 2004; Jeremy Huddleston <eradicator@gentoo.org> +evms-2.4.1.ebuild:
- Version bump.
-
- 07 Oct 2004; Jeremy Huddleston <eradicator@gentoo.org> evms-2.4.0.ebuild:
- Stable amd64, x86.
-
-*evms-2.4.0 (20 Sep 2004)
-
- 20 Sep 2004; Jeremy Huddleston <eradicator@gentoo.org> +evms-2.4.0.ebuild:
- Version bump, and get_libdir support. This version fixes the
- problem in 2.3.x where you could not use evmsn to format your
- volumes.
-
- 03 Sep 2004; Pieter Van den Abeele <pvdabeel@gentoo.org>
- evms-1.2.1-r1.ebuild, evms-2.2.2.ebuild, evms-2.3.2-r1.ebuild,
- evms-2.3.4-r1.ebuild:
- Masked evms-2.3.4-r1.ebuild stable for ppc
-
- 03 Sep 2004; Pieter Van den Abeele <pvdabeel@gentoo.org>
- evms-1.2.1-r1.ebuild, evms-2.2.2.ebuild, evms-2.3.2-r1.ebuild:
- Masked evms-2.3.2-r1.ebuild stable for ppc
-
- 03 Sep 2004; Pieter Van den Abeele <pvdabeel@gentoo.org>
- evms-1.2.1-r1.ebuild, evms-2.2.2.ebuild:
- Masked evms-2.2.2.ebuild stable for ppc
-
- 03 Sep 2004; Pieter Van den Abeele <pvdabeel@gentoo.org>
- evms-1.2.1-r1.ebuild:
- Masked evms-1.2.1-r1.ebuild stable for ppc
-
- 01 Sep 2004; Jeremy Huddleston <eradicator@gentoo.org> evms-2.3.4-r1.ebuild:
- Changing flag filtering per bug #54856.
-
- 23 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> evms-2.2.2.ebuild,
- evms-2.3.2-r1.ebuild, evms-2.3.4-r1.ebuild:
- Added to stable x86 and amd64. Do ldconfig in postinst() to fix bug #51252.
-
- 27 Jun 2004; Aron Griffis <agriffis@gentoo.org> evms-1.2.1-r1.ebuild,
- evms-2.2.2.ebuild, evms-2.3.2-r1.ebuild, evms-2.3.4-r1.ebuild:
- QA - fix use invocation
-
-*evms-2.3.4-r1 (23 Jun 2004)
-
- 23 Jun 2004: Jeremy Huddleston <eradicator@gentoo.org> -evms-2.3.4.ebuild,
- +evms-2.3.4-r1.ebuild:
- Revbump to filter out -fstack-protector in 2.3.x.
-
- 13 Jun 2004; Jeremy Huddleston <eradicator@gentoo.org> evms-2.3.2.ebuild:
- Marking stable on x86.
-
- 11 Jun 2004; Jeremy Huddleston <eradicator@gentoo.org> files/evms2-init:
- Added missing depend to evms2 init.
-
- 09 Jun 2004; Jeremy Huddleston <eradicator@gentoo.org> -evms-2.3.0.ebuild:
- Removing old version.
-
-*evms-2.3.4 (09 Jun 2004)
-
- 09 Jun 2004; Jeremy Huddleston <eradicator@gentoo.org> +evms-2.3.4.ebuild:
- Version bump. Added sys-libs/device-mapper to DEPEND.
-
-*evms-2.3.2 (30 Apr 2004)
-
- 30 Apr 2004; Jeremy Huddleston <eradicator@gentoo.org> evms-2.3.2.ebuild:
- Version bump.
-
- 12 Mar 2004; Brian Jackson <iggy@gentoo.org> evms-2.3.0.ebuild:
- some fixes from bug 43952, thanks to Andreas Simon <yuipxATgmx.net>
-
-*evms-2.3.0 (12 Mar 2004)
-
- 12 Mar 2004; Brian Jackson <iggy@gentoo.org> evms-2.2.1.ebuild,
- evms-2.3.0.ebuild:
- version bump
-
- 25 Feb 2004; Brian Jackson <iggy@gentoo.org> evms-2.2.2.ebuild:
- bump 2.2.2 to x86
-
- 25 Feb 2004; Brian Jackson <iggy@gentoo.org> evms-2.2.1.ebuild,
- evms-2.2.2.ebuild:
- removed some old lib links, looks like they were from the evms1 days, fixes
- bug 42910, thanks to netbix@netbix.net for reporting
-
- 24 Jan 2004; Seemant Kulleen <seemant@gentoo.org> evms-2.1.1.ebuild:
- cleaned out crusty version
-
-*evms-2.2.2 (24 Jan 2004)
-
- 24 Jan 2004; Seemant Kulleen <seemant@gentoo.org> evms-2.2.1.ebuild,
- evms-2.2.2.ebuild, files/evms2-init:
- version bump, and initscript fix (the stop function was calling the absent
- evms_deactivate, which apparently doesn't need to exist)
-
- 22 Dec 2003; Brian Jackson <iggy@gentoo.org> evms-2.1.1.ebuild,
- evms-2.2.1.ebuild:
- stable bump
-
- 13 Dec 2003; Martin Holzer <mholzer@gentoo.org> evms-2.2.1.ebuild:
- adding RESTRICT="nomirror"
-
-*evms-2.2.1 (13 Dec 2003)
-
- 13 Dec 2003; Brian Jackson <iggy@gentoo.org> evms-2.0.1.ebuild,
- evms-2.1.0.ebuild, evms-2.2.0.ebuild, evms-2.2.1.ebuild:
- clean some old ebuilds, bump to 2.2.1, update postinst (fixes bug 35678)
-
-*evms-2.1.1 (12 Nov 2003)
-
- 12 Nov 2003; Brian Jackson <iggy@gentoo.org> evms-2.1.0.ebuild,
- evms-2.1.1.ebuild, evms-2.2.0.ebuild, metadata.xml:
- bumped 2.1.0 to x86
- added 2.1.1 with some patches from IBM
- added 2.2.0 which was just released today
- added metadata.xml
-
-*evms-2.0.0-r1 (15 Sep 2003)
-
- 15 Sep 2003; Seemant Kulleen <seemant@gentoo.org> evms-1.2.0-r1.ebuild,
- evms-1.2.0.ebuild, evms-1.2.1-r1.ebuild, evms-1.2.1.ebuild,
- evms-2.0.0-r1.ebuild, evms-2.0.1.ebuild, evms-2.1.0.ebuild, files/evms-init,
- files/evms2-init:
- moved to sys-fs
-
-*evms-2.1.0 (13 Jul 2003)
-
- 13 Jul 2003; Jay Pfeifer <pfeifer@gentoo.org>:
- Version bump.
- Kernel support for 2.1.0 is in pfeifer-sources-2.4.21-pre3
-
-*evms-2.0.1 (10 May 2003)
-
- 10 May 2003; Jay Pfeifer <pfeifer@gentoo.org>:
- Version bump.
- Kernel support for 2.0.1 is in gentoo-sources-2.4.20-r5
-
-*evms-2.0.0-r1 (08 Apr 2003)
-
- 08 Apr 2003; Michael Imhof <tantive@gentoo.org>:
- Version bumped to -r1 as -r0 was borked. Removed -r0.
- Added new init-script for 2.0.0
- Should close #18835.
-
-*evms-2.0.0 (06 Apr 2003)
-
- 06 Apr 2003; Michael Imhof <tantive@gentoo.org>:
- Version bumped.
-
-*evms-1.2.1-r1 (05 Mar 2003)
-
- 03 Apr 2003; Graham Forest <vladimir@gentoo.org> evms-1.2.1-r1.ebuild:
- set ~ppc in keywords
-
- 05 Mar 2003; Brandon Low <lostlogic@gentoo.org> evms-1.2.1-r1.ebuild:
- Set keyword stable to match gentoo-sources release
-
-*evms-1.2.1 (27 Dec 2002)
-
- 27 Dec 2002; Seth Chandler <sethbc@gentoo.org>: added evms 1.2.1 to
- portage ~masked
-
-*evms-1.2.0 (02 Oct 2002)
-
- 02 Oct 2002; Donny Davies <woodchip@gentoo.org>: New evms-1.2.0 release
- which is backwards compatible with 1.1.0 kernel drivers. Now builds
- independent of /usr/src/linux headers. Thanks lnx1138@us.ibm.com.
-
-*evms-1.1.0 (07 Aug 2002)
-
- 27 Aug 2002; Donny Davies <woodchip@gentoo.org>: Removed the LVM clone tools.
-
- 07 Aug 2002; Daniel Robbins <drobbins@gentoo.org>: New release version of evms 1.1.0.
-
-*evms-1.1.0_pre4 (31 Jul 2002)
-
- 31 Jul 2002; Daniel Robbins <drobbins@gentoo.org>: New version for evms 1.1.0 systems.
-
-*evms-1.0.1 (08 May 2002)
-
- 21 Jul 2002; Mark Guertin <gerk@gentoo.org>: updated keywords (-ppc)
-
- 14 Jul 2002; phoen][x <phoenix@gentoo.org> evms-1.0.1.ebuild : Added KEYWORDS.
-
- 08 May 2002; Donny Davies <woodchip@gentoo.org>: Updated to 1.0.1.
-
-*evms-1.0.0-r1 (30 Apr 2002)
-
- 14 Jul 2002; phoen][x <phoenix@gentoo.org> evms-1.0.0-r1.ebuild : Added KEYWORDS.
-
- 30 Apr 2002; Donny Davies <woodchip@gentoo.org>: Moved the plugins to
- /lib/evms, where they belong. Please unmerge the older version of this
- package if you had it installed.
-
-*evms-1.0.0 (27 Apr 2002)
-
- 27 Apr 2002; Donny Davies <woodchip@gentoo.org>: Made a package for IBM's
- Enterprise Volume Management System.
diff --git a/sys-fs/evms/Manifest b/sys-fs/evms/Manifest
deleted file mode 100644
index 5bf1e7d029df..000000000000
--- a/sys-fs/evms/Manifest
+++ /dev/null
@@ -1,40 +0,0 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-AUX 2.5.5/BaseName.patch 1109 RMD160 922e523aa410d438dc6a676e15aed823606f2c3e SHA1 b683e95ced4adb7b051fd3424ac7ff378f9c9b22 SHA256 55db771bb69320ad39baee9edf11a36f18e9f815b66195c0acb413d06e71bd8a
-AUX 2.5.5/cli_query_segfault.patch 1255 RMD160 d156c4ce75c3a5270e3964a06b0bcb7f8ba2ae4d SHA1 487c78f8e08eb7ae0bfeee732aedcf884a099575 SHA256 f1427baf8aa6abd1ef0e340da286d28b597d7bad313caa7541bfe8980a476dd7
-AUX 2.5.5/cli_reload_options.patch 542 RMD160 e9a6be80b7fe665cbc58e5538a36fd09615fe3e8 SHA1 9abc5bee789d1920597d82b924747fa4b71f4441 SHA256 6d824343f2675dbf1a9ae0a8e211a913c1a8d22b95c712a113c729433046bc57
-AUX 2.5.5/disk_cache.patch 4240 RMD160 5b5ed03a7241be498b8c6ac8bd29d6d412211d91 SHA1 c325965defd0b7cbb56b425a2759c6f8d486a39b SHA256 eb6ccfd070b719641fb0c7f5d3a1294764c89bdc2492a832d3ca86351e1ea92d
-AUX 2.5.5/get_geometry.patch 1230 RMD160 7ee1fe8344a5d8154d2916baa7cfdd9506f8e4b9 SHA1 10bfc8d74c5768d1ce516aadcf92c611f26b2ead SHA256 86e1fba9bfcf0ab2aecaec29945df57ed482c26497bb795c1d30418be9956922
-AUX 2.5.5/md_super_fix.patch 2618 RMD160 331da16472918dd5029fdf07b9f51378b493daa6 SHA1 566df932d383b247af8236f5f6e679d4a9997421 SHA256 ade82c9d21c14486592a1aac347361c2fd207dac9634dae9f55225c302b21f5d
-AUX 2.5.5/ntfs_unmkfs.patch 1605 RMD160 cbba9dded226d9e0b88d5320ff39986bf3ac974d SHA1 2d12347846e7c306454177032542fbbddac38064 SHA256 9f88d2ab8547bd9af95f5be5f0cf767c0d647d102e78a3b0ec17bd5a99cb803d
-AUX 2.5.5/raid5_algorithm.patch 562 RMD160 8667ae00f5cb52ef2d953d31f754992252a1a22b SHA1 cd12f145df7f7690f679365bf84d515e74f5a347 SHA256 b6f826ac31143367b9faedb663f1cfa1ceef6596c0ee54058fba01c7736c10ed
-AUX 2.5.5/raid5_degrade_fix.patch 1533 RMD160 0cfc05d686faf41abc5f9363c3a59833ce04811a SHA1 219c52a98f9a4bb1e6b0035f75a8c2fe122bc64c SHA256 8c2eb03ec4d18150349ca91344e5d63e9a807e3033760baae69f5110e36c2a2c
-AUX 2.5.5/raid5_degrade_fix_v2.patch 1672 RMD160 13da04afcf3416c8899080542a8b0543a603cd83 SHA1 baecc5d8e55c082ffe5dc82c3f55dd407985aab0 SHA256 d401d5005c1f27b9f698205ff3f1165c9eb0136170d377e1fc0b60a6d13802fa
-AUX 2.5.5/raid5_remove_spare_fix.patch 1055 RMD160 29479755e318978554d5fa769580a48491eb2ebe SHA1 35dcf840504a74496a44cae6defa8f0611e39d54 SHA256 6640d497cd00287d0bd8d013d646106df600a9c13250a4f8f8b1fada3fe919f7
-AUX 2.5.5/raid5_remove_spare_fix_2.patch 1215 RMD160 4af1b897471d9ff7342f60cba866eb93b1baa105 SHA1 beb85d99f4076a14e06d94d653f41f968a9a4653 SHA256 7136d728b0082bf3523a3cfacbda452c3158984c98d3d93d4f7a8d63b17a0eba
-AUX evms-2.5.5-as-needed.patch 482 RMD160 ebef1e696e0490ebd2c530909c03ec96b52ddacf SHA1 33036586112b7c9cac0977a1d3df9be5e665d661 SHA256 695811a6a22a17a2d7247a7109a3d081d4b3d376f6fdce1c64f2a574b9acdf3b
-AUX evms-2.5.5-glib_dep.patch 1340 RMD160 0a5846aea0b90ef4951b22ff06d0d78690240141 SHA1 242df75804803fbaec352d10b840d555b18b7df5 SHA256 9c76cbdd5de4e373be5ed283766d15cae87c94289557a636c8356d469ce7269f
-AUX evms-2.5.5-ocfs2.patch 634 RMD160 03cffc2ca996ac64b93b020fd49f3e18232b1091 SHA1 bb0e111478447382910dec5c04252b04c699f8be SHA256 e69be9be13725811d49a40cdee9c6eea7d60cea94e62129ba830e5d205b4ad53
-AUX evms-2.5.5-pagesize.patch 2288 RMD160 6db07f143f2e82a318b04121dbf7dedbbd715423 SHA1 7e0bc2e0196d52436d73065b6a7fc8f84dc6038b SHA256 66b992dbf22969b48c8854269f83f91e935096f418f28b6876e512fe7c446ca2
-AUX evms-2.5.5-snapshot.patch 1169 RMD160 31b240ecda48ced74933ed2df96b0af5ce6c5e7e SHA1 5b27363dd4b4ad004e8afe41670824ab39728ef1 SHA256 a116d8790628920621ec879733625f31aced70b22f79c5f76afbbd084a0e7edf
-AUX evms-2.5.5-use_disk_group.patch 1225 RMD160 7c69acdb48758c465429c56e4954214bbb0fed4e SHA1 2c05af9ac5108dc3aefe58257d3f3101f3039d64 SHA256 6ebd11a08a018a364f1155e9e961e421ecf8c96643b0253106fffe9ebf677184
-AUX evms.conf-2.5.5-r9 18 RMD160 d023eeee8746cdd4cd8fcca822257eff9d9a1528 SHA1 55714742409253b80928a0e7af436a769a462e28 SHA256 a7675581b31fd4919cd049b710232b7b651fff54a86af7a326831b26fdde3996
-AUX evms.initd 665 RMD160 891124182e1b53afbe8cb87371310dd26958b658 SHA1 845932586a2738617160f211c9046900efc8e492 SHA256 579272010b3f695d63f85f08f6d99256a7192bba803dff760db45257fdfdab26
-AUX evms.initd-2.5.5-r11 689 RMD160 054b2863a6321e01c8ed522aab82b277cb6bbd0f SHA1 bc72cf57a0d5d53f2945a00285a1c114ad65a66b SHA256 11cad6427f5f897c9e73b67fd1de229714ca609701593ef54c6183f070e74d8b
-AUX evms.initd-2.5.5-r9 603 RMD160 c922481a7462949bb9adc7ff7accf06f0cc57c8d SHA1 d5df4450470136516d6eabbbc357131ad1c22afb SHA256 4d08af6fba3bc8e00795fa5867efd77a00cfd62f8e0c4f73aedac2181142fc64
-AUX evms2-start.sh 382 RMD160 cf01c2e95b62d8a87421b8a927a364b662fdc6a6 SHA1 e72088c592acc899b283a82369b7043ccb9c6893 SHA256 8bdb33c568037600c2317b251b9f7aecac1221970a9139baad5d08a97c01e3f1
-DIST evms-2.5.5.tar.gz 2286321 RMD160 716d6b34f48f6f7a3f5f4627bc4a2c34957607f7 SHA1 8c679e958398a299f7b3c76f4dd552d6bf35a28b SHA256 9dbfaac148d822068ba883f6533935e03ae5cfc9fdf8836dea6aee99c859307c
-DIST evms-patches-2.5.5-2.tbz2 8395 RMD160 a2e66a2e7cb1a8a6fab2be4b7e29dbef7f5fc6a1 SHA1 abc552afacfde6569f7b0ac095e6382e7943997c SHA256 8428627784d70ee198c4eed99ba030033d5dc6821173517d80c17891822e5797
-EBUILD evms-2.5.5-r10.ebuild 5411 RMD160 2174810dd36797b8fb7f9a4b8417406c108b3854 SHA1 30b052d4ed5d5dfaf828d220388332823515cc83 SHA256 50c454d35950163d99641d2bd5c1f3478d6794ffd337e4fb078a3e161abc5a10
-EBUILD evms-2.5.5-r11.ebuild 5287 RMD160 a09e4f5304a7501443ebb351c0865710eb8873b2 SHA1 0e7dce6c35342e94d026716f093dfdfa23046d37 SHA256 440fc6a0dbc7e8a7f939c0832f7b6a2df2540c97c11966fcd8cd75cb3a990041
-EBUILD evms-2.5.5-r5.ebuild 4894 RMD160 f427743cf6fbeaaacc330a7aee74b3ac221dbb8e SHA1 27c346b97a35e69176b872a34ba22618d9e3c9f2 SHA256 8c057a51c20ca831e854f9d565a378aee9cca8082d1ed4b7fcce5f3f515e1aa4
-MISC ChangeLog 19274 RMD160 f4a522c0d82250b0be7ec911a0b81980f4ad5673 SHA1 c2bff7ac9d18f384295bfb3619c85ae96f21b834 SHA256 e1931f93a60e04038fc7f266cf1cca28da66c090935160af67d11c04839733f9
-MISC metadata.xml 515 RMD160 327b123e22ca5b253f14debdc2aa8634762a5a97 SHA1 f7dcda50a94a640c47876e57950010a2c3a898cc SHA256 33e0cd2191f5b27a21d1a1ca93db919ef7d023be6294ec51603bf0c083ddf29d
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.16 (GNU/Linux)
-
-iEYEARECAAYFAk29li8ACgkQuQc30/atMkCy5ACfVHWWX6aKsBjcr0cDrLun+0nd
-iKcAnilmf7PTl5ZnNc+uMGjOdv2wLREb
-=+BiM
------END PGP SIGNATURE-----
diff --git a/sys-fs/evms/evms-2.5.5-r10.ebuild b/sys-fs/evms/evms-2.5.5-r10.ebuild
deleted file mode 100644
index c226b9cb47a1..000000000000
--- a/sys-fs/evms/evms-2.5.5-r10.ebuild
+++ /dev/null
@@ -1,171 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/evms/evms-2.5.5-r10.ebuild,v 1.14 2011/05/01 17:19:36 armin76 Exp $
-
-inherit eutils flag-o-matic multilib toolchain-funcs autotools linux-info
-
-PATCHVER="${PV}-2"
-
-DESCRIPTION="Utilities for the IBM Enterprise Volume Management System"
-HOMEPAGE="http://www.sourceforge.net/projects/evms"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
- mirror://gentoo/${PN}-patches-${PATCHVER}.tbz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc ppc64 x86"
-IUSE="debug gtk hb hb2 ncurses nls"
-
-#EVMS uses libuuid from e2fsprogs
-RDEPEND="sys-fs/e2fsprogs
- || ( >=sys-fs/lvm2-2.02.45 sys-fs/device-mapper )
- >=sys-apps/baselayout-1.9.4-r6
- gtk? ( =x11-libs/gtk+-1* =dev-libs/glib-1* )
- hb? ( !hb2? ( =sys-cluster/heartbeat-1* ) )
- hb2? ( >=sys-cluster/heartbeat-2 )
- ncurses? ( sys-libs/ncurses >=dev-libs/glib-2.12.4-r1 )"
-DEPEND="${RDEPEND}
- gtk? ( dev-util/pkgconfig )
- ncurses? ( dev-util/pkgconfig )"
-
-# While the test-concept holds, many of them fail due to unknown reasons.
-# Since upstream is almost dead, we have to ignore that for now.
-RESTRICT="test"
-
-pkg_setup() {
- if use hb && use hb2 ; then
- ewarn "It's not possible to have support for heartbeat version 1 and 2 at the same time."
- ewarn "Assuming that you want heartbeat-2, if not, please do not enable the hb2 use flag."
- fi
-
- get_running_version
- if [ ${KV_PATCH} -lt 19 ] || [ ${KV_MINOR} -eq 4 ] ; then
- ewarn "This revision of EVMS may not work correctly with kernels prior to 2.6.19 when"
- ewarn "using snapshots due to API changes. Please update your kernel or use EVMS 2.5.5-r9."
- ebeep 5
- fi
-
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- sed -i \
- -e 's:--- /root/aclocal.m4.old:--- root/aclocal.m4.old:' \
- "${WORKDIR}"/patches/51_all_2.5.5-glib_dep.patch || die "404"
-
- EPATCH_SOURCE="${WORKDIR}/patches"
- EPATCH_SUFFIX="patch"
- epatch
-
- eautoreconf
-}
-
-src_compile() {
- # Bug #54856
- # filter-flags "-fstack-protector"
- replace-flags -O3 -O2
- replace-flags -Os -O2
-
- local excluded_interfaces=""
- use ncurses || excluded_interfaces="--disable-text-mode"
- use gtk || excluded_interfaces="${excluded_interfaces} --disable-gui"
-
- # hb2 should override hb
- local myconf="$(use_enable hb ha) --disable-hb2"
- use hb2 && myconf="--disable-ha --enable-hb2"
-
- # We have to link statically against glib because evmsn resides in /sbin
- econf \
- --libdir=/$(get_libdir) \
- --sbindir=/sbin \
- --includedir=/usr/include \
- --with-static-glib \
- $(use_with debug) \
- $(use_enable nls) \
- ${myconf} \
- ${excluded_interfaces} || die "Failed configure"
- emake || die "Failed emake"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "Make install died"
- dodoc ChangeLog INSTALL* PLUGIN.IDS README TERMINOLOGY doc/linuxrc
-
- insinto /$(get_libdir)/rcscripts/addons
- newins "${FILESDIR}/evms2-start.sh" evms-start.sh || die "rcscript addon failed"
-
- # install the sample configuration into the doc dir
- dodoc "${D}/etc/evms.conf.sample"
- rm -f "${D}/etc/evms.conf.sample"
-
- # the kernel patches may come handy for people compiling their own kernel
- docinto kernel/2.4
- dodoc kernel/2.4/*
- docinto kernel/2.6
- dodoc kernel/2.6/*
-
- # move static libraries to /usr/lib
- dodir /usr/$(get_libdir)
- mv -f "${D}"/$(get_libdir)/*.a "${D}/usr/$(get_libdir)"
-
- # Create linker scripts for dynamic libs in /lib, else gcc
- # links to the static ones in /usr/lib first. Bug #4411.
- for x in "${D}/usr/$(get_libdir)"/*.a ; do
- if [ -f ${x} ] ; then
- local lib="${x##*/}"
- gen_usr_ldscript ${lib/\.a/\.so}
- fi
- done
-
- # the gtk+ frontend should live in /usr/sbin
- if use gtk ; then
- dodir /usr/sbin
- mv -f "${D}"/sbin/evmsgui "${D}"/usr/sbin
- fi
-
- # Needed for bug #51252
- dosym libevms-2.5.so.0.0 /$(get_libdir)/libevms-2.5.so.0
-
- newinitd "${FILESDIR}"/evms.initd-2.5.5-r9 evms || die
- newconfd "${FILESDIR}"/evms.conf-2.5.5-r9 evms || die
-}
-
-src_test() {
- if [[ -z ${EVMS_TEST_VOLUME} ]] ; then
- eerror "This is a volume manager and it therefore needs a volume"
- eerror "for testing. You have to define EVMS_TEST_VOLUME as"
- eerror "a volume evms can operate on."
- eerror "Example: export EVMS_TEST_VOLUME=sda"
- eerror "Note: The volume-name can not be a symlink."
- eerror "WARNING: EVMS WILL DESTROY EVERYTHING ON IT."
- einfo "If you don't have an empty disk, you can use the loopback-device:"
- einfo "- Create a large file using dd (this creates a 4GB file):"
- einfo " dd if=/dev/zero of=/tmp/evms_test_file bs=1M count=4096"
- einfo "- Activate a loop device on this file:"
- einfo " losetup /dev/loop0 /tmp/evms_test_file"
- einfo "- export EVMS_TEST_VOLUME=loop0"
- einfo "The disk has to be at least 4GB!"
- einfo "To deactivate the loop-device afterwards:"
- einfo "- losetup -d /dev/loop0"
- hasq userpriv ${FEATURES} && ewarn "These tests have to run as root. Disable userpriv!"
- die "need test-volume"
- fi
-
- if hasq userpriv ${FEATURES} ; then
- eerror "These tests need root privileges. Disable userpriv!"
- die "userpriv is not supported"
- fi
-
- einfo "Disabling sandbox for:"
- einfo " - /dev/${EVMS_TEST_VOLUME}"
- addwrite /dev/${EVMS_TEST_VOLUME}
- einfo " - /dev/evms"
- addwrite /dev/evms
- einfo " - /var/lock/evms-engine"
- addwrite /var/lock/evms-engine
-
- cd "${S}/tests/suite"
- PATH="${S}/ui/cli:${S}/tests:/sbin:${PATH}" ./run_tests ${EVMS_TEST_VOLUME} || die "tests failed"
-}
diff --git a/sys-fs/evms/evms-2.5.5-r11.ebuild b/sys-fs/evms/evms-2.5.5-r11.ebuild
deleted file mode 100644
index d413a9421238..000000000000
--- a/sys-fs/evms/evms-2.5.5-r11.ebuild
+++ /dev/null
@@ -1,168 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/evms/evms-2.5.5-r11.ebuild,v 1.6 2011/05/01 17:19:36 armin76 Exp $
-
-inherit eutils flag-o-matic multilib toolchain-funcs autotools linux-info
-
-PATCHVER="${PV}-2"
-
-DESCRIPTION="Utilities for the IBM Enterprise Volume Management System"
-HOMEPAGE="http://www.sourceforge.net/projects/evms"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
- mirror://gentoo/${PN}-patches-${PATCHVER}.tbz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc ppc64 x86"
-IUSE="debug gtk hb hb2 ncurses nls"
-
-#EVMS uses libuuid from e2fsprogs
-RDEPEND="sys-fs/e2fsprogs
- || ( >=sys-fs/lvm2-2.02.45 sys-fs/device-mapper )
- >=sys-apps/baselayout-1.9.4-r6
- gtk? ( =x11-libs/gtk+-1* =dev-libs/glib-1* )
- hb? ( !hb2? ( =sys-cluster/heartbeat-1* ) )
- hb2? ( >=sys-cluster/heartbeat-2 )
- ncurses? ( sys-libs/ncurses >=dev-libs/glib-2.12.4-r1 )"
-DEPEND="${RDEPEND}
- gtk? ( dev-util/pkgconfig )
- ncurses? ( dev-util/pkgconfig )"
-
-# While the test-concept holds, many of them fail due to unknown reasons.
-# Since upstream is almost dead, we have to ignore that for now.
-RESTRICT="test"
-
-pkg_setup() {
- if use hb && use hb2 ; then
- ewarn "It's not possible to have support for heartbeat version 1 and 2 at the same time."
- ewarn "Assuming that you want heartbeat-2, if not, please do not enable the hb2 use flag."
- fi
-
- get_running_version
- if [ ${KV_PATCH} -lt 19 ] || [ ${KV_MINOR} -eq 4 ] ; then
- ewarn "This revision of EVMS may not work correctly with kernels prior to 2.6.19 when"
- ewarn "using snapshots due to API changes. Please update your kernel or use EVMS 2.5.5-r9."
- ebeep 5
- fi
-
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- sed -i \
- -e 's:--- /root/aclocal.m4.old:--- root/aclocal.m4.old:' \
- "${WORKDIR}"/patches/51_all_2.5.5-glib_dep.patch || die "404"
-
- EPATCH_SOURCE="${WORKDIR}/patches"
- EPATCH_SUFFIX="patch"
- epatch
-
- eautoreconf
-}
-
-src_compile() {
- # Bug #54856
- # filter-flags "-fstack-protector"
- replace-flags -O3 -O2
- replace-flags -Os -O2
-
- local excluded_interfaces=""
- use ncurses || excluded_interfaces="--disable-text-mode"
- use gtk || excluded_interfaces="${excluded_interfaces} --disable-gui"
-
- # hb2 should override hb
- local myconf="$(use_enable hb ha) --disable-hb2"
- use hb2 && myconf="--disable-ha --enable-hb2"
-
- # We have to link statically against glib because evmsn resides in /sbin
- econf \
- --libdir=/$(get_libdir) \
- --sbindir=/sbin \
- --includedir=/usr/include \
- --with-static-glib \
- $(use_with debug) \
- $(use_enable nls) \
- ${myconf} \
- ${excluded_interfaces} || die "Failed configure"
- emake || die "Failed emake"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "Make install died"
- dodoc ChangeLog INSTALL* PLUGIN.IDS README TERMINOLOGY doc/linuxrc
-
- # install the sample configuration into the doc dir
- dodoc "${D}/etc/evms.conf.sample"
- rm -f "${D}/etc/evms.conf.sample"
-
- # the kernel patches may come handy for people compiling their own kernel
- docinto kernel/2.4
- dodoc kernel/2.4/*
- docinto kernel/2.6
- dodoc kernel/2.6/*
-
- # move static libraries to /usr/lib
- dodir /usr/$(get_libdir)
- mv -f "${D}"/$(get_libdir)/*.a "${D}/usr/$(get_libdir)"
-
- # Create linker scripts for dynamic libs in /lib, else gcc
- # links to the static ones in /usr/lib first. Bug #4411.
- for x in "${D}/usr/$(get_libdir)"/*.a ; do
- if [ -f ${x} ] ; then
- local lib="${x##*/}"
- gen_usr_ldscript ${lib/\.a/\.so}
- fi
- done
-
- # the gtk+ frontend should live in /usr/sbin
- if use gtk ; then
- dodir /usr/sbin
- mv -f "${D}"/sbin/evmsgui "${D}"/usr/sbin
- fi
-
- # Needed for bug #51252
- dosym libevms-2.5.so.0.0 /$(get_libdir)/libevms-2.5.so.0
-
- newinitd "${FILESDIR}"/evms.initd-2.5.5-r11 evms || die
- newconfd "${FILESDIR}"/evms.conf-2.5.5-r9 evms || die
-}
-
-src_test() {
- if [[ -z ${EVMS_TEST_VOLUME} ]] ; then
- eerror "This is a volume manager and it therefore needs a volume"
- eerror "for testing. You have to define EVMS_TEST_VOLUME as"
- eerror "a volume evms can operate on."
- eerror "Example: export EVMS_TEST_VOLUME=sda"
- eerror "Note: The volume-name can not be a symlink."
- eerror "WARNING: EVMS WILL DESTROY EVERYTHING ON IT."
- einfo "If you don't have an empty disk, you can use the loopback-device:"
- einfo "- Create a large file using dd (this creates a 4GB file):"
- einfo " dd if=/dev/zero of=/tmp/evms_test_file bs=1M count=4096"
- einfo "- Activate a loop device on this file:"
- einfo " losetup /dev/loop0 /tmp/evms_test_file"
- einfo "- export EVMS_TEST_VOLUME=loop0"
- einfo "The disk has to be at least 4GB!"
- einfo "To deactivate the loop-device afterwards:"
- einfo "- losetup -d /dev/loop0"
- hasq userpriv ${FEATURES} && ewarn "These tests have to run as root. Disable userpriv!"
- die "need test-volume"
- fi
-
- if hasq userpriv ${FEATURES} ; then
- eerror "These tests need root privileges. Disable userpriv!"
- die "userpriv is not supported"
- fi
-
- einfo "Disabling sandbox for:"
- einfo " - /dev/${EVMS_TEST_VOLUME}"
- addwrite /dev/${EVMS_TEST_VOLUME}
- einfo " - /dev/evms"
- addwrite /dev/evms
- einfo " - /var/lock/evms-engine"
- addwrite /var/lock/evms-engine
-
- cd "${S}/tests/suite"
- PATH="${S}/ui/cli:${S}/tests:/sbin:${PATH}" ./run_tests ${EVMS_TEST_VOLUME} || die "tests failed"
-}
diff --git a/sys-fs/evms/evms-2.5.5-r5.ebuild b/sys-fs/evms/evms-2.5.5-r5.ebuild
deleted file mode 100644
index 8e4ebd22ed70..000000000000
--- a/sys-fs/evms/evms-2.5.5-r5.ebuild
+++ /dev/null
@@ -1,152 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/evms/evms-2.5.5-r5.ebuild,v 1.12 2011/05/01 17:19:36 armin76 Exp $
-
-WANT_AUTOMAKE="latest"
-WANT_AUTOCONF="latest"
-
-inherit eutils flag-o-matic multilib toolchain-funcs autotools
-
-DESCRIPTION="Utilities for the IBM Enterprise Volume Management System"
-HOMEPAGE="http://www.sourceforge.net/projects/evms"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc ppc64 x86"
-IUSE="debug gtk ncurses nls"
-
-#EVMS uses libuuid from e2fsprogs
-RDEPEND="sys-fs/e2fsprogs
- || ( >=sys-fs/lvm2-2.02.45 sys-fs/device-mapper )
- >=sys-apps/baselayout-1.9.4-r6
- gtk? ( =x11-libs/gtk+-1*
- =dev-libs/glib-1* )
- ncurses? ( sys-libs/ncurses
- >=dev-libs/glib-2.12.4-r1 )"
-DEPEND="${RDEPEND}"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}/${PV}/md_super_fix.patch"
- epatch "${FILESDIR}/${PV}/ntfs_unmkfs.patch"
- epatch "${FILESDIR}/${PV}/raid5_degrade_fix.patch"
- epatch "${FILESDIR}/${PV}/raid5_remove_spare_fix.patch"
- epatch "${FILESDIR}/${PV}/raid5_remove_spare_fix_2.patch"
- epatch "${FILESDIR}/${PV}/raid5_algorithm.patch"
- epatch "${FILESDIR}/${PV}/cli_reload_options.patch"
- epatch "${FILESDIR}/${PV}/cli_query_segfault.patch"
- epatch "${FILESDIR}/${PV}/get_geometry.patch"
- epatch "${FILESDIR}/${PV}/BaseName.patch"
-
- epatch "${FILESDIR}/${P}-as-needed.patch"
- epatch "${FILESDIR}/${P}-glib_dep.patch"
- epatch "${FILESDIR}/${P}-ocfs2.patch"
- epatch "${FILESDIR}/${P}-use_disk_group.patch"
- epatch "${FILESDIR}/${P}-pagesize.patch"
-
- eautoreconf
-}
-
-src_compile() {
- # Bug #54856
- # filter-flags "-fstack-protector"
- replace-flags -O3 -O2
- replace-flags -Os -O2
-
- local excluded_interfaces=""
- use ncurses || excluded_interfaces="--disable-text-mode"
- use gtk || excluded_interfaces="${excluded_interfaces} --disable-gui"
-
- # We have to link statically against glib because evmsn resides in /sbin
- econf \
- --libdir=/$(get_libdir) \
- --sbindir=/sbin \
- --includedir=/usr/include \
- --with-static-glib \
- $(use_with debug) \
- $(use_enable nls) \
- ${excluded_interfaces} || die "Failed configure"
- emake || die "Failed emake"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "Make install died"
- dodoc ChangeLog INSTALL* PLUGIN.IDS README TERMINOLOGY doc/linuxrc
-
- insinto /$(get_libdir)/rcscripts/addons
- newins "${FILESDIR}/evms2-start.sh" evms-start.sh || die "rcscript addon failed"
-
- # install the sample configuration into the doc dir
- dodoc "${D}/etc/evms.conf.sample"
- rm -f "${D}/etc/evms.conf.sample"
-
- # the kernel patches may come handy for people compiling their own kernel
- docinto kernel/2.4
- dodoc kernel/2.4/*
- docinto kernel/2.6
- dodoc kernel/2.6/*
-
- # move static libraries to /usr/lib
- dodir /usr/$(get_libdir)
- mv -f ${D}/$(get_libdir)/*.a "${D}/usr/$(get_libdir)"
-
- # Create linker scripts for dynamic libs in /lib, else gcc
- # links to the static ones in /usr/lib first. Bug #4411.
- for x in "${D}/usr/$(get_libdir)"/*.a ; do
- if [ -f ${x} ] ; then
- local lib="${x##*/}"
- gen_usr_ldscript ${lib/\.a/\.so}
- fi
- done
-
- # the gtk+ frontend should live in /usr/sbin
- if use gtk ; then
- dodir /usr/sbin
- mv -f ${D}/sbin/evmsgui ${D}/usr/sbin
- fi
-
- # Needed for bug #51252
- dosym libevms-2.5.so.0.0 /$(get_libdir)/libevms-2.5.so.0
-}
-
-src_test() {
- if [[ -z ${EVMS_TEST_VOLUME} ]] ; then
- eerror "This is a volume manager and it therefore needs a volume"
- eerror "for testing. You have to define EVMS_TEST_VOLUME as"
- eerror "a volume evms can operate on."
- eerror "Example: export EVMS_TEST_VOLUME=sda"
- eerror "Note: The volume-name can not be a symlink."
- eerror "WARNING: EVMS WILL DESTROY EVERYTHING ON IT."
- einfo "If you don't have an empty disk, you can use the loopback-device:"
- einfo "- Create a large file using dd (this creates a 4GB file):"
- einfo " dd if=/dev/zero of=/tmp/evms_test_file bs=1M count=4096"
- einfo "- Activate a loop device on this file:"
- einfo " losetup /dev/loop0 /tmp/evms_test_file"
- einfo "- export EVMS_TEST_VOLUME=loop/0"
- einfo "The disk has to be at least 4GB!"
- einfo "To deactivate the loop-device afterwards:"
- einfo "- losetup -d /dev/loop0"
- hasq userpriv ${FEATURES} && ewarn "These tests have to run as root. Disable userpriv!"
- die "need test-volume"
- fi
-
- if hasq userpriv ${FEATURES} ; then
- eerror "These tests need root privileges. Disable userpriv!"
- die "userpriv is not supported"
- fi
-
- volume=$(readlink "/dev/${EVMS_TEST_VOLUME}")
- einfo "Disabling sandbox for:"
- einfo " - /dev/${volume:-${EVMS_TEST_VOLUME}}"
- addwrite /dev/${volume:-${EVMS_TEST_VOLUME}}
- einfo " - /dev/evms"
- addwrite /dev/evms
- einfo " - /var/lock/evms-engine"
- addwrite /var/lock/evms-engine
-
- cd "${S}/tests/suite"
- PATH="${S}/ui/cli:${S}/tests:/sbin:${PATH}" ./run_tests ${EVMS_TEST_VOLUME} || die "tests failed"
-}
diff --git a/sys-fs/evms/files/2.5.5/BaseName.patch b/sys-fs/evms/files/2.5.5/BaseName.patch
deleted file mode 100644
index 7a0ab0304312..000000000000
--- a/sys-fs/evms/files/2.5.5/BaseName.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-EVMS registers the base name for the top working object of a volume if the
-object has its own device. However, EVMS engine fails to unregister such
-names when discarding volumes. This prevents some operation on volumes.
-
-The problem magnifies in cluster environments because rediscovery of
-CSM containers would fail to add volumes (discarded moments ago) back to
-the object tree, and the volumes would get deleted when committing changes.
-
-Rediscovery can be triggered by an operation as simple as changing the
-attributes of a CSM container.
-
-I added code to unregister the base name, and tested on my cluster.
-
-"Changju Gao" <CGAO@novell.com>
-
---- evms-2.5.5/engine/internalAPI.c 2005-10-10 09:44:41.000000000 -0500
-+++ evms-2.5.5-fix/engine/internalAPI.c 2006-11-01 17:11:42.113699000 -0600
-@@ -2722,6 +2722,11 @@
- if (rc == 0) {
- engine_unregister_name(vol->name);
-
-+ if( vol->object->feature_header != NULL )
-+ {
-+ engine_unregister_name(vol->name+EVMS_DEV_NODE_PATH_LEN);
-+ }
-+
- /*
- * Clear out the volume pointer on this object and on all the child
- * objects in the tree.
diff --git a/sys-fs/evms/files/2.5.5/cli_query_segfault.patch b/sys-fs/evms/files/2.5.5/cli_query_segfault.patch
deleted file mode 100644
index 2df64bf3be0b..000000000000
--- a/sys-fs/evms/files/2.5.5/cli_query_segfault.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-Fix for a segfault in the CLI when doing a query -- not enough memory declared
-for a handle array.
-
---- evms-2.5.5/ui/cli/interpreter.c 2005-06-01 10:20:32.000000000 -0500
-+++ evms-2.5.5-fix/ui/cli/interpreter.c 2006-09-14 09:47:16.480084103 -0500
-@@ -3326,7 +3326,8 @@
- dlist_t Return_Values;
- object_handle_t Object_Handle;
- handle_array_t * Object_List;
-- handle_array_t Tmp_Array;
-+ char Tmp_Buffer[sizeof(handle_array_t) + sizeof(object_handle_t)];
-+ handle_array_t * Tmp_Array = (handle_array_t *)Tmp_Buffer;
- handle_object_info_t * Object_Info;
- expand_handle_array_t * Expand_Points;
- shrink_handle_array_t * Shrink_Points;
-@@ -3477,9 +3478,9 @@
- case EVMS_OBJECT:
- Object_List = Object_Info->info.object.parent_objects;
- if (Object_List->count == 0 && Object_Info->info.object.volume != 0) {
-- Tmp_Array.count = 1;
-- Tmp_Array.handle[0] = Object_Info->info.object.volume;
-- Object_List = &Tmp_Array;
-+ Tmp_Array->count = 1;
-+ Tmp_Array->handle[0] = Object_Info->info.object.volume;
-+ Object_List = Tmp_Array;
- }
- break;
- default:
diff --git a/sys-fs/evms/files/2.5.5/cli_reload_options.patch b/sys-fs/evms/files/2.5.5/cli_reload_options.patch
deleted file mode 100644
index 425400514053..000000000000
--- a/sys-fs/evms/files/2.5.5/cli_reload_options.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-Check the returned effect after setting selected objects for a task and
-reload the option descriptors if necessary.
-
---- evms-2.5.5/ui/cli/interpreter.c 2005-06-01 10:20:32.000000000 -0500
-+++ evms-2.5.5-fix/ui/cli/interpreter.c 2006-09-01 11:54:50.903202365 -0500
-@@ -2400,6 +2400,13 @@
- Error = EINVAL;
-
- }
-+ else
-+ {
-+ if (Task_Result & EVMS_Effect_Reload_Options) {
-+ Clear_Option_Descriptors();
-+ Get_Option_Descriptors();
-+ }
-+ }
-
- }
- else
diff --git a/sys-fs/evms/files/2.5.5/disk_cache.patch b/sys-fs/evms/files/2.5.5/disk_cache.patch
deleted file mode 100644
index c6433c1b6bfc..000000000000
--- a/sys-fs/evms/files/2.5.5/disk_cache.patch
+++ /dev/null
@@ -1,106 +0,0 @@
-The local disk cache uses the address of an object as the identification for a
-cached entry. However, the addresses are not unique (in some cases). In our
-tests, the cache returned wrong data and caused serious problems.
-
-I changed the code to use the device major/minor number to identify cache
-entries.
-
-"Changju Gao" <CGAO@novell.com>
-
---- evms-2.5.5/plugins/disk/cache.c 2003-08-27 13:18:45.000000000 -0600
-+++ evms-2.5.5/plugins/disk/cache.c 2007-06-06 09:52:48.000000000 -0600
-@@ -49,7 +49,8 @@
- * Structure to hold information about a cache
- ***/
- typedef struct cache_entry_s {
-- storage_object_t * disk;
-+ u_int32_t dev_major;
-+ u_int32_t dev_minor;
- lsn_t sector;
- sector_count_t count;
- void * buffer;
-@@ -180,7 +181,8 @@
-
- cache_entry = hash_entry->next;
- while (cache_entry != hash_entry &&
-- (cache_entry->disk != disk ||
-+ (cache_entry->dev_major != disk->dev_major ||
-+ cache_entry->dev_minor != disk->dev_minor ||
- cache_entry->sector != sector ||
- cache_entry->count < count)) {
- cache_entry = cache_entry->next;
-@@ -191,8 +193,8 @@
- goto out;
- }
-
-- LOG_DEBUG("Read from cache. disk %s, sector %"PRIu64", count %"PRIu64".\n",
-- disk->name, sector, count);
-+ LOG_DEBUG("Read from cache. disk %s (%d:%d), sector %"PRIu64", count %"PRIu64".\n",
-+ disk->name, disk->dev_major, disk->dev_minor, sector, count);
- memcpy(buffer, cache_entry->buffer, count << EVMS_VSECTOR_SIZE_SHIFT);
- cache_hit_count++;
- rc = 0;
-@@ -228,7 +230,8 @@
-
- cache_entry = hash_entry->next;
- while (cache_entry != hash_entry &&
-- (cache_entry->disk != disk ||
-+ (cache_entry->dev_major != disk->dev_major ||
-+ cache_entry->dev_minor != disk->dev_minor ||
- cache_entry->sector != sector)) {
- cache_entry = cache_entry->next;
- }
-@@ -236,14 +239,14 @@
- if (cache_entry != hash_entry) {
- /* Found a cache entry. */
- if (cache_entry->count >= count) {
-- LOG_DEBUG("Cache entry already exists for disk %s, sector %"PRIu64".\n",
-- disk->name, sector);
-+ LOG_DEBUG("Cache entry already exists for disk %s (%d:%d), sector %"PRIu64".\n",
-+ disk->name, disk->dev_major, disk->dev_minor, sector);
- rc = EEXIST;
- goto out;
- }
-
-- LOG_DEBUG("Cache entry for disk %s, sector %"PRIu64" is too small.\n",
-- disk->name, sector);
-+ LOG_DEBUG("Cache entry for disk %s (%d:%d) sector %"PRIu64" is too small.\n",
-+ disk->name, disk->dev_major, disk->dev_minor, sector);
- LOG_DEBUG(" Has %"PRIu64" sectors; need %"PRIu64" sectors.\n",
- cache_entry->count, count);
- free(cache_entry->buffer);
-@@ -251,8 +254,8 @@
- cache_entry->count = 0;
- } else {
- /* Need a new cache entry. */
-- LOG_DEBUG("Create a new cache entry for disk %s, sector %"PRIu64", count %"PRIu64".\n",
-- disk->name, sector, count);
-+ LOG_DEBUG("Create a new cache entry for disk %s (%d:%d), sector %"PRIu64", count %"PRIu64".\n",
-+ disk->name, disk->dev_major, disk->dev_minor, sector, count);
- cache_entry = calloc(1, sizeof(cache_entry_t));
- if (!cache_entry) {
- LOG_SERIOUS("Could not allocate memory for a new cache entry.\n");
-@@ -260,17 +263,18 @@
- goto out;
- }
-
-- cache_entry->disk = disk;
-+ cache_entry->dev_major = disk->dev_major;
-+ cache_entry->dev_minor = disk->dev_minor;
- cache_entry->sector = sector;
- }
-
- if (cache_entry->buffer == NULL) {
-- LOG_DEBUG("Allocate a new buffer for the cache entry for disk %s, sector %"PRIu64", count %"PRIu64".\n",
-- disk->name, sector, count);
-+ LOG_DEBUG("Allocate a new buffer for the cache entry for disk %s (%d:%d), sector %"PRIu64", count %"PRIu64".\n",
-+ disk->name, disk->dev_major, disk->dev_minor, sector, count);
- cache_entry->buffer = malloc(count << EVMS_VSECTOR_SIZE_SHIFT);
- if (!cache_entry->buffer) {
-- LOG_SERIOUS("Could not allocate memory for a buffer for a cache entry for disk %s, sector %"PRIu64", count %"PRIu64".\n",
-- disk->name, sector, count);
-+ LOG_SERIOUS("Could not allocate memory for a buffer for a cache entry for disk %s (%d:%d), sector %"PRIu64", count %"PRIu64".\n",
-+ disk->name, disk->dev_major, disk->dev_minor, sector, count);
- if (cache_entry->prev) {
- list_delete(cache_entry);
- }
diff --git a/sys-fs/evms/files/2.5.5/get_geometry.patch b/sys-fs/evms/files/2.5.5/get_geometry.patch
deleted file mode 100644
index cc13b6451be7..000000000000
--- a/sys-fs/evms/files/2.5.5/get_geometry.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-This patch fixes a segmentation fault that can occur in the Local Disk Manager
-when the queries for getting the geometry of the disk return a value of zero
-for either the number of heads or the number of sectors per track.
-
---- evms-2.5.5/plugins/disk/localdskmgr.c 2006-02-24 13:53:21.000000000 -0600
-+++ evms-2.5.5-fix/plugins/disk/localdskmgr.c 2006-09-01 11:41:56.681089000 -0500
-@@ -1552,16 +1552,25 @@
-
- LOG_ENTRY();
-
-- /* Set defaults */
-- disk->geometry.heads = 255;
-- disk->geometry.sectors_per_track = 63;
--
- rc = get_partition_table_geometry(disk);
-
- if (rc != 0) {
-- get_kernel_geometry(disk);
-+ rc = get_kernel_geometry(disk);
-+ }
-+
-+ /* Set defaults if no valid geometry was found. */
-+ if (disk->geometry.heads == 0) {
-+ LOG_DEBUG("Disk %s: Heads is zero - setting to 255.\n",
-+ disk->name);
-+ disk->geometry.heads = 255;
-+ }
-+ if (disk->geometry.sectors_per_track == 0) {
-+ LOG_DEBUG("Disk %s: Sectors-per-track is zero - "
-+ "setting to 63.\n", disk->name);
-+ disk->geometry.sectors_per_track = 63;
- }
-
-+ /* Calculate number of cylinders based on other geometry fields. */
- disk->geometry.cylinders = disk->size /
- (disk->geometry.heads *
- disk->geometry.sectors_per_track *
diff --git a/sys-fs/evms/files/2.5.5/md_super_fix.patch b/sys-fs/evms/files/2.5.5/md_super_fix.patch
deleted file mode 100644
index 8ff1b4a22997..000000000000
--- a/sys-fs/evms/files/2.5.5/md_super_fix.patch
+++ /dev/null
@@ -1,96 +0,0 @@
---- evms-2.5.5/plugins/md/md_super.c 2006-02-22 14:34:53.000000000 -0600
-+++ evms-2.5.5.fix/plugins/md/md_super.c 2006-04-20 11:00:40.733364216 -0500
-@@ -1312,13 +1312,13 @@
-
- static int sb0_zero_superblock(md_member_t *member, boolean now)
- {
-- mdp_super_t sb;
-+ char buf[MD_SB_BYTES];
-
- LOG_ENTRY();
-
- if (now == TRUE) {
-- memset(&sb, 0, MD_SB_BYTES);
-- if ( WRITE(member->obj, member->super_offset, MD_SB_SECTORS, (char*)&sb)) {
-+ memset(buf, 0, MD_SB_BYTES);
-+ if ( WRITE(member->obj, member->super_offset, MD_SB_SECTORS, buf)) {
- LOG_EXIT_INT(EIO);
- return EIO;
- }
-@@ -1332,7 +1332,7 @@
-
- static int sb0_zero_saved_info(md_member_t *member, boolean now)
- {
-- md_saved_info_t info;
-+ char buf[MD_SAVED_INFO_BYTES];
- u_int64_t location;
-
- LOG_ENTRY();
-@@ -1341,8 +1341,8 @@
- location += MD_SB0_SAVED_INFO_SECTOR_OFFSET;
-
- if (now == TRUE) {
-- memset(&info, 0, sizeof(md_saved_info_t));
-- if ( WRITE(member->obj, location, MD_SAVED_INFO_SECTS, (char*)&info)) {
-+ memset(buf, 0, MD_SAVED_INFO_BYTES);
-+ if ( WRITE(member->obj, location, MD_SAVED_INFO_SECTS, buf)) {
- LOG_EXIT_INT(EIO);
- return EIO;
- }
-@@ -2451,6 +2451,7 @@
- {
- int rc = 0;
- mdp_sb_1_t *duplicate = NULL;
-+ mdp_sb_1_t *master;
- md_volume_t *vol;
-
- LOG_ENTRY();
-@@ -2462,9 +2463,16 @@
- }
-
- vol = member->vol;
-+ master = (mdp_sb_1_t *)vol->sb;
-+
-+ if (vol->flags & (MD_NEW_REGION | MD_DEGRADED)) {
-+ LOG_WARNING("%s: Creating new array with missing disk,"
-+ " set resync_offset to -1.\n", vol->name);
-+ master->resync_offset = -1;
-+ }
-
- /* Copy from master superblock */
-- rc = sb1_duplicate_sb(&member->sb, vol->sb);
-+ rc = sb1_duplicate_sb(&member->sb, master);
- if (rc) {
- goto out;
- }
-@@ -2602,8 +2610,8 @@
- member->obj->name, member->super_offset);
-
- if (now == TRUE) {
-- memset(&sb, 0, MD_SB_1_BYTES);
-- if ( WRITE(member->obj, member->super_offset, MD_SB_1_SECTORS, (char*)&sb)) {
-+ memset(sb, 0, MD_SB_1_BYTES);
-+ if ( WRITE(member->obj, member->super_offset, MD_SB_1_SECTORS, sb)) {
- LOG_EXIT_INT(EIO);
- return EIO;
- }
-@@ -2616,7 +2624,7 @@
-
- static int sb1_zero_saved_info(md_member_t *member, boolean now)
- {
-- md_saved_info_t info;
-+ char buf[MD_SAVED_INFO_BYTES];
- u_int64_t location;
-
- LOG_ENTRY();
-@@ -2627,8 +2635,8 @@
- member->obj->name, location);
-
- if (now == TRUE) {
-- memset(&info, 0, sizeof(md_saved_info_t));
-- if ( WRITE(member->obj, location, MD_SAVED_INFO_SECTS, (char*)&info)) {
-+ memset(buf, 0, MD_SAVED_INFO_BYTES);
-+ if ( WRITE(member->obj, location, MD_SAVED_INFO_SECTS, buf) ) {
- LOG_EXIT_INT(EIO);
- return EIO;
- }
diff --git a/sys-fs/evms/files/2.5.5/ntfs_unmkfs.patch b/sys-fs/evms/files/2.5.5/ntfs_unmkfs.patch
deleted file mode 100644
index 6e62c28eb5d3..000000000000
--- a/sys-fs/evms/files/2.5.5/ntfs_unmkfs.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-This patch fixes a bug in the NTFS unmkfs. The offsets for the superblocks
-were calculated incorrectly by using the filesystem size rather than using
-the volume size. The result is that sometimes the superblocks didn't get
-wiped out, leaving the NTFS file system still on the volume.
-
---- evms-2.5.5/plugins/ntfs/utils.c 2006-02-24 10:36:54.000000000 -0600
-+++ evms-2.5.5-fix/plugins/ntfs/utils.c 2006-05-04 16:47:26.243120000 -0500
-@@ -313,7 +313,6 @@
- int clear_ntfs_boot_sectors(logical_volume_t * ev)
- {
- int rc = 0;
-- private_data_t * pd = (private_data_t *) ev->private_data;
- int fd;
- void * block;
- int32_t bytes_written;
-@@ -346,7 +345,7 @@
- }
-
- /* Wipe out the NT4+ backup boot sector. */
-- bytes_written = EngFncs->write_volume(ev, fd, block, NTFS_BLOCK_SIZE, (pd->fs_size << EVMS_VSECTOR_SIZE_SHIFT) - NTFS_BLOCK_SIZE);
-+ bytes_written = EngFncs->write_volume(ev, fd, block, NTFS_BLOCK_SIZE, (ev->vol_size << EVMS_VSECTOR_SIZE_SHIFT) - NTFS_BLOCK_SIZE);
- if (bytes_written != NTFS_BLOCK_SIZE) {
- LOG_WARNING("Failed to clear the primary boot sector on volume %s. "
- "Only %d bytes were written.\n",
-@@ -355,7 +354,7 @@
- }
-
- /* Wipe out the NT3.51- backup boot sector. */
-- bytes_written = EngFncs->write_volume(ev, fd, block, NTFS_BLOCK_SIZE, (pd->fs_size << (EVMS_VSECTOR_SIZE_SHIFT - 1)));
-+ bytes_written = EngFncs->write_volume(ev, fd, block, NTFS_BLOCK_SIZE, (ev->vol_size << (EVMS_VSECTOR_SIZE_SHIFT - 1)));
- if (bytes_written != NTFS_BLOCK_SIZE) {
- LOG_WARNING("Failed to clear the primary boot sector on volume %s. "
- "Only %d bytes were written.\n",
diff --git a/sys-fs/evms/files/2.5.5/raid5_algorithm.patch b/sys-fs/evms/files/2.5.5/raid5_algorithm.patch
deleted file mode 100644
index cae213b436f8..000000000000
--- a/sys-fs/evms/files/2.5.5/raid5_algorithm.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-This patch fixes the md plug-in so that it will set the desired parity algorithm
-in the superblock for the RAID5 array. Previously it always set the algorithm
-to 0, i.e., left asymmetric.
-
---- evms-2.5.5/plugins/md/raid5_mgr.c 2006-02-22 10:05:17.000000000 -0600
-+++ evms-2.5.5-fix/plugins/md/raid5_mgr.c 2006-06-08 13:59:56.648351368 -0500
-@@ -1932,7 +1932,7 @@
- }
- }
-
-- rc = md_init_sb(volume, &sb_ver, raid_level, 0, size, chunksize);
-+ rc = md_init_sb(volume, &sb_ver, raid_level, parity_algorithm, size, chunksize);
- if (rc) {
- goto error_free;
- }
diff --git a/sys-fs/evms/files/2.5.5/raid5_degrade_fix.patch b/sys-fs/evms/files/2.5.5/raid5_degrade_fix.patch
deleted file mode 100644
index 973f65011958..000000000000
--- a/sys-fs/evms/files/2.5.5/raid5_degrade_fix.patch
+++ /dev/null
@@ -1,38 +0,0 @@
---- evms-2.5.5/plugins/md/raid5_mgr.c 2006-02-22 10:05:17.000000000 -0600
-+++ evms-2.5.5.miket/plugins/md/raid5_mgr.c 2006-04-07 15:01:00.837225392 -0500
-@@ -102,6 +102,7 @@
- md_super_info_t info;
- mdu_disk_info_t d;
- int i, count, length = 0;
-+ int conf_disks;
- int rc = 0;
-
- LOG_ENTRY();
-@@ -117,9 +118,24 @@
- conf->failed_disk_index = -1;
-
- LOG_DEBUG("%s: info.raid_disks: %d, info.nr_disks: %d.\n", vol->name, info.raid_disks, info.nr_disks);
-- conf->stripe.nr_disks = (info.raid_disks > info.nr_disks) ? info.raid_disks : info.nr_disks;
-- conf->disks = EngFncs->engine_alloc(sizeof(disk_info_t) * conf->stripe.nr_disks);
-- conf->stripe.chunks = EngFncs->engine_alloc(sizeof(chunk_t) * conf->stripe.nr_disks);
-+ conf_disks = (info.raid_disks > info.nr_disks) ? info.raid_disks : info.nr_disks;
-+
-+ /*
-+ * If a spare is added to fix a degrade array,
-+ * its index will be out nr_disks range.
-+ * Check disk index of each member and adjust conf_disks if necessary.
-+ */
-+ LIST_FOR_EACH(vol->members, iter, member) {
-+ if (member->dev_number >= conf_disks) {
-+ LOG_WARNING("%s: Changing number of disk entries:"
-+ " current value %d, new value %d.\n",
-+ vol->name, conf_disks, member->dev_number+1);
-+ conf_disks = member->dev_number + 1;
-+ }
-+ }
-+
-+ conf->disks = EngFncs->engine_alloc(sizeof(disk_info_t) * conf_disks);
-+ conf->stripe.chunks = EngFncs->engine_alloc(sizeof(chunk_t) * conf_disks);
-
- /* Set the volume to which the stripe belongs. */
- conf->stripe.volume = vol;
diff --git a/sys-fs/evms/files/2.5.5/raid5_degrade_fix_v2.patch b/sys-fs/evms/files/2.5.5/raid5_degrade_fix_v2.patch
deleted file mode 100644
index c49df204587e..000000000000
--- a/sys-fs/evms/files/2.5.5/raid5_degrade_fix_v2.patch
+++ /dev/null
@@ -1,41 +0,0 @@
---- evms-2.5.5a/plugins/md/raid5_mgr.c 2006-02-22 10:05:17.000000000 -0600
-+++ evms-2.5.5b/plugins/md/raid5_mgr.c 2006-05-05 12:48:46.492961984 -0500
-@@ -102,6 +102,7 @@
- md_super_info_t info;
- mdu_disk_info_t d;
- int i, count, length = 0;
-+ int conf_disks;
- int rc = 0;
-
- LOG_ENTRY();
-@@ -117,9 +118,27 @@
- conf->failed_disk_index = -1;
-
- LOG_DEBUG("%s: info.raid_disks: %d, info.nr_disks: %d.\n", vol->name, info.raid_disks, info.nr_disks);
-- conf->stripe.nr_disks = (info.raid_disks > info.nr_disks) ? info.raid_disks : info.nr_disks;
-- conf->disks = EngFncs->engine_alloc(sizeof(disk_info_t) * conf->stripe.nr_disks);
-- conf->stripe.chunks = EngFncs->engine_alloc(sizeof(chunk_t) * conf->stripe.nr_disks);
-+ conf_disks = (info.raid_disks > info.nr_disks) ? info.raid_disks : info.nr_disks;
-+
-+ /*
-+ * If a spare is added to fix a degrade array and recovery is running,
-+ * its index could be greater than nr_disks.
-+ * We should take this into account when allocating memory for disks.
-+ *
-+ * Check disk index of each member and adjust conf_disks if necessary.
-+ */
-+ LIST_FOR_EACH(vol->members, iter, member) {
-+ if (member->dev_number >= conf_disks) {
-+ LOG_WARNING("%s: Changing number of disk entries:"
-+ " current value %d, new value %d.\n",
-+ vol->name, conf_disks, member->dev_number+1);
-+ conf_disks = member->dev_number + 1;
-+ }
-+ }
-+
-+ conf->disks = EngFncs->engine_alloc(sizeof(disk_info_t) * conf_disks);
-+ conf->stripe.nr_disks = conf_disks;
-+ conf->stripe.chunks = EngFncs->engine_alloc(sizeof(chunk_t) * conf_disks);
-
- /* Set the volume to which the stripe belongs. */
- conf->stripe.volume = vol;
diff --git a/sys-fs/evms/files/2.5.5/raid5_remove_spare_fix.patch b/sys-fs/evms/files/2.5.5/raid5_remove_spare_fix.patch
deleted file mode 100644
index 8cd858618a55..000000000000
--- a/sys-fs/evms/files/2.5.5/raid5_remove_spare_fix.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-If a spare is added to fix a degraded raid5 array and the resync does not run,
-the kernel probably still has it as a spare. The user should have the option to
-remove this spare disk from the array.
-
-Note: This patch should be applied on top of raid5_degrade_fix.patch:
-http://evms.sourceforge.net/patches/2.5.5/engine/raid5_degrade_fix.patch
-
---- evms-2.5.5a/plugins/md/raid5_mgr.c 2006-05-10 11:33:10.173604904 -0500
-+++ evms-2.5.5b/plugins/md/raid5_mgr.c 2006-05-10 11:27:27.348722208 -0500
-@@ -3416,15 +3416,9 @@
- /* Clear out the spare_disks list. */
- EngFncs->delete_all_elements(spare_disks);
-
-- /*
-- * If there is only one spare and the array is in degrade mode, then
-- * the spare cannot be removed.
-- */
-- if (vol->spare_disks <= 1) {
-- if (vol->flags & MD_DEGRADED) {
-- LOG_EXIT_INT(0);
-- return 0;
-- }
-+ if ((vol->flags & MD_DEGRADED) && (vol->spare_disks > 0)) {
-+ LOG_WARNING("%s is degraded, but there are %d spare disk(s).\n",
-+ vol->name, vol->spare_disks);
- }
-
- LIST_FOR_EACH(vol->members, iter, member) {
diff --git a/sys-fs/evms/files/2.5.5/raid5_remove_spare_fix_2.patch b/sys-fs/evms/files/2.5.5/raid5_remove_spare_fix_2.patch
deleted file mode 100644
index 21670c44b5a3..000000000000
--- a/sys-fs/evms/files/2.5.5/raid5_remove_spare_fix_2.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-This is the second attempt to fix remove spare for active degraded raid5 array.
-
-This patch should be applied on top of raid5_remove_spare_fix.patch
-
---- evms-2.5.5a/plugins/md/raid5_mgr.c 2006-05-10 15:16:31.199339328 -0500
-+++ evms-2.5.5b/plugins/md/raid5_mgr.c 2006-05-10 15:18:17.993104208 -0500
-@@ -4338,7 +4338,9 @@
- * least one spare is available.
- */
- if (count &&
-- (conf->active_disks < conf->raid_disks)) {
-+ (volume->flags & MD_DEGRADED) &&
-+ (volume->spare_disks == 1) &&
-+ (!(volume->region->flags & SOFLAG_ACTIVE)) ) {
-
- MESSAGE(_("At least one spare object must be left for recovering degraded array %s.\n"),
- volume->region->name);
-@@ -5684,10 +5686,13 @@
- LOG_EXIT_INT(rc);
- return rc;
- }
-- if (vol->flags & MD_DEGRADED) {
-- LOG_ERROR("Array %s is running in degrade mode. "
-- "At least one spare must be left for the array to recover.\n",
-+ if ((vol->flags & MD_DEGRADED) &&
-+ (!(vol->region->flags & SOFLAG_ACTIVE)) ) {
-+ MESSAGE(_("Array %s is running in degrade mode. "
-+ "At least one spare must be left for the array to recover.\n"),
- vol->region->name);
-+ LOG_EXIT_INT(EINVAL);
-+ return EINVAL;
- }
- break;
-
diff --git a/sys-fs/evms/files/evms-2.5.5-as-needed.patch b/sys-fs/evms/files/evms-2.5.5-as-needed.patch
deleted file mode 100644
index 0c49b8890ed5..000000000000
--- a/sys-fs/evms/files/evms-2.5.5-as-needed.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- evms-2.5.5/tests/Makefile.in.orig 2006-06-01 15:18:29.508172755 +0200
-+++ evms-2.5.5/tests/Makefile.in 2006-06-01 15:18:44.949899142 +0200
-@@ -36,7 +36,7 @@
- rm -f Makefile
-
- evms_clean: % : %.o
-- $(CC) -L$(top_srcdir)/engine $(EVMS_LDFLAGS) $(EVMS_LIBS) $(PTHREAD_LIBS) $(EFENCE_LIBS) -levms -o $@ $@.o
-+ $(CC) -L$(top_srcdir)/engine $(EVMS_LDFLAGS) $@.o $(EVMS_LIBS) $(PTHREAD_LIBS) $(EFENCE_LIBS) -levms -o $@
-
- evms_deactivate seq_dd lvm2_crc: % : %.o
- $(CC) -o $@ $@.o
diff --git a/sys-fs/evms/files/evms-2.5.5-glib_dep.patch b/sys-fs/evms/files/evms-2.5.5-glib_dep.patch
deleted file mode 100644
index 6c471e049be2..000000000000
--- a/sys-fs/evms/files/evms-2.5.5-glib_dep.patch
+++ /dev/null
@@ -1,45 +0,0 @@
---- root/aclocal.m4.old 2006-10-21 18:51:30.000000000 +0200
-+++ aclocal.m4 2006-10-21 20:48:07.000000000 +0200
-@@ -495,8 +495,8 @@
- AC_MSG_NOTICE([ not building text-mode ... requires ncurses library])
- elif test "$have_panel" = "no"; then
- AC_MSG_NOTICE([ not building text-mode ... requires panel library])
--elif test "$have_ha_glib" = "no"; then
-- AC_MSG_NOTICE([ not building text-mode ... requires $ha_glib library])
-+#elif test "$have_ha_glib" = "no"; then
-+# AC_MSG_NOTICE([ not building text-mode ... requires $ha_glib library])
- elif test "$have_math" = "no"; then
- AC_MSG_NOTICE([ not building text-mode ... requires math library])
- else
-@@ -920,7 +920,16 @@
- fi
- fi
-
-+ha_glib=glib
-+have_ha_glib=$have_glib
-+HA_GLIB_CPPFLAGS=$GLIB_CPPFLAGS
-+HA_GLIB_LIBS=$GLIB_LIBS
-+
- if test "x$no_glib2" = x; then
-+ ha_glib=glib2
-+ have_ha_glib=$have_glib2
-+ HA_GLIB_CPPFLAGS=$GLIB2_CPPFLAGS
-+ HA_GLIB_LIBS=$GLIB2_LIBS
- AC_MSG_RESULT([yes])
- ifelse([$2], , :, [$2])
- else
-@@ -1286,10 +1295,10 @@
- [ifelse([$3], , :, [$3])])
- fi
-
--ha_glib=glib
--have_ha_glib=$have_glib
--HA_GLIB_CPPFLAGS=$GLIB_CPPFLAGS
--HA_GLIB_LIBS=$GLIB_LIBS
-+#ha_glib=glib
-+#have_ha_glib=$have_glib
-+#HA_GLIB_CPPFLAGS=$GLIB_CPPFLAGS
-+#HA_GLIB_LIBS=$GLIB_LIBS
-
- if test "$have_ha_version" = "yes"; then
- if test -d /usr/include/heartbeat -a \
diff --git a/sys-fs/evms/files/evms-2.5.5-ocfs2.patch b/sys-fs/evms/files/evms-2.5.5-ocfs2.patch
deleted file mode 100644
index af8f0ee5dbe4..000000000000
--- a/sys-fs/evms/files/evms-2.5.5-ocfs2.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- plugins/ocfs2/ocfs2.c.orig 2006-09-12 18:45:36.000000000 +1000
-+++ plugins/ocfs2/ocfs2.c 2006-09-12 18:46:46.000000000 +1000
-@@ -636,6 +636,7 @@ static int fsim_test_version(void)
- int status;
- int bytes_read;
- int rc;
-+ float ver_num;
-
- LOG_ENTRY();
-
-@@ -672,8 +673,9 @@ static int fsim_test_version(void)
- LOG_DEBUG("Reading output from process %d on fd %d.\n", pidm, fds2[0]);
- bytes_read = read(fds2[0], buffer, 1024);
- if (bytes_read > 0) {
-- ver = strstr(buffer, "1.1");
-- if (!ver) {
-+ ver = strstr(buffer, "1.");
-+ ver_num = atof(ver);
-+ if(ver_num < 1.1) {
- rc = EINVAL;
- } else {
- oc2_version = 2;
diff --git a/sys-fs/evms/files/evms-2.5.5-pagesize.patch b/sys-fs/evms/files/evms-2.5.5-pagesize.patch
deleted file mode 100644
index 7526247a9ca9..000000000000
--- a/sys-fs/evms/files/evms-2.5.5-pagesize.patch
+++ /dev/null
@@ -1,58 +0,0 @@
-Index: evms-2.5.5/plugins/swap/swapfs.c
-===================================================================
---- evms-2.5.5.orig/plugins/swap/swapfs.c
-+++ evms-2.5.5/plugins/swap/swapfs.c
-@@ -27,7 +27,6 @@
- #include <plugin.h>
- #include <fcntl.h>
- #include <sys/wait.h>
--#include <asm/page.h> /* to get PAGE_SIZE */
- #include <sys/swap.h>
-
- #include "swapfs.h"
-@@ -341,7 +340,7 @@ static int swap_get_fs_limits(logical_vo
-
- *max_volume_size = (sector_count_t)-1; /* No limit. */
- *max_object_size = (sector_count_t)-1; /* No limit. */
-- *min_size = (sector_count_t)(PAGE_SIZE * 10); /* 10 page minimum. */
-+ *min_size = (sector_count_t)(sysconf(_SC_PAGESIZE) * 10); /* 10 page minimum. */
-
- LOG_EXTRA("Volume: %s, min: %"PRIu64", max: %"PRIu64"\n",
- volume->name, *min_size, *max_volume_size);
-Index: evms-2.5.5/plugins/swap/swapfs.h
-===================================================================
---- evms-2.5.5.orig/plugins/swap/swapfs.h
-+++ evms-2.5.5/plugins/swap/swapfs.h
-@@ -47,8 +47,8 @@ extern engine_functions_t *EngFncs;
- #define PUT 1
- #define SWAPFS_MAGIC_STRING "SWAP_SPACE"
- #define SWAPFS_MAGIC_STRING2 "SWAPSPACE2"
--#define SWAPFS_MIN_SIZE (PAGE_SIZE / EVMS_VSECTOR_SIZE * 10)
--#define SWAP_MAGIC_OFFSET_IN_BYTES (PAGE_SIZE - 10) /* last 10 bytes of first page */
-+#define SWAPFS_MIN_SIZE (sysconf(_SC_PAGESIZE) / EVMS_VSECTOR_SIZE * 10)
-+#define SWAP_MAGIC_OFFSET_IN_BYTES (sysconf(_SC_PAGESIZE) - 10) /* last 10 bytes of first page */
-
- #define EVMS_Task_swapon EVMS_Task_Plugin_Function + 1
- #define EVMS_Task_swapoff EVMS_Task_Plugin_Function + 2
-Index: evms-2.5.5/plugins/xfs/fsimxfs.h
-===================================================================
---- evms-2.5.5.orig/plugins/xfs/fsimxfs.h
-+++ evms-2.5.5/plugins/xfs/fsimxfs.h
-@@ -19,7 +19,7 @@
- */
-
- #include <uuid/uuid.h>
--#include <asm/page.h>
-+#include <unistd.h>
-
- extern plugin_record_t xfs_plugin_record;
- extern plugin_record_t * my_plugin_record;
-@@ -165,7 +165,7 @@ typedef struct xfs_volume {
- * superblock. This is not the same as the superblock structure, since all of
- * this space is not currently being used.
- */
--#define SIZE_OF_SUPER PAGE_SIZE
-+#define SIZE_OF_SUPER sysconf(_SC_PAGESIZE)
-
- /* Fixed byte offset of primary superblock */
- #define XFS_SUPER1_OFF 0x00
diff --git a/sys-fs/evms/files/evms-2.5.5-snapshot.patch b/sys-fs/evms/files/evms-2.5.5-snapshot.patch
deleted file mode 100644
index 1a27085581c0..000000000000
--- a/sys-fs/evms/files/evms-2.5.5-snapshot.patch
+++ /dev/null
@@ -1,31 +0,0 @@
---- evms-2.5.5/engine/dm-targets.c.orig 2005-11-07 15:46:41.000000000 +0000
-+++ evms-2.5.5/engine/dm-targets.c 2007-09-08 23:54:23.000000000 +0100
-@@ -921,14 +921,14 @@
- *
- * Generate an ASCII constructor string for a snapshot target.
- * A snapshot string has the form:
-- * <org_major>:<org_minor> <snap_major>:<snap_minor> <p|n> <chunk_size> <org_parent_major>:<org_parent_minor>
-+ * <org_major>:<org_minor> <snap_major>:<snap_minor> <p|n> <chunk_size>
- **/
- static int snapshot_build_params(dm_target_t *target)
- {
- dm_target_snapshot_t *snapshot = target->data.snapshot;
- char *format = (dm_get_version() == 3) ?
-- "%x:%x %x:%x %c %u %x:%x" :
-- "%u:%u %u:%u %c %u %u:%u";
-+ "%x:%x %x:%x %c %u" :
-+ "%u:%u %u:%u %c %u" ;
- int rc = ENOMEM;
-
- LOG_PROC_ENTRY();
-@@ -938,9 +938,7 @@
- snprintf(target->params, 50, format,
- snapshot->origin.major, snapshot->origin.minor,
- snapshot->snapshot.major, snapshot->snapshot.minor,
-- (snapshot->persistent) ? 'p' : 'n', snapshot->chunk_size,
-- snapshot->origin_parent.major,
-- snapshot->origin_parent.minor);
-+ (snapshot->persistent) ? 'p' : 'n', snapshot->chunk_size);
- rc = 0;
- }
-
diff --git a/sys-fs/evms/files/evms-2.5.5-use_disk_group.patch b/sys-fs/evms/files/evms-2.5.5-use_disk_group.patch
deleted file mode 100644
index 5130816f24f3..000000000000
--- a/sys-fs/evms/files/evms-2.5.5-use_disk_group.patch
+++ /dev/null
@@ -1,48 +0,0 @@
---- evms-2.5.5.orig/engine/discover.c
-+++ evms-2.5.5/engine/discover.c
-@@ -28,6 +28,8 @@
- #include <unistd.h>
- #include <sys/stat.h>
- #include <sys/time.h>
-+#include <sys/types.h>
-+#include <grp.h>
-
- #include "fullengine.h"
- #include "discover.h"
-@@ -162,9 +164,23 @@
- int rc = 0;
- dev_t devt = makedev(major, minor);
- char dir_name[EVMS_OBJECT_NODE_PATH_LEN + EVMS_NAME_SIZE + 1];
-+ struct group *disk;
-
- LOG_PROC_ENTRY();
-
-+ /*
-+ * Debian-specific: We want all devices to be owned by the
-+ * group disk, not root.
-+ */
-+ disk = getgrnam("disk");
-+ if (disk) {
-+ if (setegid(disk->gr_gid) != 0) {
-+ LOG_WARNING("could not setegid to group disk (%s), continuing as group root\n", strerror(errno));
-+ }
-+ } else {
-+ LOG_WARNING("could not find group disk (%s), continuing as group root\n", strerror(errno));
-+ }
-+
- /* Make sure major:minor is valid. */
- if (major != 0) {
- switch (hasa_dev_node(name, major, minor)) {
-@@ -227,6 +243,12 @@
- LOG_DEBUG("Device node %s is for major %d, minor %d.\n", name, major, minor);
- }
-
-+ if (disk) {
-+ if (setegid(getgid()) != 0) {
-+ LOG_WARNING("could not setegid back to old group (%s)\n", strerror(errno));
-+ }
-+ }
-+
- LOG_PROC_EXIT_INT(rc);
- return rc;
- }
diff --git a/sys-fs/evms/files/evms.conf-2.5.5-r9 b/sys-fs/evms/files/evms.conf-2.5.5-r9
deleted file mode 100644
index 154aaf061243..000000000000
--- a/sys-fs/evms/files/evms.conf-2.5.5-r9
+++ /dev/null
@@ -1 +0,0 @@
-RC_AFTER="mdraid"
diff --git a/sys-fs/evms/files/evms.initd b/sys-fs/evms/files/evms.initd
deleted file mode 100755
index 5db81ce48a39..000000000000
--- a/sys-fs/evms/files/evms.initd
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/evms/files/evms.initd,v 1.3 2008/02/01 13:02:23 flameeyes Exp $
-
-depend() {
- if [ -e /lib/librc.so ]; then
- # on baselayout-1 this causes
- # a dependency loop with checkroot (before *)
- before checkroot root
- fi
-}
-
-start() {
- if [ ! -e /lib/librc.so ]; then
- eerror "The ${SVCNAME} init script is written for baselayout-2"
- eerror "Please do not use it with baselayout-1"
- return 1
- fi
- if [ -z ${CDBOOT} ] ; then
- ebegin "Activating EVMS"
- evms_activate
- retval=$?
- eend ${retval}
- fi
-}
diff --git a/sys-fs/evms/files/evms.initd-2.5.5-r11 b/sys-fs/evms/files/evms.initd-2.5.5-r11
deleted file mode 100644
index 5d96ac027408..000000000000
--- a/sys-fs/evms/files/evms.initd-2.5.5-r11
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/evms/files/evms.initd-2.5.5-r11,v 1.1 2010/01/24 21:13:01 williamh Exp $
-
-depend() {
- if [ -e /lib/librc.so ]; then
- # on baselayout-1 this causes
- # a dependency loop with checkroot (before *)
- before checkfs fsck
- after modules
- fi
-}
-
-start() {
- if [ ! -e /lib/librc.so ]; then
- eerror "The ${SVCNAME} init script is written for baselayout-2"
- eerror "Please do not use it with baselayout-1"
- return 1
- fi
-
- if [ -z ${CDBOOT} ] ; then
- ebegin "Activating EVMS"
- evms_activate
- retval=$?
- eend ${retval}
- fi
-}
diff --git a/sys-fs/evms/files/evms.initd-2.5.5-r9 b/sys-fs/evms/files/evms.initd-2.5.5-r9
deleted file mode 100755
index aa9bbcf41af8..000000000000
--- a/sys-fs/evms/files/evms.initd-2.5.5-r9
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/evms/files/evms.initd-2.5.5-r9,v 1.2 2008/02/01 13:02:23 flameeyes Exp $
-
-depend() {
- if [ -e /lib/librc.so ]; then
- # on baselayout-1 this causes
- # a dependency loop with checkroot (before *)
- before checkfs fsck
- after modules
- fi
-}
-
-start() {
- if [ ! -e /lib/librc.so ]; then
- eerror "The ${SVCNAME} init script is written for baselayout-2"
- eerror "Please do not use it with baselayout-1"
- return 1
- fi
-
- start_addon evms
-}
diff --git a/sys-fs/evms/files/evms2-start.sh b/sys-fs/evms/files/evms2-start.sh
deleted file mode 100644
index 90ffdea882b2..000000000000
--- a/sys-fs/evms/files/evms2-start.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-# /lib/rcscripts/addons/evms-start.sh: Setup evms volumes at boot
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/evms/files/evms2-start.sh,v 1.4 2008/09/08 08:57:09 dev-zero Exp $
-
-if [ -z ${CDBOOT} ] ; then
- ebegin "Activating EVMS"
- evms_activate
- retval=$?
- eend ${retval}
-fi
diff --git a/sys-fs/evms/metadata.xml b/sys-fs/evms/metadata.xml
deleted file mode 100644
index fbe09fa6f428..000000000000
--- a/sys-fs/evms/metadata.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-
-<pkgmetadata>
- <herd>base-system</herd>
- <maintainer>
- <email>dev-zero@gentoo.org</email>
- <name>Tiziano Müller</name>
- </maintainer>
- <longdescription>
- evms is a volume management system written by IBM, it's open source
- </longdescription>
- <use>
- <flag name='hb'>Enable support for heartbeat-1</flag>
- <flag name='hb2'>Enable support for heartbeat-2</flag>
- </use>
-</pkgmetadata>