diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-03-01 22:46:31 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-03-01 22:46:31 +0000 |
commit | c65f0c5195ee49e6151a90d72344172a60ba49a5 (patch) | |
tree | 5b687d3267f4e6207eb314aa85405f1c97b4309e /sys-libs | |
parent | move from sys-libs (diff) | |
download | gentoo-2-c65f0c5195ee49e6151a90d72344172a60ba49a5.tar.gz gentoo-2-c65f0c5195ee49e6151a90d72344172a60ba49a5.tar.bz2 gentoo-2-c65f0c5195ee49e6151a90d72344172a60ba49a5.zip |
sys-libs/device-mapper -> sys-fs/device-mapper
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/device-mapper/ChangeLog | 132 | ||||
-rw-r--r-- | sys-libs/device-mapper/Manifest | 8 | ||||
-rw-r--r-- | sys-libs/device-mapper/device-mapper-1.00.17-r1.ebuild | 47 | ||||
-rw-r--r-- | sys-libs/device-mapper/device-mapper-1.00.19-r2.ebuild | 43 | ||||
-rw-r--r-- | sys-libs/device-mapper/files/digest-device-mapper-1.00.17-r1 | 1 | ||||
-rw-r--r-- | sys-libs/device-mapper/files/digest-device-mapper-1.00.19-r2 | 1 | ||||
-rw-r--r-- | sys-libs/device-mapper/files/dm-start.sh | 80 | ||||
-rw-r--r-- | sys-libs/device-mapper/files/dmtab | 12 | ||||
-rw-r--r-- | sys-libs/device-mapper/metadata.xml | 5 |
9 files changed, 0 insertions, 329 deletions
diff --git a/sys-libs/device-mapper/ChangeLog b/sys-libs/device-mapper/ChangeLog deleted file mode 100644 index 8964f78529cb..000000000000 --- a/sys-libs/device-mapper/ChangeLog +++ /dev/null @@ -1,132 +0,0 @@ -# ChangeLog for sys-libs/device-mapper -# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/device-mapper/ChangeLog,v 1.27 2005/02/23 14:23:03 azarah Exp $ - - 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-libs/device-mapper/Manifest b/sys-libs/device-mapper/Manifest deleted file mode 100644 index 42f71d30b3e6..000000000000 --- a/sys-libs/device-mapper/Manifest +++ /dev/null @@ -1,8 +0,0 @@ -MD5 fbf0edac74e1be7318e98f6f3d9decd2 ChangeLog 4796 -MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 -MD5 749187d28f79e07cd0a4557c5bce83ae device-mapper-1.00.17-r1.ebuild 1193 -MD5 f1cd67cf06f877b2c4234042fe73e0ea device-mapper-1.00.19-r2.ebuild 1172 -MD5 3722791187466d3005f5b7f129c3ed7a files/digest-device-mapper-1.00.17-r1 70 -MD5 b5dd92354fb75caa4956a92d5aa2e0ea files/digest-device-mapper-1.00.19-r2 70 -MD5 e10f3c3c44762c3de6b04ba046ab72e7 files/dm-start.sh 1943 -MD5 8d89289ba352c8c755d367913c7bc181 files/dmtab 428 diff --git a/sys-libs/device-mapper/device-mapper-1.00.17-r1.ebuild b/sys-libs/device-mapper/device-mapper-1.00.17-r1.ebuild deleted file mode 100644 index 8ba2979493e8..000000000000 --- a/sys-libs/device-mapper/device-mapper-1.00.17-r1.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/device-mapper/device-mapper-1.00.17-r1.ebuild,v 1.5 2005/02/23 04:06:58 azarah Exp $ - -inherit eutils - -DESCRIPTION="Device mapper ioctl library for use with LVM2 utilities." -HOMEPAGE="http://sources.redhat.com/dm/" -SRC_URI="ftp://sources.redhat.com/pub/dm/old/${PN}.${PV}.tgz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86 ppc sparc amd64 ppc64" -IUSE="" - -DEPEND="virtual/linux-sources" - -S="${WORKDIR}/${PN}.${PV}" - -pkg_setup() { - if [ ! -e "/usr/src/linux/include/linux/dm-ioctl.h" ] ; then - eerror - eerror "Your currently linked kernel (/usr/src/linux) hasn't" - eerror "been patched for device mapper support." - eerror - die "kernel not patched for device mapper support" - fi - - return 0 -} - -src_compile() { - econf || die "econf failed" - - # Parallel build doesn't work. - emake -j1 || die "compile problem" -} - -src_install() { - einstall sbindir="${D}/sbin" libdir="${D}/lib" - dolib.a lib/ioctl/libdevmapper.a - - # bug #4411 - gen_usr_ldscript libdevmapper.so || die "gen_usr_ldscript failed" - - dodoc COPYING* INSTALL INTRO README VERSION WHATS_NEW -} diff --git a/sys-libs/device-mapper/device-mapper-1.00.19-r2.ebuild b/sys-libs/device-mapper/device-mapper-1.00.19-r2.ebuild deleted file mode 100644 index 6b5e6065cd06..000000000000 --- a/sys-libs/device-mapper/device-mapper-1.00.19-r2.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/device-mapper/device-mapper-1.00.19-r2.ebuild,v 1.2 2005/03/01 22:42:01 vapier Exp $ - -inherit eutils - -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" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sparc x86" -IUSE="" - -DEPEND="" - -S=${WORKDIR}/${PN}.${PV} - -src_compile() { - econf || die "econf failed" - - # Parallel build doesn't work. - emake -j1 || die "compile problem" -} - -src_install() { - einstall sbindir="${D}/sbin" \ - libdir="${D}/$(get_libdir)" || die "install failed" - - # Please do not use $(get_libdir) here again, as it is where it is - # _located_, and not to where it is installed! - dolib.a ${S}/lib/ioctl/libdevmapper.a - # bug #4411 - gen_usr_ldscript libdevmapper.so || die "gen_usr_ldscript failed" - - insinto /etc - doins ${FILESDIR}/dmtab - insinto /lib/rcscripts/addons - doins ${FILESDIR}/dm-start.sh - - dodoc COPYING* INSTALL INTRO README VERSION WHATS_NEW -} diff --git a/sys-libs/device-mapper/files/digest-device-mapper-1.00.17-r1 b/sys-libs/device-mapper/files/digest-device-mapper-1.00.17-r1 deleted file mode 100644 index fbd0ecb3318d..000000000000 --- a/sys-libs/device-mapper/files/digest-device-mapper-1.00.17-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 b74bb5fa232c77bf74f87eac2f53e1e4 device-mapper.1.00.17.tgz 637694 diff --git a/sys-libs/device-mapper/files/digest-device-mapper-1.00.19-r2 b/sys-libs/device-mapper/files/digest-device-mapper-1.00.19-r2 deleted file mode 100644 index 689aeecbec74..000000000000 --- a/sys-libs/device-mapper/files/digest-device-mapper-1.00.19-r2 +++ /dev/null @@ -1 +0,0 @@ -MD5 a7a97c469f22e3ec2cdcb5aae5603f3f device-mapper.1.00.19.tgz 640411 diff --git a/sys-libs/device-mapper/files/dm-start.sh b/sys-libs/device-mapper/files/dm-start.sh deleted file mode 100644 index 1b3c402253ea..000000000000 --- a/sys-libs/device-mapper/files/dm-start.sh +++ /dev/null @@ -1,80 +0,0 @@ -# /lib/rcscripts/addons/dm-start.sh: Setup DM volumes at boot -# $Header: /var/cvsroot/gentoo-x86/sys-libs/device-mapper/files/dm-start.sh,v 1.3 2005/02/23 15:48:57 azarah 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 - - while read line; do - for x in ${line}; do - [[ ${x} == "${volume}" ]] && return 0 - # We only want to check the volume name - break - done - done <<<"$(/sbin/dmsetup ls 2>/dev/null)" - - 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 - - table=$(/sbin/dmsetup table 2>/dev/null | grep -e "^${volume}:") - - # dmsetup seems to print an space after the colon for the moment - [[ -n ${table} && -z ${table/${volume}:*} ]] && return 0 - - return 1 -} - -local x volume - -if [[ -x /sbin/dmsetup && -c /dev/mapper/control && -f /etc/dmtab ]]; then - [[ -n $(get_new_dm_volumes) ]] && \ - einfo " Setting up device-mapper volumes:" - - while read x; do - [[ -n ${x} ]] || continue - - volume="${x##* }" - - ebegin " Creating volume: ${volume}" - if ! eval ${x} &>/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}" &>/dev/null - else - eend 0 - fi - done <<< "$(get_new_dm_volumes)" -fi - - -# vim:ts=4 diff --git a/sys-libs/device-mapper/files/dmtab b/sys-libs/device-mapper/files/dmtab deleted file mode 100644 index cd5a88409c6f..000000000000 --- a/sys-libs/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-libs/device-mapper/files/dmtab,v 1.1 2005/02/23 04:06:58 azarah 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-libs/device-mapper/metadata.xml b/sys-libs/device-mapper/metadata.xml deleted file mode 100644 index 96a2d586367d..000000000000 --- a/sys-libs/device-mapper/metadata.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<herd>base-system</herd> -</pkgmetadata> |