1 |
commit: 4559149bd18b1f73d9a182f6a13ef4b3f9977134 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 1 16:33:45 2018 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 1 16:34:06 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4559149b |
7 |
|
8 |
sys-fs/mtools: bump to v4.0.19 |
9 |
|
10 |
- EAPI bumped to EAPI=6 |
11 |
|
12 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
13 |
Package-Manager: Portage-2.3.50, Repoman-2.3.11 |
14 |
|
15 |
sys-fs/mtools/Manifest | 1 + |
16 |
sys-fs/mtools/mtools-4.0.19.ebuild | 61 ++++++++++++++++++++++++++++++++++++++ |
17 |
2 files changed, 62 insertions(+) |
18 |
|
19 |
diff --git a/sys-fs/mtools/Manifest b/sys-fs/mtools/Manifest |
20 |
index c013c84acdd..baa12187e63 100644 |
21 |
--- a/sys-fs/mtools/Manifest |
22 |
+++ b/sys-fs/mtools/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST mtools-4.0.18.tar.bz2 420190 BLAKE2B 92fdf8b054287e3cb4eddb40c98f5ac4229a38473b633c25ab74a07a8a72d38c2767ae648a35cf0dac9dedfa2f7789afc4904a50e1328e2baa0a289d93b094fb SHA512 3981a4727aa4e2ec5c931201b236f52fcd1c9d55f888cb2fbdc5c4172402e2b229ede9a5005b972ffdad59bcb861e2fcc01404845e521116419079ae78239090 |
25 |
+DIST mtools-4.0.19.tar.bz2 445566 BLAKE2B 2f35eaccb65ba39cb365ecaf1de95cff038370503bcb9dad4dc1bb654d00d1559c7183f8a30538f0fb6ce12332521083eefaa34f4eda9bdc9698cd54a0689fa9 SHA512 8928baa197bb3ad0f5e5b6852bfb1b4220bc50d19527e703025cec98bf9988faba496d91df71b14d936a095cc89ce92ce533abe9adf5fff2602f139cb3c6085a |
26 |
|
27 |
diff --git a/sys-fs/mtools/mtools-4.0.19.ebuild b/sys-fs/mtools/mtools-4.0.19.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..241e6ded35a |
30 |
--- /dev/null |
31 |
+++ b/sys-fs/mtools/mtools-4.0.19.ebuild |
32 |
@@ -0,0 +1,61 @@ |
33 |
+# Copyright 1999-2018 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI="6" |
37 |
+ |
38 |
+inherit flag-o-matic |
39 |
+ |
40 |
+DESCRIPTION="utilities to access MS-DOS disks from Unix without mounting them" |
41 |
+HOMEPAGE="https://www.gnu.org/software/mtools/ https://savannah.gnu.org/projects/mtools" |
42 |
+SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2" |
43 |
+ |
44 |
+LICENSE="GPL-3" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x64-macos ~x64-solaris" |
47 |
+IUSE="X elibc_glibc" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ !elibc_glibc? ( virtual/libiconv ) |
51 |
+ X? ( |
52 |
+ x11-libs/libICE |
53 |
+ x11-libs/libXau |
54 |
+ x11-libs/libSM |
55 |
+ x11-libs/libX11 |
56 |
+ x11-libs/libXt |
57 |
+ )" |
58 |
+DEPEND="${RDEPEND} |
59 |
+ sys-apps/texinfo" |
60 |
+# texinfo is required because we patch mtools.texi |
61 |
+# drop it when mtools-4.0.18-locking.patch is no longer applied |
62 |
+ |
63 |
+PATCHES=( |
64 |
+ "${FILESDIR}"/${PN}-4.0.18-locking.patch # https://crbug.com/508713 |
65 |
+ "${FILESDIR}"/${PN}-4.0.18-attr.patch # https://crbug.com/644387 |
66 |
+ "${FILESDIR}"/${PN}-4.0.18-memset.patch |
67 |
+) |
68 |
+ |
69 |
+src_prepare() { |
70 |
+ default |
71 |
+ |
72 |
+ # Don't throw errors on existing directories |
73 |
+ sed -i -e "s:mkdir:mkdir -p:" mkinstalldirs || die |
74 |
+} |
75 |
+ |
76 |
+src_configure() { |
77 |
+ # 447688 |
78 |
+ use !elibc_glibc && use !elibc_musl && append-libs "-liconv" |
79 |
+ econf \ |
80 |
+ --sysconfdir="${EPREFIX%/}"/etc/mtools \ |
81 |
+ $(use_with X x) |
82 |
+} |
83 |
+ |
84 |
+src_install() { |
85 |
+ local -a DOCS=( README* Release.notes ) |
86 |
+ default |
87 |
+ |
88 |
+ insinto /etc/mtools |
89 |
+ doins mtools.conf |
90 |
+ |
91 |
+ # default is fine |
92 |
+ sed -i -e '/^SAMPLE FILE$/s:^:#:' "${ED%/}"/etc/mtools/mtools.conf || die |
93 |
+} |