summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2019-11-28 21:21:35 -0500
committerMike Gilbert <floppym@gentoo.org>2019-11-28 21:21:35 -0500
commit556ac4a6a07a1e8f0ace2d8056f00ebd909cf811 (patch)
treedf82a7e8e3f60d120a08cd706b23c8288423cdde /sys-fs/fuse-exfat
parentsys-fs/fuse-exfat: remove old (diff)
downloadgentoo-556ac4a6a07a1e8f0ace2d8056f00ebd909cf811.tar.gz
gentoo-556ac4a6a07a1e8f0ace2d8056f00ebd909cf811.tar.bz2
gentoo-556ac4a6a07a1e8f0ace2d8056f00ebd909cf811.zip
sys-fs/fuse-exfat: add suid USE flag
Closes: https://bugs.gentoo.org/691704 Package-Manager: Portage-2.3.79_p3, Repoman-2.3.18_p2 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'sys-fs/fuse-exfat')
-rw-r--r--sys-fs/fuse-exfat/fuse-exfat-1.3.0.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys-fs/fuse-exfat/fuse-exfat-1.3.0.ebuild b/sys-fs/fuse-exfat/fuse-exfat-1.3.0.ebuild
index ae1eb6cb731f..e9825ca85a4e 100644
--- a/sys-fs/fuse-exfat/fuse-exfat-1.3.0.ebuild
+++ b/sys-fs/fuse-exfat/fuse-exfat-1.3.0.ebuild
@@ -11,6 +11,7 @@ SRC_URI="https://github.com/relan/exfat/releases/download/v${PV}/${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-linux"
+IUSE="suid"
RDEPEND="sys-fs/fuse:0"
DEPEND="${RDEPEND}"
@@ -18,5 +19,6 @@ BDEPEND="virtual/pkgconfig"
src_install() {
default
+ use suid && fperms u+s /usr/sbin/mount.exfat-fuse
dosym mount.exfat-fuse.8 /usr/share/man/man8/mount.exfat.8
}