Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/mtools/
Date: Sat, 28 Nov 2020 16:30:34
Message-Id: 1606581027.7a7ba95441757e41370df510e9287127a308c2fc.polynomial-c@gentoo
1 commit: 7a7ba95441757e41370df510e9287127a308c2fc
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Sat Nov 28 16:28:50 2020 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 28 16:30:27 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a7ba954
7
8 sys-fs/mtools: Bump to version 4.0.26
9
10 Package-Manager: Portage-3.0.10, Repoman-3.0.2
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 sys-fs/mtools/Manifest | 1 +
14 sys-fs/mtools/mtools-4.0.26.ebuild | 47 ++++++++++++++++++++++++++++++++++++++
15 2 files changed, 48 insertions(+)
16
17 diff --git a/sys-fs/mtools/Manifest b/sys-fs/mtools/Manifest
18 index 3b548a818c7..a8be68fbec1 100644
19 --- a/sys-fs/mtools/Manifest
20 +++ b/sys-fs/mtools/Manifest
21 @@ -1,2 +1,3 @@
22 DIST mtools-4.0.24.tar.bz2 418178 BLAKE2B 96ccbde0e5ed5e304c73c7faaeb495751c43ae37970e5c2329299e0f7bf90f3a810f4ca95faea10a00e5af110be579a3b083043314e980bb0128226caffb5608 SHA512 b74becc4f696315cfabc016d1746e744b43e366de73bf1bffeec4fbab1e4815967594de8acb4af01f89d36a925f93672efbac205b89540161bd53ab7edebcf04
23 DIST mtools-4.0.25.tar.bz2 421807 BLAKE2B 54b0de421d5de003c6dff9a524af2a37d7fe0fb88361e195b000b8c8637ed894ec01ca295ea71ed0df781e9503d609f5e21b987a79c7e9d2c2e0c7176d5eb825 SHA512 91b879de6b41bf9fd6d9282d846e21fe58dbcd3461d97d2d6cae752a309a5129091a0e6ffda5b28ef062c33970a1c0a43ff1cf19106232866bdbdb762c64a143
24 +DIST mtools-4.0.26.tar.bz2 420648 BLAKE2B 02f75722e8569c75d09fbee8667b24d8fd5c685940b235de33e268b8a349a49798f50db22470200e9fa30244768c07a568bfe124969f2a34f652c157ddb37e89 SHA512 32303ea16314ca00f33aee103451958f13c71ab1f3975e9a1dd9236c8e775286985ee776c38c64a1f8f5f8d0a66cbf84643182913e4e2c2dcaff384a9acd8633
25
26 diff --git a/sys-fs/mtools/mtools-4.0.26.ebuild b/sys-fs/mtools/mtools-4.0.26.ebuild
27 new file mode 100644
28 index 00000000000..a10154dee9b
29 --- /dev/null
30 +++ b/sys-fs/mtools/mtools-4.0.26.ebuild
31 @@ -0,0 +1,47 @@
32 +# Copyright 1999-2020 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +inherit flag-o-matic
38 +
39 +DESCRIPTION="utilities to access MS-DOS disks from Unix without mounting them"
40 +HOMEPAGE="https://www.gnu.org/software/mtools/ https://savannah.gnu.org/projects/mtools"
41 +SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2"
42 +
43 +LICENSE="GPL-3"
44 +SLOT="0"
45 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos ~x64-solaris"
46 +IUSE="X elibc_glibc"
47 +
48 +RDEPEND="
49 + !elibc_glibc? ( virtual/libiconv )
50 + X? (
51 + x11-libs/libICE
52 + x11-libs/libXau
53 + x11-libs/libSM
54 + x11-libs/libX11
55 + x11-libs/libXt
56 + )"
57 +DEPEND="${RDEPEND}"
58 +
59 +src_configure() {
60 + # 447688
61 + use !elibc_glibc && use !elibc_musl && append-libs "-liconv"
62 + local myeconfargs=(
63 + --sysconfdir="${EPREFIX}"/etc/mtools
64 + $(use_with X x)
65 + )
66 + econf "${myeconfargs[@]}"
67 +}
68 +
69 +src_install() {
70 + local -a DOCS=( README* Release.notes )
71 + default
72 +
73 + insinto /etc/mtools
74 + doins mtools.conf
75 +
76 + # default is fine
77 + sed -i -e '/^SAMPLE FILE$/s:^:#:' "${ED}"/etc/mtools/mtools.conf || die
78 +}