1 |
commit: cf72416b29d1fc39f978044b7da63d909d90bd24 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 31 08:18:56 2021 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 31 08:19:19 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf72416b |
7 |
|
8 |
sys-fs/ntfs3g: Security bump to version 2021.8.22 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/811156 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
sys-fs/ntfs3g/Manifest | 1 + |
14 |
sys-fs/ntfs3g/ntfs3g-2021.8.22.ebuild | 82 +++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 83 insertions(+) |
16 |
|
17 |
diff --git a/sys-fs/ntfs3g/Manifest b/sys-fs/ntfs3g/Manifest |
18 |
index a087229bff9..d1fd2603084 100644 |
19 |
--- a/sys-fs/ntfs3g/Manifest |
20 |
+++ b/sys-fs/ntfs3g/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST ntfs-3g_ntfsprogs-2017.3.23AR.5.tgz 1278315 BLAKE2B d4f84bf744b12fec7faff82bd3d3048282a3cbcde2ca75e5d3a295206585c4cee68e25dff5fb20b034f516a3f2cd95c489105d9df810f8a9378024ef065b67d3 SHA512 8534970ba9f07999c5ff433144ad3a59640fb9a28fb30b37b5d736101e19f9fec1c222152338be382c894f972fce2b2a83680b85a28cf147cb5500b40a0a25cc |
23 |
+DIST ntfs-3g_ntfsprogs-2021.8.22.tgz 1317499 BLAKE2B 403036c68a37ba83873b5faadbb2088deb25e0ff31deb1958d4f869a198d830caa44edea879492a7894f5e7a5ad6205a6fda57bf8de722ce49bf3187239ad993 SHA512 e0544df78a6c352999e1206d7b5d71c56e39396b7a0936a261d728c2ac9d61c6b95ef297f8529ac2a5146f31c1c9e43066d3e281064d4f5d781a04eba51f536d |
24 |
|
25 |
diff --git a/sys-fs/ntfs3g/ntfs3g-2021.8.22.ebuild b/sys-fs/ntfs3g/ntfs3g-2021.8.22.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..ab40a1ab993 |
28 |
--- /dev/null |
29 |
+++ b/sys-fs/ntfs3g/ntfs3g-2021.8.22.ebuild |
30 |
@@ -0,0 +1,82 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+inherit linux-info toolchain-funcs |
36 |
+ |
37 |
+MY_P="ntfs-3g_ntfsprogs-${PV}" |
38 |
+ |
39 |
+DESCRIPTION="Open source read-write NTFS driver that runs under FUSE" |
40 |
+HOMEPAGE="http://www.tuxera.com/community/ntfs-3g-download/" |
41 |
+HOMEPAGE="https://jp-andre.pagesperso-orange.fr/advanced-ntfs-3g.html" |
42 |
+SRC_URI="http://tuxera.com/opensource/${MY_P}.tgz" |
43 |
+#SRC_URI="https://jp-andre.pagesperso-orange.fr/${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 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" |
49 |
+IUSE="acl debug ntfsdecrypt +ntfsprogs static-libs suid xattr" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ sys-apps/util-linux:0= |
53 |
+ sys-fs/fuse:0 |
54 |
+ ntfsdecrypt? ( |
55 |
+ >=dev-libs/libgcrypt-1.2.2:0 |
56 |
+ >=net-libs/gnutls-1.4.4 |
57 |
+ ) |
58 |
+" |
59 |
+DEPEND="${RDEPEND} |
60 |
+ sys-apps/attr |
61 |
+" |
62 |
+BDEPEND=" |
63 |
+ virtual/pkgconfig |
64 |
+" |
65 |
+ |
66 |
+S="${WORKDIR}/${MY_P}" |
67 |
+ |
68 |
+pkg_setup() { |
69 |
+ CONFIG_CHECK="~FUSE_FS" |
70 |
+ FUSE_FS_WARNING="You need to have FUSE module built to use ntfs-3g" |
71 |
+ linux-info_pkg_setup |
72 |
+} |
73 |
+ |
74 |
+src_configure() { |
75 |
+ tc-ld-disable-gold |
76 |
+ |
77 |
+ local myconf=( |
78 |
+ # passing --exec-prefix is needed as the build system is trying to be clever |
79 |
+ # and install itself into / instead of /usr in order to be compatible with |
80 |
+ # separate-/usr setups (which we don't support without an initrd). |
81 |
+ --exec-prefix="${EPREFIX}"/usr |
82 |
+ |
83 |
+ --disable-ldconfig |
84 |
+ --enable-extras |
85 |
+ $(use_enable debug) |
86 |
+ $(use_enable acl posix-acls) |
87 |
+ $(use_enable xattr xattr-mappings) |
88 |
+ $(use_enable ntfsdecrypt crypto) |
89 |
+ $(use_enable ntfsprogs) |
90 |
+ $(use_enable ntfsprogs quarantined) |
91 |
+ $(use_enable static-libs static) |
92 |
+ |
93 |
+ --with-uuid |
94 |
+ |
95 |
+ # disable hd library until we have the right library in the tree and |
96 |
+ # don't links to hwinfo one causing issues like bug #602360 |
97 |
+ --without-hd |
98 |
+ |
99 |
+ --with-fuse=external |
100 |
+ ) |
101 |
+ |
102 |
+ econf "${myconf[@]}" |
103 |
+} |
104 |
+ |
105 |
+src_install() { |
106 |
+ default |
107 |
+ use suid && fperms u+s /usr/bin/ntfs-3g |
108 |
+ dosym mount.ntfs-3g /sbin/mount.ntfs |
109 |
+ find "${ED}" -name '*.la' -type f -delete || die |
110 |
+ # https://bugs.gentoo.org/760780 |
111 |
+ keepdir "/usr/$(get_libdir)/ntfs-3g" |
112 |
+} |