Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/ntfs3g/
Date: Sun, 07 Nov 2021 00:29:23
Message-Id: 1636244926.50541bc7785a3b7205373b977f1f0863d4ee31f6.floppym@gentoo
1 commit: 50541bc7785a3b7205373b977f1f0863d4ee31f6
2 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 7 00:11:43 2021 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 7 00:28:46 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50541bc7
7
8 sys-fs/ntfs3g: actually make USE=suid do something
9
10 Bug: https://bugs.gentoo.org/822024
11 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
12
13 .../{ntfs3g-2021.8.22-r1.ebuild => ntfs3g-2021.8.22-r2.ebuild} | 7 ++++++-
14 1 file changed, 6 insertions(+), 1 deletion(-)
15
16 diff --git a/sys-fs/ntfs3g/ntfs3g-2021.8.22-r1.ebuild b/sys-fs/ntfs3g/ntfs3g-2021.8.22-r2.ebuild
17 similarity index 94%
18 rename from sys-fs/ntfs3g/ntfs3g-2021.8.22-r1.ebuild
19 rename to sys-fs/ntfs3g/ntfs3g-2021.8.22-r2.ebuild
20 index 32829cd24d9..fa4b403451e 100644
21 --- a/sys-fs/ntfs3g/ntfs3g-2021.8.22-r1.ebuild
22 +++ b/sys-fs/ntfs3g/ntfs3g-2021.8.22-r2.ebuild
23 @@ -75,7 +75,12 @@ src_configure() {
24
25 src_install() {
26 default
27 - use mount-ntfs && dosym mount.ntfs-3g /sbin/mount.ntfs
28 + if use suid; then
29 + fperms u+s /usr/bin/ntfs-3g
30 + fi
31 + if use mount-ntfs; then
32 + dosym mount.ntfs-3g /sbin/mount.ntfs
33 + fi
34 find "${ED}" -name '*.la' -type f -delete || die
35 # https://bugs.gentoo.org/760780
36 keepdir "/usr/$(get_libdir)/ntfs-3g"