diff --git a/sdk_container/src/third_party/portage-stable/sys-fs/mtools/Manifest b/sdk_container/src/third_party/portage-stable/sys-fs/mtools/Manifest index 23be5fc47a..66233d9589 100644 --- a/sdk_container/src/third_party/portage-stable/sys-fs/mtools/Manifest +++ b/sdk_container/src/third_party/portage-stable/sys-fs/mtools/Manifest @@ -1 +1,2 @@ -DIST mtools-4.0.35.tar.bz2 455988 BLAKE2B 9c1ac7f3ad3f9f13a572d0e1ea3c3a9d79bd08f0ae963c7357a19a687b74536cd8442eb167a9e50f7d22398c56736753b0d98bccdaa4c7d8427d1c09e1dd786c SHA512 ef563b3319285667993c82d819e08cb819a6bcd71c466fc252568996b4218cfb3731107ffcd6150ba33c0837e012e02057def41e2b011f751eaf550bfa366a10 +DIST mtools-4.0.42.tar.bz2 441506 BLAKE2B 07afec0aea49427ec71ae8ddde9c1dceb33b2533e9acbde3564b0715efce784b5ea8c2122ff588f84e42435abb73ac9912520fd654a078bf0336e62f35f3ce2a SHA512 fd8d56d2dea9ce5e2b311b29ebdd4d89ec7baaf5f2fbfdc85019d480eff4d198ebf0e591c0f28ee1e39d8b81d49d7d4e9ed94b0e94e5b02ce9bbc03632124811 +DIST mtools-4.0.43.tar.bz2 443673 BLAKE2B d000839bbb6bc647eb5a32b08b40b1350cd0a85fd564f0705ecbfe20f8f4ef21bf2d59cd0ccd7a159c829c019c6c2f3cbdef82ff3f4a9e8828cc13d44ddabd1d SHA512 b70e483688124a653dd333ab127494dab12d413809680a4846dc4ae5c166a0b9938a2ab290e518c1f1a5b18ed96d2c2a29d92d61b16b772a4ab5e495379fe410 diff --git a/sdk_container/src/third_party/portage-stable/sys-fs/mtools/metadata.xml b/sdk_container/src/third_party/portage-stable/sys-fs/mtools/metadata.xml index e54bf0e33f..bffaeaa4d7 100644 --- a/sdk_container/src/third_party/portage-stable/sys-fs/mtools/metadata.xml +++ b/sdk_container/src/third_party/portage-stable/sys-fs/mtools/metadata.xml @@ -7,5 +7,6 @@ cpe:/a:mtools:* + mtools diff --git a/sdk_container/src/third_party/portage-stable/sys-fs/mtools/mtools-4.0.35.ebuild b/sdk_container/src/third_party/portage-stable/sys-fs/mtools/mtools-4.0.42.ebuild similarity index 63% rename from sdk_container/src/third_party/portage-stable/sys-fs/mtools/mtools-4.0.35.ebuild rename to sdk_container/src/third_party/portage-stable/sys-fs/mtools/mtools-4.0.42.ebuild index 11b85109c4..affe33edeb 100644 --- a/sdk_container/src/third_party/portage-stable/sys-fs/mtools/mtools-4.0.35.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-fs/mtools/mtools-4.0.42.ebuild @@ -1,46 +1,53 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="7" +EAPI=8 inherit flag-o-matic -DESCRIPTION="utilities to access MS-DOS disks from Unix without mounting them" +DESCRIPTION="Utilities to access MS-DOS disks from Unix without mounting them" HOMEPAGE="https://www.gnu.org/software/mtools/ https://savannah.gnu.org/projects/mtools" SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2" LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~x64-macos ~x64-solaris" -IUSE="X elibc_glibc" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv sparc x86 ~x64-macos ~x64-solaris" +IUSE="gui" RDEPEND=" - !elibc_glibc? ( virtual/libiconv ) - X? ( + virtual/libiconv + gui? ( x11-libs/libICE x11-libs/libXau x11-libs/libSM x11-libs/libX11 x11-libs/libXt - )" + ) +" DEPEND="${RDEPEND}" src_configure() { - use !elibc_glibc && use !elibc_musl && append-libs "-liconv" #447688 + if ! use elibc_glibc && ! use elibc_musl ; then + # bug #447688 + append-libs "-liconv" + fi + local myeconfargs=( --sysconfdir="${EPREFIX}"/etc/mtools - $(use_with X x) + $(use_with gui x) ) + econf "${myeconfargs[@]}" } src_install() { local -a DOCS=( README* Release.notes ) + default insinto /etc/mtools doins mtools.conf - # default is fine + # Default is fine sed -i -e '/^SAMPLE FILE$/s:^:#:' "${ED}"/etc/mtools/mtools.conf || die } diff --git a/sdk_container/src/third_party/portage-stable/sys-fs/mtools/mtools-4.0.43.ebuild b/sdk_container/src/third_party/portage-stable/sys-fs/mtools/mtools-4.0.43.ebuild new file mode 100644 index 0000000000..1ed9257616 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-fs/mtools/mtools-4.0.43.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic + +DESCRIPTION="Utilities to access MS-DOS disks from Unix without mounting them" +HOMEPAGE="https://www.gnu.org/software/mtools/ https://savannah.gnu.org/projects/mtools" +SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv sparc x86 ~x64-macos ~x64-solaris" +IUSE="gui" + +RDEPEND=" + virtual/libiconv + gui? ( + x11-libs/libICE + x11-libs/libXau + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXt + ) +" +DEPEND="${RDEPEND}" + +src_configure() { + if ! use elibc_glibc && ! use elibc_musl ; then + # bug #447688 + append-libs "-liconv" + fi + + local myeconfargs=( + --sysconfdir="${EPREFIX}"/etc/mtools + $(use_with gui x) + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + local -a DOCS=( README* Release.notes ) + + default + + insinto /etc/mtools + doins mtools.conf + + # Default is fine + sed -i -e '/^SAMPLE FILE$/s:^:#:' "${ED}"/etc/mtools/mtools.conf || die +}