1 |
commit: 33f44b68f53e73833e4e29cc94874e3a0171859b |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 1 09:38:08 2021 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 1 09:38:08 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33f44b68 |
7 |
|
8 |
sys-fs/dosfstools: Bump to version 4.2 |
9 |
|
10 |
Package-Manager: Portage-3.0.14, Repoman-3.0.2 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
sys-fs/dosfstools/Manifest | 1 + |
14 |
sys-fs/dosfstools/dosfstools-4.2.ebuild | 38 +++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 39 insertions(+) |
16 |
|
17 |
diff --git a/sys-fs/dosfstools/Manifest b/sys-fs/dosfstools/Manifest |
18 |
index 5a7ff27bbc5..4372c89d5fc 100644 |
19 |
--- a/sys-fs/dosfstools/Manifest |
20 |
+++ b/sys-fs/dosfstools/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST dosfstools-4.1.tar.xz 172936 BLAKE2B d8ef617d9dbdc21318c4f43e2fd6dca1d3452ab46253b055d8fef09aa693bcf63ef58076a49f305bb21de87298bae5be6b626065dfcbd90935af68709e2c3c6a SHA512 e7a8aab34255d15e6865a7b031971352af1255134fab83389673bcc3cbd6ba255241bd2429070aeb4b927f8d7d73ccf1aeafe94566b133e88e7586897c317b78 |
23 |
+DIST dosfstools-4.2.tar.gz 320917 BLAKE2B c55c7592aa80f1fe39e838c83e147ad7141ddd0f72c9c000ba7708ecb7287c3a92b4b52f72c8d0d1171b0f9609dfb7861bbbe475c5cbd7011151c93c2b1d3d0d SHA512 3cc0808edb4432428df8a67da4bb314fd1f27adc4a05754c1a492091741a7b6875ebd9f6a509cc4c5ad85643fc40395b6e0cadee548b25cc439cc9b725980156 |
24 |
|
25 |
diff --git a/sys-fs/dosfstools/dosfstools-4.2.ebuild b/sys-fs/dosfstools/dosfstools-4.2.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..c6c4bfbe591 |
28 |
--- /dev/null |
29 |
+++ b/sys-fs/dosfstools/dosfstools-4.2.ebuild |
30 |
@@ -0,0 +1,38 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+inherit toolchain-funcs flag-o-matic |
37 |
+ |
38 |
+DESCRIPTION="DOS filesystem tools - provides mkdosfs, mkfs.msdos, mkfs.vfat" |
39 |
+HOMEPAGE="https://github.com/dosfstools/dosfstools" |
40 |
+SRC_URI="https://github.com/dosfstools/dosfstools/releases/download/v${PV}/${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="GPL-3" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" |
45 |
+IUSE="compat +iconv test" |
46 |
+RESTRICT="!test? ( test )" |
47 |
+ |
48 |
+BDEPEND=" |
49 |
+ test? ( app-editors/vim-core ) |
50 |
+ iconv? ( virtual/libiconv ) |
51 |
+" |
52 |
+ |
53 |
+src_configure() { |
54 |
+ local myeconfargs=( |
55 |
+ $(use_enable compat compat-symlinks) |
56 |
+ $(use_with iconv) |
57 |
+ ) |
58 |
+ econf "${myeconfargs[@]}" |
59 |
+} |
60 |
+ |
61 |
+src_install() { |
62 |
+ default |
63 |
+ if ! use compat ; then |
64 |
+ # Keep fsck -t vfat and mkfs -t vfat working, bug 584980. |
65 |
+ dosym fsck.fat /usr/sbin/fsck.vfat |
66 |
+ dosym mkfs.fat /usr/sbin/mkfs.vfat |
67 |
+ fi |
68 |
+} |