summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-fs/device-mapper/ChangeLog691
-rw-r--r--sys-fs/device-mapper/Manifest59
-rw-r--r--sys-fs/device-mapper/device-mapper-1.02.19-r1.ebuild58
-rw-r--r--sys-fs/device-mapper/device-mapper-1.02.19.ebuild55
-rw-r--r--sys-fs/device-mapper/device-mapper-1.02.22-r1.ebuild68
-rw-r--r--sys-fs/device-mapper/device-mapper-1.02.22-r3.ebuild69
-rw-r--r--sys-fs/device-mapper/device-mapper-1.02.22-r4.ebuild69
-rw-r--r--sys-fs/device-mapper/device-mapper-1.02.22-r5.ebuild71
-rw-r--r--sys-fs/device-mapper/device-mapper-1.02.22.ebuild64
-rw-r--r--sys-fs/device-mapper/device-mapper-1.02.24-r1.ebuild74
-rw-r--r--sys-fs/device-mapper/device-mapper-1.02.24.ebuild70
-rw-r--r--sys-fs/device-mapper/device-mapper-1.02.25.ebuild74
-rw-r--r--sys-fs/device-mapper/device-mapper-1.02.26.ebuild74
-rw-r--r--sys-fs/device-mapper/device-mapper-1.02.27.ebuild74
-rw-r--r--sys-fs/device-mapper/device-mapper-1.02.28.ebuild76
-rw-r--r--sys-fs/device-mapper/files/1.02.22-dmeventd.initd21
-rw-r--r--sys-fs/device-mapper/files/64-device-mapper.rules-1.02.1933
-rw-r--r--sys-fs/device-mapper/files/64-device-mapper.rules-1.02.2225
-rw-r--r--sys-fs/device-mapper/files/64-device-mapper.rules-1.02.22-r525
-rw-r--r--sys-fs/device-mapper/files/device-mapper-1.02.22-export-format-r1.diff300
-rw-r--r--sys-fs/device-mapper/files/device-mapper-1.02.22-export-format.diff295
-rw-r--r--sys-fs/device-mapper/files/device-mapper-1.02.24-export-format.diff300
-rw-r--r--sys-fs/device-mapper/files/device-mapper-1.02.26-export-format.diff300
-rw-r--r--sys-fs/device-mapper/files/device-mapper-1.02.27-export-format.diff294
-rw-r--r--sys-fs/device-mapper/files/device-mapper-1.02.28-asneeded.patch12
-rw-r--r--sys-fs/device-mapper/files/device-mapper.conf-1.02.22-r31
-rw-r--r--sys-fs/device-mapper/files/device-mapper.rc23
-rw-r--r--sys-fs/device-mapper/files/device-mapper.rc-1.02.22-r324
-rw-r--r--sys-fs/device-mapper/files/dm-start.sh86
-rw-r--r--sys-fs/device-mapper/files/dmtab12
-rw-r--r--sys-fs/device-mapper/metadata.xml11
31 files changed, 0 insertions, 3408 deletions
diff --git a/sys-fs/device-mapper/ChangeLog b/sys-fs/device-mapper/ChangeLog
deleted file mode 100644
index 149cb878c736..000000000000
--- a/sys-fs/device-mapper/ChangeLog
+++ /dev/null
@@ -1,691 +0,0 @@
-# ChangeLog for sys-fs/device-mapper
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/device-mapper/ChangeLog,v 1.127 2013/03/17 16:18:37 hwoarang Exp $
-
- 17 Mar 2013; Markos Chandras <hwoarang@gentoo.org> metadata.xml:
- Add proxy-maintainers to metadata.xml
-
- 06 Feb 2011; Mart Raudsepp <leio@gentoo.org> device-mapper-1.02.19.ebuild,
- device-mapper-1.02.22-r5.ebuild:
- Drop to ~mips
-
- 08 Apr 2010; Samuli Suominen <ssuominen@gentoo.org>
- device-mapper-1.02.28.ebuild:
- Fix LICENSE to include also LGPL-2.1 wrt #263611 by Justin Bronder.
-
- 21 Dec 2009; Samuli Suominen <ssuominen@gentoo.org>
- device-mapper-1.02.28.ebuild, +files/device-mapper-1.02.28-asneeded.patch:
- Fix building with -Wl,--as-needed wrt #259569 by James C. Georgas.
-
-*device-mapper-1.02.28 (07 Nov 2008)
-
- 07 Nov 2008; Robin H. Johnson <robbat2@gentoo.org>
- +device-mapper-1.02.28.ebuild:
- Version bump.
-
- 28 Oct 2008; Doug Goldstein <cardoe@gentoo.org>
- files/device-mapper.rc-1.02.22-r3:
- fix logic in previous change for bug #229903. Pointed out by Walter Meinl
- <wuno@lsvw.de>
-
- 26 Oct 2008; Mike Frysinger <vapier@gentoo.org>
- device-mapper-1.02.27.ebuild:
- Enable pkg-config and tweak how we install into /lib #235256 by Xake.
-
- 26 Oct 2008; Mike Frysinger <vapier@gentoo.org>
- files/device-mapper.rc-1.02.22-r3:
- Check for /etc/init.d/root rather than /lib/librc.so to avoid multilib
- issues #229903 by Albin Stjerna.
-
-*device-mapper-1.02.27 (28 Jun 2008)
-
- 28 Jun 2008; Robin H. Johnson <robbat2@gentoo.org>
- +files/device-mapper-1.02.27-export-format.diff,
- +device-mapper-1.02.27.ebuild:
- Version bump, dep for the latest lvm2.
-
- 23 Jun 2008; Raúl Porcel <armin76@gentoo.org>
- device-mapper-1.02.26.ebuild:
- ia64/sparc stable wrt #207612
-
- 21 Jun 2008; Markus Rothe <corsair@gentoo.org>
- device-mapper-1.02.26.ebuild:
- Stable on ppc64; bug #207612
-
- 16 Jun 2008; Jeroen Roovers <jer@gentoo.org> device-mapper-1.02.26.ebuild:
- Stable for HPPA (bug #207612).
-
- 14 Jun 2008; nixnut <nixnut@gentoo.org> ChangeLog:
- Stable on ppc wrt bug 207612
-
-*device-mapper-1.02.26 (08 Jun 2008)
-
- 08 Jun 2008; Robin H. Johnson <robbat2@gentoo.org>
- +files/device-mapper-1.02.26-export-format.diff,
- +device-mapper-1.02.26.ebuild:
- Version bump, with new output-field-name prefix support.
-
- 21 Apr 2008; Jeroen Roovers <jer@gentoo.org>
- device-mapper-1.02.24-r1.ebuild:
- Stable for HPPA (bug #217740).
-
- 21 Apr 2008; Raúl Porcel <armin76@gentoo.org>
- device-mapper-1.02.24-r1.ebuild:
- ia64/sparc stable wrt #217740
-
- 20 Apr 2008; Markus Meier <maekke@gentoo.org>
- device-mapper-1.02.24-r1.ebuild:
- amd64/x86 stable, bug #217740
-
- 17 Apr 2008; nixnut <nixnut@gentoo.org> device-mapper-1.02.24-r1.ebuild:
- Stable on ppc wrt bug 217740
-
- 16 Apr 2008; Tobias Klausmann <klausman@gentoo.org>
- device-mapper-1.02.24-r1.ebuild:
- Stable on alpha, bug #217740
-
- 15 Apr 2008; Markus Rothe <corsair@gentoo.org>
- device-mapper-1.02.24-r1.ebuild:
- Stable on ppc64; bug #217740
-
-*device-mapper-1.02.25 (14 Apr 2008)
-
- 14 Apr 2008; Mike Frysinger <vapier@gentoo.org>
- +device-mapper-1.02.25.ebuild:
- Version bump.
-
-*device-mapper-1.02.24-r1 (11 Feb 2008)
-
- 11 Feb 2008; Robin H. Johnson <robbat2@gentoo.org>
- +device-mapper-1.02.24-r1.ebuild:
- Fix bug #209705 so that LDFLAGS are respected by the libraries AND binaries.
-
-*device-mapper-1.02.24 (07 Feb 2008)
-
- 07 Feb 2008; Robin H. Johnson <robbat2@gentoo.org>
- +files/device-mapper-1.02.24-export-format.diff,
- +device-mapper-1.02.24.ebuild:
- Version bump, related to bug #207612.
-
- 01 Feb 2008; Diego Pettenò <flameeyes@gentoo.org>
- files/device-mapper.rc-1.02.22-r3, files/device-mapper.rc:
- Update init script to work with current development version of OpenRC
- (checkroot -> root; checkfs -> fsck).
-
- 19 Nov 2007; Jeroen Roovers <jer@gentoo.org>
- device-mapper-1.02.22-r5.ebuild:
- Stable for HPPA (bug #195171).
-
- 19 Nov 2007; Joshua Kinard <kumba@gentoo.org>
- device-mapper-1.02.22-r5.ebuild:
- Stable on mips, per #195171.
-
- 08 Nov 2007; Robin H. Johnson <robbat2@gentoo.org>
- device-mapper-1.02.22-r5.ebuild:
- Block udev versions older than 115-r1 because the rules will conflict with
- the rules installed by this version, and this interferes with uses of a
- static /dev per bug #198144
-
- 06 Nov 2007; Markus Rothe <corsair@gentoo.org>
- device-mapper-1.02.22-r5.ebuild:
- Stable on ppc64; bug #195171
-
- 05 Nov 2007; Raúl Porcel <armin76@gentoo.org>
- device-mapper-1.02.22-r5.ebuild:
- alpha/ia64 stable wrt #195171
-
- 05 Nov 2007; Ferris McCormick <fmccor@gentoo.org>
- device-mapper-1.02.22-r5.ebuild:
- Sparc stable --- Bug #195171
-
- 04 Nov 2007; Christoph Mende <angelos@gentoo.org>
- device-mapper-1.02.22-r5.ebuild:
- Stable on amd64 wrt bug #195171
-
- 03 Nov 2007; Dawid Węgliński <cla@gentoo.org>
- device-mapper-1.02.22-r5.ebuild:
- Stable on x86 (bug #195171)
-
- 03 Nov 2007; Lars Weiler <pylon@gentoo.org>
- device-mapper-1.02.22-r5.ebuild:
- stable ppc, bug #195171
-
- 02 Nov 2007; Robin H. Johnson <robbat2@gentoo.org>
- device-mapper-1.02.22-r5.ebuild:
- Tweak dependancies.
-
-*device-mapper-1.02.22-r5 (11 Oct 2007)
-
- 11 Oct 2007; Matthias Schwarzott <zzam@gentoo.org>
- +files/64-device-mapper.rules-1.02.22-r5,
- +device-mapper-1.02.22-r5.ebuild:
- Swap NAME/SYMLINK. Now /dev/mapper/NAME is the device-node, and /dev/dm-* is
- a symlink on it. This should fix Bug #190819 for now.
-
-*device-mapper-1.02.22-r4 (09 Oct 2007)
-
- 09 Oct 2007; Doug Goldstein <cardoe@gentoo.org>
- +files/device-mapper-1.02.22-export-format-r1.diff,
- +device-mapper-1.02.22-r4.ebuild:
- export format patch needed to include ctype.h
-
- 09 Oct 2007; Robin H. Johnson <robbat2@gentoo.org>
- files/device-mapper.rc-1.02.22-r3:
- Fix double-commit.
-
- 08 Oct 2007; Robin H. Johnson <robbat2@gentoo.org>
- -device-mapper-1.02.07.ebuild, -device-mapper-1.02.10-r1.ebuild,
- -device-mapper-1.02.12.ebuild, -device-mapper-1.02.18.ebuild,
- -device-mapper-1.02.18-r1.ebuild:
- Clean up old versions.
-
- 08 Oct 2007; Robin H. Johnson <robbat2@gentoo.org>
- device-mapper-1.02.18-r1.ebuild, device-mapper-1.02.19.ebuild,
- device-mapper-1.02.22.ebuild:
- Fix quoting of variables.
-
- 08 Oct 2007; Robin H. Johnson <robbat2@gentoo.org>
- files/device-mapper.rc-1.02.22-r3:
- Missed 'after modules' dependency in the baselayout init script.
-
-*device-mapper-1.02.22-r3 (08 Oct 2007)
-
- 08 Oct 2007; Doug Goldstein <cardoe@gentoo.org>
- -files/device-mapper.rc-1.02.22-r2, +files/device-mapper.conf-1.02.22-r3,
- +files/device-mapper.rc-1.02.22-r3, -device-mapper-1.02.22-r2.ebuild,
- +device-mapper-1.02.22-r3.ebuild:
- device-mapper should start after modules and LVM by default. If you need to
- change this, edit conf.d/device-mapper. before checkroot -> before checkfs
-
-*device-mapper-1.02.22-r2 (04 Oct 2007)
-
- 04 Oct 2007; Doug Goldstein <cardoe@gentoo.org>
- +files/device-mapper.rc-1.02.22-r2, +device-mapper-1.02.22-r2.ebuild:
- fix baselayout-2 init script to use start_addon
-
- 02 Oct 2007; Robin H. Johnson <robbat2@gentoo.org>
- device-mapper-1.02.22-r1.ebuild:
- emake/make cleanup of current ebuild.
-
-*device-mapper-1.02.22-r1 (02 Oct 2007)
-
- 02 Oct 2007; Robin H. Johnson <robbat2@gentoo.org>
- +files/1.02.22-dmeventd.initd, +device-mapper-1.02.22-r1.ebuild:
- Bug #192174, include dmevent support in device-mapper.
-
-*device-mapper-1.02.22 (26 Aug 2007)
-
- 26 Aug 2007; Matthias Schwarzott <zzam@gentoo.org>
- +files/64-device-mapper.rules-1.02.22,
- +files/device-mapper-1.02.22-export-format.diff,
- +device-mapper-1.02.22.ebuild:
- Version bumped. Added patch for option info --export, and updated udev-rules
- to use these. That should solve bug #189404.
-
- 24 Aug 2007; Raúl Porcel <armin76@gentoo.org>
- device-mapper-1.02.19-r1.ebuild:
- alpha/ia64 stable wrt #188796
-
- 21 Aug 2007; Jeroen Roovers <jer@gentoo.org>
- device-mapper-1.02.19-r1.ebuild:
- Stable for HPPA (bug #188796).
-
- 15 Aug 2007; Christian Faulhammer <opfer@gentoo.org>
- device-mapper-1.02.19-r1.ebuild:
- stable x86, bug 188796
-
- 14 Aug 2007; Christoph Mende <angelos@gentoo.org>
- device-mapper-1.02.19-r1.ebuild:
- Stable on amd64 wrt bug #188796
-
- 14 Aug 2007; Gustavo Zacarias <gustavoz@gentoo.org>
- device-mapper-1.02.19-r1.ebuild:
- Stable on sparc wrt #188796
-
- 14 Aug 2007; Tobias Scherbaum <dertobi123@gentoo.org>
- device-mapper-1.02.19-r1.ebuild:
- ppc stable, bug #188796
-
- 14 Aug 2007; Markus Rothe <corsair@gentoo.org>
- device-mapper-1.02.19-r1.ebuild:
- Stable on ppc64; bug #188796
-
- 02 Jul 2007; Raúl Porcel <armin76@gentoo.org>
- device-mapper-1.02.19.ebuild:
- alpha/ia64 stable wrt #182367
-
- 01 Jul 2007; Tobias Scherbaum <dertobi123@gentoo.org>
- device-mapper-1.02.19.ebuild:
- hppa stable, bug #182367
-
-*device-mapper-1.02.19-r1 (27 Jun 2007)
-
- 27 Jun 2007; Matthias Schwarzott <zzam@gentoo.org>
- +files/64-device-mapper.rules-1.02.19, +device-mapper-1.02.19-r1.ebuild:
- Now install device-mapper udev rules on our own, and no longer by the udev
- ebuild, Bug 182957.
-
- 27 Jun 2007; Christian Faulhammer <opfer@gentoo.org>
- device-mapper-1.02.19.ebuild:
- stable x86, bug 182367
-
- 26 Jun 2007; Lars Weiler <pylon@gentoo.org> device-mapper-1.02.19.ebuild:
- Stable on ppc; bug #182367.
-
- 21 Jun 2007; Gustavo Zacarias <gustavoz@gentoo.org>
- device-mapper-1.02.19.ebuild:
- Stable on sparc wrt #182367
-
- 21 Jun 2007; Joshua Kinard <kumba@gentoo.org>
- device-mapper-1.02.19.ebuild:
- Stable on mips, per #182367.
-
- 20 Jun 2007; Markus Rothe <corsair@gentoo.org>
- device-mapper-1.02.19.ebuild:
- Stable on ppc64; bug #182367
-
- 18 Jun 2007; Christoph Mende <angelos@gentoo.org>
- device-mapper-1.02.19.ebuild:
- Stable on amd64 wrt bug 182367
-
- 21 May 2007; Doug Goldstein <cardoe@gentoo.org> files/dm-start.sh:
- de-bash-ification by Uberlord
-
-*device-mapper-1.02.19 (14 May 2007)
-
- 14 May 2007; Robin H. Johnson <robbat2@gentoo.org>
- +device-mapper-1.02.19.ebuild:
- Version bump per Bug #178455.
-
- 12 May 2007; Joshua Kinard <kumba@gentoo.org>
- device-mapper-1.02.10-r1.ebuild:
- Stable on mips.
-
- 09 May 2007; Doug Goldstein <cardoe@gentoo.org> metadata.xml:
- Add upstream to metadata as requested
-
- 09 May 2007; Doug Goldstein <cardoe@gentoo.org> files/device-mapper.rc:
- Fix depend loop with checkroot for baselayout-1
-
-*device-mapper-1.02.18-r1 (30 Apr 2007)
-
- 30 Apr 2007; Daniel Drake <dsd@gentoo.org> +files/device-mapper.rc,
- +device-mapper-1.02.18-r1.ebuild:
- Add baselayout-2 init script
-
-*device-mapper-1.02.18 (07 Apr 2007)
-
- 07 Apr 2007; Mike Frysinger <vapier@gentoo.org>
- +device-mapper-1.02.18.ebuild:
- Version bump #173344 by Paul Bredbury.
-
- 31 Dec 2006; Bryan Østergaard <kloeri@gentoo.org>
- device-mapper-1.02.10-r1.ebuild:
- Stable on Alpha, bug 158794.
-
- 01 Dec 2006; Gustavo Zacarias <gustavoz@gentoo.org>
- device-mapper-1.02.10-r1.ebuild:
- Stable on hppa wrt #153169
-
- 15 Nov 2006; Markus Rothe <corsair@gentoo.org>
- device-mapper-1.02.10-r1.ebuild:
- Stable on ppc64; bug #153169
-
-*device-mapper-1.02.12 (02 Nov 2006)
-
- 02 Nov 2006; Daniel Drake <dsd@gentoo.org> +device-mapper-1.02.12.ebuild:
- Version bump
-
- 02 Nov 2006; Daniel Drake <dsd@gentoo.org> -device-mapper-1.02.10.ebuild,
- device-mapper-1.02.10-r1.ebuild:
- Copy stable keywords over from 1.02.10 and mark stable on amd64
-
-*device-mapper-1.02.10-r1 (01 Nov 2006)
-
- 01 Nov 2006; Daniel Drake <dsd@gentoo.org> files/dm-start.sh,
- +device-mapper-1.02.10-r1.ebuild:
- Fix bash code flow error in dm-start.sh, bug #153678
-
- 30 Oct 2006; Jason Wever <weeve@gentoo.org> device-mapper-1.02.10.ebuild:
- Stable on SPARC wrt bug #153169.
-
- 29 Oct 2006; Andrej Kacian <ticho@gentoo.org>
- device-mapper-1.02.10.ebuild:
- Stable on x86, bug #153169.
-
- 29 Oct 2006; nixnut <nixnut@gentoo.org> device-mapper-1.02.10.ebuild:
- Stable on ppc wrt bug 153169
-
-*device-mapper-1.02.10 (22 Sep 2006)
-
- 22 Sep 2006; Robin H. Johnson <robbat2@gentoo.org>
- +device-mapper-1.02.10.ebuild:
- Version bump for new lvm2 version.
-
- 23 Aug 2006; Gustavo Zacarias <gustavoz@gentoo.org>
- device-mapper-1.02.07.ebuild:
- Stable on hppa wrt #136172
-
- 23 Aug 2006; Chris Gianelloni <wolf31o2@gentoo.org>
- device-mapper-1.02.07.ebuild:
- Stable on alpha wrt release snapshot.
-
-*device-mapper-1.02.09 (20 Aug 2006)
-
- 20 Aug 2006; Mike Frysinger <vapier@gentoo.org>
- +device-mapper-1.02.09.ebuild:
- Version bump #144390 by Conrad Kostecki.
-
-*device-mapper-1.02.08 (20 Jul 2006)
-
- 20 Jul 2006; Mike Frysinger <vapier@gentoo.org>
- +device-mapper-1.02.08.ebuild:
- Version bump.
-
- 15 Jun 2006; Tobias Scherbaum <dertobi123@gentoo.org>
- device-mapper-1.02.07.ebuild:
- ppc stable, bug #136172
-
- 13 Jun 2006; Danny van Dyk <kugelfang@gentoo.org>
- device-mapper-1.02.07.ebuild:
- Marked stable on amd64.
-
- 12 Jun 2006; Gustavo Zacarias <gustavoz@gentoo.org>
- device-mapper-1.02.07.ebuild:
- Stable on sparc wrt #136172
-
- 12 Jun 2006; Chris Gianelloni <wolf31o2@gentoo.org>
- device-mapper-1.02.07.ebuild:
- Stable on x86 wrt bug #136172.
-
- 11 Jun 2006; Markus Rothe <corsair@gentoo.org>
- device-mapper-1.02.07.ebuild:
- Stable on ppc64; bug #136172
-
- 24 May 2006; Michael Hanselmann <hansmi@gentoo.org>
- device-mapper-1.02.03.ebuild:
- Stable on ppc.
-
-*device-mapper-1.02.07 (13 May 2006)
-
- 13 May 2006; Mike Frysinger <vapier@gentoo.org>
- +device-mapper-1.02.07.ebuild:
- Version bump #133181 by Conrad Kostecki.
-
- 01 May 2006; Markus Rothe <corsair@gentoo.org>
- device-mapper-1.02.03.ebuild:
- Stable on ppc64
-
- 26 Apr 2006; <tcort@gentoo.org> device-mapper-1.02.02.ebuild:
- Stable on alpha wrt Bug #125030.
-
- 26 Apr 2006; Chris Gianelloni <wolf31o2@gentoo.org>
- device-mapper-1.02.03.ebuild:
- Marking stable on x86 wrt bug #130529.
-
- 24 Apr 2006; Joshua Kinard <kumba@gentoo.org>
- device-mapper-1.02.05.ebuild:
- Marked stable on mips.
-
- 24 Apr 2006; Gustavo Zacarias <gustavoz@gentoo.org>
- device-mapper-1.02.03.ebuild:
- Stable on hppa & sparc wrt #130529
-
- 29 Apr 2006; Joshua Kinard <kumba@gentoo.org>
- device-mapper-1.02.02.ebuild:
- Marked stable on mips.
-
-*device-mapper-1.02.05 (21 Apr 2006)
-
- 21 Apr 2006; Mike Frysinger <vapier@gentoo.org>
- +device-mapper-1.02.05.ebuild:
- Version bump #130598 by Conrad Kostecki.
-
- 21 Mar 2006; Paul de Vrieze <pauldv@gentoo.org>
- device-mapper-1.02.03.ebuild:
- Make the selinux conditional dependency explicit, and use use_enable (bug
- #127089)
-
- 12 Mar 2006; Luis Medinas <metalgod@gentoo.org>
- device-mapper-1.02.02.ebuild:
- Stable on amd64. Bug #125030.
-
- 10 Mar 2006; Michael Hanselmann <hansmi@gentoo.org>
- device-mapper-1.02.02.ebuild:
- Stable on ppc.
-
- 06 Mar 2006; Gustavo Zacarias <gustavoz@gentoo.org>
- device-mapper-1.02.02.ebuild:
- Stable on sparc wrt #125030
-
- 06 Mar 2006; Michele Noberasco <s4t4n@gentoo.org> device-mapper-1.02.02.ebuild:
- stable for x86, see bug #125030
-
- 06 Mar 2006; Tom Gall <tgall@gentoo.org> device-mapper-1.02.02.ebuild:
- stable on ppc64, bug #125030
-
-*device-mapper-1.02.03 (05 Mar 2006)
-
- 05 Mar 2006; Mike Frysinger <vapier@gentoo.org>
- +device-mapper-1.02.03.ebuild:
- Version bump #125029 by Daniel Webert.
-
- 26 Feb 2006; Joshua Kinard <kumba@gentoo.org>
- device-mapper-1.01.03.ebuild:
- Marked stable on mips.
-
-*device-mapper-1.02.02 (27 Jan 2006)
-
- 27 Jan 2006; Mike Frysinger <vapier@gentoo.org>
- +device-mapper-1.02.02.ebuild:
- Version bump #120266 by Boyd Stephen Smith Jr.
-
-*device-mapper-1.01.05 (05 Nov 2005)
-
- 05 Nov 2005; Mike Frysinger <vapier@gentoo.org>
- +device-mapper-1.01.05.ebuild:
- Version bump #111446 by Zac Slade.
-
- 16 Sep 2005; Aron Griffis <agriffis@gentoo.org>
- device-mapper-1.01.03.ebuild:
- Mark 1.01.03 stable on alpha
-
- 03 Sep 2005; Michael Hanselmann <hansmi@gentoo.org>
- device-mapper-1.01.03.ebuild:
- Stable on ppc.
-
- 03 Sep 2005; Markus Rothe <corsair@gentoo.org>
- device-mapper-1.01.03.ebuild:
- Stable on ppc64
-
- 22 Aug 2005; Gustavo Zacarias <gustavoz@gentoo.org>
- device-mapper-1.01.03.ebuild:
- Stable on sparc
-
-*device-mapper-1.01.04 (19 Aug 2005)
-
- 19 Aug 2005; Mike Frysinger <vapier@gentoo.org>
- +device-mapper-1.01.04.ebuild:
- Version bump #103064 by Christopher Culver.
-
- 08 Aug 2005; Aaron Walker <ka0ttic@gentoo.org>
- device-mapper-1.01.03.ebuild:
- Added ~mips for bug 89529.
-
-*device-mapper-1.01.03 (24 Jul 2005)
-
- 24 Jul 2005; Martin Schlemmer <azarah@gentoo.org>
- +device-mapper-1.01.03.ebuild:
- Update version.
-
- 17 Jun 2005; Michael Hanselmann <hansmi@gentoo.org>
- device-mapper-1.01.00.ebuild:
- Stable on ppc.
-
- 06 Jun 2005; Markus Rothe <corsair@gentoo.org>
- device-mapper-1.01.00.ebuild:
- Stable on ppc64
-
- 23 May 2005; Jason Wever <weeve@gentoo.org> device-mapper-1.01.00.ebuild:
- Stable on SPARC.
-
-*device-mapper-1.01.01 (21 May 2005)
-
- 21 May 2005; Mike Frysinger <vapier@gentoo.org>
- +device-mapper-1.01.01.ebuild:
- Version bump #93409 by Carsten Frewert.
-
- 14 May 2005; Guy Martin <gmsoft@gentoo.org> device-mapper-1.01.00.ebuild:
- Stable on hppa.
-
- 12 May 2005; Marcus D. Hanwell <cryos@gentoo.org>
- device-mapper-1.01.00.ebuild:
- Stable on amd64.
-
- 09 May 2005; Aron Griffis <agriffis@gentoo.org>
- device-mapper-1.01.00.ebuild:
- stable on ia64
-
- 06 May 2005; Martin Schlemmer <azarah@gentoo.org>
- device-mapper-1.01.00.ebuild:
- Stable on x86.
-
-*device-mapper-1.01.00 (01 Mar 2005)
-
- 01 Mar 2005; Mike Frysinger <vapier@gentoo.org>
- +device-mapper-1.01.00.ebuild:
- Version bumpage #80276 by Martin Jackson.
-
-*device-mapper-1.00.21 (01 Mar 2005)
-
- 01 Mar 2005; Mike Frysinger <vapier@gentoo.org>
- +device-mapper-1.00.21.ebuild:
- Version bumpage #80276 by Martin Jackson.
-
- 23 Feb 2005; Martin Schlemmer <azarah@gentoo.org> files/dm-start.sh:
- Fix error printing. Remove sourcing of functions.sh.
-
-*device-mapper-1.00.19-r2 (23 Feb 2005)
-
- 23 Feb 2005; Martin Schlemmer <azarah@gentoo.org> +files/dm-start.sh,
- +files/dmtab, +device-mapper-1.00.19-r2.ebuild:
- Install static library again. Add /etc/dmtab and new rc-scripts addon for
- setting up DM volumes at boot. Note that this need upcomming baselayout
- release.
-
- 25 Nov 2004; Guy Martin <gmsoft@gentoo.org> device-mapper-1.00.19-r1.ebuild:
- Stable on hppa.
-
- 14 Nov 2004; <max@gentoo.org> device-mapper-1.00.07-r1.ebuild,
- device-mapper-1.00.07.ebuild, device-mapper-1.00.08-r1.ebuild,
- device-mapper-1.00.08.ebuild, device-mapper-1.00.17-r1.ebuild,
- device-mapper-1.00.17.ebuild, device-mapper-1.00.18-r1.ebuild,
- device-mapper-1.00.18.ebuild, device-mapper-1.00.19.ebuild:
- Add empty IUSE to silence repoman errors. Fix SRC_URI as per bug #65807.
-
- 31 Oct 2004; Jason Wever <weeve@gentoo.org>
- device-mapper-1.00.17-r1.ebuild:
- Stable on sparc (as much as 2.6 kernel stuff can be stable on sparc).
-
- 01 Oct 2004; Simon Stelling <blubb@gentoo.org>
- device-mapper-1.00.19-r1.ebuild:
- get_libdir-ized and added IUSE=""
-
- 17 Aug 2004; <agriffis@gentoo.org> device-mapper-1.00.19-r1.ebuild:
- add ~alpha #60071
-
-*device-mapper-1.00.07-r1 (24 Jul 2004)
-
- 24 Jul 2004; Martin Schlemmer <azarah@gentoo.org>
- +device-mapper-1.00.07-r1.ebuild, +device-mapper-1.00.08-r1.ebuild,
- +device-mapper-1.00.17-r1.ebuild, +device-mapper-1.00.18-r1.ebuild,
- +device-mapper-1.00.19-r1.ebuild:
- Add linker script to fixup bug #4411
-
-*device-mapper-1.00.19 (23 Jul 2004)
-
- 23 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org>
- +device-mapper-1.00.19.ebuild:
- Marked 1.00.17 stable on x86 and amd64. Version bumps close bug #54534
-
- 29 May 2004; Tom Gall <tgall@gentoo.org> device-mapper-1.00.17.ebuild:
- mark stable on ppc64, bug #52331
-
- 26 Apr 2004; Aron Griffis <agriffis@gentoo.org>
- device-mapper-1.00.07.ebuild, device-mapper-1.00.08.ebuild,
- device-mapper-1.00.17.ebuild:
- Add die following econf for bug 48950
-
-*device-mapper-1.00.17 (24 Apr 2004)
-
- 24 Apr 2004; Max Kalika <max@gentoo.org> device-mapper-1.00.17.ebuild:
- Bump to version 1.00.17.
-
- 13 Apr 2004; Jason Wever <weeve@gentoo.org> device-mapper-1.00.08.ebuild:
- Stable on sparc.
-
- 15 Mar 2004; Max Kalika <max@gentoo.org> device-mapper-1.00.08.ebuild:
- Bump to stable x86.
-
- 10 Mar 2004; Bartosch Pixa <darkspecter@gentoo.org>
- device-mapper-1.00.07.ebuild:
- set ppc in keywords
-
- 10 Mar 2004; Max Kalika <max@gentoo.org> device-mapper-1.00.08.ebuild:
- Install the static library into /usr as well. Fixes bug #44223.
-
-*device-mapper-1.00.08 (09 Mar 2004)
-
- 09 Mar 2004; Max Kalika <max@gentoo.org> device-mapper-1.00.05.ebuild,
- device-mapper-1.00.07.ebuild, device-mapper-1.00.08.ebuild:
- Update SRC_URI as per bug #43880. Update HOMEPAGE as well. Bump to 1.00.08.
-
- 22 Jan 2004; Markus Nigbur <pyrania@gentoo.org>
- device-mapper-1.00.07.ebuild:
- Marked stable on sparc.
-
- 26 Dec 2003; Ciaran McCreesh <ciaranm@gentoo.org>
- device-mapper-1.00.07.ebuild:
- Added ~sparc keyword
-
- 13 Dec 2003; Brad House <brad_mssw@gentoo.org> device-mapper-1.00.07.ebuild:
- mark stable on amd64
-
- 08 Dec 2003; <max@gentoo.org> device-mapper-1.00.07.ebuild:
- Bump to stable x86 and add ~amd64 as per bug 34779.
-
-*device-mapper-1.00.07 (02 Dec 2003)
-
- 02 Dec 2003; <max@gentoo.org> device-mapper-1.00.07.ebuild:
- Bump to version 1.00.07. Make it ~x86 for now.
-
- 29 Oct 2003; Max Kalika <max@gentoo.org> device-mapper-1.00.05.ebuild:
- Put the kernel check back in pkg_setup(). Fixes bug 32044.
-
- 27 Oct 2003; Max Kalika <max@gentoo.org> device-mapper-1.00.05.ebuild:
- Fix kernel support check.
-
- 21 Oct 2003; Max Kalika <max@gentoo.org> device-mapper-1.00.05.ebuild:
- Bump to stable x86.
-
-*device-mapper-1.00.05 (02 Sep 2003)
-
- 02 Sep 2003; Max Kalika <max@gentoo.org> device-mapper-1.00.05.ebuild:
- Bump version to 1.00.05.
-
- 03 Jul 2003; Max Kalika <max@gentoo.org> device-mapper-0.96.08.ebuild:
- Set KEYWORDS to ~x86.
-
- 12 Jun 2003; Max Kalika <max@gentoo.org> device-mapper-0.96.08.ebuild:
- Drop unneccessary die() calls.
-
- 29 May 2003; Max Kalika <max@gentoo.org> device-mapper-0.96.08.ebuild:
- Better kernel-support error message.
-
- 23 May 2003; Max Kalika <max@gentoo.org> device-mapper-0.96.08.ebuild:
- Install libdevmapper.so to /lib as well.
-
-*device-mapper-0.96.08 (12 May 2003)
-
- 12 May 2003; Max Kalika <max@gentoo.org> device-mapper-0.96.08.ebuild:
- Initial version.
diff --git a/sys-fs/device-mapper/Manifest b/sys-fs/device-mapper/Manifest
deleted file mode 100644
index f1a66f275d74..000000000000
--- a/sys-fs/device-mapper/Manifest
+++ /dev/null
@@ -1,59 +0,0 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
-AUX 1.02.22-dmeventd.initd 547 SHA256 6b55e8cac8f47ea7c00ef66ce078826628842b6d13bbebed875bec2188b5e675 SHA512 0495c00c41b9665c1ea9246dfb7f824182fedc85540b9b1726451301fbb9b5a8d9cb63240b1e35fba1fe5f91acfe2f4ab2363744d19e9d25b2c3c73acdedba76 WHIRLPOOL 13e9e38cd38a819d7e1e672c06fad5d2ce23b444be4c0ec2ce282f75c915e7b1cc0a8a60f12dfc46f2d57526d8f8eec97d4a489f1f2ffdccf55732c0b710dd9b
-AUX 64-device-mapper.rules-1.02.19 1247 SHA256 b8a7570321c735b06cfa97cff10a8edffcf508d4e54bd6730e482cb7bdd25347 SHA512 b50d9e84b382230b52d11c5d74ce90bacc652b7989489c5fd7b8c74685192376e7eafd9d0d9ecef2caf03d8475f66580caf77fa8c46859521f2ff220912071e7 WHIRLPOOL 58beae9d2272dad813b225471fff3af0cc55f7965da2dd64ac0fc477d0e09b01e473b3aa49ff360f965c8b4384164cf1dac4b92bbceacdaf1a3f1090a765ad5b
-AUX 64-device-mapper.rules-1.02.22 999 SHA256 84544cac9d4de6cfc44cec816836f194f5f69fbb74cbdd07073f96dae427c0ed SHA512 401f46d1d4faf6433a4b51b3b26cedb84e5780589eecfb1563abf0c7e4cd062bec27de312f26649eed708e52fdcbc786e87a82eeb18b21f44a54847a232d8bb6 WHIRLPOOL 891880a046d58fd83a0add1f07d4b7e206e036489aad84429249270405a581b009f0bf402152117499d87504b11f311b6c12e0e65da1d5dfbeb73edd95f75faf
-AUX 64-device-mapper.rules-1.02.22-r5 1010 SHA256 7c92c2ff3c8dee6588ac51f8367a7b4bcb31d42f2d306ed08ce01be809b9ffcd SHA512 21fd88ab2f56891824e5b66df89afc0b66887aa4de31d7eaba23060c6aa2647a0dcdf3579121115910fe2792b62f6f81c4bc19a70d60a0a03527d9dd6d922e82 WHIRLPOOL c5896c03dd3763dd22c63a4747b7a0dbee1e3126f22123cd8b7996d26a72969ac81366cb7db8a703d3fa3819663a5cdbb4abfd2bf47137bf14b98e22e36d3c7f
-AUX device-mapper-1.02.22-export-format-r1.diff 11073 SHA256 8b071762684b9c72dafe7bbd0e9a508999d3d0bc34ced088baa7a206d859f331 SHA512 11a360a91c26aca5d5be126aa35fb0215e6c8f4b11c1bff86cfe6c496af59278be2a0b11b024ea62ded07b1f841b11fbed84078445c70f098cd38efb3f87eb01 WHIRLPOOL 754480bb4e415c4347d2bb3c9fe9606fdf49f3cb512c0c2529cd648d5ce03222a8dd54c4d8aa50dd7c7b71feb068ab615a856ba1d99b2f014788c1649946c4e6
-AUX device-mapper-1.02.22-export-format.diff 11410 SHA256 e7ded5533a0a6409be967e259ecea39395e783686431567112744743d3b9e553 SHA512 a36b1556ed6836b31ee9661daf87a1f0e7d9bd570aab502c3131c398d9b29e13ec5905b6268a597ea5452080c299b3c73d7925bf288244ec7728f1d79dfb817a WHIRLPOOL 05143383dbd09eaad3186385ba88672ed1ced53fe5ad470b09aae8d3c01c1c1a6008c1cb9f920aed6a606e3a70ede3ffc59057e88388de33f85a0c77a1948c73
-AUX device-mapper-1.02.24-export-format.diff 11126 SHA256 30e6c0c153bdcd68681ec5a0ebf2c2aee21daa2f22759f82b432e412183d2754 SHA512 906365241eac9f52b9dd6d1ba841ce6eea1f9ff4086ecd2a8e62dbc83ccb11c891b72238fb25fccaa956a43298388e9592e1f5bc55550183d8d196de815f1e37 WHIRLPOOL d6cd908057d69d063c303428c8acc819ac2a4fc62799bf56277a1bc9874991b6432083ebf85f8e8eff66693c7bf7a6429d0d5f2d2992324856e2d6720064f240
-AUX device-mapper-1.02.26-export-format.diff 11120 SHA256 bd2e40f67a2322565dbcabba3dbda0b16ddb4f5d0587465b10aa0497b1bbaf76 SHA512 4393594130e11189e2c1b3df5cea8be984bf038cb7e7e9d8b575deeae0bcc633d6088cb4be7e680c533755889afb7a2e5fab09541f93b9ef27a708c952579b56 WHIRLPOOL dfca98ad16efc8755fd646f7d12b88ecf8a3233791cd5c0f3198dd5416db0054ad282b9975a9586b61d96a0d91f81d5fc589832bc56dba43abf2863a994b85ce
-AUX device-mapper-1.02.27-export-format.diff 10774 SHA256 ddeb28b0ac4aa5c428577da4f8334afb89b48c5b0134127f130f2037f22cb0bd SHA512 a141f7363de79cd9e20e7fe08645c30334ea786bac2ef2f11563aa3776137233a054e1d11159f3ca71092bbd2be55c80fd9cf127ce4ff49a2e1a42b6ac3f6d8f WHIRLPOOL b922616149a24db11dc33a95266312fdbe0b5c18293e3ed6812d5a8a8fc1ea3330190f6362e4d33684fd1b6ed764598f2017d95268d2bf111ef58c33e1a72c9c
-AUX device-mapper-1.02.28-asneeded.patch 435 SHA256 ccb458b942406c30a676ba7d6cfa902ad6d43901c4cdd6be364d447a765fda55 SHA512 df3147de6653ad179e54f25bd5f3e304bc5a3df16ae8e161133c7874fdaaf6e39876e23b3457ee386267486f8b72f3b35cce9e822919edb7fc1027221e739fd3 WHIRLPOOL ffe685345298adf32cff1d822ca21a0b03854b838229b7e55605eb6a262f6fb618d8fdd70787d2c7d18019b313f4e2588e893114c8769f87a9aed3234a1119d2
-AUX device-mapper.conf-1.02.22-r3 15 SHA256 57777904f12a35617e5a4193c964ebb32396452487fd02353e71e16e7b46bc22 SHA512 1846e0ca1be7170d4c0beb694a23aea4d19b24b99a248bb0f4e034286a6beede0a8efc474b0c237e33ee72c86c93b6238f2d5ea23e224765acba99c90633261e WHIRLPOOL a0de185e849cd4d1aab9f145a6330f267ca547ba4ec7720be6f33e2c3c4c182b8674ea220b894f0fc806fe6637ba7bcabd739ca57b53b3efa5fad0cf1e57ba2e
-AUX device-mapper.rc 615 SHA256 730753883de0e992a0bfa31038780edf31d0957fdbef304fd8880c6d0dc7798e SHA512 205fb2543e52c5c52113ad97b825dc35d8d1b887789c2caee79607f3b36bedb516c19c3e5549d5521734c490a31c342302bdfe935445ec8812e3205cdb5b1956 WHIRLPOOL adc7e7d00fe2b0ff7f048dc2f2a941778ecc1e419fc99adadcf454e2d8a6bf11935ce391580df27a319bb1d030873249aa7f176dc16290205e489bbbdc9c7f41
-AUX device-mapper.rc-1.02.22-r3 628 SHA256 6ab5e09abf2e22cdb7bf0383819f37536ba5ea4a56a91220fa23af6d85dc5d2b SHA512 20829e99c03d44ecbe745ffb66e12c9e187f404e5ba70f2a954c17732db872437208b90400b82570f744132d22ee29267a092f13a8ffa6d254056367bc8df063 WHIRLPOOL 86d4b1eafedd54908c149cb152891ed0f034395a4b5a8bdb91be92dce8fa246723e8afc3e08872f44c14f34d46eba80a75f73ab8a0f39b1a65b45a10c02d9480
-AUX dm-start.sh 2124 SHA256 2de52be0dda02d5d93aa8746c372b01c570d5a8947c71a617b186b21a3e4b325 SHA512 da08864a133ad657688ab8b725007ef7651528d866d7ecb0eabda13907acf8e7894589e7ee1e598dce2c7b4fcd73cddafeacf45c1dd4fc943bf65ad035f6e677 WHIRLPOOL 1d04e8a80ed1127d39d11352bd7ac684bfae35cb674a2f0e4d2f36df8a7ea19b80d962aabc4b1715c6f2b5ea3c8eab90acd60d7938219c050e97563b1a9ad22e
-AUX dmtab 426 SHA256 a7d5976c780b23193ec78146e4ed12e0cd0deca853ee0198baa4eeaf2cdc53f2 SHA512 e9fcb5ed9c61bc50406d48cdf1a6dc0bcb05fdb3438931f72e83c89c99c360b776ab54d1cae6f983b1bc8e58cf1731de6e7ed4efd5f2343f45f65b2efedc584d WHIRLPOOL 4a3c1089231faf6684fbb973cd230619262526956f85d2a9039cc4c8ca1c7a95102cc0b1fb94add8ea2f34a667b280c0e529af52128b6257e44a638db09cbc1b
-DIST device-mapper.1.02.19.tgz 183064 SHA256 4723a4ba55e10c58a4e1bd7551e1e7d90ce43d3fcdabfd78285d39c2d33cdead
-DIST device-mapper.1.02.22.tgz 189726 SHA256 ff833a6cd6246686f5b3f5692fd6597f1ffbc60f08929e5fe68304cdafb61595
-DIST device-mapper.1.02.24.tgz 192995 SHA256 a0bd3de63e0d12da8d82153a2e3b53e59d92e0fc52712a4fa0f997f6d5baaa56
-DIST device-mapper.1.02.25.tgz 193095 SHA256 eb7e3234dd8c7651403df6485918efd765d408e2618a0f6cde51c2f231f8507c
-DIST device-mapper.1.02.26.tgz 194047 SHA256 dbe5b92a06316b628c40afadac6ca4eac1abde8282d11c6e99461bc0b32b2075
-DIST device-mapper.1.02.27.tgz 202823 SHA256 669b7820a7421547468577bc3190ee4bb35c2a1395f434dee636ba2e65a38dfc
-DIST device-mapper.1.02.28.tgz 203182 SHA256 24c7887fe896325a6cdc86b8beeb0d9c2de8b1c4cb20f53c2dc8f90963fc39bf
-EBUILD device-mapper-1.02.19-r1.ebuild 1739 SHA256 90de2882a1ca5a279ac15650a5e0212e7997ee3bb0fab018a79f2400fc6f4f08 SHA512 22bad59d09b916129bac586ca1cd9a5353be7cd3d4f810b1364ee6c888feac8a16e2b81ce1415d4dd78b5817c79aba724104754d3b10649a5edaca6b2b4e9589 WHIRLPOOL 6d3ad5abf7471e5bf68b519856db54577065400efab1d6a1b63f507beef1f20e5997b98888587f14b9cd3aa8ce14c5395eec6e1dccbc5e02cc11fc8d988ad3dd
-EBUILD device-mapper-1.02.19.ebuild 1629 SHA256 9b80c1ab5ae02084bb945c3d09a92172948e98c74a866c0f3c9165fbe1b248c5 SHA512 613e20262b3dd6eedfdeec061199fa264631dde035e9a87a108c0f70dcb7878a558ab71d02d92f106ba8517af58ff5041689ead8349244354c19c6efca6e81fb WHIRLPOOL 38be7270b51b6d777aa764b00838ac786f25623536d2319c7ac80520bcd332875289316e02e1234c24b78815776494b9d3b76e540dc06fac259a9c4d620a72cc
-EBUILD device-mapper-1.02.22-r1.ebuild 2029 SHA256 0f383d1be0f8f2111aca9a32f7a01487779ec493f7d6b290a92cbfd56920369d SHA512 963bb6af03da6b4f99008c101cf015527ba2f814f5167dba3ea38d8f4a8056e9b3846ac1ab316913cb686d31bbcab904e9ad11912947c7d57e0df0b53d38d945 WHIRLPOOL 0240cc6f2b10a5691d42ca1868367c46ec4b5cb1432f522fea3f372cbd1898be0cad65438d13e6bd584403048b3bbfac8e1a0acabc8bab700ada08e00b06b094
-EBUILD device-mapper-1.02.22-r3.ebuild 2114 SHA256 7de6bac16999317dd9d81a9ae0935aaa0abbeaac433a903cdd4512c6dc1055c8 SHA512 8536558c3450292ec4b0b8d2ffdbb448665c7758876eb685cd217c2a3b29ec82a422fadaf2a31a8aa0e04b49d50b74f06184ab1663650d7785d66bb1e5b16626 WHIRLPOOL d868d5c35254c5b9694317e29cb3f9e8182bdf72654b6b21264231d7922c0cf082051523354a62ad921421f2084521b18abc66db866dd636a5d70da3e1ec7958
-EBUILD device-mapper-1.02.22-r4.ebuild 2117 SHA256 b5abf6b8adce7a9a05a7114dd7d65aa69479d065c1d8cdec2e885f8f48ada901 SHA512 27a22c931cec50812943527859cfb4b4ae8e62b1eada9473983a879b8191868e70b74bffe530cd9c51ce0967f0419112a9f95354a1e8d7f268ab78ba6fa87314 WHIRLPOOL 96e8db4c6d60b204db8e0822f1875c2db374c2bd3ab871a00359ae0732d7a0bf566573da1434e7e3d3f8981ee8454569f3f63b2af305e9dd1c509dca2946d541
-EBUILD device-mapper-1.02.22-r5.ebuild 2150 SHA256 0b04619c82da93f7d4adaa906043e6657ea8cc8799bc4a3cd8b5c1abd53fb62e SHA512 1ef56e8bf416a2de55fd5ed1f5bf125d287856210a576eaf2ff5c4c3ce98466e2975092285aed7b05425d2ac5fefe4c60de05bcc902b4159fee34d25eaf0f275 WHIRLPOOL fab37207c371dee39e9d843d119351dde534066a1b3d62ef5faf68c36f7914745bc96faa6aa46c626207106fcaeec3a4a0d100975a72eb2afd3a6472520f1d34
-EBUILD device-mapper-1.02.22.ebuild 1853 SHA256 3b047a69a1c0d04b88531f379505fbbf22ed5b4d23aee57f70245e118a26c715 SHA512 9d4bff67324ca29d1343a09f05847821ef41f6976adee8502902457d788f99e34941489627104c0954577ddd634ecf7d7d26bb4556f4628bf429a4665fd146a3 WHIRLPOOL 8b810540437da28c4fc8a36c5272a874a09dba0df69a0339ca9da7000fc0791b356b02020b0676e7c3dca24970a1e6a8f5ff7bfd2f402d02a13536df39e351cc
-EBUILD device-mapper-1.02.24-r1.ebuild 2200 SHA256 1099ab9383140b658f43cde8519746d790fab851d3e3c24647963dc87cea8e12 SHA512 4339da2508fa364fc300d4c5fc7ad8caa72ef45301bfeea04bfc82b3cee1a6e14f15f210476eb92111584202cb5601d090bf95b22e6e4e1324063098991b2554 WHIRLPOOL 6ae23815812142572d7566efea0ca68931023ca5ccf404d7be5e91e01d1bbf6423586ab6d2582ce467e888b6c1eb1dcf6fd88d352b6585871ec6bab95a4019d0
-EBUILD device-mapper-1.02.24.ebuild 2172 SHA256 f92b915d0a677b7da38c5cf9de141c0254d245de45a4bb4a2967998bf4821cd2 SHA512 96aa6c06f3c0c226d3f82a420c2fdc7ff3f535baacaca8722ae1e883a20ad322b261e2a1eb00ca8c70cb49d58bface0732275478c950ebe4394354282c846c55 WHIRLPOOL 6ff50766db7e5784aeb7252ec2541579630bc487794a8131fee406dfdbd8dbeef96ce8ce30d879e517a510ffcd8672c845b255603cf9ae6207e7640b916c41eb
-EBUILD device-mapper-1.02.25.ebuild 2209 SHA256 6bf4e832edebc55af6e6103395050eb0a306d8c3369e2be07fee3386ce9f2621 SHA512 88b109646473edc8330283bdb34ef6a3d372976f712a495c45ceb44c82e630175a2a6aca7273c8c67122ab605cbe422607d7e0923aa9a8f96747bae5f920cb0c WHIRLPOOL 8581de13287a74c1a59b0ef009646d54151791e93371f36a83e1904957d11fb4fea874bee0b50015b6c2e477fa811d281b1e74586538ab44fbbd79aa81c82ef8
-EBUILD device-mapper-1.02.26.ebuild 2205 SHA256 cf146a63ccfb403a5cc58e444c1a056c616b1ad1695657f63cdf274065d3eac8 SHA512 849b7d11257cf3e7ef6a4d489b763d3312788b170ae6c922bcebb36a88e0a4481311bd905cbfd1d08c5584a9156774f31ebdd0d46c2fed88007242ab4e77aba5 WHIRLPOOL 1a635475b2fe601e7f0bbe6eae506c33f32eef6c9f9be4a9f176b49a0b4217cd106c231e9f4d8417acc8fa0951098a49206740c0b39b7bbc681524c7f4ab33c6
-EBUILD device-mapper-1.02.27.ebuild 2180 SHA256 5f21cddc16920db505c83cdf3f4a1077cf401ea17d3376ed5d431bc44add0087 SHA512 9875e9e7d79459c5970479d478ef631022ed73dd809b03550df6eed7aadcc53ca15f842bd7bc19aad4e8ad869baccbf3ae6de8559b2835dfdcdc3028d4e602e5 WHIRLPOOL f9ef4c38621b2e3985e3bb835ea4f988a086362ee9461e71aa54bdc3a974d692dd13ce79e868d8dee4b54407962e2582a0f21201cf587bf46d27466cb167ad74
-EBUILD device-mapper-1.02.28.ebuild 2263 SHA256 c2e5203b372d949ad2e599d2d83e9c7809227c75173c4a5d25f80ce44678dcb3 SHA512 d3014e23b01b6ee3d368321fa5097b9d39a4038c25ba2769da6e55d0e315381493783a4185e1c5646b53058828b1a48b16f364392cfaa8c73c7460dfc2ea8c46 WHIRLPOOL c1833341430c8dc0db31951926e9916e72b901f81e0748292288f3b2a80c384d375c4983bc4fa71c6f4dbbee4c9aba814d24966ac8e2e965eaccaac4fc62fc75
-MISC ChangeLog 22177 SHA256 530f5356f5f2b4d2832aa30c661d1e0fbee7ee8ec1cacfae351b6ad077bb73fe SHA512 7584c5687420736056abe597e103c414b90e0bcf04e5dd5a2ecb46775c34b0c8402935e0891d4eb5caac96f39de271cf199fc21c2eb9aa03645b922bda50232c WHIRLPOOL 0399cc0ac09a497dd2255724bcbf7bc7aa73113ba75e6ac1cd11f73f53f4ca24f16f529c420846ee22818f719a65853f5560accc75c89a34800945a76fec17c2
-MISC metadata.xml 331 SHA256 0488cc8331eed54a5f7bf9e965f6d0bb51a103d3f1eddcc5761af3d529ab7f70 SHA512 4551a9656413bd881832e47f7a552d078cea5745e60282fcd3dcadfcf0e12d5773167036cd873aa0ff4952678cc2d47849b5b39a42404bb919fd0ee1835544a6 WHIRLPOOL 8217c9b093e89558f1276fee7c29d42c8f5470777b83bcafd6a4c195ba060aacac54fd55587cee62c8d2d56d82d6c07a6294ae33119d08e831124facdc9ff8f3
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.19 (GNU/Linux)
-
-iQJ8BAEBCABmBQJRRezeXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
-ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzNTVDNDczOUYzRjJEMTRGNDRGMzU2RkMw
-OUJGNEY1NEMyQkE3RjNDAAoJEAm/T1TCun88WoUP/1kYczd6oEPsSnEXJ5P4zCeO
-KEAmlys2HtY/IOlOCMoe8ID1aSgt98IqAg57RfbjfgyDg43KYDI6UeLNxVU1iS7H
-XgV7j+q0JeqHatuNgYPjjbasH68PR6p4TvayzCc5ppDiYztRD4nU5OOHgy41x3f+
-Z6NMxmPxugxt87gSqLxUw2Yz8iy6WnLwISrO3TlHIEjQsIlxdQ6NEWwn5PQX/OcC
-RWFnxN2ieYRcPMiR+CCN43FVIJ2FgkVmmpVbFQPiUljN9/P8mRmuOChd4+Qa20dv
-AcxrGEDM0Smcq+FvzksuTUXdzNo95MHd4hRaM/3YMNG3/Ym2og8iEgNDjfS629e2
-XdqNyKA99OdWlpN02EQMEBLSwqsvtzUWAhIpHLVFMsrOG0QAlyeWSG00+HPltDSw
-jfZRYLyzDu7ltXM5H3LO45GfnWR6ITb3IdcDWIgR2jp6iJX7ALAKgP2MQ11mBptI
-2DsuFaGxB6ZuonoUi9ULLDnRseNBYRfX0FfN+2Q5YuAdEGQUjB0Hzs2gAjac46Lw
-JqZ2gntuQ5Jo3Cqshf2gGctoQcqt1MqHcB6SINq25MEuYruPD8Zb/R6GxKVPp08+
-JgVQazEqcniQL49BpFH6nAYM8QgvU9/Zl6VVJf2ZSASTNPKHDVZvzFQUIacsObpV
-Sn6vk1IfloMha4D+V+FK
-=Sxrl
------END PGP SIGNATURE-----
diff --git a/sys-fs/device-mapper/device-mapper-1.02.19-r1.ebuild b/sys-fs/device-mapper/device-mapper-1.02.19-r1.ebuild
deleted file mode 100644
index f97b2fd06e3f..000000000000
--- a/sys-fs/device-mapper/device-mapper-1.02.19-r1.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/device-mapper/device-mapper-1.02.19-r1.ebuild,v 1.11 2007/08/25 14:43:23 vapier Exp $
-
-inherit eutils multilib toolchain-funcs
-
-DESCRIPTION="Device mapper ioctl library for use with LVM2 utilities"
-HOMEPAGE="http://sources.redhat.com/dm/"
-SRC_URI="ftp://sources.redhat.com/pub/dm/${PN}.${PV}.tgz
- ftp://sources.redhat.com/pub/dm/old/${PN}.${PV}.tgz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
-IUSE="selinux"
-
-DEPEND="selinux? ( sys-libs/libselinux )"
-
-S=${WORKDIR}/${PN}.${PV}
-
-src_compile() {
- econf --sbindir=/sbin $(use_enable selinux) || die "econf failed"
- emake || die "compile problem"
-}
-
-src_install() {
- make install DESTDIR="${D}" || die
-
- # move shared libs to /
- mv "${D}"/usr/$(get_libdir) "${D}"/ || die "move libdir"
- dolib.a lib/ioctl/libdevmapper.a || die "dolib.a"
- gen_usr_ldscript libdevmapper.so
-
- insinto /etc
- doins "${FILESDIR}"/dmtab
- insinto /lib/rcscripts/addons
- doins "${FILESDIR}"/dm-start.sh
-
- newinitd "${FILESDIR}"/device-mapper.rc device-mapper || die
-
- insinto /etc/udev/rules.d/
- newins "${FILESDIR}"/64-device-mapper.rules-1.02.19 64-device-mapper.rules
-
- dodoc INSTALL INTRO README VERSION WHATS_NEW
-}
-
-pkg_preinst() {
- local l=${ROOT}/$(get_libdir)/libdevmapper.so.1.01
- [[ -e ${l} ]] && cp "${l}" "${D}"/$(get_libdir)/
-}
-
-pkg_postinst() {
- preserve_old_lib_notify /$(get_libdir)/libdevmapper.so.1.01
-
- elog "device-mapper volumes are no longer automatically created for"
- elog "baselayout-2 users. If you are using baselayout-2, be sure to"
- elog "run: # rc-update add device-mapper boot"
-}
diff --git a/sys-fs/device-mapper/device-mapper-1.02.19.ebuild b/sys-fs/device-mapper/device-mapper-1.02.19.ebuild
deleted file mode 100644
index 9844a5b7d83d..000000000000
--- a/sys-fs/device-mapper/device-mapper-1.02.19.ebuild
+++ /dev/null
@@ -1,55 +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/device-mapper/device-mapper-1.02.19.ebuild,v 1.12 2011/02/06 10:51:16 leio Exp $
-
-inherit eutils multilib toolchain-funcs
-
-DESCRIPTION="Device mapper ioctl library for use with LVM2 utilities"
-HOMEPAGE="http://sources.redhat.com/dm/"
-SRC_URI="ftp://sources.redhat.com/pub/dm/${PN}.${PV}.tgz
- ftp://sources.redhat.com/pub/dm/old/${PN}.${PV}.tgz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
-IUSE="selinux"
-
-DEPEND="selinux? ( sys-libs/libselinux )"
-
-S=${WORKDIR}/${PN}.${PV}
-
-src_compile() {
- econf --sbindir=/sbin $(use_enable selinux) || die "econf failed"
- emake || die "compile problem"
-}
-
-src_install() {
- make install DESTDIR="${D}" || die
-
- # move shared libs to /
- mv "${D}"/usr/$(get_libdir) "${D}"/ || die "move libdir"
- dolib.a lib/ioctl/libdevmapper.a || die "dolib.a"
- gen_usr_ldscript libdevmapper.so
-
- insinto /etc
- doins "${FILESDIR}"/dmtab
- insinto /lib/rcscripts/addons
- doins "${FILESDIR}"/dm-start.sh
-
- newinitd "${FILESDIR}"/device-mapper.rc device-mapper || die
-
- dodoc INSTALL INTRO README VERSION WHATS_NEW
-}
-
-pkg_preinst() {
- local l=${ROOT}/$(get_libdir)/libdevmapper.so.1.01
- [[ -e ${l} ]] && cp "${l}" "${D}"/$(get_libdir)/
-}
-
-pkg_postinst() {
- preserve_old_lib_notify /$(get_libdir)/libdevmapper.so.1.01
-
- elog "device-mapper volumes are no longer automatically created for"
- elog "baselayout-2 users. If you are using baselayout-2, be sure to"
- elog "run: # rc-update add device-mapper boot"
-}
diff --git a/sys-fs/device-mapper/device-mapper-1.02.22-r1.ebuild b/sys-fs/device-mapper/device-mapper-1.02.22-r1.ebuild
deleted file mode 100644
index e9faa613ec1b..000000000000
--- a/sys-fs/device-mapper/device-mapper-1.02.22-r1.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/device-mapper/device-mapper-1.02.22-r1.ebuild,v 1.2 2007/10/02 09:38:20 robbat2 Exp $
-
-inherit eutils multilib toolchain-funcs
-
-DESCRIPTION="Device mapper ioctl library for use with LVM2 utilities"
-HOMEPAGE="http://sources.redhat.com/dm/"
-SRC_URI="ftp://sources.redhat.com/pub/dm/${PN}.${PV}.tgz
- ftp://sources.redhat.com/pub/dm/old/${PN}.${PV}.tgz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-IUSE="selinux"
-
-DEPEND="selinux? ( sys-libs/libselinux )"
-
-S="${WORKDIR}/${PN}.${PV}"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/device-mapper-1.02.22-export-format.diff
-}
-
-src_compile() {
- econf --sbindir=/sbin $(use_enable selinux) --enable-dmeventd || die "econf failed"
- emake || die "compile problem"
-}
-
-src_install() {
- emake install DESTDIR="${D}" || die
-
- # move shared libs to /
- mv "${D}"/usr/$(get_libdir) "${D}"/ || die "move libdir"
- dolib.a lib/ioctl/libdevmapper.a || die "dolib.a"
- gen_usr_ldscript libdevmapper.so
-
- insinto /etc
- doins "${FILESDIR}"/dmtab
- insinto /lib/rcscripts/addons
- doins "${FILESDIR}"/dm-start.sh
-
- newinitd "${FILESDIR}"/device-mapper.rc device-mapper || die
-
- newinitd "${FILESDIR}"/1.02.22-dmeventd.initd dmeventd || die
- dolib.a dmeventd/libdevmapper-event.a || die
- gen_usr_ldscript libdevmapper-event.so
-
- insinto /etc/udev/rules.d/
- newins "${FILESDIR}"/64-device-mapper.rules-1.02.22 64-device-mapper.rules
-
- dodoc INSTALL INTRO README VERSION WHATS_NEW
-}
-
-pkg_preinst() {
- local l="${ROOT}"/$(get_libdir)/libdevmapper.so.1.01
- [[ -e ${l} ]] && cp "${l}" "${D}"/$(get_libdir)/
-}
-
-pkg_postinst() {
- preserve_old_lib_notify /$(get_libdir)/libdevmapper.so.1.01
-
- elog "device-mapper volumes are no longer automatically created for"
- elog "baselayout-2 users. If you are using baselayout-2, be sure to"
- elog "run: # rc-update add device-mapper boot"
-}
diff --git a/sys-fs/device-mapper/device-mapper-1.02.22-r3.ebuild b/sys-fs/device-mapper/device-mapper-1.02.22-r3.ebuild
deleted file mode 100644
index fa850c842171..000000000000
--- a/sys-fs/device-mapper/device-mapper-1.02.22-r3.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/device-mapper/device-mapper-1.02.22-r3.ebuild,v 1.1 2007/10/08 21:18:36 cardoe Exp $
-
-inherit eutils multilib toolchain-funcs
-
-DESCRIPTION="Device mapper ioctl library for use with LVM2 utilities"
-HOMEPAGE="http://sources.redhat.com/dm/"
-SRC_URI="ftp://sources.redhat.com/pub/dm/${PN}.${PV}.tgz
- ftp://sources.redhat.com/pub/dm/old/${PN}.${PV}.tgz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-IUSE="selinux"
-
-DEPEND="selinux? ( sys-libs/libselinux )"
-
-S="${WORKDIR}/${PN}.${PV}"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/device-mapper-1.02.22-export-format.diff
-}
-
-src_compile() {
- econf --sbindir=/sbin $(use_enable selinux) --enable-dmeventd || die "econf failed"
- emake || die "compile problem"
-}
-
-src_install() {
- emake install DESTDIR="${D}" || die
-
- # move shared libs to /
- mv "${D}"/usr/$(get_libdir) "${D}"/ || die "move libdir"
- dolib.a lib/ioctl/libdevmapper.a || die "dolib.a"
- gen_usr_ldscript libdevmapper.so
-
- insinto /etc
- doins "${FILESDIR}"/dmtab
- insinto /lib/rcscripts/addons
- doins "${FILESDIR}"/dm-start.sh
-
- newinitd "${FILESDIR}"/device-mapper.rc-1.02.22-r3 device-mapper || die
- newconfd "${FILESDIR}"/device-mapper.conf-1.02.22-r3 device-mapper || die
-
- newinitd "${FILESDIR}"/1.02.22-dmeventd.initd dmeventd || die
- dolib.a dmeventd/libdevmapper-event.a || die
- gen_usr_ldscript libdevmapper-event.so
-
- insinto /etc/udev/rules.d/
- newins "${FILESDIR}"/64-device-mapper.rules-1.02.22 64-device-mapper.rules
-
- dodoc INSTALL INTRO README VERSION WHATS_NEW
-}
-
-pkg_preinst() {
- local l="${ROOT}"/$(get_libdir)/libdevmapper.so.1.01
- [[ -e ${l} ]] && cp "${l}" "${D}"/$(get_libdir)/
-}
-
-pkg_postinst() {
- preserve_old_lib_notify /$(get_libdir)/libdevmapper.so.1.01
-
- elog "device-mapper volumes are no longer automatically created for"
- elog "baselayout-2 users. If you are using baselayout-2, be sure to"
- elog "run: # rc-update add device-mapper boot"
-}
diff --git a/sys-fs/device-mapper/device-mapper-1.02.22-r4.ebuild b/sys-fs/device-mapper/device-mapper-1.02.22-r4.ebuild
deleted file mode 100644
index eb9b63748342..000000000000
--- a/sys-fs/device-mapper/device-mapper-1.02.22-r4.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/device-mapper/device-mapper-1.02.22-r4.ebuild,v 1.1 2007/10/09 14:19:55 cardoe Exp $
-
-inherit eutils multilib toolchain-funcs
-
-DESCRIPTION="Device mapper ioctl library for use with LVM2 utilities"
-HOMEPAGE="http://sources.redhat.com/dm/"
-SRC_URI="ftp://sources.redhat.com/pub/dm/${PN}.${PV}.tgz
- ftp://sources.redhat.com/pub/dm/old/${PN}.${PV}.tgz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-IUSE="selinux"
-
-DEPEND="selinux? ( sys-libs/libselinux )"
-
-S="${WORKDIR}/${PN}.${PV}"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/device-mapper-1.02.22-export-format-r1.diff
-}
-
-src_compile() {
- econf --sbindir=/sbin $(use_enable selinux) --enable-dmeventd || die "econf failed"
- emake || die "compile problem"
-}
-
-src_install() {
- emake install DESTDIR="${D}" || die
-
- # move shared libs to /
- mv "${D}"/usr/$(get_libdir) "${D}"/ || die "move libdir"
- dolib.a lib/ioctl/libdevmapper.a || die "dolib.a"
- gen_usr_ldscript libdevmapper.so
-
- insinto /etc
- doins "${FILESDIR}"/dmtab
- insinto /lib/rcscripts/addons
- doins "${FILESDIR}"/dm-start.sh
-
- newinitd "${FILESDIR}"/device-mapper.rc-1.02.22-r3 device-mapper || die
- newconfd "${FILESDIR}"/device-mapper.conf-1.02.22-r3 device-mapper || die
-
- newinitd "${FILESDIR}"/1.02.22-dmeventd.initd dmeventd || die
- dolib.a dmeventd/libdevmapper-event.a || die
- gen_usr_ldscript libdevmapper-event.so
-
- insinto /etc/udev/rules.d/
- newins "${FILESDIR}"/64-device-mapper.rules-1.02.22 64-device-mapper.rules
-
- dodoc INSTALL INTRO README VERSION WHATS_NEW
-}
-
-pkg_preinst() {
- local l="${ROOT}"/$(get_libdir)/libdevmapper.so.1.01
- [[ -e ${l} ]] && cp "${l}" "${D}"/$(get_libdir)/
-}
-
-pkg_postinst() {
- preserve_old_lib_notify /$(get_libdir)/libdevmapper.so.1.01
-
- elog "device-mapper volumes are no longer automatically created for"
- elog "baselayout-2 users. If you are using baselayout-2, be sure to"
- elog "run: # rc-update add device-mapper boot"
-}
diff --git a/sys-fs/device-mapper/device-mapper-1.02.22-r5.ebuild b/sys-fs/device-mapper/device-mapper-1.02.22-r5.ebuild
deleted file mode 100644
index 9aef53c8936b..000000000000
--- a/sys-fs/device-mapper/device-mapper-1.02.22-r5.ebuild
+++ /dev/null
@@ -1,71 +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/device-mapper/device-mapper-1.02.22-r5.ebuild,v 1.13 2011/02/06 10:51:16 leio Exp $
-
-inherit eutils multilib toolchain-funcs
-
-DESCRIPTION="Device mapper ioctl library for use with LVM2 utilities"
-HOMEPAGE="http://sources.redhat.com/dm/"
-SRC_URI="ftp://sources.redhat.com/pub/dm/${PN}.${PV}.tgz
- ftp://sources.redhat.com/pub/dm/old/${PN}.${PV}.tgz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
-IUSE="selinux"
-
-DEPEND="selinux? ( sys-libs/libselinux )"
-RDEPEND="!<sys-fs/udev-115-r1
- ${DEPEND}"
-
-S="${WORKDIR}/${PN}.${PV}"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/device-mapper-1.02.22-export-format-r1.diff
-}
-
-src_compile() {
- econf --sbindir=/sbin $(use_enable selinux) --enable-dmeventd || die "econf failed"
- emake || die "compile problem"
-}
-
-src_install() {
- emake install DESTDIR="${D}" || die
-
- # move shared libs to /
- mv "${D}"/usr/$(get_libdir) "${D}"/ || die "move libdir"
- dolib.a lib/ioctl/libdevmapper.a || die "dolib.a"
- gen_usr_ldscript libdevmapper.so
-
- insinto /etc
- doins "${FILESDIR}"/dmtab
- insinto /lib/rcscripts/addons
- doins "${FILESDIR}"/dm-start.sh
-
- newinitd "${FILESDIR}"/device-mapper.rc-1.02.22-r3 device-mapper || die
- newconfd "${FILESDIR}"/device-mapper.conf-1.02.22-r3 device-mapper || die
-
- newinitd "${FILESDIR}"/1.02.22-dmeventd.initd dmeventd || die
- dolib.a dmeventd/libdevmapper-event.a || die
- gen_usr_ldscript libdevmapper-event.so
-
- insinto /etc/udev/rules.d/
- newins "${FILESDIR}"/64-device-mapper.rules-1.02.22-r5 64-device-mapper.rules
-
- dodoc INSTALL INTRO README VERSION WHATS_NEW
-}
-
-pkg_preinst() {
- local l="${ROOT}"/$(get_libdir)/libdevmapper.so.1.01
- [[ -e ${l} ]] && cp "${l}" "${D}"/$(get_libdir)/
-}
-
-pkg_postinst() {
- preserve_old_lib_notify /$(get_libdir)/libdevmapper.so.1.01
-
- elog "device-mapper volumes are no longer automatically created for"
- elog "baselayout-2 users. If you are using baselayout-2, be sure to"
- elog "run: # rc-update add device-mapper boot"
-}
diff --git a/sys-fs/device-mapper/device-mapper-1.02.22.ebuild b/sys-fs/device-mapper/device-mapper-1.02.22.ebuild
deleted file mode 100644
index 844a1d039204..000000000000
--- a/sys-fs/device-mapper/device-mapper-1.02.22.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/device-mapper/device-mapper-1.02.22.ebuild,v 1.2 2007/10/08 22:16:40 robbat2 Exp $
-
-inherit eutils multilib toolchain-funcs
-
-DESCRIPTION="Device mapper ioctl library for use with LVM2 utilities"
-HOMEPAGE="http://sources.redhat.com/dm/"
-SRC_URI="ftp://sources.redhat.com/pub/dm/${PN}.${PV}.tgz
- ftp://sources.redhat.com/pub/dm/old/${PN}.${PV}.tgz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-IUSE="selinux"
-
-DEPEND="selinux? ( sys-libs/libselinux )"
-
-S=${WORKDIR}/${PN}.${PV}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/device-mapper-1.02.22-export-format.diff
-}
-
-src_compile() {
- econf --sbindir=/sbin $(use_enable selinux) || die "econf failed"
- emake || die "compile problem"
-}
-
-src_install() {
- make install DESTDIR="${D}" || die
-
- # move shared libs to /
- mv "${D}"/usr/$(get_libdir) "${D}"/ || die "move libdir"
- dolib.a lib/ioctl/libdevmapper.a || die "dolib.a"
- gen_usr_ldscript libdevmapper.so
-
- insinto /etc
- doins "${FILESDIR}"/dmtab
- insinto /lib/rcscripts/addons
- doins "${FILESDIR}"/dm-start.sh
-
- newinitd "${FILESDIR}"/device-mapper.rc device-mapper || die
-
- insinto /etc/udev/rules.d/
- newins "${FILESDIR}"/64-device-mapper.rules-1.02.22 64-device-mapper.rules
-
- dodoc INSTALL INTRO README VERSION WHATS_NEW
-}
-
-pkg_preinst() {
- local l=${ROOT}/$(get_libdir)/libdevmapper.so.1.01
- [[ -e ${l} ]] && cp "${l}" "${D}"/$(get_libdir)/
-}
-
-pkg_postinst() {
- preserve_old_lib_notify /$(get_libdir)/libdevmapper.so.1.01
-
- elog "device-mapper volumes are no longer automatically created for"
- elog "baselayout-2 users. If you are using baselayout-2, be sure to"
- elog "run: # rc-update add device-mapper boot"
-}
diff --git a/sys-fs/device-mapper/device-mapper-1.02.24-r1.ebuild b/sys-fs/device-mapper/device-mapper-1.02.24-r1.ebuild
deleted file mode 100644
index 6694eb551f0d..000000000000
--- a/sys-fs/device-mapper/device-mapper-1.02.24-r1.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/device-mapper/device-mapper-1.02.24-r1.ebuild,v 1.8 2008/04/22 19:07:05 vapier Exp $
-
-inherit eutils multilib toolchain-funcs
-
-DESCRIPTION="Device mapper ioctl library for use with LVM2 utilities"
-HOMEPAGE="http://sources.redhat.com/dm/"
-SRC_URI="ftp://sources.redhat.com/pub/dm/${PN}.${PV}.tgz
- ftp://sources.redhat.com/pub/dm/old/${PN}.${PV}.tgz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
-IUSE="selinux"
-
-DEPEND="selinux? ( sys-libs/libselinux )"
-RDEPEND="!<sys-fs/udev-115-r1
- ${DEPEND}"
-
-S="${WORKDIR}/${PN}.${PV}"
-
-src_unpack() {
- unpack ${A}
- EPATCH_OPTS="-p1 -d${S}" epatch "${FILESDIR}"/device-mapper-1.02.24-export-format.diff
-}
-
-src_compile() {
- econf \
- --sbindir=/sbin \
- --enable-dmeventd \
- $(use_enable selinux) \
- CLDFLAGS="${LDFLAGS}" || die "econf failed"
- emake || die "compile problem"
-}
-
-src_install() {
- emake install DESTDIR="${D}" || die
-
- # move shared libs to /
- mv "${D}"/usr/$(get_libdir) "${D}"/ || die "move libdir"
- dolib.a lib/ioctl/libdevmapper.a || die "dolib.a"
- gen_usr_ldscript libdevmapper.so
-
- insinto /etc
- doins "${FILESDIR}"/dmtab
- insinto /lib/rcscripts/addons
- doins "${FILESDIR}"/dm-start.sh
-
- newinitd "${FILESDIR}"/device-mapper.rc-1.02.22-r3 device-mapper || die
- newconfd "${FILESDIR}"/device-mapper.conf-1.02.22-r3 device-mapper || die
-
- newinitd "${FILESDIR}"/1.02.22-dmeventd.initd dmeventd || die
- dolib.a dmeventd/libdevmapper-event.a || die
- gen_usr_ldscript libdevmapper-event.so
-
- insinto /etc/udev/rules.d/
- newins "${FILESDIR}"/64-device-mapper.rules-1.02.22-r5 64-device-mapper.rules
-
- dodoc INSTALL INTRO README VERSION WHATS_NEW
-}
-
-pkg_preinst() {
- local l="${ROOT}"/$(get_libdir)/libdevmapper.so.1.01
- [[ -e ${l} ]] && cp "${l}" "${D}"/$(get_libdir)/
-}
-
-pkg_postinst() {
- preserve_old_lib_notify /$(get_libdir)/libdevmapper.so.1.01
-
- elog "device-mapper volumes are no longer automatically created for"
- elog "baselayout-2 users. If you are using baselayout-2, be sure to"
- elog "run: # rc-update add device-mapper boot"
-}
diff --git a/sys-fs/device-mapper/device-mapper-1.02.24.ebuild b/sys-fs/device-mapper/device-mapper-1.02.24.ebuild
deleted file mode 100644
index 1a63a1f797e7..000000000000
--- a/sys-fs/device-mapper/device-mapper-1.02.24.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/device-mapper/device-mapper-1.02.24.ebuild,v 1.1 2008/02/07 01:54:05 robbat2 Exp $
-
-inherit eutils multilib toolchain-funcs
-
-DESCRIPTION="Device mapper ioctl library for use with LVM2 utilities"
-HOMEPAGE="http://sources.redhat.com/dm/"
-SRC_URI="ftp://sources.redhat.com/pub/dm/${PN}.${PV}.tgz
- ftp://sources.redhat.com/pub/dm/old/${PN}.${PV}.tgz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-IUSE="selinux"
-
-DEPEND="selinux? ( sys-libs/libselinux )"
-RDEPEND="!<sys-fs/udev-115-r1
- ${DEPEND}"
-
-S="${WORKDIR}/${PN}.${PV}"
-
-src_unpack() {
- unpack ${A}
- EPATCH_OPTS="-p1 -d${S}" epatch "${FILESDIR}"/device-mapper-1.02.24-export-format.diff
-}
-
-src_compile() {
- econf --sbindir=/sbin $(use_enable selinux) --enable-dmeventd || die "econf failed"
- emake || die "compile problem"
-}
-
-src_install() {
- emake install DESTDIR="${D}" || die
-
- # move shared libs to /
- mv "${D}"/usr/$(get_libdir) "${D}"/ || die "move libdir"
- dolib.a lib/ioctl/libdevmapper.a || die "dolib.a"
- gen_usr_ldscript libdevmapper.so
-
- insinto /etc
- doins "${FILESDIR}"/dmtab
- insinto /lib/rcscripts/addons
- doins "${FILESDIR}"/dm-start.sh
-
- newinitd "${FILESDIR}"/device-mapper.rc-1.02.22-r3 device-mapper || die
- newconfd "${FILESDIR}"/device-mapper.conf-1.02.22-r3 device-mapper || die
-
- newinitd "${FILESDIR}"/1.02.22-dmeventd.initd dmeventd || die
- dolib.a dmeventd/libdevmapper-event.a || die
- gen_usr_ldscript libdevmapper-event.so
-
- insinto /etc/udev/rules.d/
- newins "${FILESDIR}"/64-device-mapper.rules-1.02.22-r5 64-device-mapper.rules
-
- dodoc INSTALL INTRO README VERSION WHATS_NEW
-}
-
-pkg_preinst() {
- local l="${ROOT}"/$(get_libdir)/libdevmapper.so.1.01
- [[ -e ${l} ]] && cp "${l}" "${D}"/$(get_libdir)/
-}
-
-pkg_postinst() {
- preserve_old_lib_notify /$(get_libdir)/libdevmapper.so.1.01
-
- elog "device-mapper volumes are no longer automatically created for"
- elog "baselayout-2 users. If you are using baselayout-2, be sure to"
- elog "run: # rc-update add device-mapper boot"
-}
diff --git a/sys-fs/device-mapper/device-mapper-1.02.25.ebuild b/sys-fs/device-mapper/device-mapper-1.02.25.ebuild
deleted file mode 100644
index 8452abec5307..000000000000
--- a/sys-fs/device-mapper/device-mapper-1.02.25.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/device-mapper/device-mapper-1.02.25.ebuild,v 1.1 2008/04/14 22:47:46 vapier Exp $
-
-inherit eutils multilib toolchain-funcs
-
-DESCRIPTION="Device mapper ioctl library for use with LVM2 utilities"
-HOMEPAGE="http://sources.redhat.com/dm/"
-SRC_URI="ftp://sources.redhat.com/pub/dm/${PN}.${PV}.tgz
- ftp://sources.redhat.com/pub/dm/old/${PN}.${PV}.tgz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-IUSE="selinux"
-
-DEPEND="selinux? ( sys-libs/libselinux )"
-RDEPEND="!<sys-fs/udev-115-r1
- ${DEPEND}"
-
-S="${WORKDIR}/${PN}.${PV}"
-
-src_unpack() {
- unpack ${A}
- EPATCH_OPTS="-p1 -d${S}" epatch "${FILESDIR}"/device-mapper-1.02.24-export-format.diff
-}
-
-src_compile() {
- econf \
- --sbindir=/sbin \
- --enable-dmeventd \
- $(use_enable selinux) \
- CLDFLAGS="${LDFLAGS}" || die "econf failed"
- emake || die "compile problem"
-}
-
-src_install() {
- emake install DESTDIR="${D}" || die
-
- # move shared libs to /
- mv "${D}"/usr/$(get_libdir) "${D}"/ || die "move libdir"
- dolib.a lib/ioctl/libdevmapper.a || die "dolib.a"
- gen_usr_ldscript libdevmapper.so
-
- insinto /etc
- doins "${FILESDIR}"/dmtab
- insinto /lib/rcscripts/addons
- doins "${FILESDIR}"/dm-start.sh
-
- newinitd "${FILESDIR}"/device-mapper.rc-1.02.22-r3 device-mapper || die
- newconfd "${FILESDIR}"/device-mapper.conf-1.02.22-r3 device-mapper || die
-
- newinitd "${FILESDIR}"/1.02.22-dmeventd.initd dmeventd || die
- dolib.a dmeventd/libdevmapper-event.a || die
- gen_usr_ldscript libdevmapper-event.so
-
- insinto /etc/udev/rules.d/
- newins "${FILESDIR}"/64-device-mapper.rules-1.02.22-r5 64-device-mapper.rules
-
- dodoc INSTALL INTRO README VERSION WHATS_NEW
-}
-
-pkg_preinst() {
- local l="${ROOT}"/$(get_libdir)/libdevmapper.so.1.01
- [[ -e ${l} ]] && cp "${l}" "${D}"/$(get_libdir)/
-}
-
-pkg_postinst() {
- preserve_old_lib_notify /$(get_libdir)/libdevmapper.so.1.01
-
- elog "device-mapper volumes are no longer automatically created for"
- elog "baselayout-2 users. If you are using baselayout-2, be sure to"
- elog "run: # rc-update add device-mapper boot"
-}
diff --git a/sys-fs/device-mapper/device-mapper-1.02.26.ebuild b/sys-fs/device-mapper/device-mapper-1.02.26.ebuild
deleted file mode 100644
index 5028981b958b..000000000000
--- a/sys-fs/device-mapper/device-mapper-1.02.26.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/device-mapper/device-mapper-1.02.26.ebuild,v 1.5 2008/06/23 18:52:59 armin76 Exp $
-
-inherit eutils multilib toolchain-funcs
-
-DESCRIPTION="Device mapper ioctl library for use with LVM2 utilities"
-HOMEPAGE="http://sources.redhat.com/dm/"
-SRC_URI="ftp://sources.redhat.com/pub/dm/${PN}.${PV}.tgz
- ftp://sources.redhat.com/pub/dm/old/${PN}.${PV}.tgz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc ~x86"
-IUSE="selinux"
-
-DEPEND="selinux? ( sys-libs/libselinux )"
-RDEPEND="!<sys-fs/udev-115-r1
- ${DEPEND}"
-
-S="${WORKDIR}/${PN}.${PV}"
-
-src_unpack() {
- unpack ${A}
- EPATCH_OPTS="-p1 -d${S}" epatch "${FILESDIR}"/device-mapper-1.02.26-export-format.diff
-}
-
-src_compile() {
- econf \
- --sbindir=/sbin \
- --enable-dmeventd \
- $(use_enable selinux) \
- CLDFLAGS="${LDFLAGS}" || die "econf failed"
- emake || die "compile problem"
-}
-
-src_install() {
- emake install DESTDIR="${D}" || die
-
- # move shared libs to /
- mv "${D}"/usr/$(get_libdir) "${D}"/ || die "move libdir"
- dolib.a lib/ioctl/libdevmapper.a || die "dolib.a"
- gen_usr_ldscript libdevmapper.so
-
- insinto /etc
- doins "${FILESDIR}"/dmtab
- insinto /lib/rcscripts/addons
- doins "${FILESDIR}"/dm-start.sh
-
- newinitd "${FILESDIR}"/device-mapper.rc-1.02.22-r3 device-mapper || die
- newconfd "${FILESDIR}"/device-mapper.conf-1.02.22-r3 device-mapper || die
-
- newinitd "${FILESDIR}"/1.02.22-dmeventd.initd dmeventd || die
- dolib.a dmeventd/libdevmapper-event.a || die
- gen_usr_ldscript libdevmapper-event.so
-
- insinto /etc/udev/rules.d/
- newins "${FILESDIR}"/64-device-mapper.rules-1.02.22-r5 64-device-mapper.rules
-
- dodoc INSTALL INTRO README VERSION WHATS_NEW
-}
-
-pkg_preinst() {
- local l="${ROOT}"/$(get_libdir)/libdevmapper.so.1.01
- [[ -e ${l} ]] && cp "${l}" "${D}"/$(get_libdir)/
-}
-
-pkg_postinst() {
- preserve_old_lib_notify /$(get_libdir)/libdevmapper.so.1.01
-
- elog "device-mapper volumes are no longer automatically created for"
- elog "baselayout-2 users. If you are using baselayout-2, be sure to"
- elog "run: # rc-update add device-mapper boot"
-}
diff --git a/sys-fs/device-mapper/device-mapper-1.02.27.ebuild b/sys-fs/device-mapper/device-mapper-1.02.27.ebuild
deleted file mode 100644
index eb26f2ff6a74..000000000000
--- a/sys-fs/device-mapper/device-mapper-1.02.27.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/device-mapper/device-mapper-1.02.27.ebuild,v 1.2 2008/10/26 03:03:36 vapier Exp $
-
-inherit eutils multilib toolchain-funcs
-
-DESCRIPTION="Device mapper ioctl library for use with LVM2 utilities"
-HOMEPAGE="http://sources.redhat.com/dm/"
-SRC_URI="ftp://sources.redhat.com/pub/dm/${PN}.${PV}.tgz
- ftp://sources.redhat.com/pub/dm/old/${PN}.${PV}.tgz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-IUSE="selinux"
-
-DEPEND="selinux? ( sys-libs/libselinux )"
-RDEPEND="!<sys-fs/udev-115-r1
- ${DEPEND}"
-
-S="${WORKDIR}/${PN}.${PV}"
-
-src_unpack() {
- unpack ${A}
- EPATCH_OPTS="-p1 -d${S}" epatch "${FILESDIR}"/device-mapper-1.02.27-export-format.diff
-}
-
-src_compile() {
- econf \
- --libdir=/$(get_libdir) \
- --sbindir=/sbin \
- --enable-dmeventd \
- --enable-pkgconfig \
- $(use_enable selinux) \
- CLDFLAGS="${LDFLAGS}" || die "econf failed"
- emake || die "compile problem"
-}
-
-src_install() {
- emake install DESTDIR="${D}" || die
-
- dolib.a lib/ioctl/libdevmapper.a || die
- gen_usr_ldscript libdevmapper.so
- dolib.a dmeventd/libdevmapper-event.a || die
- gen_usr_ldscript libdevmapper-event.so
-
- insinto /etc
- doins "${FILESDIR}"/dmtab || die
- insinto /lib/rcscripts/addons
- doins "${FILESDIR}"/dm-start.sh || die
-
- newinitd "${FILESDIR}"/device-mapper.rc-1.02.22-r3 device-mapper || die
- newconfd "${FILESDIR}"/device-mapper.conf-1.02.22-r3 device-mapper || die
-
- newinitd "${FILESDIR}"/1.02.22-dmeventd.initd dmeventd || die
-
- insinto /etc/udev/rules.d
- newins "${FILESDIR}"/64-device-mapper.rules-1.02.22-r5 64-device-mapper.rules
-
- dodoc INSTALL INTRO README VERSION WHATS_NEW
-}
-
-pkg_preinst() {
- local l="${ROOT}"/$(get_libdir)/libdevmapper.so.1.01
- [[ -e ${l} ]] && cp "${l}" "${D}"/$(get_libdir)/
-}
-
-pkg_postinst() {
- preserve_old_lib_notify /$(get_libdir)/libdevmapper.so.1.01
-
- elog "device-mapper volumes are no longer automatically created for"
- elog "baselayout-2 users. If you are using baselayout-2, be sure to"
- elog "run: # rc-update add device-mapper boot"
-}
diff --git a/sys-fs/device-mapper/device-mapper-1.02.28.ebuild b/sys-fs/device-mapper/device-mapper-1.02.28.ebuild
deleted file mode 100644
index a04788f66c7d..000000000000
--- a/sys-fs/device-mapper/device-mapper-1.02.28.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/device-mapper/device-mapper-1.02.28.ebuild,v 1.3 2010/04/08 19:21:31 ssuominen Exp $
-
-inherit eutils multilib toolchain-funcs
-
-DESCRIPTION="Device mapper ioctl library for use with LVM2 utilities"
-HOMEPAGE="http://sources.redhat.com/dm/"
-SRC_URI="ftp://sources.redhat.com/pub/dm/${PN}.${PV}.tgz
- ftp://sources.redhat.com/pub/dm/old/${PN}.${PV}.tgz"
-
-LICENSE="GPL-2 LGPL-2.1"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-IUSE="selinux"
-
-DEPEND="selinux? ( sys-libs/libselinux )"
-RDEPEND="!<sys-fs/udev-115-r1
- ${DEPEND}"
-
-S="${WORKDIR}/${PN}.${PV}"
-
-src_unpack() {
- unpack ${A}
- EPATCH_OPTS="-p1 -d${S}" epatch \
- "${FILESDIR}"/device-mapper-1.02.27-export-format.diff \
- "${FILESDIR}"/${P}-asneeded.patch
-}
-
-src_compile() {
- econf \
- --sbindir=/sbin \
- --enable-dmeventd \
- $(use_enable selinux) \
- CLDFLAGS="${LDFLAGS}" || die "econf failed"
- emake || die "compile problem"
-}
-
-src_install() {
- emake install DESTDIR="${D}" || die
-
- # move shared libs to /
- mv "${D}"/usr/$(get_libdir) "${D}"/ || die "move libdir"
- dolib.a lib/ioctl/libdevmapper.a || die "dolib.a"
- gen_usr_ldscript libdevmapper.so
-
- insinto /etc
- doins "${FILESDIR}"/dmtab
- insinto /lib/rcscripts/addons
- doins "${FILESDIR}"/dm-start.sh
-
- newinitd "${FILESDIR}"/device-mapper.rc-1.02.22-r3 device-mapper || die
- newconfd "${FILESDIR}"/device-mapper.conf-1.02.22-r3 device-mapper || die
-
- newinitd "${FILESDIR}"/1.02.22-dmeventd.initd dmeventd || die
- dolib.a dmeventd/libdevmapper-event.a || die
- gen_usr_ldscript libdevmapper-event.so
-
- insinto /etc/udev/rules.d/
- newins "${FILESDIR}"/64-device-mapper.rules-1.02.22-r5 64-device-mapper.rules
-
- dodoc INSTALL INTRO README VERSION WHATS_NEW
-}
-
-pkg_preinst() {
- local l="${ROOT}"/$(get_libdir)/libdevmapper.so.1.01
- [[ -e ${l} ]] && cp "${l}" "${D}"/$(get_libdir)/
-}
-
-pkg_postinst() {
- preserve_old_lib_notify /$(get_libdir)/libdevmapper.so.1.01
-
- elog "device-mapper volumes are no longer automatically created for"
- elog "baselayout-2 users. If you are using baselayout-2, be sure to"
- elog "run: # rc-update add device-mapper boot"
-}
diff --git a/sys-fs/device-mapper/files/1.02.22-dmeventd.initd b/sys-fs/device-mapper/files/1.02.22-dmeventd.initd
deleted file mode 100644
index 335a72c402d6..000000000000
--- a/sys-fs/device-mapper/files/1.02.22-dmeventd.initd
+++ /dev/null
@@ -1,21 +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/device-mapper/files/1.02.22-dmeventd.initd,v 1.1 2007/10/02 08:12:28 robbat2 Exp $
-
-depend() {
- before device-mapper
-}
-
-start() {
- ebegin "Starting dmeventd"
- start-stop-daemon --start --exec /sbin/dmeventd --pidfile /var/run/dmeventd.pid
- eend $?
-}
-
-stop() {
- ebegin "Stopping dmeventd"
- start-stop-daemon --stop --exec /sbin/dmeventd --pidfile /var/run/dmeventd.pid
- eend $?
-}
-
diff --git a/sys-fs/device-mapper/files/64-device-mapper.rules-1.02.19 b/sys-fs/device-mapper/files/64-device-mapper.rules-1.02.19
deleted file mode 100644
index ace522ba10f5..000000000000
--- a/sys-fs/device-mapper/files/64-device-mapper.rules-1.02.19
+++ /dev/null
@@ -1,33 +0,0 @@
-# device mapper links hook into "change" events, when the dm table
-# becomes available; some table-types must be ignored
-
-KERNEL=="device-mapper", NAME="mapper/control"
-
-KERNEL!="dm-*", GOTO="device_mapper_end"
-ACTION!="add|change", GOTO="device_mapper_end"
-
-# lookup device name
-# use dmsetup, until devmap_name is provided by sys-fs/device-mapper
-PROGRAM=="/sbin/dmsetup -j %M -m %m --noopencount --noheadings -c -o name info",
- ENV{DM_NAME}="%c"
-
-# do not do anything if dmsetup does not provide a name
-ENV{DM_NAME}=="", NAME="", OPTIONS="ignore_device"
-
-# ignore luks crypt devices while not fully up
-ENV{DM_NAME}=="temporary-cryptsetup-*", NAME="", OPTIONS="ignore_device"
-
-# use queried name
-ENV{DM_NAME}=="?*", NAME="mapper/$env{DM_NAME}"
-
-SYMLINK+="disk/by-id/dm-name-$env{DM_NAME}"
-
-PROGRAM!="/sbin/dmsetup status -j %M -m %m", GOTO="device_mapper_end"
-RESULT=="|*snapshot*|*error*", GOTO="device_mapper_end"
-
-IMPORT{program}="vol_id --export $tempnode"
-OPTIONS="link_priority=50"
-ENV{ID_FS_USAGE}=="filesystem|other|crypto", ENV{ID_FS_UUID_ENC}=="?*", SYMLINK+="disk/by-uuid/$env{ID_FS_UUID_ENC}"
-ENV{ID_FS_USAGE}=="filesystem|other", ENV{ID_FS_LABEL_ENC}=="?*", SYMLINK+="disk/by-label/$env{ID_FS_LABEL_ENC}"
-
-LABEL="device_mapper_end"
diff --git a/sys-fs/device-mapper/files/64-device-mapper.rules-1.02.22 b/sys-fs/device-mapper/files/64-device-mapper.rules-1.02.22
deleted file mode 100644
index a0087e057f97..000000000000
--- a/sys-fs/device-mapper/files/64-device-mapper.rules-1.02.22
+++ /dev/null
@@ -1,25 +0,0 @@
-# do not edit this file, it will be overwritten on update
-
-KERNEL=="device-mapper", SYMLINK+="mapper/control"
-
-KERNEL!="dm-*", GOTO="device_mapper_end"
-ACTION!="add|change", GOTO="device_mapper_end"
-
-IMPORT{program}="/sbin/dmsetup info --export -j%M -m%m"
-ENV{DM_NAME}!="?*", GOTO="device_mapper_end"
-SYMLINK+="mapper/$env{DM_NAME}"
-
-SYMLINK+="disk/by-id/dm-name-$env{DM_NAME}"
-ENV{DM_UUID}=="?*", SYMLINK+="disk/by-id/dm-uuid-$env{DM_UUID}"
-
-ENV{DM_SUSPENDED}=="1", GOTO="device_mapper_end"
-ENV{DM_EXISTS}=="0", GOTO="device_mapper_end"
-ENV{DM_TARGET_TYPES}=="|*error*", GOTO="device_mapper_end"
-
-IMPORT{program}="vol_id --export $tempnode"
-OPTIONS="link_priority=-100"
-ENV{DM_TARGET_TYPES}=="*snapshot-origin*", OPTIONS="link_priority=-90"
-ENV{ID_FS_USAGE}=="filesystem|other|crypto", ENV{ID_FS_UUID_ENC}=="?*", SYMLINK+="disk/by-uuid/$env{ID_FS_UUID_ENC}"
-ENV{ID_FS_USAGE}=="filesystem|other", ENV{ID_FS_LABEL_ENC}=="?*", SYMLINK+="disk/by-label/$env{ID_FS_LABEL_ENC}"
-
-LABEL="device_mapper_end"
diff --git a/sys-fs/device-mapper/files/64-device-mapper.rules-1.02.22-r5 b/sys-fs/device-mapper/files/64-device-mapper.rules-1.02.22-r5
deleted file mode 100644
index 36c085b56b97..000000000000
--- a/sys-fs/device-mapper/files/64-device-mapper.rules-1.02.22-r5
+++ /dev/null
@@ -1,25 +0,0 @@
-# do not edit this file, it will be overwritten on update
-
-KERNEL=="device-mapper", SYMLINK+="mapper/control"
-
-KERNEL!="dm-*", GOTO="device_mapper_end"
-ACTION!="add|change", GOTO="device_mapper_end"
-
-IMPORT{program}="/sbin/dmsetup info --export -j%M -m%m"
-ENV{DM_NAME}!="?*", GOTO="device_mapper_end"
-NAME="mapper/$env{DM_NAME}", SYMLINK+="%k"
-
-SYMLINK+="disk/by-id/dm-name-$env{DM_NAME}"
-ENV{DM_UUID}=="?*", SYMLINK+="disk/by-id/dm-uuid-$env{DM_UUID}"
-
-ENV{DM_SUSPENDED}=="1", GOTO="device_mapper_end"
-ENV{DM_EXISTS}=="0", GOTO="device_mapper_end"
-ENV{DM_TARGET_TYPES}=="|*error*", GOTO="device_mapper_end"
-
-IMPORT{program}="vol_id --export $tempnode"
-OPTIONS="link_priority=-100"
-ENV{DM_TARGET_TYPES}=="*snapshot-origin*", OPTIONS="link_priority=-90"
-ENV{ID_FS_USAGE}=="filesystem|other|crypto", ENV{ID_FS_UUID_ENC}=="?*", SYMLINK+="disk/by-uuid/$env{ID_FS_UUID_ENC}"
-ENV{ID_FS_USAGE}=="filesystem|other", ENV{ID_FS_LABEL_ENC}=="?*", SYMLINK+="disk/by-label/$env{ID_FS_LABEL_ENC}"
-
-LABEL="device_mapper_end"
diff --git a/sys-fs/device-mapper/files/device-mapper-1.02.22-export-format-r1.diff b/sys-fs/device-mapper/files/device-mapper-1.02.22-export-format-r1.diff
deleted file mode 100644
index 0fef5a2558f6..000000000000
--- a/sys-fs/device-mapper/files/device-mapper-1.02.22-export-format-r1.diff
+++ /dev/null
@@ -1,300 +0,0 @@
-diff -Nur device-mapper.1.02.22.orig/dmsetup/dmsetup.c device-mapper.1.02.22/dmsetup/dmsetup.c
---- device-mapper.1.02.22.orig/dmsetup/dmsetup.c 2007-10-09 09:51:48.000000000 -0400
-+++ device-mapper.1.02.22/dmsetup/dmsetup.c 2007-10-09 09:52:02.000000000 -0400
-@@ -107,6 +107,7 @@
- enum {
- READ_ONLY = 0,
- COLS_ARG,
-+ EXPORT_ARG,
- EXEC_ARG,
- FORCE_ARG,
- GID_ARG,
-@@ -137,7 +138,8 @@
- DR_TASK = 1,
- DR_INFO = 2,
- DR_DEPS = 4,
-- DR_TREE = 8 /* Complete dependency tree required */
-+ DR_TREE = 8, /* Complete dependency tree required */
-+ DR_TABLE = 0x10, /* table is required, not just info */
- } report_type_t;
-
- static int _switches[NUM_SWITCHES];
-@@ -1105,8 +1107,13 @@
- name = argv[1];
- }
-
-- if (!(dmt = dm_task_create(DM_DEVICE_INFO)))
-- return 0;
-+ if (_report_type & DR_TABLE ) {
-+ if (!(dmt = dm_task_create(DM_DEVICE_TABLE)))
-+ return 0;
-+ } else {
-+ if (!(dmt = dm_task_create(DM_DEVICE_INFO)))
-+ return 0;
-+ }
-
- if (!_set_task_device(dmt, name, 0))
- goto out;
-@@ -1570,6 +1577,16 @@
- return dm_report_field_uint32(rh, field, &value);
- }
-
-+static int _int_disp(struct dm_report *rh,
-+ struct dm_pool *mem __attribute((unused)),
-+ struct dm_report_field *field, const void *data,
-+ void *private __attribute((unused)))
-+{
-+ const int value = *(const int *)data;
-+
-+ return dm_report_field_int(rh, field, &value);
-+}
-+
- static int _dm_name_disp(struct dm_report *rh,
- struct dm_pool *mem __attribute((unused)),
- struct dm_report_field *field, const void *data,
-@@ -1611,6 +1628,66 @@
- return dm_report_field_string(rh, field, &s);
- }
-
-+static int _dm_info_cleartext_status_disp(struct dm_report *rh,
-+ struct dm_pool *mem __attribute((unused)),
-+ struct dm_report_field *field, const void *data,
-+ void *private __attribute((unused)))
-+{
-+ const char *buf = "NOTPRESENT";
-+ const struct dm_info *info = data;
-+
-+ if (info->exists) {
-+ if (info->suspended)
-+ buf = "SUSPENDED";
-+ else
-+ buf = info->read_only ? " READONLY" : "ACTIVE";
-+ }
-+
-+ return dm_report_field_string(rh, field, &buf);
-+}
-+
-+static int _dm_info_target_types_disp(struct dm_report *rh,
-+ struct dm_pool *mem __attribute((unused)),
-+ struct dm_report_field *field, const void *data,
-+ void *private __attribute((unused)))
-+{
-+ char buf[1024];
-+ char *dest = buf;
-+ int remains = sizeof(buf);
-+ int written;
-+ const char *s = buf;
-+ struct dm_task *dmt = (struct dm_task *) data;
-+ void *next = NULL;
-+ uint64_t start, length;
-+ char *target_type = NULL;
-+ char *params;
-+
-+
-+ buf[0] = '\0';
-+
-+ next = dm_get_next_target(dmt, next, &start, &length,
-+ &target_type, &params);
-+ if (target_type) {
-+ written = snprintf(dest, remains, "%s", target_type);
-+ dest += written;
-+ remains -= written;
-+
-+ while (remains > 0 && next) {
-+ next = dm_get_next_target(dmt, next, &start, &length,
-+ &target_type, &params);
-+ if (target_type) {
-+ written = snprintf(dest, remains, ",%s", target_type);
-+ dest += written;
-+ remains -= written;
-+ }
-+ }
-+ }
-+
-+ buf[sizeof(buf)-1] = '\0';
-+
-+ return dm_report_field_string(rh, field, &s);
-+}
-+
- static int _dm_info_devno_disp(struct dm_report *rh, struct dm_pool *mem,
- struct dm_report_field *field, const void *data,
- void *private)
-@@ -1834,11 +1911,12 @@
- { DR_INFO, "Mapped Device Information", "", _info_get_obj },
- { DR_DEPS, "Mapped Device Relationship Information", "", _deps_get_obj },
- { DR_TREE, "Mapped Device Relationship Information", "", _tree_get_obj },
-+ { DR_TABLE, "Mapped Device Table", "", _task_get_obj },
- { 0, "", "", NULL },
- };
-
- /* Column definitions */
--#define OFFSET_OF(strct, field) ((unsigned int) &((struct strct *)NULL)->field)
-+#define OFFSET_OF(strct, field) ((unsigned long) &((struct strct *)NULL)->field)
- #define STR (DM_REPORT_FIELD_TYPE_STRING)
- #define NUM (DM_REPORT_FIELD_TYPE_NUMBER)
- #define FIELD_O(type, strct, sorttype, head, field, width, func, id, desc) {DR_ ## type, sorttype, OFFSET_OF(strct, field), width, id, head, &_ ## func ## _disp, desc},
-@@ -1849,6 +1927,7 @@
- FIELD_F(TASK, STR, "Name", 16, dm_name, "name", "Name of mapped device.")
- FIELD_F(TASK, STR, "UUID", 32, dm_uuid, "uuid", "Unique (optional) identifier for mapped device.")
- FIELD_F(INFO, STR, "Stat", 4, dm_info_status, "attr", "(L)ive, (I)nactive, (s)uspended, (r)ead-only, read-(w)rite.")
-+FIELD_F(INFO, STR, "State", 1, dm_info_cleartext_status, "status", "State as cleartext.")
- FIELD_F(INFO, STR, "DevNo", 5, dm_info_devno, "devno", "Device major and minor numbers")
- FIELD_O(INFO, dm_info, NUM, "Maj", major, 3, int32, "major", "Block device major number.")
- FIELD_O(INFO, dm_info, NUM, "Min", minor, 3, int32, "minor", "Block device minor number.")
-@@ -1856,6 +1935,11 @@
- FIELD_O(INFO, dm_info, NUM, "Targ", target_count, 4, int32, "segments", "Number of segments in live table, if present.")
- FIELD_O(INFO, dm_info, NUM, "Event", event_nr, 6, uint32, "events", "Number of most recent event.")
-
-+FIELD_O(INFO, dm_info, NUM, "RO", read_only, 2, int, "read_only", "Read only.")
-+FIELD_O(INFO, dm_info, NUM, "Ex", exists, 2, int, "exists", "Exists.")
-+FIELD_O(INFO, dm_info, NUM, "Susp", suspended, 4, int, "suspended", "Suspended.")
-+FIELD_O(INFO, dm_info, NUM, "tab_live", live_table, 8, int, "table_live", "Live table.")
-+FIELD_O(INFO, dm_info, NUM, "tab_inact", inactive_table, 9, int, "table_inactive", "Inactive table.")
- FIELD_O(DEPS, dm_deps, NUM, "#Devs", count, 5, int32, "device_count", "Number of devices used by this one.")
- FIELD_F(TREE, STR, "DevNames", 8, dm_deps_names, "devs_used", "List of names of mapped devices used by this one.")
- FIELD_F(DEPS, STR, "DevNos", 6, dm_deps, "devnos_used", "List of device numbers of devices used by this one.")
-@@ -1863,6 +1947,7 @@
- FIELD_F(TREE, NUM, "#Refs", 5, dm_tree_parents_count, "device_ref_count", "Number of mapped devices referencing this one.")
- FIELD_F(TREE, STR, "RefNames", 8, dm_tree_parents_names, "names_using_dev", "List of names of mapped devices using this one.")
- FIELD_F(TREE, STR, "RefDevNos", 9, dm_tree_parents_devs, "devnos_using_dev", "List of device numbers of mapped devices using this one.")
-+FIELD_F(TABLE, STR, "Targettypes", 32, dm_info_target_types, "target_types", "Used target types.")
- {0, 0, 0, 0, "", "", NULL, NULL},
- /* *INDENT-ON* */
- };
-@@ -1873,13 +1958,15 @@
- #undef FIELD_F
-
- static const char *default_report_options = "name,major,minor,attr,open,segments,events,uuid";
-+static const char *default_export_options = "name,major,minor,status,read_only,exists,suspended,table_live,table_inactive,open,segments,events,uuid,target_types";
-
- static int _report_init(struct command *c)
- {
-- char *options = (char *) default_report_options;
-+ char *default_options = (char *) default_report_options;
-+ char *options;
- const char *keys = "";
- const char *separator = " ";
-- int aligned = 1, headings = 1, buffered = 1;
-+ int aligned = 1, headings = 1, buffered = 1, export = 0;
- uint32_t flags = 0;
- size_t len = 0;
- int r = 0;
-@@ -1894,6 +1981,15 @@
- if (_switches[UNBUFFERED_ARG])
- buffered = 0;
-
-+ if (_switches[EXPORT_ARG]) {
-+ default_options = (char *) default_export_options;
-+ separator = "\n";
-+ aligned = 0;
-+ headings = 0;
-+ export = 1;
-+ }
-+
-+ options = default_options;
- if (_switches[OPTIONS_ARG] && _string_args[OPTIONS_ARG]) {
- if (*_string_args[OPTIONS_ARG] != '+')
- options = _string_args[OPTIONS_ARG];
-@@ -1936,6 +2032,9 @@
- if (headings)
- flags |= DM_REPORT_OUTPUT_HEADINGS;
-
-+ if (export)
-+ flags |= DM_REPORT_OUTPUT_EXPORT;
-+
- if (!(_report = dm_report_init(&_report_type,
- _report_types, _report_fields,
- options, separator, flags, keys, NULL)))
-@@ -2010,7 +2109,8 @@
- fprintf(out, "Usage:\n\n");
- fprintf(out, "dmsetup [--version] [-v|--verbose [-v|--verbose ...]]\n"
- " [-r|--readonly] [--noopencount] [--nolockfs]\n"
-- " [-c|-C|--columns] [-o <fields>] [-O|--sort <sort_fields>]\n"
-+ " [-c|-C|--columns] [-e|--export]\n"
-+ " [-o <fields>] [-O|--sort <sort_fields>]\n"
- " [--noheadings] [--separator <separator>]\n\n");
- for (i = 0; _commands[i].name; i++)
- fprintf(out, "\t%s %s\n", _commands[i].name, _commands[i].help);
-@@ -2354,6 +2454,7 @@
- static struct option long_options[] = {
- {"readonly", 0, &ind, READ_ONLY},
- {"columns", 0, &ind, COLS_ARG},
-+ {"export", 0, &ind, EXPORT_ARG},
- {"exec", 1, &ind, EXEC_ARG},
- {"force", 0, &ind, FORCE_ARG},
- {"gid", 1, &ind, GID_ARG},
-@@ -2431,12 +2532,16 @@
-
- optarg = 0;
- optind = OPTIND_INIT;
-- while ((ind = -1, c = GETOPTLONG_FN(*argc, *argv, "cCfGj:m:Mno:O:ru:Uv",
-+ while ((ind = -1, c = GETOPTLONG_FN(*argc, *argv, "cCefGj:m:Mno:O:ru:Uv",
- long_options, NULL)) != -1) {
- if (c == ':' || c == '?')
- return 0;
- if (c == 'c' || c == 'C' || ind == COLS_ARG)
- _switches[COLS_ARG]++;
-+ if (c == 'e' || ind == EXPORT_ARG) {
-+ _switches[EXPORT_ARG]++;
-+ _switches[COLS_ARG]++;
-+ }
- if (c == 'f' || ind == FORCE_ARG)
- _switches[FORCE_ARG]++;
- if (c == 'r' || ind == READ_ONLY)
-diff -Nur device-mapper.1.02.22.orig/lib/libdevmapper.h device-mapper.1.02.22/lib/libdevmapper.h
---- device-mapper.1.02.22.orig/lib/libdevmapper.h 2007-10-09 09:51:48.000000000 -0400
-+++ device-mapper.1.02.22/lib/libdevmapper.h 2007-10-09 09:52:02.000000000 -0400
-@@ -715,6 +715,7 @@
- #define DM_REPORT_OUTPUT_ALIGNED 0x00000001
- #define DM_REPORT_OUTPUT_BUFFERED 0x00000002
- #define DM_REPORT_OUTPUT_HEADINGS 0x00000004
-+#define DM_REPORT_OUTPUT_EXPORT 0x00000008
-
- struct dm_report *dm_report_init(uint32_t *report_types,
- const struct dm_report_object_type *types,
-diff -Nur device-mapper.1.02.22.orig/lib/libdm-report.c device-mapper.1.02.22/lib/libdm-report.c
---- device-mapper.1.02.22.orig/lib/libdm-report.c 2007-10-09 09:51:48.000000000 -0400
-+++ device-mapper.1.02.22/lib/libdm-report.c 2007-10-09 09:52:24.000000000 -0400
-@@ -13,6 +13,7 @@
- * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- */
-
-+#include <ctype.h>
- #include "libdevmapper.h"
- #include "list.h"
- #include "log.h"
-@@ -776,6 +777,8 @@
- char buf[4096];
- int32_t width;
- uint32_t align;
-+ const char *fname;
-+ char tmp_char;
-
- if (list_empty(&rh->rows))
- return 1;
-@@ -800,6 +803,25 @@
- if (field->props->flags & FLD_HIDDEN)
- continue;
-
-+ if (rh->flags & DM_REPORT_OUTPUT_EXPORT) {
-+ fname = rh->fields[field->props->field_num].id;
-+ if (!dm_pool_grow_object(rh->mem, "DM_", strlen("DM_"))) {
-+ log_error("dm_report: Unable to extend output line");
-+ goto bad;
-+ }
-+ while (fname && fname[0]) {
-+ tmp_char = toupper(fname[0]);
-+ if (!dm_pool_grow_object(rh->mem, &tmp_char, 1)) {
-+ log_error("dm_report: Unable to extend output line");
-+ goto bad;
-+ }
-+ fname++;
-+ }
-+ if (!dm_pool_grow_object(rh->mem, "=", strlen("="))) {
-+ log_error("dm_report: Unable to extend output line");
-+ goto bad;
-+ }
-+ }
- repstr = field->report_string;
- width = field->props->width;
- if (!(rh->flags & DM_REPORT_OUTPUT_ALIGNED)) {
diff --git a/sys-fs/device-mapper/files/device-mapper-1.02.22-export-format.diff b/sys-fs/device-mapper/files/device-mapper-1.02.22-export-format.diff
deleted file mode 100644
index 5291120f3986..000000000000
--- a/sys-fs/device-mapper/files/device-mapper-1.02.22-export-format.diff
+++ /dev/null
@@ -1,295 +0,0 @@
-Index: device-mapper.1.02.22/lib/libdm-report.c
-===================================================================
---- device-mapper.1.02.22.orig/lib/libdm-report.c
-+++ device-mapper.1.02.22/lib/libdm-report.c
-@@ -776,6 +776,8 @@ int dm_report_output(struct dm_report *r
- char buf[4096];
- int32_t width;
- uint32_t align;
-+ const char *fname;
-+ char tmp_char;
-
- if (list_empty(&rh->rows))
- return 1;
-@@ -800,6 +802,25 @@ int dm_report_output(struct dm_report *r
- if (field->props->flags & FLD_HIDDEN)
- continue;
-
-+ if (rh->flags & DM_REPORT_OUTPUT_EXPORT) {
-+ fname = rh->fields[field->props->field_num].id;
-+ if (!dm_pool_grow_object(rh->mem, "DM_", strlen("DM_"))) {
-+ log_error("dm_report: Unable to extend output line");
-+ goto bad;
-+ }
-+ while (fname && fname[0]) {
-+ tmp_char = toupper(fname[0]);
-+ if (!dm_pool_grow_object(rh->mem, &tmp_char, 1)) {
-+ log_error("dm_report: Unable to extend output line");
-+ goto bad;
-+ }
-+ fname++;
-+ }
-+ if (!dm_pool_grow_object(rh->mem, "=", strlen("="))) {
-+ log_error("dm_report: Unable to extend output line");
-+ goto bad;
-+ }
-+ }
- repstr = field->report_string;
- width = field->props->width;
- if (!(rh->flags & DM_REPORT_OUTPUT_ALIGNED)) {
-Index: device-mapper.1.02.22/dmsetup/dmsetup.c
-===================================================================
---- device-mapper.1.02.22.orig/dmsetup/dmsetup.c
-+++ device-mapper.1.02.22/dmsetup/dmsetup.c
-@@ -107,6 +107,7 @@ extern char *optarg;
- enum {
- READ_ONLY = 0,
- COLS_ARG,
-+ EXPORT_ARG,
- EXEC_ARG,
- FORCE_ARG,
- GID_ARG,
-@@ -137,7 +138,8 @@ typedef enum {
- DR_TASK = 1,
- DR_INFO = 2,
- DR_DEPS = 4,
-- DR_TREE = 8 /* Complete dependency tree required */
-+ DR_TREE = 8, /* Complete dependency tree required */
-+ DR_TABLE = 0x10, /* table is required, not just info */
- } report_type_t;
-
- static int _switches[NUM_SWITCHES];
-@@ -1105,8 +1107,13 @@ static int _info(int argc, char **argv,
- name = argv[1];
- }
-
-- if (!(dmt = dm_task_create(DM_DEVICE_INFO)))
-- return 0;
-+ if (_report_type & DR_TABLE ) {
-+ if (!(dmt = dm_task_create(DM_DEVICE_TABLE)))
-+ return 0;
-+ } else {
-+ if (!(dmt = dm_task_create(DM_DEVICE_INFO)))
-+ return 0;
-+ }
-
- if (!_set_task_device(dmt, name, 0))
- goto out;
-@@ -1570,6 +1577,16 @@ static int _uint32_disp(struct dm_report
- return dm_report_field_uint32(rh, field, &value);
- }
-
-+static int _int_disp(struct dm_report *rh,
-+ struct dm_pool *mem __attribute((unused)),
-+ struct dm_report_field *field, const void *data,
-+ void *private __attribute((unused)))
-+{
-+ const int value = *(const int *)data;
-+
-+ return dm_report_field_int(rh, field, &value);
-+}
-+
- static int _dm_name_disp(struct dm_report *rh,
- struct dm_pool *mem __attribute((unused)),
- struct dm_report_field *field, const void *data,
-@@ -1611,6 +1628,66 @@ static int _dm_info_status_disp(struct d
- return dm_report_field_string(rh, field, &s);
- }
-
-+static int _dm_info_cleartext_status_disp(struct dm_report *rh,
-+ struct dm_pool *mem __attribute((unused)),
-+ struct dm_report_field *field, const void *data,
-+ void *private __attribute((unused)))
-+{
-+ const char *buf = "NOTPRESENT";
-+ const struct dm_info *info = data;
-+
-+ if (info->exists) {
-+ if (info->suspended)
-+ buf = "SUSPENDED";
-+ else
-+ buf = info->read_only ? " READONLY" : "ACTIVE";
-+ }
-+
-+ return dm_report_field_string(rh, field, &buf);
-+}
-+
-+static int _dm_info_target_types_disp(struct dm_report *rh,
-+ struct dm_pool *mem __attribute((unused)),
-+ struct dm_report_field *field, const void *data,
-+ void *private __attribute((unused)))
-+{
-+ char buf[1024];
-+ char *dest = buf;
-+ int remains = sizeof(buf);
-+ int written;
-+ const char *s = buf;
-+ struct dm_task *dmt = (struct dm_task *) data;
-+ void *next = NULL;
-+ uint64_t start, length;
-+ char *target_type = NULL;
-+ char *params;
-+
-+
-+ buf[0] = '\0';
-+
-+ next = dm_get_next_target(dmt, next, &start, &length,
-+ &target_type, &params);
-+ if (target_type) {
-+ written = snprintf(dest, remains, "%s", target_type);
-+ dest += written;
-+ remains -= written;
-+
-+ while (remains > 0 && next) {
-+ next = dm_get_next_target(dmt, next, &start, &length,
-+ &target_type, &params);
-+ if (target_type) {
-+ written = snprintf(dest, remains, ",%s", target_type);
-+ dest += written;
-+ remains -= written;
-+ }
-+ }
-+ }
-+
-+ buf[sizeof(buf)-1] = '\0';
-+
-+ return dm_report_field_string(rh, field, &s);
-+}
-+
- static int _dm_info_devno_disp(struct dm_report *rh, struct dm_pool *mem,
- struct dm_report_field *field, const void *data,
- void *private)
-@@ -1834,11 +1911,12 @@ static const struct dm_report_object_typ
- { DR_INFO, "Mapped Device Information", "", _info_get_obj },
- { DR_DEPS, "Mapped Device Relationship Information", "", _deps_get_obj },
- { DR_TREE, "Mapped Device Relationship Information", "", _tree_get_obj },
-+ { DR_TABLE, "Mapped Device Table", "", _task_get_obj },
- { 0, "", "", NULL },
- };
-
- /* Column definitions */
--#define OFFSET_OF(strct, field) ((unsigned int) &((struct strct *)NULL)->field)
-+#define OFFSET_OF(strct, field) ((unsigned long) &((struct strct *)NULL)->field)
- #define STR (DM_REPORT_FIELD_TYPE_STRING)
- #define NUM (DM_REPORT_FIELD_TYPE_NUMBER)
- #define FIELD_O(type, strct, sorttype, head, field, width, func, id, desc) {DR_ ## type, sorttype, OFFSET_OF(strct, field), width, id, head, &_ ## func ## _disp, desc},
-@@ -1849,6 +1927,7 @@ static const struct dm_report_field_type
- FIELD_F(TASK, STR, "Name", 16, dm_name, "name", "Name of mapped device.")
- FIELD_F(TASK, STR, "UUID", 32, dm_uuid, "uuid", "Unique (optional) identifier for mapped device.")
- FIELD_F(INFO, STR, "Stat", 4, dm_info_status, "attr", "(L)ive, (I)nactive, (s)uspended, (r)ead-only, read-(w)rite.")
-+FIELD_F(INFO, STR, "State", 1, dm_info_cleartext_status, "status", "State as cleartext.")
- FIELD_F(INFO, STR, "DevNo", 5, dm_info_devno, "devno", "Device major and minor numbers")
- FIELD_O(INFO, dm_info, NUM, "Maj", major, 3, int32, "major", "Block device major number.")
- FIELD_O(INFO, dm_info, NUM, "Min", minor, 3, int32, "minor", "Block device minor number.")
-@@ -1856,6 +1935,11 @@ FIELD_O(INFO, dm_info, NUM, "Open", open
- FIELD_O(INFO, dm_info, NUM, "Targ", target_count, 4, int32, "segments", "Number of segments in live table, if present.")
- FIELD_O(INFO, dm_info, NUM, "Event", event_nr, 6, uint32, "events", "Number of most recent event.")
-
-+FIELD_O(INFO, dm_info, NUM, "RO", read_only, 2, int, "read_only", "Read only.")
-+FIELD_O(INFO, dm_info, NUM, "Ex", exists, 2, int, "exists", "Exists.")
-+FIELD_O(INFO, dm_info, NUM, "Susp", suspended, 4, int, "suspended", "Suspended.")
-+FIELD_O(INFO, dm_info, NUM, "tab_live", live_table, 8, int, "table_live", "Live table.")
-+FIELD_O(INFO, dm_info, NUM, "tab_inact", inactive_table, 9, int, "table_inactive", "Inactive table.")
- FIELD_O(DEPS, dm_deps, NUM, "#Devs", count, 5, int32, "device_count", "Number of devices used by this one.")
- FIELD_F(TREE, STR, "DevNames", 8, dm_deps_names, "devs_used", "List of names of mapped devices used by this one.")
- FIELD_F(DEPS, STR, "DevNos", 6, dm_deps, "devnos_used", "List of device numbers of devices used by this one.")
-@@ -1863,6 +1947,7 @@ FIELD_F(DEPS, STR, "DevNos", 6, dm_deps,
- FIELD_F(TREE, NUM, "#Refs", 5, dm_tree_parents_count, "device_ref_count", "Number of mapped devices referencing this one.")
- FIELD_F(TREE, STR, "RefNames", 8, dm_tree_parents_names, "names_using_dev", "List of names of mapped devices using this one.")
- FIELD_F(TREE, STR, "RefDevNos", 9, dm_tree_parents_devs, "devnos_using_dev", "List of device numbers of mapped devices using this one.")
-+FIELD_F(TABLE, STR, "Targettypes", 32, dm_info_target_types, "target_types", "Used target types.")
- {0, 0, 0, 0, "", "", NULL, NULL},
- /* *INDENT-ON* */
- };
-@@ -1873,13 +1958,15 @@ FIELD_F(TREE, STR, "RefDevNos", 9, dm_tr
- #undef FIELD_F
-
- static const char *default_report_options = "name,major,minor,attr,open,segments,events,uuid";
-+static const char *default_export_options = "name,major,minor,status,read_only,exists,suspended,table_live,table_inactive,open,segments,events,uuid,target_types";
-
- static int _report_init(struct command *c)
- {
-- char *options = (char *) default_report_options;
-+ char *default_options = (char *) default_report_options;
-+ char *options;
- const char *keys = "";
- const char *separator = " ";
-- int aligned = 1, headings = 1, buffered = 1;
-+ int aligned = 1, headings = 1, buffered = 1, export = 0;
- uint32_t flags = 0;
- size_t len = 0;
- int r = 0;
-@@ -1894,6 +1981,15 @@ static int _report_init(struct command *
- if (_switches[UNBUFFERED_ARG])
- buffered = 0;
-
-+ if (_switches[EXPORT_ARG]) {
-+ default_options = (char *) default_export_options;
-+ separator = "\n";
-+ aligned = 0;
-+ headings = 0;
-+ export = 1;
-+ }
-+
-+ options = default_options;
- if (_switches[OPTIONS_ARG] && _string_args[OPTIONS_ARG]) {
- if (*_string_args[OPTIONS_ARG] != '+')
- options = _string_args[OPTIONS_ARG];
-@@ -1936,6 +2032,9 @@ static int _report_init(struct command *
- if (headings)
- flags |= DM_REPORT_OUTPUT_HEADINGS;
-
-+ if (export)
-+ flags |= DM_REPORT_OUTPUT_EXPORT;
-+
- if (!(_report = dm_report_init(&_report_type,
- _report_types, _report_fields,
- options, separator, flags, keys, NULL)))
-@@ -2010,7 +2109,8 @@ static void _usage(FILE *out)
- fprintf(out, "Usage:\n\n");
- fprintf(out, "dmsetup [--version] [-v|--verbose [-v|--verbose ...]]\n"
- " [-r|--readonly] [--noopencount] [--nolockfs]\n"
-- " [-c|-C|--columns] [-o <fields>] [-O|--sort <sort_fields>]\n"
-+ " [-c|-C|--columns] [-e|--export]\n"
-+ " [-o <fields>] [-O|--sort <sort_fields>]\n"
- " [--noheadings] [--separator <separator>]\n\n");
- for (i = 0; _commands[i].name; i++)
- fprintf(out, "\t%s %s\n", _commands[i].name, _commands[i].help);
-@@ -2354,6 +2454,7 @@ static int _process_switches(int *argc,
- static struct option long_options[] = {
- {"readonly", 0, &ind, READ_ONLY},
- {"columns", 0, &ind, COLS_ARG},
-+ {"export", 0, &ind, EXPORT_ARG},
- {"exec", 1, &ind, EXEC_ARG},
- {"force", 0, &ind, FORCE_ARG},
- {"gid", 1, &ind, GID_ARG},
-@@ -2431,12 +2532,16 @@ static int _process_switches(int *argc,
-
- optarg = 0;
- optind = OPTIND_INIT;
-- while ((ind = -1, c = GETOPTLONG_FN(*argc, *argv, "cCfGj:m:Mno:O:ru:Uv",
-+ while ((ind = -1, c = GETOPTLONG_FN(*argc, *argv, "cCefGj:m:Mno:O:ru:Uv",
- long_options, NULL)) != -1) {
- if (c == ':' || c == '?')
- return 0;
- if (c == 'c' || c == 'C' || ind == COLS_ARG)
- _switches[COLS_ARG]++;
-+ if (c == 'e' || ind == EXPORT_ARG) {
-+ _switches[EXPORT_ARG]++;
-+ _switches[COLS_ARG]++;
-+ }
- if (c == 'f' || ind == FORCE_ARG)
- _switches[FORCE_ARG]++;
- if (c == 'r' || ind == READ_ONLY)
-Index: device-mapper.1.02.22/lib/libdevmapper.h
-===================================================================
---- device-mapper.1.02.22.orig/lib/libdevmapper.h
-+++ device-mapper.1.02.22/lib/libdevmapper.h
-@@ -715,6 +715,7 @@ struct dm_report_field_type {
- #define DM_REPORT_OUTPUT_ALIGNED 0x00000001
- #define DM_REPORT_OUTPUT_BUFFERED 0x00000002
- #define DM_REPORT_OUTPUT_HEADINGS 0x00000004
-+#define DM_REPORT_OUTPUT_EXPORT 0x00000008
-
- struct dm_report *dm_report_init(uint32_t *report_types,
- const struct dm_report_object_type *types,
diff --git a/sys-fs/device-mapper/files/device-mapper-1.02.24-export-format.diff b/sys-fs/device-mapper/files/device-mapper-1.02.24-export-format.diff
deleted file mode 100644
index c92b0c5a943b..000000000000
--- a/sys-fs/device-mapper/files/device-mapper-1.02.24-export-format.diff
+++ /dev/null
@@ -1,300 +0,0 @@
-diff -Nuar --exclude '*.rej' --exclude '*.orig' device-mapper.1.02.24.orig/dmsetup/dmsetup.c device-mapper.1.02.24/dmsetup/dmsetup.c
---- device-mapper.1.02.24.orig/dmsetup/dmsetup.c 2007-12-05 09:05:04.000000000 -0800
-+++ device-mapper.1.02.24/dmsetup/dmsetup.c 2008-02-06 17:49:04.670645367 -0800
-@@ -108,6 +108,7 @@
- enum {
- READ_ONLY = 0,
- COLS_ARG,
-+ EXPORT_ARG,
- EXEC_ARG,
- FORCE_ARG,
- GID_ARG,
-@@ -139,7 +140,8 @@
- DR_TASK = 1,
- DR_INFO = 2,
- DR_DEPS = 4,
-- DR_TREE = 8 /* Complete dependency tree required */
-+ DR_TREE = 8, /* Complete dependency tree required */
-+ DR_TABLE = 0x10, /* table is required, not just info */
- } report_type_t;
-
- static int _switches[NUM_SWITCHES];
-@@ -1123,8 +1125,13 @@
- name = argv[1];
- }
-
-- if (!(dmt = dm_task_create(DM_DEVICE_INFO)))
-- return 0;
-+ if (_report_type & DR_TABLE ) {
-+ if (!(dmt = dm_task_create(DM_DEVICE_TABLE)))
-+ return 0;
-+ } else {
-+ if (!(dmt = dm_task_create(DM_DEVICE_INFO)))
-+ return 0;
-+ }
-
- if (!_set_task_device(dmt, name, 0))
- goto out;
-@@ -1588,6 +1595,16 @@
- return dm_report_field_uint32(rh, field, &value);
- }
-
-+static int _int_disp(struct dm_report *rh,
-+ struct dm_pool *mem __attribute((unused)),
-+ struct dm_report_field *field, const void *data,
-+ void *private __attribute((unused)))
-+{
-+ const int value = *(const int *)data;
-+
-+ return dm_report_field_int(rh, field, &value);
-+}
-+
- static int _dm_name_disp(struct dm_report *rh,
- struct dm_pool *mem __attribute((unused)),
- struct dm_report_field *field, const void *data,
-@@ -1642,6 +1659,66 @@
- return dm_report_field_string(rh, field, &s);
- }
-
-+static int _dm_info_cleartext_status_disp(struct dm_report *rh,
-+ struct dm_pool *mem __attribute((unused)),
-+ struct dm_report_field *field, const void *data,
-+ void *private __attribute((unused)))
-+{
-+ const char *buf = "NOTPRESENT";
-+ const struct dm_info *info = data;
-+
-+ if (info->exists) {
-+ if (info->suspended)
-+ buf = "SUSPENDED";
-+ else
-+ buf = info->read_only ? " READONLY" : "ACTIVE";
-+ }
-+
-+ return dm_report_field_string(rh, field, &buf);
-+}
-+
-+static int _dm_info_target_types_disp(struct dm_report *rh,
-+ struct dm_pool *mem __attribute((unused)),
-+ struct dm_report_field *field, const void *data,
-+ void *private __attribute((unused)))
-+{
-+ char buf[1024];
-+ char *dest = buf;
-+ int remains = sizeof(buf);
-+ int written;
-+ const char *s = buf;
-+ struct dm_task *dmt = (struct dm_task *) data;
-+ void *next = NULL;
-+ uint64_t start, length;
-+ char *target_type = NULL;
-+ char *params;
-+
-+
-+ buf[0] = '\0';
-+
-+ next = dm_get_next_target(dmt, next, &start, &length,
-+ &target_type, &params);
-+ if (target_type) {
-+ written = snprintf(dest, remains, "%s", target_type);
-+ dest += written;
-+ remains -= written;
-+
-+ while (remains > 0 && next) {
-+ next = dm_get_next_target(dmt, next, &start, &length,
-+ &target_type, &params);
-+ if (target_type) {
-+ written = snprintf(dest, remains, ",%s", target_type);
-+ dest += written;
-+ remains -= written;
-+ }
-+ }
-+ }
-+
-+ buf[sizeof(buf)-1] = '\0';
-+
-+ return dm_report_field_string(rh, field, &s);
-+}
-+
- static int _dm_info_devno_disp(struct dm_report *rh, struct dm_pool *mem,
- struct dm_report_field *field, const void *data,
- void *private)
-@@ -1865,11 +1942,12 @@
- { DR_INFO, "Mapped Device Information", "", _info_get_obj },
- { DR_DEPS, "Mapped Device Relationship Information", "", _deps_get_obj },
- { DR_TREE, "Mapped Device Relationship Information", "", _tree_get_obj },
-+ { DR_TABLE, "Mapped Device Table", "", _task_get_obj },
- { 0, "", "", NULL },
- };
-
- /* Column definitions */
--#define OFFSET_OF(strct, field) ((unsigned int) &((struct strct *)NULL)->field)
-+#define OFFSET_OF(strct, field) ((unsigned long) &((struct strct *)NULL)->field)
- #define STR (DM_REPORT_FIELD_TYPE_STRING)
- #define NUM (DM_REPORT_FIELD_TYPE_NUMBER)
- #define FIELD_O(type, strct, sorttype, head, field, width, func, id, desc) {DR_ ## type, sorttype, OFFSET_OF(strct, field), width, id, head, &_ ## func ## _disp, desc},
-@@ -1884,6 +1962,7 @@
- FIELD_F(TASK, NUM, "RAhead", 6, dm_read_ahead, "read_ahead", "Read ahead in sectors.")
-
- FIELD_F(INFO, STR, "Stat", 4, dm_info_status, "attr", "(L)ive, (I)nactive, (s)uspended, (r)ead-only, read-(w)rite.")
-+FIELD_F(INFO, STR, "State", 1, dm_info_cleartext_status, "status", "State as cleartext.")
- FIELD_F(INFO, STR, "DevNo", 5, dm_info_devno, "devno", "Device major and minor numbers")
- FIELD_O(INFO, dm_info, NUM, "Maj", major, 3, int32, "major", "Block device major number.")
- FIELD_O(INFO, dm_info, NUM, "Min", minor, 3, int32, "minor", "Block device minor number.")
-@@ -1891,6 +1970,11 @@
- FIELD_O(INFO, dm_info, NUM, "Targ", target_count, 4, int32, "segments", "Number of segments in live table, if present.")
- FIELD_O(INFO, dm_info, NUM, "Event", event_nr, 6, uint32, "events", "Number of most recent event.")
-
-+FIELD_O(INFO, dm_info, NUM, "RO", read_only, 2, int, "read_only", "Read only.")
-+FIELD_O(INFO, dm_info, NUM, "Ex", exists, 2, int, "exists", "Exists.")
-+FIELD_O(INFO, dm_info, NUM, "Susp", suspended, 4, int, "suspended", "Suspended.")
-+FIELD_O(INFO, dm_info, NUM, "tab_live", live_table, 8, int, "table_live", "Live table.")
-+FIELD_O(INFO, dm_info, NUM, "tab_inact", inactive_table, 9, int, "table_inactive", "Inactive table.")
- FIELD_O(DEPS, dm_deps, NUM, "#Devs", count, 5, int32, "device_count", "Number of devices used by this one.")
- FIELD_F(TREE, STR, "DevNames", 8, dm_deps_names, "devs_used", "List of names of mapped devices used by this one.")
- FIELD_F(DEPS, STR, "DevNos", 6, dm_deps, "devnos_used", "List of device numbers of devices used by this one.")
-@@ -1898,6 +1982,7 @@
- FIELD_F(TREE, NUM, "#Refs", 5, dm_tree_parents_count, "device_ref_count", "Number of mapped devices referencing this one.")
- FIELD_F(TREE, STR, "RefNames", 8, dm_tree_parents_names, "names_using_dev", "List of names of mapped devices using this one.")
- FIELD_F(TREE, STR, "RefDevNos", 9, dm_tree_parents_devs, "devnos_using_dev", "List of device numbers of mapped devices using this one.")
-+FIELD_F(TABLE, STR, "Targettypes", 32, dm_info_target_types, "target_types", "Used target types.")
- {0, 0, 0, 0, "", "", NULL, NULL},
- /* *INDENT-ON* */
- };
-@@ -1908,13 +1993,15 @@
- #undef FIELD_F
-
- static const char *default_report_options = "name,major,minor,attr,open,segments,events,uuid";
-+static const char *default_export_options = "name,major,minor,status,read_only,exists,suspended,table_live,table_inactive,open,segments,events,uuid,target_types";
-
- static int _report_init(struct command *c)
- {
-- char *options = (char *) default_report_options;
-+ char *default_options = (char *) default_report_options;
-+ char *options;
- const char *keys = "";
- const char *separator = " ";
-- int aligned = 1, headings = 1, buffered = 1;
-+ int aligned = 1, headings = 1, buffered = 1, export = 0;
- uint32_t flags = 0;
- size_t len = 0;
- int r = 0;
-@@ -1929,6 +2016,15 @@
- if (_switches[UNBUFFERED_ARG])
- buffered = 0;
-
-+ if (_switches[EXPORT_ARG]) {
-+ default_options = (char *) default_export_options;
-+ separator = "\n";
-+ aligned = 0;
-+ headings = 0;
-+ export = 1;
-+ }
-+
-+ options = default_options;
- if (_switches[OPTIONS_ARG] && _string_args[OPTIONS_ARG]) {
- if (*_string_args[OPTIONS_ARG] != '+')
- options = _string_args[OPTIONS_ARG];
-@@ -1971,6 +2067,9 @@
- if (headings)
- flags |= DM_REPORT_OUTPUT_HEADINGS;
-
-+ if (export)
-+ flags |= DM_REPORT_OUTPUT_EXPORT;
-+
- if (!(_report = dm_report_init(&_report_type,
- _report_types, _report_fields,
- options, separator, flags, keys, NULL)))
-@@ -2046,7 +2145,8 @@
- fprintf(out, "dmsetup [--version] [-v|--verbose [-v|--verbose ...]]\n"
- " [-r|--readonly] [--noopencount] [--nolockfs]\n"
- " [--readahead [+]<sectors>|auto|none]\n"
-- " [-c|-C|--columns] [-o <fields>] [-O|--sort <sort_fields>]\n"
-+ " [-c|-C|--columns] [-e|--export]\n"
-+ " [-o <fields>] [-O|--sort <sort_fields>]\n"
- " [--noheadings] [--separator <separator>]\n\n");
- for (i = 0; _commands[i].name; i++)
- fprintf(out, "\t%s %s\n", _commands[i].name, _commands[i].help);
-@@ -2397,6 +2497,7 @@
- static struct option long_options[] = {
- {"readonly", 0, &ind, READ_ONLY},
- {"columns", 0, &ind, COLS_ARG},
-+ {"export", 0, &ind, EXPORT_ARG},
- {"exec", 1, &ind, EXEC_ARG},
- {"force", 0, &ind, FORCE_ARG},
- {"gid", 1, &ind, GID_ARG},
-@@ -2476,12 +2577,16 @@
-
- optarg = 0;
- optind = OPTIND_INIT;
-- while ((ind = -1, c = GETOPTLONG_FN(*argc, *argv, "cCfGj:m:Mno:O:ru:Uv",
-+ while ((ind = -1, c = GETOPTLONG_FN(*argc, *argv, "cCefGj:m:Mno:O:ru:Uv",
- long_options, NULL)) != -1) {
- if (c == ':' || c == '?')
- return 0;
- if (c == 'c' || c == 'C' || ind == COLS_ARG)
- _switches[COLS_ARG]++;
-+ if (c == 'e' || ind == EXPORT_ARG) {
-+ _switches[EXPORT_ARG]++;
-+ _switches[COLS_ARG]++;
-+ }
- if (c == 'f' || ind == FORCE_ARG)
- _switches[FORCE_ARG]++;
- if (c == 'r' || ind == READ_ONLY)
-diff -Nuar --exclude '*.rej' --exclude '*.orig' device-mapper.1.02.24.orig/lib/libdevmapper.h device-mapper.1.02.24/lib/libdevmapper.h
---- device-mapper.1.02.24.orig/lib/libdevmapper.h 2007-12-05 08:28:19.000000000 -0800
-+++ device-mapper.1.02.24/lib/libdevmapper.h 2008-02-06 17:48:06.670426177 -0800
-@@ -738,6 +738,7 @@
- #define DM_REPORT_OUTPUT_ALIGNED 0x00000001
- #define DM_REPORT_OUTPUT_BUFFERED 0x00000002
- #define DM_REPORT_OUTPUT_HEADINGS 0x00000004
-+#define DM_REPORT_OUTPUT_EXPORT 0x00000008
-
- struct dm_report *dm_report_init(uint32_t *report_types,
- const struct dm_report_object_type *types,
-diff -Nuar --exclude '*.rej' --exclude '*.orig' device-mapper.1.02.24.orig/lib/libdm-report.c device-mapper.1.02.24/lib/libdm-report.c
---- device-mapper.1.02.24.orig/lib/libdm-report.c 2007-08-21 09:26:06.000000000 -0700
-+++ device-mapper.1.02.24/lib/libdm-report.c 2008-02-06 17:48:06.670426177 -0800
-@@ -13,6 +13,7 @@
- * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- */
-
-+#include <ctype.h>
- #include "libdevmapper.h"
- #include "list.h"
- #include "log.h"
-@@ -776,6 +777,8 @@
- char buf[4096];
- int32_t width;
- uint32_t align;
-+ const char *fname;
-+ char tmp_char;
-
- if (list_empty(&rh->rows))
- return 1;
-@@ -800,6 +803,25 @@
- if (field->props->flags & FLD_HIDDEN)
- continue;
-
-+ if (rh->flags & DM_REPORT_OUTPUT_EXPORT) {
-+ fname = rh->fields[field->props->field_num].id;
-+ if (!dm_pool_grow_object(rh->mem, "DM_", strlen("DM_"))) {
-+ log_error("dm_report: Unable to extend output line");
-+ goto bad;
-+ }
-+ while (fname && fname[0]) {
-+ tmp_char = toupper(fname[0]);
-+ if (!dm_pool_grow_object(rh->mem, &tmp_char, 1)) {
-+ log_error("dm_report: Unable to extend output line");
-+ goto bad;
-+ }
-+ fname++;
-+ }
-+ if (!dm_pool_grow_object(rh->mem, "=", strlen("="))) {
-+ log_error("dm_report: Unable to extend output line");
-+ goto bad;
-+ }
-+ }
- repstr = field->report_string;
- width = field->props->width;
- if (!(rh->flags & DM_REPORT_OUTPUT_ALIGNED)) {
diff --git a/sys-fs/device-mapper/files/device-mapper-1.02.26-export-format.diff b/sys-fs/device-mapper/files/device-mapper-1.02.26-export-format.diff
deleted file mode 100644
index 2d4861229599..000000000000
--- a/sys-fs/device-mapper/files/device-mapper-1.02.26-export-format.diff
+++ /dev/null
@@ -1,300 +0,0 @@
-diff -Nuar --exclude '*.orig' device-mapper.1.02.26.orig/dmsetup/dmsetup.c device-mapper.1.02.26/dmsetup/dmsetup.c
---- device-mapper.1.02.26.orig/dmsetup/dmsetup.c 2008-06-06 11:53:08.000000000 -0700
-+++ device-mapper.1.02.26/dmsetup/dmsetup.c 2008-06-08 11:57:58.491838798 -0700
-@@ -108,6 +108,7 @@
- enum {
- READ_ONLY = 0,
- COLS_ARG,
-+ EXPORT_ARG,
- EXEC_ARG,
- FORCE_ARG,
- GID_ARG,
-@@ -140,7 +141,8 @@
- DR_TASK = 1,
- DR_INFO = 2,
- DR_DEPS = 4,
-- DR_TREE = 8 /* Complete dependency tree required */
-+ DR_TREE = 8, /* Complete dependency tree required */
-+ DR_TABLE = 0x10, /* table is required, not just info */
- } report_type_t;
-
- static int _switches[NUM_SWITCHES];
-@@ -1124,8 +1126,13 @@
- name = argv[1];
- }
-
-- if (!(dmt = dm_task_create(DM_DEVICE_INFO)))
-- return 0;
-+ if (_report_type & DR_TABLE ) {
-+ if (!(dmt = dm_task_create(DM_DEVICE_TABLE)))
-+ return 0;
-+ } else {
-+ if (!(dmt = dm_task_create(DM_DEVICE_INFO)))
-+ return 0;
-+ }
-
- if (!_set_task_device(dmt, name, 0))
- goto out;
-@@ -1589,6 +1596,16 @@
- return dm_report_field_uint32(rh, field, &value);
- }
-
-+static int _int_disp(struct dm_report *rh,
-+ struct dm_pool *mem __attribute((unused)),
-+ struct dm_report_field *field, const void *data,
-+ void *private __attribute((unused)))
-+{
-+ const int value = *(const int *)data;
-+
-+ return dm_report_field_int(rh, field, &value);
-+}
-+
- static int _dm_name_disp(struct dm_report *rh,
- struct dm_pool *mem __attribute((unused)),
- struct dm_report_field *field, const void *data,
-@@ -1700,6 +1717,66 @@
- }
-
-
-+static int _dm_info_cleartext_status_disp(struct dm_report *rh,
-+ struct dm_pool *mem __attribute((unused)),
-+ struct dm_report_field *field, const void *data,
-+ void *private __attribute((unused)))
-+{
-+ const char *buf = "NOTPRESENT";
-+ const struct dm_info *info = data;
-+
-+ if (info->exists) {
-+ if (info->suspended)
-+ buf = "SUSPENDED";
-+ else
-+ buf = info->read_only ? " READONLY" : "ACTIVE";
-+ }
-+
-+ return dm_report_field_string(rh, field, &buf);
-+}
-+
-+static int _dm_info_target_types_disp(struct dm_report *rh,
-+ struct dm_pool *mem __attribute((unused)),
-+ struct dm_report_field *field, const void *data,
-+ void *private __attribute((unused)))
-+{
-+ char buf[1024];
-+ char *dest = buf;
-+ int remains = sizeof(buf);
-+ int written;
-+ const char *s = buf;
-+ struct dm_task *dmt = (struct dm_task *) data;
-+ void *next = NULL;
-+ uint64_t start, length;
-+ char *target_type = NULL;
-+ char *params;
-+
-+
-+ buf[0] = '\0';
-+
-+ next = dm_get_next_target(dmt, next, &start, &length,
-+ &target_type, &params);
-+ if (target_type) {
-+ written = snprintf(dest, remains, "%s", target_type);
-+ dest += written;
-+ remains -= written;
-+
-+ while (remains > 0 && next) {
-+ next = dm_get_next_target(dmt, next, &start, &length,
-+ &target_type, &params);
-+ if (target_type) {
-+ written = snprintf(dest, remains, ",%s", target_type);
-+ dest += written;
-+ remains -= written;
-+ }
-+ }
-+ }
-+
-+ buf[sizeof(buf)-1] = '\0';
-+
-+ return dm_report_field_string(rh, field, &s);
-+}
-+
- static int _dm_info_devno_disp(struct dm_report *rh, struct dm_pool *mem,
- struct dm_report_field *field, const void *data,
- void *private)
-@@ -1923,11 +2000,12 @@
- { DR_INFO, "Mapped Device Information", "", _info_get_obj },
- { DR_DEPS, "Mapped Device Relationship Information", "", _deps_get_obj },
- { DR_TREE, "Mapped Device Relationship Information", "", _tree_get_obj },
-+ { DR_TABLE, "Mapped Device Table", "", _task_get_obj },
- { 0, "", "", NULL },
- };
-
- /* Column definitions */
--#define OFFSET_OF(strct, field) ((unsigned int) &((struct strct *)NULL)->field)
-+#define OFFSET_OF(strct, field) ((unsigned long) &((struct strct *)NULL)->field)
- #define STR (DM_REPORT_FIELD_TYPE_STRING)
- #define NUM (DM_REPORT_FIELD_TYPE_NUMBER)
- #define FIELD_O(type, strct, sorttype, head, field, width, func, id, desc) {DR_ ## type, sorttype, OFFSET_OF(strct, field), width, id, head, &_ ## func ## _disp, desc},
-@@ -1942,6 +2020,7 @@
- FIELD_F(TASK, NUM, "RAhead", 6, dm_read_ahead, "read_ahead", "Read ahead in sectors.")
-
- FIELD_F(INFO, STR, "Stat", 4, dm_info_status, "attr", "(L)ive, (I)nactive, (s)uspended, (r)ead-only, read-(w)rite.")
-+FIELD_F(INFO, STR, "State", 1, dm_info_cleartext_status, "status", "State as cleartext.")
- FIELD_F(INFO, STR, "Tables", 6, dm_info_table_loaded, "tables_loaded", "Which of the live and inactive table slots are filled.")
- FIELD_F(INFO, STR, "Suspended", 9, dm_info_suspended, "suspended", "Whether the device is suspended.")
- FIELD_F(INFO, STR, "Read-only", 9, dm_info_read_only, "readonly", "Whether the device is read-only or writeable.")
-@@ -1952,6 +2031,11 @@
- FIELD_O(INFO, dm_info, NUM, "Targ", target_count, 4, int32, "segments", "Number of segments in live table, if present.")
- FIELD_O(INFO, dm_info, NUM, "Event", event_nr, 6, uint32, "events", "Number of most recent event.")
-
-+FIELD_O(INFO, dm_info, NUM, "RO", read_only, 2, int, "read_only", "Read only.")
-+FIELD_O(INFO, dm_info, NUM, "Ex", exists, 2, int, "exists", "Exists.")
-+FIELD_O(INFO, dm_info, NUM, "Susp", suspended, 4, int, "suspended", "Suspended.")
-+FIELD_O(INFO, dm_info, NUM, "tab_live", live_table, 8, int, "table_live", "Live table.")
-+FIELD_O(INFO, dm_info, NUM, "tab_inact", inactive_table, 9, int, "table_inactive", "Inactive table.")
- FIELD_O(DEPS, dm_deps, NUM, "#Devs", count, 5, int32, "device_count", "Number of devices used by this one.")
- FIELD_F(TREE, STR, "DevNames", 8, dm_deps_names, "devs_used", "List of names of mapped devices used by this one.")
- FIELD_F(DEPS, STR, "DevNos", 6, dm_deps, "devnos_used", "List of device numbers of devices used by this one.")
-@@ -1959,6 +2043,7 @@
- FIELD_F(TREE, NUM, "#Refs", 5, dm_tree_parents_count, "device_ref_count", "Number of mapped devices referencing this one.")
- FIELD_F(TREE, STR, "RefNames", 8, dm_tree_parents_names, "names_using_dev", "List of names of mapped devices using this one.")
- FIELD_F(TREE, STR, "RefDevNos", 9, dm_tree_parents_devs, "devnos_using_dev", "List of device numbers of mapped devices using this one.")
-+FIELD_F(TABLE, STR, "Targettypes", 32, dm_info_target_types, "target_types", "Used target types.")
- {0, 0, 0, 0, "", "", NULL, NULL},
- /* *INDENT-ON* */
- };
-@@ -1969,13 +2054,15 @@
- #undef FIELD_F
-
- static const char *default_report_options = "name,major,minor,attr,open,segments,events,uuid";
-+static const char *default_export_options = "name,major,minor,status,read_only,exists,suspended,table_live,table_inactive,open,segments,events,uuid,target_types";
-
- static int _report_init(struct command *c)
- {
-- char *options = (char *) default_report_options;
-+ char *default_options = (char *) default_report_options;
-+ char *options;
- const char *keys = "";
- const char *separator = " ";
-- int aligned = 1, headings = 1, buffered = 1, field_prefixes = 0;
-+ int aligned = 1, headings = 1, buffered = 1, field_prefixes = 0, export = 0;
- uint32_t flags = 0;
- size_t len = 0;
- int r = 0;
-@@ -1995,6 +2082,15 @@
- field_prefixes = 1;
- }
-
-+ if (_switches[EXPORT_ARG]) {
-+ default_options = (char *) default_export_options;
-+ separator = "\n";
-+ aligned = 0;
-+ headings = 0;
-+ export = 1;
-+ }
-+
-+ options = default_options;
- if (_switches[OPTIONS_ARG] && _string_args[OPTIONS_ARG]) {
- if (*_string_args[OPTIONS_ARG] != '+')
- options = _string_args[OPTIONS_ARG];
-@@ -2040,6 +2136,9 @@
- if (field_prefixes)
- flags |= DM_REPORT_OUTPUT_FIELD_NAME_PREFIX;
-
-+ if (export)
-+ flags |= DM_REPORT_OUTPUT_EXPORT;
-+
- if (!(_report = dm_report_init(&_report_type,
- _report_types, _report_fields,
- options, separator, flags, keys, NULL)))
-@@ -2118,7 +2217,8 @@
- fprintf(out, "dmsetup [--version] [-v|--verbose [-v|--verbose ...]]\n"
- " [-r|--readonly] [--noopencount] [--nolockfs]\n"
- " [--readahead [+]<sectors>|auto|none]\n"
-- " [-c|-C|--columns] [-o <fields>] [-O|--sort <sort_fields>]\n"
-+ " [-c|-C|--columns] [-e|--export]\n"
-+ " [-o <fields>] [-O|--sort <sort_fields>]\n"
- " [--nameprefixes] [--noheadings] [--separator <separator>]\n\n");
- for (i = 0; _commands[i].name; i++)
- fprintf(out, "\t%s %s\n", _commands[i].name, _commands[i].help);
-@@ -2469,6 +2569,7 @@
- static struct option long_options[] = {
- {"readonly", 0, &ind, READ_ONLY},
- {"columns", 0, &ind, COLS_ARG},
-+ {"export", 0, &ind, EXPORT_ARG},
- {"exec", 1, &ind, EXEC_ARG},
- {"force", 0, &ind, FORCE_ARG},
- {"gid", 1, &ind, GID_ARG},
-@@ -2549,12 +2650,16 @@
-
- optarg = 0;
- optind = OPTIND_INIT;
-- while ((ind = -1, c = GETOPTLONG_FN(*argc, *argv, "cCfGj:m:Mno:O:ru:Uv",
-+ while ((ind = -1, c = GETOPTLONG_FN(*argc, *argv, "cCefGj:m:Mno:O:ru:Uv",
- long_options, NULL)) != -1) {
- if (c == ':' || c == '?')
- return 0;
- if (c == 'c' || c == 'C' || ind == COLS_ARG)
- _switches[COLS_ARG]++;
-+ if (c == 'e' || ind == EXPORT_ARG) {
-+ _switches[EXPORT_ARG]++;
-+ _switches[COLS_ARG]++;
-+ }
- if (c == 'f' || ind == FORCE_ARG)
- _switches[FORCE_ARG]++;
- if (c == 'r' || ind == READ_ONLY)
-diff -Nuar --exclude '*.orig' device-mapper.1.02.26.orig/lib/libdevmapper.h device-mapper.1.02.26/lib/libdevmapper.h
---- device-mapper.1.02.26.orig/lib/libdevmapper.h 2008-04-19 17:11:08.000000000 -0700
-+++ device-mapper.1.02.26/lib/libdevmapper.h 2008-06-08 11:55:22.039615314 -0700
-@@ -740,6 +740,7 @@
- #define DM_REPORT_OUTPUT_BUFFERED 0x00000002
- #define DM_REPORT_OUTPUT_HEADINGS 0x00000004
- #define DM_REPORT_OUTPUT_FIELD_NAME_PREFIX 0x00000008
-+#define DM_REPORT_OUTPUT_EXPORT 0x00000010
-
- struct dm_report *dm_report_init(uint32_t *report_types,
- const struct dm_report_object_type *types,
-diff -Nuar --exclude '*.orig' device-mapper.1.02.26.orig/lib/libdm-report.c device-mapper.1.02.26/lib/libdm-report.c
---- device-mapper.1.02.26.orig/lib/libdm-report.c 2008-06-06 12:07:47.000000000 -0700
-+++ device-mapper.1.02.26/lib/libdm-report.c 2008-06-08 11:54:39.618236313 -0700
-@@ -13,6 +13,7 @@
- * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- */
-
-+#include <ctype.h>
- #include "libdevmapper.h"
- #include "list.h"
- #include "log.h"
-@@ -803,6 +804,8 @@
- char buf[4096];
- int32_t width;
- uint32_t align;
-+ const char *fname;
-+ char tmp_char;
-
- if (list_empty(&rh->rows))
- return 1;
-@@ -851,6 +854,25 @@
- }
- }
-
-+ if (rh->flags & DM_REPORT_OUTPUT_EXPORT) {
-+ fname = rh->fields[field->props->field_num].id;
-+ if (!dm_pool_grow_object(rh->mem, "DM_", strlen("DM_"))) {
-+ log_error("dm_report: Unable to extend output line");
-+ goto bad;
-+ }
-+ while (fname && fname[0]) {
-+ tmp_char = toupper(fname[0]);
-+ if (!dm_pool_grow_object(rh->mem, &tmp_char, 1)) {
-+ log_error("dm_report: Unable to extend output line");
-+ goto bad;
-+ }
-+ fname++;
-+ }
-+ if (!dm_pool_grow_object(rh->mem, "=", strlen("="))) {
-+ log_error("dm_report: Unable to extend output line");
-+ goto bad;
-+ }
-+ }
- repstr = field->report_string;
- width = field->props->width;
- if (!(rh->flags & DM_REPORT_OUTPUT_ALIGNED)) {
diff --git a/sys-fs/device-mapper/files/device-mapper-1.02.27-export-format.diff b/sys-fs/device-mapper/files/device-mapper-1.02.27-export-format.diff
deleted file mode 100644
index 9b1580a87e4f..000000000000
--- a/sys-fs/device-mapper/files/device-mapper-1.02.27-export-format.diff
+++ /dev/null
@@ -1,294 +0,0 @@
-diff -Nuar --exclude '*.rej' --exclude '*.orig' device-mapper.1.02.27.orig/dmsetup/dmsetup.c device-mapper.1.02.27/dmsetup/dmsetup.c
---- device-mapper.1.02.27.orig/dmsetup/dmsetup.c 2008-06-24 15:53:47.000000000 -0700
-+++ device-mapper.1.02.27/dmsetup/dmsetup.c 2008-06-28 01:53:56.048598048 -0700
-@@ -108,6 +108,7 @@
- enum {
- READ_ONLY = 0,
- COLS_ARG,
-+ EXPORT_ARG,
- EXEC_ARG,
- FORCE_ARG,
- GID_ARG,
-@@ -142,7 +143,8 @@
- DR_TASK = 1,
- DR_INFO = 2,
- DR_DEPS = 4,
-- DR_TREE = 8 /* Complete dependency tree required */
-+ DR_TREE = 8, /* Complete dependency tree required */
-+ DR_TABLE = 0x10, /* table is required, not just info */
- } report_type_t;
-
- static int _switches[NUM_SWITCHES];
-@@ -1126,8 +1128,13 @@
- name = argv[1];
- }
-
-- if (!(dmt = dm_task_create(DM_DEVICE_INFO)))
-- return 0;
-+ if (_report_type & DR_TABLE ) {
-+ if (!(dmt = dm_task_create(DM_DEVICE_TABLE)))
-+ return 0;
-+ } else {
-+ if (!(dmt = dm_task_create(DM_DEVICE_INFO)))
-+ return 0;
-+ }
-
- if (!_set_task_device(dmt, name, 0))
- goto out;
-@@ -1591,6 +1598,16 @@
- return dm_report_field_uint32(rh, field, &value);
- }
-
-+static int _int_disp(struct dm_report *rh,
-+ struct dm_pool *mem __attribute((unused)),
-+ struct dm_report_field *field, const void *data,
-+ void *private __attribute((unused)))
-+{
-+ const int value = *(const int *)data;
-+
-+ return dm_report_field_int(rh, field, &value);
-+}
-+
- static int _dm_name_disp(struct dm_report *rh,
- struct dm_pool *mem __attribute((unused)),
- struct dm_report_field *field, const void *data,
-@@ -1702,6 +1719,66 @@
- }
-
-
-+static int _dm_info_cleartext_status_disp(struct dm_report *rh,
-+ struct dm_pool *mem __attribute((unused)),
-+ struct dm_report_field *field, const void *data,
-+ void *private __attribute((unused)))
-+{
-+ const char *buf = "NOTPRESENT";
-+ const struct dm_info *info = data;
-+
-+ if (info->exists) {
-+ if (info->suspended)
-+ buf = "SUSPENDED";
-+ else
-+ buf = info->read_only ? " READONLY" : "ACTIVE";
-+ }
-+
-+ return dm_report_field_string(rh, field, &buf);
-+}
-+
-+static int _dm_info_target_types_disp(struct dm_report *rh,
-+ struct dm_pool *mem __attribute((unused)),
-+ struct dm_report_field *field, const void *data,
-+ void *private __attribute((unused)))
-+{
-+ char buf[1024];
-+ char *dest = buf;
-+ int remains = sizeof(buf);
-+ int written;
-+ const char *s = buf;
-+ struct dm_task *dmt = (struct dm_task *) data;
-+ void *next = NULL;
-+ uint64_t start, length;
-+ char *target_type = NULL;
-+ char *params;
-+
-+
-+ buf[0] = '\0';
-+
-+ next = dm_get_next_target(dmt, next, &start, &length,
-+ &target_type, &params);
-+ if (target_type) {
-+ written = snprintf(dest, remains, "%s", target_type);
-+ dest += written;
-+ remains -= written;
-+
-+ while (remains > 0 && next) {
-+ next = dm_get_next_target(dmt, next, &start, &length,
-+ &target_type, &params);
-+ if (target_type) {
-+ written = snprintf(dest, remains, ",%s", target_type);
-+ dest += written;
-+ remains -= written;
-+ }
-+ }
-+ }
-+
-+ buf[sizeof(buf)-1] = '\0';
-+
-+ return dm_report_field_string(rh, field, &s);
-+}
-+
- static int _dm_info_devno_disp(struct dm_report *rh, struct dm_pool *mem,
- struct dm_report_field *field, const void *data,
- void *private)
-@@ -1925,6 +2002,7 @@
- { DR_INFO, "Mapped Device Information", "", _info_get_obj },
- { DR_DEPS, "Mapped Device Relationship Information", "", _deps_get_obj },
- { DR_TREE, "Mapped Device Relationship Information", "", _tree_get_obj },
-+ { DR_TABLE, "Mapped Device Table", "", _task_get_obj },
- { 0, "", "", NULL },
- };
-
-@@ -1944,6 +2022,7 @@
- FIELD_F(TASK, NUM, "RAhead", 6, dm_read_ahead, "read_ahead", "Read ahead in sectors.")
-
- FIELD_F(INFO, STR, "Stat", 4, dm_info_status, "attr", "(L)ive, (I)nactive, (s)uspended, (r)ead-only, read-(w)rite.")
-+FIELD_F(INFO, STR, "State", 1, dm_info_cleartext_status, "status", "State as cleartext.")
- FIELD_F(INFO, STR, "Tables", 6, dm_info_table_loaded, "tables_loaded", "Which of the live and inactive table slots are filled.")
- FIELD_F(INFO, STR, "Suspended", 9, dm_info_suspended, "suspended", "Whether the device is suspended.")
- FIELD_F(INFO, STR, "Read-only", 9, dm_info_read_only, "readonly", "Whether the device is read-only or writeable.")
-@@ -1954,6 +2033,11 @@
- FIELD_O(INFO, dm_info, NUM, "Targ", target_count, 4, int32, "segments", "Number of segments in live table, if present.")
- FIELD_O(INFO, dm_info, NUM, "Event", event_nr, 6, uint32, "events", "Number of most recent event.")
-
-+FIELD_O(INFO, dm_info, NUM, "RO", read_only, 2, int, "read_only", "Read only.")
-+FIELD_O(INFO, dm_info, NUM, "Ex", exists, 2, int, "exists", "Exists.")
-+FIELD_O(INFO, dm_info, NUM, "Susp", suspended, 4, int, "suspended", "Suspended.")
-+FIELD_O(INFO, dm_info, NUM, "tab_live", live_table, 8, int, "table_live", "Live table.")
-+FIELD_O(INFO, dm_info, NUM, "tab_inact", inactive_table, 9, int, "table_inactive", "Inactive table.")
- FIELD_O(DEPS, dm_deps, NUM, "#Devs", count, 5, int32, "device_count", "Number of devices used by this one.")
- FIELD_F(TREE, STR, "DevNames", 8, dm_deps_names, "devs_used", "List of names of mapped devices used by this one.")
- FIELD_F(DEPS, STR, "DevNos", 6, dm_deps, "devnos_used", "List of device numbers of devices used by this one.")
-@@ -1961,6 +2045,7 @@
- FIELD_F(TREE, NUM, "#Refs", 5, dm_tree_parents_count, "device_ref_count", "Number of mapped devices referencing this one.")
- FIELD_F(TREE, STR, "RefNames", 8, dm_tree_parents_names, "names_using_dev", "List of names of mapped devices using this one.")
- FIELD_F(TREE, STR, "RefDevNos", 9, dm_tree_parents_devs, "devnos_using_dev", "List of device numbers of mapped devices using this one.")
-+FIELD_F(TABLE, STR, "Targettypes", 32, dm_info_target_types, "target_types", "Used target types.")
- {0, 0, 0, 0, "", "", NULL, NULL},
- /* *INDENT-ON* */
- };
-@@ -1971,13 +2056,15 @@
- #undef FIELD_F
-
- static const char *default_report_options = "name,major,minor,attr,open,segments,events,uuid";
-+static const char *default_export_options = "name,major,minor,status,read_only,exists,suspended,table_live,table_inactive,open,segments,events,uuid,target_types";
-
- static int _report_init(struct command *c)
- {
-- char *options = (char *) default_report_options;
-+ char *default_options = (char *) default_report_options;
-+ char *options;
- const char *keys = "";
- const char *separator = " ";
-- int aligned = 1, headings = 1, buffered = 1, field_prefixes = 0;
-+ int aligned = 1, headings = 1, buffered = 1, field_prefixes = 0, export = 0;
- int quoted = 1, columns_as_rows = 0;
- uint32_t flags = 0;
- size_t len = 0;
-@@ -2004,6 +2091,15 @@
- field_prefixes = 1;
- }
-
-+ if (_switches[EXPORT_ARG]) {
-+ default_options = (char *) default_export_options;
-+ separator = "\n";
-+ aligned = 0;
-+ headings = 0;
-+ export = 1;
-+ }
-+
-+ options = default_options;
- if (_switches[OPTIONS_ARG] && _string_args[OPTIONS_ARG]) {
- if (*_string_args[OPTIONS_ARG] != '+')
- options = _string_args[OPTIONS_ARG];
-@@ -2055,6 +2151,9 @@
- if (columns_as_rows)
- flags |= DM_REPORT_OUTPUT_COLUMNS_AS_ROWS;
-
-+ if (export)
-+ flags |= DM_REPORT_OUTPUT_EXPORT;
-+
- if (!(_report = dm_report_init(&_report_type,
- _report_types, _report_fields,
- options, separator, flags, keys, NULL)))
-@@ -2133,7 +2232,8 @@
- fprintf(out, "dmsetup [--version] [-v|--verbose [-v|--verbose ...]]\n"
- " [-r|--readonly] [--noopencount] [--nolockfs]\n"
- " [--readahead [+]<sectors>|auto|none]\n"
-- " [-c|-C|--columns] [-o <fields>] [-O|--sort <sort_fields>]\n"
-+ " [-c|-C|--columns] [-e|--export]\n"
-+ " [-o <fields>] [-O|--sort <sort_fields>]\n"
- " [--nameprefixes] [--noheadings] [--separator <separator>]\n\n");
- for (i = 0; _commands[i].name; i++)
- fprintf(out, "\t%s %s\n", _commands[i].name, _commands[i].help);
-@@ -2484,6 +2584,7 @@
- static struct option long_options[] = {
- {"readonly", 0, &ind, READ_ONLY},
- {"columns", 0, &ind, COLS_ARG},
-+ {"export", 0, &ind, EXPORT_ARG},
- {"exec", 1, &ind, EXEC_ARG},
- {"force", 0, &ind, FORCE_ARG},
- {"gid", 1, &ind, GID_ARG},
-@@ -2566,12 +2667,16 @@
-
- optarg = 0;
- optind = OPTIND_INIT;
-- while ((ind = -1, c = GETOPTLONG_FN(*argc, *argv, "cCfGj:m:Mno:O:ru:Uv",
-+ while ((ind = -1, c = GETOPTLONG_FN(*argc, *argv, "cCefGj:m:Mno:O:ru:Uv",
- long_options, NULL)) != -1) {
- if (c == ':' || c == '?')
- return 0;
- if (c == 'c' || c == 'C' || ind == COLS_ARG)
- _switches[COLS_ARG]++;
-+ if (c == 'e' || ind == EXPORT_ARG) {
-+ _switches[EXPORT_ARG]++;
-+ _switches[COLS_ARG]++;
-+ }
- if (c == 'f' || ind == FORCE_ARG)
- _switches[FORCE_ARG]++;
- if (c == 'r' || ind == READ_ONLY)
-diff -Nuar --exclude '*.rej' --exclude '*.orig' device-mapper.1.02.27.orig/lib/libdevmapper.h device-mapper.1.02.27/lib/libdevmapper.h
---- device-mapper.1.02.27.orig/lib/libdevmapper.h 2008-06-24 15:53:48.000000000 -0700
-+++ device-mapper.1.02.27/lib/libdevmapper.h 2008-06-28 01:54:55.588111461 -0700
-@@ -742,6 +742,7 @@
- #define DM_REPORT_OUTPUT_FIELD_NAME_PREFIX 0x00000008
- #define DM_REPORT_OUTPUT_FIELD_UNQUOTED 0x00000010
- #define DM_REPORT_OUTPUT_COLUMNS_AS_ROWS 0x00000020
-+#define DM_REPORT_OUTPUT_EXPORT 0x00000040
-
- struct dm_report *dm_report_init(uint32_t *report_types,
- const struct dm_report_object_type *types,
-diff -Nuar --exclude '*.rej' --exclude '*.orig' device-mapper.1.02.27.orig/lib/libdm-report.c device-mapper.1.02.27/lib/libdm-report.c
---- device-mapper.1.02.27.orig/lib/libdm-report.c 2008-06-24 17:10:36.000000000 -0700
-+++ device-mapper.1.02.27/lib/libdm-report.c 2008-06-28 01:56:39.778466634 -0700
-@@ -13,6 +13,7 @@
- * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- */
-
-+#include <ctype.h>
- #include "libdevmapper.h"
- #include "list.h"
- #include "log.h"
-@@ -808,6 +809,8 @@
- uint32_t align;
- const char *repstr;
- char buf[4096];
-+ const char *fname;
-+ char tmp_char;
-
- if (rh->flags & DM_REPORT_OUTPUT_FIELD_NAME_PREFIX) {
- if (!(field_id = strdup(rh->fields[field->props->field_num].id))) {
-@@ -838,6 +841,25 @@
- return 0;
- }
- }
-+ if (rh->flags & DM_REPORT_OUTPUT_EXPORT) {
-+ fname = rh->fields[field->props->field_num].id;
-+ if (!dm_pool_grow_object(rh->mem, "DM_", strlen("DM_"))) {
-+ log_error("dm_report: Unable to extend output line");
-+ return 0;
-+ }
-+ while (fname && fname[0]) {
-+ tmp_char = toupper(fname[0]);
-+ if (!dm_pool_grow_object(rh->mem, &tmp_char, 1)) {
-+ log_error("dm_report: Unable to extend output line");
-+ return 0;
-+ }
-+ fname++;
-+ }
-+ if (!dm_pool_grow_object(rh->mem, "=", strlen("="))) {
-+ log_error("dm_report: Unable to extend output line");
-+ return 0;
-+ }
-+ }
-
- repstr = field->report_string;
- width = field->props->width;
diff --git a/sys-fs/device-mapper/files/device-mapper-1.02.28-asneeded.patch b/sys-fs/device-mapper/files/device-mapper-1.02.28-asneeded.patch
deleted file mode 100644
index c5615eaf68ed..000000000000
--- a/sys-fs/device-mapper/files/device-mapper-1.02.28-asneeded.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- device-mapper.1.02.28.orig/dmeventd/Makefile.in 2008-06-27 09:36:51.000000000 -0600
-+++ device-mapper.1.02.28/dmeventd/Makefile.in 2009-02-19 00:21:18.000000000 -0700
-@@ -31,8 +31,7 @@
-
- include ../make.tmpl
-
--LDFLAGS += -ldl -ldevmapper -lpthread
--CLDFLAGS += -ldl -ldevmapper -lpthread
-+LIBS += -ldl -ldevmapper -lpthread
-
- dmeventd: $(LIB_SHARED) $(VERSIONED_SHLIB) dmeventd.o
- $(CC) -o $@ dmeventd.o $(CFLAGS) $(LDFLAGS) \
diff --git a/sys-fs/device-mapper/files/device-mapper.conf-1.02.22-r3 b/sys-fs/device-mapper/files/device-mapper.conf-1.02.22-r3
deleted file mode 100644
index bc7a25158635..000000000000
--- a/sys-fs/device-mapper/files/device-mapper.conf-1.02.22-r3
+++ /dev/null
@@ -1 +0,0 @@
-RC_AFTER="lvm"
diff --git a/sys-fs/device-mapper/files/device-mapper.rc b/sys-fs/device-mapper/files/device-mapper.rc
deleted file mode 100644
index 1b40ee51b7c3..000000000000
--- a/sys-fs/device-mapper/files/device-mapper.rc
+++ /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/device-mapper/files/device-mapper.rc,v 1.3 2008/02/01 12:39:47 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
-
- . /lib/rcscripts/addons/dm-start.sh
-}
-
diff --git a/sys-fs/device-mapper/files/device-mapper.rc-1.02.22-r3 b/sys-fs/device-mapper/files/device-mapper.rc-1.02.22-r3
deleted file mode 100644
index 63b4eee6516c..000000000000
--- a/sys-fs/device-mapper/files/device-mapper.rc-1.02.22-r3
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/device-mapper/files/device-mapper.rc-1.02.22-r3,v 1.8 2008/12/18 21:52:25 cardoe Exp $
-
-depend() {
- # necessary for services when using baselayout-2
- # but conflict for baselayout-1
- if [ -e /etc/init.d/root ] ; then
- after modules
- before checkfs fsck
- fi
-}
-
-start() {
- if [ ! -e /etc/init.d/root ] ; 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 dm
-}
-
diff --git a/sys-fs/device-mapper/files/dm-start.sh b/sys-fs/device-mapper/files/dm-start.sh
deleted file mode 100644
index d3d0287b2f58..000000000000
--- a/sys-fs/device-mapper/files/dm-start.sh
+++ /dev/null
@@ -1,86 +0,0 @@
-# /lib/rcscripts/addons/dm-start.sh: Setup DM volumes at boot
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/device-mapper/files/dm-start.sh,v 1.4 2007/05/21 14:05:37 cardoe Exp $
-
-# char **get_new_dm_volumes(void)
-#
-# Return dmsetup commands to setup volumes
-get_new_dm_volumes() {
- local volume params
-
- # Filter comments and blank lines
- grep -v -e '^[[:space:]]*\(#\|$\)' /etc/dmtab | \
- while read volume params ; do
- # If it exists, skip it
- dmvolume_exists "${volume%:}" && continue
- # Assemble the command to run to create volume
- echo "echo ${params} | /sbin/dmsetup create ${volume%:}"
- done
-
- return 0
-}
-
-# int dmvolume_exists(volume)
-#
-# Return true if volume exists in DM table
-dmvolume_exists() {
- local x line volume=$1
-
- [ -z "${volume}" ] && return 1
-
- /sbin/dmsetup ls 2>/dev/null | \
- while read line ; do
- for x in ${line} ; do
- # the following conditonal return only breaks out
- # of the while loop, as it is running in a pipe.
- [ "${x}" = "${volume}" ] && return 1
- # We only want to check the volume name
- break
- done
- done
-
- # if 1 was returned from the above loop, then indicate that
- # volume exists
- [ $? = 1 ] && return 0
-
- # otherwise the loop exited normally and the volume does not
- # exist
- return 1
-}
-
-# int is_empty_dm_volume(volume)
-#
-# Return true if the volume exists in DM table, but is empty/non-valid
-is_empty_dm_volume() {
- local table volume=$1
-
- set -- $(/sbin/dmsetup table 2>/dev/null | grep -e "^${volume}:")
- [ "${volume}" = "$1" -a -z "$2" ]
-}
-
-local x volume
-
-if [ -x /sbin/dmsetup -a -c /dev/mapper/control -a -f /etc/dmtab ] ; then
- [ -n "$(get_new_dm_volumes)" ] && \
- einfo " Setting up device-mapper volumes:"
-
- get_new_dm_volumes | \
- while read x ; do
- [ -n "${x}" ] || continue
-
- volume="${x##* }"
-
- ebegin " Creating volume: ${volume}"
- if ! eval "${x}" >/dev/null 2>/dev/null ; then
- eend 1 " Error creating volume: ${volume}"
- # dmsetup still adds an empty volume in some cases,
- # so lets remove it
- is_empty_dm_volume "${volume}" && \
- /sbin/dmsetup remove "${volume}" 2>/dev/null
- else
- eend 0
- fi
- done
-fi
-
-
-# vim:ts=4
diff --git a/sys-fs/device-mapper/files/dmtab b/sys-fs/device-mapper/files/dmtab
deleted file mode 100644
index 96c6640675a7..000000000000
--- a/sys-fs/device-mapper/files/dmtab
+++ /dev/null
@@ -1,12 +0,0 @@
-#/etc/dmraid: config file for adding device-mapper volumes at boot
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/device-mapper/files/dmtab,v 1.1 2005/03/01 22:45:26 vapier Exp $
-
-# Format: <volume name>: <table>
-# Example: isw0: 0 312602976 striped 2 128 /dev/sda 0 /dev/sdb 0
-#
-# Alternatively you can create all your volumes the first time, and just run:
-#
-# dmsetup table >> /etc/dmtab
-#
-# and verify that they are correct.
-
diff --git a/sys-fs/device-mapper/metadata.xml b/sys-fs/device-mapper/metadata.xml
deleted file mode 100644
index 9b02d1fd8ae4..000000000000
--- a/sys-fs/device-mapper/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>base-system</herd>
-<herd>proxy-maintainers</herd>
-<maintainer>
- <email>agk@redhat.com</email>
- <name>Alasdair Kergon</name>
- <description>Upstream Maintainer</description>
-</maintainer>
-</pkgmetadata>