1 |
commit: e88a6eb57790b8e05fa7b11c22f0b0855016fc22 |
2 |
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 5 23:10:45 2021 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 5 23:10:45 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e88a6eb5 |
7 |
|
8 |
sys-fs/ntfs3g: add 'mount-ntfs' USE flag |
9 |
|
10 |
Closes: https://bugs.gentoo.org/583214 |
11 |
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> |
12 |
|
13 |
sys-fs/ntfs3g/metadata.xml | 1 + |
14 |
sys-fs/ntfs3g/ntfs3g-2021.8.22.ebuild | 4 ++-- |
15 |
2 files changed, 3 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/sys-fs/ntfs3g/metadata.xml b/sys-fs/ntfs3g/metadata.xml |
18 |
index 9b2852a0591..fd2cd929283 100644 |
19 |
--- a/sys-fs/ntfs3g/metadata.xml |
20 |
+++ b/sys-fs/ntfs3g/metadata.xml |
21 |
@@ -16,6 +16,7 @@ |
22 |
file ownership, access right. |
23 |
</longdescription> |
24 |
<use> |
25 |
+ <flag name="mount-ntfs">Install mount.ntfs symlink</flag> |
26 |
<flag name="ntfsdecrypt">Build and install the ntfsdecrypt application.</flag> |
27 |
<flag name="ntfsprogs">Include internal version of ntfsprogs.</flag> |
28 |
</use> |
29 |
|
30 |
diff --git a/sys-fs/ntfs3g/ntfs3g-2021.8.22.ebuild b/sys-fs/ntfs3g/ntfs3g-2021.8.22.ebuild |
31 |
index 73800e129e5..f022ac5e558 100644 |
32 |
--- a/sys-fs/ntfs3g/ntfs3g-2021.8.22.ebuild |
33 |
+++ b/sys-fs/ntfs3g/ntfs3g-2021.8.22.ebuild |
34 |
@@ -16,7 +16,7 @@ LICENSE="GPL-2" |
35 |
# The subslot matches the SONAME major #. |
36 |
SLOT="0/89" |
37 |
KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" |
38 |
-IUSE="acl debug ntfsdecrypt +ntfsprogs static-libs suid xattr" |
39 |
+IUSE="acl debug +mount-ntfs ntfsdecrypt +ntfsprogs static-libs suid xattr" |
40 |
|
41 |
RDEPEND=" |
42 |
sys-apps/util-linux:0= |
43 |
@@ -75,7 +75,7 @@ src_configure() { |
44 |
src_install() { |
45 |
default |
46 |
use suid && fperms u+s /usr/bin/ntfs-3g |
47 |
- dosym mount.ntfs-3g /sbin/mount.ntfs |
48 |
+ use mount-ntfs && dosym mount.ntfs-3g /sbin/mount.ntfs |
49 |
find "${ED}" -name '*.la' -type f -delete || die |
50 |
# https://bugs.gentoo.org/760780 |
51 |
keepdir "/usr/$(get_libdir)/ntfs-3g" |