From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/dmraid/
Date: Fri, 12 Mar 2021 15:34:15 +0000 (UTC) [thread overview]
Message-ID: <1615563243.e86c8bc2cfb3d9ccc92ecd8c67288a101f8eb13b.sam@gentoo> (raw)
commit: e86c8bc2cfb3d9ccc92ecd8c67288a101f8eb13b
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 12 15:33:31 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 12 15:34:03 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e86c8bc2
sys-fs/dmraid: drop 1.0.0_rc16-r3, 1.0.0_rc16-r4
Bug: https://bugs.gentoo.org/775188
Signed-off-by: Sam James <sam <AT> gentoo.org>
sys-fs/dmraid/dmraid-1.0.0_rc16-r3.ebuild | 100 ------------------------------
sys-fs/dmraid/dmraid-1.0.0_rc16-r4.ebuild | 99 -----------------------------
2 files changed, 199 deletions(-)
diff --git a/sys-fs/dmraid/dmraid-1.0.0_rc16-r3.ebuild b/sys-fs/dmraid/dmraid-1.0.0_rc16-r3.ebuild
deleted file mode 100644
index 448e0352869..00000000000
--- a/sys-fs/dmraid/dmraid-1.0.0_rc16-r3.ebuild
+++ /dev/null
@@ -1,100 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit autotools linux-info flag-o-matic eutils
-
-MY_PV=${PV/_/.}-3
-
-DESCRIPTION="Device-mapper RAID tool and library"
-HOMEPAGE="https://people.redhat.com/~heinzm/sw/dmraid/"
-SRC_URI="https://people.redhat.com/~heinzm/sw/dmraid/src/${PN}-${MY_PV}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm ~ia64 ppc ppc64 sparc x86"
-IUSE="dietlibc intel_led klibc led mini static"
-REQUIRED_USE="klibc? ( !dietlibc )"
-
-RDEPEND=">=sys-fs/lvm2-2.02.45
- klibc? ( dev-libs/klibc )
- dietlibc? ( dev-libs/dietlibc )"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- static? ( sys-fs/lvm2[static-libs] )"
-
-S=${WORKDIR}/${PN}/${MY_PV}/${PN}
-
-pkg_setup() {
- if kernel_is lt 2 6 ; then
- ewarn "You are using a kernel < 2.6"
- ewarn "DMraid uses recently introduced Device-Mapper features."
- ewarn "These might be unavailable in the kernel you are running now."
- fi
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-undo-p-rename.patch \
- "${FILESDIR}"/${P}-return-all-sets.patch \
- "${FILESDIR}"/${P}-static-build-fixes.patch \
- "${FILESDIR}"/${P}-parallel-make.patch
- # pkg_check_modules is not in aclocal.m4 by default, and eautoreconf doesnt add it
- einfo "Appending pkg.m4 from system to aclocal.m4"
- cat "${ROOT}"/usr/share/aclocal/pkg.m4 >>"${S}"/aclocal.m4 || die "Could not append pkg.m4"
- epatch_user
- eautoreconf
-
- einfo "Creating prepatched source archive for use with Genkernel"
- # archive the patched source for use with genkernel
- cd "${WORKDIR}" || die
- mkdir -p "tmp/${PN}" || die
- cp -a "${PN}/${MY_PV}/${PN}" "tmp/${PN}" || die
- mv "tmp/${PN}/${PN}" "tmp/${PN}/${MY_PV}" || die
- cd tmp || die
- tar -jcf ${PN}-${MY_PV}-prepatched.tar.bz2 ${PN} || die
- mv ${PN}-${MY_PV}-prepatched.tar.bz2 .. || die
-}
-
-src_configure() {
- econf --with-usrlibdir='${prefix}'/$(get_libdir) \
- $(use_enable static static_link) \
- $(use_enable mini) \
- $(use_enable led) \
- $(use_enable intel_led) \
- $(use_enable klibc) \
- $(use_enable dietlibc)
-}
-
-src_install() {
- emake DESTDIR="${D}" install
- dodoc CHANGELOG README TODO KNOWN_BUGS doc/*
- insinto /usr/share/${PN}
- doins "${WORKDIR}"/${PN}-${MY_PV}-prepatched.tar.bz2
-}
-
-pkg_postinst() {
- if [[ -z ${REPLACING_VERSIONS} ]]; then
- elog "For booting Gentoo from Device-Mapper RAID you can use a Genkernel initramfs."
- elog
- elog "Genkernel will generate the kernel and the initramfs with a statically "
- elog "linked dmraid binary (its own version which may not be the same as this version):"
- elog "\t emerge -av sys-kernel/genkernel"
- elog "\t genkernel --dmraid all"
- fi
- # skip this message if this revision has already been emerged
- if [[ " ${REPLACING_VERSIONS} " != *\ ${PVR}\ * ]]; then
- elog
- elog "A pre-patched distfile of this version of DMRAID has been installed at"
- elog "/usr/share/${PN}/${PN}-${MY_PV}-prepatched.tar.bz2 , to support using it within a"
- elog "Genkernel initramfs."
- elog
- fi
- if [[ -z ${REPLACING_VERSIONS} ]]; then
- elog "If you would rather use this version of DMRAID with Genkernel, update the following"
- elog "in /etc/genkernel.conf:"
- elog "\t DMRAID_VER=\"${MY_PV}\""
- elog "\t DMRAID_SRCTAR=\"/usr/share/${PN}/${PN}-${MY_PV}-prepatched.tar.bz2\""
- elog
- fi
-}
diff --git a/sys-fs/dmraid/dmraid-1.0.0_rc16-r4.ebuild b/sys-fs/dmraid/dmraid-1.0.0_rc16-r4.ebuild
deleted file mode 100644
index 153fa71d352..00000000000
--- a/sys-fs/dmraid/dmraid-1.0.0_rc16-r4.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit autotools linux-info flag-o-matic eutils
-
-MY_PV=${PV/_/.}-3
-
-DESCRIPTION="Device-mapper RAID tool and library"
-HOMEPAGE="https://people.redhat.com/~heinzm/sw/dmraid/"
-SRC_URI="https://people.redhat.com/~heinzm/sw/dmraid/src/${PN}-${MY_PV}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="intel_led led mini static"
-
-RDEPEND=">=sys-fs/lvm2-2.02.45"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- static? ( sys-fs/lvm2[static-libs] )
-"
-
-S="${WORKDIR}/${PN}/${MY_PV}/${PN}"
-
-pkg_setup() {
- if kernel_is lt 2 6 ; then
- ewarn "You are using a kernel < 2.6"
- ewarn "DMraid uses recently introduced Device-Mapper features."
- ewarn "These might be unavailable in the kernel you are running now."
- fi
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-undo-p-rename.patch \
- "${FILESDIR}"/${P}-return-all-sets.patch \
- "${FILESDIR}"/${P}-static-build-fixes.patch \
- "${FILESDIR}"/${P}-parallel-make.patch
- # pkg_check_modules is not in aclocal.m4 by default, and eautoreconf doesnt add it
- einfo "Appending pkg.m4 from system to aclocal.m4"
- cat "${ROOT}"/usr/share/aclocal/pkg.m4 >>"${S}"/aclocal.m4 || die "Could not append pkg.m4"
- epatch_user
- eautoreconf
-
- einfo "Creating prepatched source archive for use with Genkernel"
- # archive the patched source for use with genkernel
- cd "${WORKDIR}" || die
- mkdir -p "tmp/${PN}" || die
- cp -a "${PN}/${MY_PV}/${PN}" "tmp/${PN}" || die
- mv "tmp/${PN}/${PN}" "tmp/${PN}/${MY_PV}" || die
- cd tmp || die
- tar -jcf ${PN}-${MY_PV}-prepatched.tar.bz2 ${PN} || die
- mv ${PN}-${MY_PV}-prepatched.tar.bz2 .. || die
-}
-
-src_configure() {
- # disable klibc and dietlibc, bug #653392
- econf --with-usrlibdir='${prefix}'/$(get_libdir) \
- --disable-klibc \
- --disable-dietlibc \
- $(use_enable static static_link) \
- $(use_enable mini) \
- $(use_enable led) \
- $(use_enable intel_led)
-}
-
-src_install() {
- emake DESTDIR="${D}" install
- dodoc CHANGELOG README TODO KNOWN_BUGS doc/*
- insinto /usr/share/${PN}
- doins "${WORKDIR}"/${PN}-${MY_PV}-prepatched.tar.bz2
-}
-
-pkg_postinst() {
- if [[ -z ${REPLACING_VERSIONS} ]]; then
- elog "For booting Gentoo from Device-Mapper RAID you can use a Genkernel initramfs."
- elog
- elog "Genkernel will generate the kernel and the initramfs with a statically "
- elog "linked dmraid binary (its own version which may not be the same as this version):"
- elog "\t emerge -av sys-kernel/genkernel"
- elog "\t genkernel --dmraid all"
- fi
- # skip this message if this revision has already been emerged
- if [[ " ${REPLACING_VERSIONS} " != *\ ${PVR}\ * ]]; then
- elog
- elog "A pre-patched distfile of this version of DMRAID has been installed at"
- elog "/usr/share/${PN}/${PN}-${MY_PV}-prepatched.tar.bz2 , to support using it within a"
- elog "Genkernel initramfs."
- elog
- fi
- if [[ -z ${REPLACING_VERSIONS} ]]; then
- elog "If you would rather use this version of DMRAID with Genkernel, update the following"
- elog "in /etc/genkernel.conf:"
- elog "\t DMRAID_VER=\"${MY_PV}\""
- elog "\t DMRAID_SRCTAR=\"/usr/share/${PN}/${PN}-${MY_PV}-prepatched.tar.bz2\""
- elog
- fi
-}
next reply other threads:[~2021-03-12 15:34 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-12 15:34 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-04-25 13:59 [gentoo-commits] repo/gentoo:master commit in: sys-fs/dmraid/ Sam James
2025-02-15 9:29 Ulrich Müller
2024-03-03 20:44 Andreas K. Hüttel
2023-03-19 17:36 Arthur Zamarin
2023-01-16 14:32 Sam James
2022-11-23 16:39 Mike Gilbert
2022-11-23 16:39 Mike Gilbert
2022-05-26 5:06 WANG Xuerui
2021-08-23 22:59 Marek Szuba
2021-08-03 11:03 Sam James
2021-06-07 8:33 Joonas Niilola
2021-03-12 15:35 Sam James
2021-03-12 15:28 Sam James
2021-03-11 7:25 Agostino Sarubbo
2021-03-11 2:39 Sam James
2021-03-10 3:06 Sam James
2021-03-10 3:06 Sam James
2021-03-10 3:05 Sam James
2021-03-10 1:24 Sam James
2020-12-02 23:21 Sam James
2018-11-11 13:07 Pacho Ramos
2017-02-10 23:02 Michael Weber
2016-07-25 16:21 Ian Stakenvicius
2016-04-19 22:33 Manuel Rüger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1615563243.e86c8bc2cfb3d9ccc92ecd8c67288a101f8eb13b.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox