From 79be8f00e2aa293669b8e22e1ef02d2d5c5f9e25 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 16 Jan 2023 17:57:56 +0000 Subject: gentoo auto-resync : 16:01:2023 - 17:57:56 --- sys-fs/Manifest.gz | Bin 22528 -> 22531 bytes sys-fs/dmraid/Manifest | 2 +- sys-fs/dmraid/dmraid-1.0.0_rc16-r6.ebuild | 114 ------------------------------ sys-fs/dmraid/dmraid-1.0.0_rc16-r7.ebuild | 114 ++++++++++++++++++++++++++++++ 4 files changed, 115 insertions(+), 115 deletions(-) delete mode 100644 sys-fs/dmraid/dmraid-1.0.0_rc16-r6.ebuild create mode 100644 sys-fs/dmraid/dmraid-1.0.0_rc16-r7.ebuild (limited to 'sys-fs') diff --git a/sys-fs/Manifest.gz b/sys-fs/Manifest.gz index 08e3a2613889..03c823119bec 100644 Binary files a/sys-fs/Manifest.gz and b/sys-fs/Manifest.gz differ diff --git a/sys-fs/dmraid/Manifest b/sys-fs/dmraid/Manifest index d7e2124c4d4c..96ad08090d97 100644 --- a/sys-fs/dmraid/Manifest +++ b/sys-fs/dmraid/Manifest @@ -5,5 +5,5 @@ AUX dmraid-1.0.0_rc16-return-all-sets.patch 283 BLAKE2B 5278f1df08db2a63519b6d31 AUX dmraid-1.0.0_rc16-static-build-fixes.patch 3840 BLAKE2B 713e255890dfbfd7ded83cc914a136cf88a40943ac310f10e574f6ee3683e4cd61b1e369a38ddfb6ad767c904b95b2a04c04b1a38833998485aa4b1e29006870 SHA512 ff2aaebec2be1ace40377a4bcd91c802c190ac4047643478d6f99e3023cf69b4a5e8230519ce2f3febe5d6419a54557184739bcbeaa08047354ca93f27e4ec67 AUX dmraid-1.0.0_rc16-undo-p-rename.patch 531 BLAKE2B eef9d2ef5f2766773bf83bba93d44a02a450a03b1e338f3120473512fe60d7a5f60d4bb2ae25ed019e0c58b89c5e67fd81426ae0fd5e06220976640b84d29d67 SHA512 b5b93d49e716c585284dfd89fe4651fd5bb6921196a053797aeec9cf5654f11da7b2ed1ad93f2df15fd3ef47c95efd67aeecc196fcfd3feb22f7903ad103a8c6 DIST dmraid-1.0.0.rc16-3.tar.bz2 232743 BLAKE2B 290c5bb7f1b12ac48627d8afcc346327b2fcce31b1015d5974c956d94f607b297e383158cd8741f03a770cdeb3f42c3e6341ebfcbc2220e122d89c2603eee512 SHA512 7c45e5117adc52fc2094b1b2bad4f4c518a46317a2196611966d72085ba3587c4ac8d1080f9d934888c01788f2b2d3d621c6f0d3e2a023c0fb1f9f3fa7fc127e -EBUILD dmraid-1.0.0_rc16-r6.ebuild 3401 BLAKE2B 64f998413be075212ab1d726133889e617cd07e1e49cf6e797b19d327dd3326759b45ddc1a3d75e228161306c7e017e62abea5d8de044776d46b3a3a889addbe SHA512 d30bc24705af33961355b0e66161eabd40c5063c256ed519b18d29e85d8026b75acc6be853721e31e58177dadce5b45c9d1b9c676e3843dca63f3b208be44fd5 +EBUILD dmraid-1.0.0_rc16-r7.ebuild 3404 BLAKE2B 5e234ab4bd8d39d1b3965427e81713f7895ed69c62bc459e53941f88554a50d7dfd00675bfbd800022d1dcb778754f0ef66d5b08512879ec330806128cf87130 SHA512 0f180e8a1bedf3e1deec764724acd27d62ccf44732526ac23290e794af4065f957abe5c91d22e7d32b1d5503b734ade1f8e93107da9d8db9b9171d850faec942 MISC metadata.xml 545 BLAKE2B 553f9f750bf8dcefcf578834d023404ca9dbcbc57749984e89b35ffce2964688515b69ef1ca26c45e4236296f562c8ba512cff70c9059c4f5a233c8d0df15a1b SHA512 0642718eb176d604d2fc91a4ad843d114044e1136b22e999bf1c59ca92e19b0f970e7618680f2147233bc64103e51604f363890e5d5479d7a808e85ca42c40a7 diff --git a/sys-fs/dmraid/dmraid-1.0.0_rc16-r6.ebuild b/sys-fs/dmraid/dmraid-1.0.0_rc16-r6.ebuild deleted file mode 100644 index 85ae95c0e1a2..000000000000 --- a/sys-fs/dmraid/dmraid-1.0.0_rc16-r6.ebuild +++ /dev/null @@ -1,114 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools linux-info - -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" -S="${WORKDIR}/${PN}/${MY_PV}/${PN}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv sparc x86" -IUSE="intel-led led mini static" - -RDEPEND=">=sys-fs/lvm2-2.02.45[lvm]" -DEPEND=" - ${RDEPEND} - static? ( sys-fs/lvm2[static-libs] ) -" -BDEPEND=" - app-arch/tar - virtual/pkgconfig -" - -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() { - eapply -p2 "${FILESDIR}"/${P}-undo-p-rename.patch \ - "${FILESDIR}"/${P}-return-all-sets.patch - eapply -p0 "${FILESDIR}"/${P}-static-build-fixes.patch - eapply -p3 "${FILESDIR}"/${P}-parallel-make.patch - eapply "${FILESDIR}"/${P}-fix-missing-PATH-MOUNTED.patch - eapply "${FILESDIR}"/${PN}-1.0.0_rc16-musl.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 "${BROOT}"/usr/share/aclocal/pkg.m4 >>"${S}"/aclocal.m4 || die "Could not append pkg.m4" - - mv configure.{in,ac} || die - - default - - 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 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 -} diff --git a/sys-fs/dmraid/dmraid-1.0.0_rc16-r7.ebuild b/sys-fs/dmraid/dmraid-1.0.0_rc16-r7.ebuild new file mode 100644 index 000000000000..005029b321bb --- /dev/null +++ b/sys-fs/dmraid/dmraid-1.0.0_rc16-r7.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools linux-info + +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" +S="${WORKDIR}/${PN}/${MY_PV}/${PN}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv sparc x86" +IUSE="intel-led led mini static" + +RDEPEND=">=sys-fs/lvm2-2.02.45[lvm(+)]" +DEPEND=" + ${RDEPEND} + static? ( sys-fs/lvm2[static-libs] ) +" +BDEPEND=" + app-arch/tar + virtual/pkgconfig +" + +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() { + eapply -p2 "${FILESDIR}"/${P}-undo-p-rename.patch \ + "${FILESDIR}"/${P}-return-all-sets.patch + eapply -p0 "${FILESDIR}"/${P}-static-build-fixes.patch + eapply -p3 "${FILESDIR}"/${P}-parallel-make.patch + eapply "${FILESDIR}"/${P}-fix-missing-PATH-MOUNTED.patch + eapply "${FILESDIR}"/${PN}-1.0.0_rc16-musl.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 "${BROOT}"/usr/share/aclocal/pkg.m4 >>"${S}"/aclocal.m4 || die "Could not append pkg.m4" + + mv configure.{in,ac} || die + + default + + 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 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 +} -- cgit v1.2.3