From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C6DA41582EF for ; Sat, 22 Feb 2025 17:33:13 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id AA7C2343208 for ; Sat, 22 Feb 2025 17:33:13 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id A91241102A2; Sat, 22 Feb 2025 17:33:12 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 9F2051102A2 for ; Sat, 22 Feb 2025 17:33:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4B87C3431F5 for ; Sat, 22 Feb 2025 17:33:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AC84C107A for ; Sat, 22 Feb 2025 17:33:10 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1740245570.48bc46f5833f936aae876cdcdee7d2eef6f3aaa7.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/mtools/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-fs/mtools/Manifest sys-fs/mtools/mtools-4.0.48.ebuild X-VCS-Directories: sys-fs/mtools/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 48bc46f5833f936aae876cdcdee7d2eef6f3aaa7 X-VCS-Branch: master Date: Sat, 22 Feb 2025 17:33:10 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3106e162-dffe-4e35-8cd8-a1f15954c4a4 X-Archives-Hash: 8f9dc533939c640fd798fd03afa7aa6f commit: 48bc46f5833f936aae876cdcdee7d2eef6f3aaa7 Author: Sam James gentoo org> AuthorDate: Sat Feb 22 17:32:20 2025 +0000 Commit: Sam James gentoo org> CommitDate: Sat Feb 22 17:32:50 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48bc46f5 sys-fs/mtools: add 4.0.48 Signed-off-by: Sam James gentoo.org> sys-fs/mtools/Manifest | 1 + sys-fs/mtools/mtools-4.0.48.ebuild | 54 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/sys-fs/mtools/Manifest b/sys-fs/mtools/Manifest index ed942f8b7700..cdda1af097f4 100644 --- a/sys-fs/mtools/Manifest +++ b/sys-fs/mtools/Manifest @@ -1,2 +1,3 @@ DIST mtools-4.0.46.tar.lz 391300 BLAKE2B 997e766b215aebefb23d57f357ea0b95db62a7e3b40712597c38aa11c0f9c47dc43b0b6a34bfa2b976ec8298ed221c5d7d81e9f16dbeb0a4812e3a6cbff16a16 SHA512 1af737cc4793a2e6afe14b5595f085f8aa29e58bf4d8ba89454c7b9a10041a0ebe06fd50b525332c38805c7a9b014fc4379ae1cc259da7626974c6b6a061e727 DIST mtools-4.0.47.tar.lz 391656 BLAKE2B 52fdfdaaea09cf3809b0432237b1491be9c2869fe839e951f11178970ebbc82d9dc4bc6446015e50f44098171493c4d4d191d23c03a0b83819b1dd66934493f1 SHA512 7d3db137a121f5fa54b1b2565048a3be5ac197f25240da037c8200232a0282b1541eb220359e6759e96e77836d2babc0b5a9894c91c5ba7b87b9acc5d1458c81 +DIST mtools-4.0.48.tar.lz 396333 BLAKE2B 3305f79bb7c67040a2df3cccfb2e5e7fde721c8b21f0a1eec1f34a7733596cd6d80135b21595b0b0d8ca6a556d23e891880adcc5122e7c9e128561842df4ffcc SHA512 a352ac557341a594009c7adf44964bc3e4ac31d7fbcfe8a52d70c3b3a06ac134d176f52515d5a7d9aef0563c14967fd80385dc0b84a979abed1f221156ff22a0 diff --git a/sys-fs/mtools/mtools-4.0.48.ebuild b/sys-fs/mtools/mtools-4.0.48.ebuild new file mode 100644 index 000000000000..00ad3bb1d910 --- /dev/null +++ b/sys-fs/mtools/mtools-4.0.48.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic unpacker + +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.lz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~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}" +BDEPEND="$(unpacker_src_uri_depends)" + +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 +}