sys-fs/lvm2: [QA] Punt removed cman/clvm support
authorMichał Górny <mgorny@gentoo.org>
Tue, 11 Dec 2018 15:11:10 +0000 (16:11 +0100)
committerMichał Górny <mgorny@gentoo.org>
Tue, 11 Dec 2018 15:33:28 +0000 (16:33 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
19 files changed:
profiles/arch/alpha/use.mask
profiles/arch/arm/use.mask
profiles/arch/arm64/use.mask
profiles/arch/ia64/use.mask
profiles/arch/m68k/use.mask
profiles/arch/mips/use.mask
profiles/arch/powerpc/use.mask
profiles/arch/s390/use.mask
profiles/arch/sh/use.mask
profiles/arch/sparc/use.mask
profiles/base/package.use.mask
profiles/prefix/aix/use.mask
profiles/prefix/darwin/use.mask
profiles/prefix/mint/use.mask
profiles/prefix/sunos/use.mask
sys-fs/lvm2/lvm2-2.02.116.ebuild
sys-fs/lvm2/lvm2-2.02.145-r2.ebuild
sys-fs/lvm2/lvm2-2.02.181.ebuild
sys-fs/lvm2/metadata.xml

index 007d05cb443ec04d8718ea7fe42bfe73377505c3..ff35f503954d7fc6ddd576e89263c06f730f07e6 100644 (file)
@@ -167,11 +167,6 @@ entropy
 # media-libs/xine-lib is not keyworded
 xine
 
-# Samuli Suominen <ssuominen@gentoo.org> (18 Jan 2013)
-# libdlm and cman are not keyworded
-cman
-clvm
-
 template_haskell
 
 # nvidia cg toolkit for binary drivers
index 21512a6fcc734e466d975de6d5800ca676b25b1d..fdcce322d47f9459149e4bfa966f88b8cdb2f7b4 100644 (file)
@@ -141,11 +141,6 @@ audit
 # media-libs/xine-lib is not keyworded
 xine
 
-# Samuli Suominen <ssuominen@gentoo.org> (18 Jan 2013)
-# libdlm and cman are not keyworded
-cman
-clvm
-
 # Michał Górny <mgorny@gentoo.org> (4 May 2013)
 # Unmask systemd since it is keyworded here.
 -systemd
index 67dc0c017e2376ace6b556f7bd10627be95f69dd..814305d3b5261e91988a2e25206822b100daac17 100644 (file)
@@ -231,8 +231,3 @@ audit
 # Alexandre Rostovtsev <tetromino@gentoo.org> (31 Dec 2012)
 # media-libs/xine-lib is not keyworded
 xine
-
-# Samuli Suominen <ssuominen@gentoo.org> (18 Jan 2013)
-# libdlm and cman are not keyworded
-cman
-clvm
index b1d086ed1a61c869a211a9be2318c5f261342e90..99163c252009d6859ced336189075d4e6c26737a 100644 (file)
@@ -171,11 +171,6 @@ connman
 # media-libs/xine-lib is not keyworded
 xine
 
-# Samuli Suominen <ssuominen@gentoo.org> (18 Jan 2013)
-# libdlm and cman are not keyworded
-cman
-clvm
-
 template_haskell
 
 # toolkit for nvidia binary drivers
index 5bd683cd03f572333caf1168a9432e723a947eec..18076f80ec2c8b2040a88041ad0358bbca6eef29 100644 (file)
@@ -81,11 +81,6 @@ pango
 avahi
 zeroconf
 
-# Samuli Suominen <ssuominen@gentoo.org> (18 Jan 2013)
-# libdlm and cman are not keyworded
-cman
-clvm
-
 # Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> (22 Aug 2013)
 # virtual/opencl is not keyworded
 opencl
index 412f5c7d5e6cbc30598de2e71d502ce1162e9b58..38ab80768db1eb49d27c3472138d1d5723f70e2c 100644 (file)
@@ -299,11 +299,6 @@ fluidsynth
 -fixed-point
 -loongson2f
 
-# Samuli Suominen <ssuominen@gentoo.org> (18 Jan 2013)
-# libdlm and cman are not keyworded
-cman
-clvm
-
 # Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> (22 Aug 2013)
 # virtual/opencl is not keyworded
 opencl
index a934f5e54a230f43b7087c7a243a0c7c7fc8478f..04daf4e5cf2847b71cfd0329e2331dabd903a001 100644 (file)
@@ -145,11 +145,6 @@ nvtt
 # fdk-aac is already keyworded here
 -fdk
 
-# Samuli Suominen <ssuominen@gentoo.org> (18 Jan 2013)
-# libdlm and cman are not keyworded
-cman
-clvm
-
 # Pacho Ramos <pacho@gentoo.org> (08 Jan 2014)
 # Unmask systemd since it is keyworded here.
 -systemd
index 087b0c6aeb4a6db8339bc3e064a94b3009aa69fa..e69c27dbeca869e287385ada50a4f5c27979d153 100644 (file)
@@ -84,11 +84,6 @@ sdl
 lm_sensors
 wxwidgets
 
-# Samuli Suominen <ssuominen@gentoo.org> (18 Jan 2013)
-# libdlm and cman are not keyworded
-cman
-clvm
-
 # Many X drivers make no sense on this platform.
 input_devices_elographics
 input_devices_evdev
index 30d6147d1eda6fa62d3fc556f7adcf372d7cef7a..edb70c15d028aa5c2b396fd7ec1d67e8c29944f9 100644 (file)
@@ -112,11 +112,6 @@ nss
 # Robin H. Johnson <robbat2@gentoo.org>
 audit
 
-# Samuli Suominen <ssuominen@gentoo.org> (18 Jan 2013)
-# libdlm and cman are not keyworded
-cman
-clvm
-
 # Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> (22 Aug 2013)
 # virtual/opencl is not keyworded
 opencl
index 9522e450c04fa6ffdcd8dce8b84a7d35083ddc80..650933834e8f1c756140dbae01e17c0592bdec73 100644 (file)
@@ -222,11 +222,6 @@ multilib
 # Both dev-qt/qtphonon and media-sound/phonon are unkeyworded
 phonon
 
-# Samuli Suominen <ssuominen@gentoo.org> (18 Jan 2013)
-# libdlm and cman are not keyworded
-cman
-clvm
-
 # nvidia toolkit for binary drivers
 cg
 
index 5ec2c69b9cc5a7264992ca3fbad0f92b7c0fa2f1..d33cbb7da2f2724dc40a133ca724c56922de1654 100644 (file)
@@ -48,10 +48,6 @@ sci-libs/ceres-solver sparse
 # upower-pm-utils will be removed (#596988)
 mate-extra/mate-power-manager pm-utils
 
-# Pacho Ramos <pacho@gento.org> (01 Nov 2018)
-# cman and co. are going to be removed (#650738)
-sys-fs/lvm2 cman clvm
-
 # Alfredo Tupone <tupone@gentoo.org> (24 Oct 2018)
 # jit brokes build of gnat-gpl
 dev-lang/gnat-gpl jit
index 4317ed36e0816fa143a6e3c8402bb7315794aee9..988318c1980c8fd69f9e6f43cb03b5ab4f683e5c 100644 (file)
@@ -11,8 +11,6 @@ acpi
 alsa
 apm
 caps
-cman
-clvm
 directfb
 djbfft
 fbcon
index deba9cf25949cc4d02bd6f10f719e998c7bf21ad..07d0296ad950ceed8ac69fce77b5416bf31ff1cb 100644 (file)
@@ -18,8 +18,6 @@ acpi
 alsa
 apm
 caps
-cman
-clvm
 directfb
 djbfft
 fbcon
index f937794bef2e0d7803fb154d2d2fd5ac9d6f131c..9cd2e1e0623a5d8fbcc633977daba98f700f5551 100644 (file)
@@ -11,8 +11,6 @@ acpi
 alsa
 apm
 caps
-cman
-clvm
 directfb
 djbfft
 fbcon
index 940968ee8e6257a71a41acbc399498795f14b687..70fa7e47f4cdd6a9ef96d6acf6acd301d96154ee 100644 (file)
@@ -11,8 +11,6 @@ acpi
 alsa
 apm
 caps
-cman
-clvm
 directfb
 djbfft
 fbcon
index 474f90a6f30905738e5cdee1903fec7ee8288c64..60b6cfda5775b04b2325fff5794905b9bc11564d 100644 (file)
@@ -12,12 +12,12 @@ SRC_URI="ftp://sourceware.org/pub/lvm2/${PN/lvm/LVM}.${PV}.tgz
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux"
-IUSE="readline static static-libs systemd clvm cman lvm1 lvm2create_initrd selinux +udev +thin device-mapper-only"
-REQUIRED_USE="device-mapper-only? ( !clvm !cman !lvm1 !lvm2create_initrd !thin )
+IUSE="readline static static-libs systemd lvm1 lvm2create_initrd selinux +udev +thin device-mapper-only"
+REQUIRED_USE="device-mapper-only? ( !lvm1 !lvm2create_initrd !thin )
        systemd? ( udev )
        static? ( !udev )" #520450
 
-DEPEND_COMMON="clvm? ( cman? ( =sys-cluster/cman-3* ) =sys-cluster/libdlm-3* )
+DEPEND_COMMON="
        readline? ( sys-libs/readline:0= )
        udev? ( >=virtual/libudev-208:=[static-libs?] )"
 # /run is now required for locking during early boot. /var cannot be assumed to
@@ -27,7 +27,6 @@ RDEPEND="${DEPEND_COMMON}
        >=sys-apps/baselayout-2.2
        !<sys-apps/openrc-0.11
        !<sys-fs/cryptsetup-1.1.2
-       !!sys-fs/clvm
        !!sys-fs/lvm-user
        >=sys-apps/util-linux-2.16
        lvm2create_initrd? ( sys-apps/makedev )
@@ -152,27 +151,7 @@ src_configure() {
        # disable O_DIRECT support on hppa, breaks pv detection (#99532)
        use hppa && myconf="${myconf} --disable-o_direct"
 
-       if use clvm; then
-               myconf="${myconf} --with-cluster=${buildmode}"
-               # 4-state! Make sure we get it right, per bug 210879
-               # Valid options are: none, cman, gulm, all
-               #
-               # 2009/02:
-               # gulm is removed now, now dual-state:
-               # cman, none
-               # all still exists, but is not needed
-               #
-               # 2009/07:
-               # TODO: add corosync and re-enable ALL
-               local clvmd=""
-               use cman && clvmd="cman"
-               #clvmd="${clvmd/cmangulm/all}"
-               [ -z "${clvmd}" ] && clvmd="none"
-               myconf="${myconf} --with-clvmd=${clvmd}"
-               myconf="${myconf} --with-pool=${buildmode}"
-       else
-               myconf="${myconf} --with-clvmd=none --with-cluster=none"
-       fi
+       myconf="${myconf} --with-clvmd=none --with-cluster=none"
 
        econf \
                $(use_enable readline) \
@@ -230,11 +209,6 @@ src_install() {
                newinitd "${FILESDIR}"/lvmetad.initd-2.02.105-r2 lvmetad
        fi
 
-       if use clvm; then
-               newinitd "${FILESDIR}"/clvmd.rc-2.02.39 clvmd
-               newconfd "${FILESDIR}"/clvmd.confd-2.02.39 clvmd
-       fi
-
        if use static-libs; then
                dolib.a libdm/ioctl/libdevmapper.a
                dolib.a libdaemon/client/libdaemonclient.a #462908
index ca67d8edf577f75e0d9ddda0aacc84d5fabf4055..2890ca59239edac5eed4864829dda9d39fd99670 100644 (file)
@@ -12,19 +12,11 @@ SRC_URI="ftp://sourceware.org/pub/lvm2/${PN/lvm/LVM}.${PV}.tgz
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux"
-IUSE="readline static static-libs systemd clvm cman corosync lvm1 lvm2create_initrd openais selinux +udev +thin device-mapper-only"
-REQUIRED_USE="device-mapper-only? ( !clvm !cman !corosync !lvm1 !lvm2create_initrd !openais !thin )
-       systemd? ( udev )
-       clvm? ( !systemd )"
+IUSE="readline static static-libs systemd lvm1 lvm2create_initrd selinux +udev +thin device-mapper-only"
+REQUIRED_USE="device-mapper-only? ( !lvm1 !lvm2create_initrd !thin )
+       systemd? ( udev )"
 
 DEPEND_COMMON="
-       clvm? (
-               cman? ( =sys-cluster/cman-3* )
-               corosync? ( sys-cluster/corosync )
-               openais? ( sys-cluster/openais )
-               =sys-cluster/libdlm-3*
-       )
-
        readline? ( sys-libs/readline:0= )
        systemd? ( >=sys-apps/systemd-205:0= )
        udev? ( >=virtual/libudev-208:=[static-libs?] )"
@@ -35,7 +27,6 @@ RDEPEND="${DEPEND_COMMON}
        >=sys-apps/baselayout-2.2
        !<sys-apps/openrc-0.11
        !<sys-fs/cryptsetup-1.1.2
-       !!sys-fs/clvm
        !!sys-fs/lvm-user
        >=sys-apps/util-linux-2.16
        lvm2create_initrd? ( sys-apps/makedev )
@@ -167,29 +158,7 @@ src_configure() {
        # disable O_DIRECT support on hppa, breaks pv detection (#99532)
        use hppa && myconf+=( --disable-o_direct )
 
-       if use clvm; then
-               myconf+=( --with-cluster=${buildmode} )
-               # 4-state! Make sure we get it right, per bug 210879
-               # Valid options are: none, cman, gulm, all
-               #
-               # 2009/02:
-               # gulm is removed now, now dual-state:
-               # cman, none
-               # all still exists, but is not needed
-               #
-               # 2009/07:
-               # TODO: add corosync and re-enable ALL
-               local clvmd=""
-               use cman && clvmd="cman"
-               #clvmd="${clvmd/cmangulm/all}"
-               use corosync && clvmd="${clvmd:+$clvmd,}corosync"
-               use openais && clvmd="${clvmd:+$clvmd,}openais"
-               [ -z "${clvmd}" ] && clvmd="none"
-               myconf+=( --with-clvmd=${clvmd} )
-               myconf+=( --with-pool=${buildmode} )
-       else
-               myconf+=( --with-clvmd=none --with-cluster=none )
-       fi
+       myconf+=( --with-clvmd=none --with-cluster=none )
 
        econf \
                $(use_enable readline) \
@@ -249,11 +218,6 @@ src_install() {
                newinitd "${FILESDIR}"/lvmetad.initd-2.02.116-r3 lvmetad
        fi
 
-       if use clvm; then
-               newinitd "${FILESDIR}"/clvmd.rc-2.02.39 clvmd
-               newconfd "${FILESDIR}"/clvmd.confd-2.02.39 clvmd
-       fi
-
        if use static-libs; then
                dolib.a libdm/ioctl/libdevmapper.a
                if use !device-mapper-only ; then
index 749cef8bdd56b9febd7bafa4d022fdf9d60e4c42..ea67d28a6d8c0ea33677a4099d37afc5bdb84a98 100644 (file)
@@ -12,19 +12,11 @@ SRC_URI="ftp://sourceware.org/pub/lvm2/${PN/lvm/LVM}.${PV}.tgz
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
-IUSE="readline static static-libs systemd clvm cman corosync lvm2create_initrd openais sanlock selinux +udev +thin device-mapper-only"
-REQUIRED_USE="device-mapper-only? ( !clvm !cman !corosync !lvm2create_initrd !openais !sanlock !thin )
-       systemd? ( udev )
-       clvm? ( !systemd )"
+IUSE="readline static static-libs systemd lvm2create_initrd sanlock selinux +udev +thin device-mapper-only"
+REQUIRED_USE="device-mapper-only? ( !lvm2create_initrd !sanlock !thin )
+       systemd? ( udev )"
 
 DEPEND_COMMON="
-       clvm? (
-               cman? ( =sys-cluster/cman-3* )
-               corosync? ( sys-cluster/corosync )
-               openais? ( sys-cluster/openais )
-               =sys-cluster/libdlm-3*
-       )
-
        dev-libs/libaio[static-libs?]
        static? ( dev-libs/libaio[static-libs] )
        !static? ( dev-libs/libaio[static-libs?] )
@@ -39,7 +31,6 @@ RDEPEND="${DEPEND_COMMON}
        >=sys-apps/baselayout-2.2
        !<sys-apps/openrc-0.11
        !<sys-fs/cryptsetup-1.1.2
-       !!sys-fs/clvm
        !!sys-fs/lvm-user
        >=sys-apps/util-linux-2.16
        lvm2create_initrd? ( sys-apps/makedev )
@@ -165,29 +156,7 @@ src_configure() {
                myeconfargs+=( --with-thin=none --with-cache=none )
        fi
 
-       if use clvm; then
-               myeconfargs+=( --with-cluster="$(usex static internal shared)" )
-               # 4-state! Make sure we get it right, per bug 210879
-               # Valid options are: none, cman, gulm, all
-               #
-               # 2009/02:
-               # gulm is removed now, now dual-state:
-               # cman, none
-               # all still exists, but is not needed
-               #
-               # 2009/07:
-               # TODO: add corosync and re-enable ALL
-               local clvmd=""
-               use cman && clvmd="cman"
-               #clvmd="${clvmd/cmangulm/all}"
-               use corosync && clvmd="${clvmd:+$clvmd,}corosync"
-               use openais && clvmd="${clvmd:+$clvmd,}openais"
-               [ -z "${clvmd}" ] && clvmd="none"
-               myeconfargs+=( --with-clvmd=${clvmd} )
-               myeconfargs+=( --enable-lvmlockd-dlm )
-       else
-               myeconfargs+=( --with-clvmd=none --with-cluster=none )
-       fi
+       myeconfargs+=( --with-clvmd=none --with-cluster=none )
 
        myeconfargs+=(
                $(use_enable readline)
@@ -253,11 +222,6 @@ src_install() {
                newinitd "${FILESDIR}"/lvmlockd.initd-2.02.166-r1 lvmlockd
        fi
 
-       if use clvm; then
-               newinitd "${FILESDIR}"/clvmd.rc-2.02.39 clvmd
-               newconfd "${FILESDIR}"/clvmd.confd-2.02.39 clvmd
-       fi
-
        if use static-libs; then
                dolib.a libdm/ioctl/libdevmapper.a
                dolib.a libdaemon/client/libdaemonclient.a #462908
index cca547ca5c2c4bf4bf06e6e3d872543dafc98b51..c1a65d74e23dee73273c09e5641e3ab81eb9c28b 100644 (file)
                <description>Backup to Robin. Please CC on bugs.</description>
        </maintainer>
        <use>
-               <flag name="clvm">Allow users to build clustered lvm2</flag>
-               <flag name="cman">Cman support for clustered lvm</flag>
-               <flag name="corosync">Corosync support for clustered lvm</flag>
                <flag name="lvm1">Allow users to build lvm2 with lvm1 support</flag>
                <flag name="lvm2create_initrd">Install lvm2create_initrd script and pull in <pkg>sys-apps/makedev</pkg> for the /sbin/MAKEDEV command</flag>
-               <flag name="openais">Openais support for clustered lvm</flag>
                <flag name="thin">Support for thin volumes</flag>
                <flag name="device-mapper-only">Build only device-mapper and not the rest of LVM2 (UNSUPPORTED)</flag>
                <flag name="sanlock">Enable lvmlockd with support for sanlock</flag>