1 |
commit: 11a9a9dae6476c69f140bbf2938e75b6b11c3959 |
2 |
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 27 16:05:09 2022 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 27 16:05:50 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11a9a9da |
7 |
|
8 |
sys-fs/ntfs3g: add 2022.5.17 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/847598 |
11 |
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> |
12 |
|
13 |
sys-fs/ntfs3g/Manifest | 1 + |
14 |
sys-fs/ntfs3g/ntfs3g-2022.5.17.ebuild | 83 +++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 84 insertions(+) |
16 |
|
17 |
diff --git a/sys-fs/ntfs3g/Manifest b/sys-fs/ntfs3g/Manifest |
18 |
index 44a4ffdeed56..0934b57fac7f 100644 |
19 |
--- a/sys-fs/ntfs3g/Manifest |
20 |
+++ b/sys-fs/ntfs3g/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST ntfs-3g_ntfsprogs-2021.8.22.tgz 1317499 BLAKE2B 403036c68a37ba83873b5faadbb2088deb25e0ff31deb1958d4f869a198d830caa44edea879492a7894f5e7a5ad6205a6fda57bf8de722ce49bf3187239ad993 SHA512 e0544df78a6c352999e1206d7b5d71c56e39396b7a0936a261d728c2ac9d61c6b95ef297f8529ac2a5146f31c1c9e43066d3e281064d4f5d781a04eba51f536d |
23 |
+DIST ntfs-3g_ntfsprogs-2022.5.17.tgz 1318476 BLAKE2B 0f3d5b3ca6186886b1a4f1fc59242a1f4ccdc842cbe53b0869f707c1dbebdd58058d40b265dae663b71a2a611f7ce5392c63afa3053dc075155759c10499d529 SHA512 25e6d3412958576b0cd614f5d93201c0d7e8bbee78fbaf956718a3825c1435b3f0c3631ea1cc60b5b1be6e9ae7d58c0c03b0bebb69edee3bf181a966734336df |
24 |
|
25 |
diff --git a/sys-fs/ntfs3g/ntfs3g-2022.5.17.ebuild b/sys-fs/ntfs3g/ntfs3g-2022.5.17.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..333eeaf0b761 |
28 |
--- /dev/null |
29 |
+++ b/sys-fs/ntfs3g/ntfs3g-2022.5.17.ebuild |
30 |
@@ -0,0 +1,83 @@ |
31 |
+# Copyright 2006-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+inherit toolchain-funcs |
37 |
+ |
38 |
+MY_P="ntfs-3g_ntfsprogs-${PV}" |
39 |
+ |
40 |
+DESCRIPTION="Open source read-write NTFS driver that runs under FUSE" |
41 |
+HOMEPAGE="http://www.tuxera.com/community/ntfs-3g-download/" |
42 |
+HOMEPAGE="https://jp-andre.pagesperso-orange.fr/advanced-ntfs-3g.html" |
43 |
+SRC_URI="http://tuxera.com/opensource/${MY_P}.tgz" |
44 |
+ |
45 |
+LICENSE="GPL-2" |
46 |
+# The subslot matches the SONAME major #. |
47 |
+SLOT="0/89" |
48 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" |
49 |
+IUSE="acl debug +fuse +mount-ntfs ntfsdecrypt +ntfsprogs static-libs suid xattr" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ sys-apps/util-linux:0= |
53 |
+ ntfsdecrypt? ( |
54 |
+ >=dev-libs/libgcrypt-1.2.2:0 |
55 |
+ >=net-libs/gnutls-1.4.4 |
56 |
+ ) |
57 |
+" |
58 |
+DEPEND="${RDEPEND} |
59 |
+ sys-apps/attr |
60 |
+" |
61 |
+BDEPEND=" |
62 |
+ virtual/pkgconfig |
63 |
+" |
64 |
+ |
65 |
+S="${WORKDIR}/${MY_P}" |
66 |
+ |
67 |
+src_configure() { |
68 |
+ tc-ld-disable-gold |
69 |
+ |
70 |
+ local myconf=( |
71 |
+ # passing --exec-prefix is needed as the build system is trying to be clever |
72 |
+ # and install itself into / instead of /usr in order to be compatible with |
73 |
+ # separate-/usr setups (which we don't support without an initrd). |
74 |
+ --exec-prefix="${EPREFIX}"/usr |
75 |
+ |
76 |
+ --disable-ldconfig |
77 |
+ --enable-extras |
78 |
+ $(use_enable debug) |
79 |
+ $(use_enable fuse ntfs-3g) |
80 |
+ $(use_enable acl posix-acls) |
81 |
+ $(use_enable xattr xattr-mappings) |
82 |
+ $(use_enable ntfsdecrypt crypto) |
83 |
+ $(use_enable ntfsprogs) |
84 |
+ $(use_enable static-libs static) |
85 |
+ |
86 |
+ --with-uuid |
87 |
+ |
88 |
+ # disable hd library until we have the right library in the tree and |
89 |
+ # don't links to hwinfo one causing issues like bug #602360 |
90 |
+ --without-hd |
91 |
+ |
92 |
+ # Needed for suid |
93 |
+ # https://bugs.gentoo.org/822024 |
94 |
+ --with-fuse=internal |
95 |
+ ) |
96 |
+ |
97 |
+ econf "${myconf[@]}" |
98 |
+} |
99 |
+ |
100 |
+src_install() { |
101 |
+ default |
102 |
+ if use fuse; then |
103 |
+ # Plugins directory |
104 |
+ keepdir "/usr/$(get_libdir)/ntfs-3g" |
105 |
+ if use suid; then |
106 |
+ fperms u+s /usr/bin/ntfs-3g |
107 |
+ fi |
108 |
+ if use mount-ntfs; then |
109 |
+ dosym mount.ntfs-3g /sbin/mount.ntfs |
110 |
+ fi |
111 |
+ fi |
112 |
+ find "${ED}" -name '*.la' -type f -delete || die |
113 |
+} |