1 |
commit: 556ac4a6a07a1e8f0ace2d8056f00ebd909cf811 |
2 |
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 29 02:21:35 2019 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 29 02:21:35 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=556ac4a6 |
7 |
|
8 |
sys-fs/fuse-exfat: add suid USE flag |
9 |
|
10 |
Closes: https://bugs.gentoo.org/691704 |
11 |
Package-Manager: Portage-2.3.79_p3, Repoman-2.3.18_p2 |
12 |
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> |
13 |
|
14 |
sys-fs/fuse-exfat/fuse-exfat-1.3.0.ebuild | 2 ++ |
15 |
1 file changed, 2 insertions(+) |
16 |
|
17 |
diff --git a/sys-fs/fuse-exfat/fuse-exfat-1.3.0.ebuild b/sys-fs/fuse-exfat/fuse-exfat-1.3.0.ebuild |
18 |
index ae1eb6cb731..e9825ca85a4 100644 |
19 |
--- a/sys-fs/fuse-exfat/fuse-exfat-1.3.0.ebuild |
20 |
+++ b/sys-fs/fuse-exfat/fuse-exfat-1.3.0.ebuild |
21 |
@@ -11,6 +11,7 @@ SRC_URI="https://github.com/relan/exfat/releases/download/v${PV}/${P}.tar.gz" |
22 |
LICENSE="GPL-2+" |
23 |
SLOT="0" |
24 |
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-linux" |
25 |
+IUSE="suid" |
26 |
|
27 |
RDEPEND="sys-fs/fuse:0" |
28 |
DEPEND="${RDEPEND}" |
29 |
@@ -18,5 +19,6 @@ BDEPEND="virtual/pkgconfig" |
30 |
|
31 |
src_install() { |
32 |
default |
33 |
+ use suid && fperms u+s /usr/sbin/mount.exfat-fuse |
34 |
dosym mount.exfat-fuse.8 /usr/share/man/man8/mount.exfat.8 |
35 |
} |