1 |
commit: b63ebd13296a36b53ba406f2b4037dd7dfa40178 |
2 |
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Apr 17 20:52:43 2017 +0000 |
4 |
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Apr 17 20:53:17 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b63ebd13 |
7 |
|
8 |
sys-fs/ntfs3g: Version bump to 2017.3.23 |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
11 |
|
12 |
sys-fs/ntfs3g/Manifest | 1 + |
13 |
sys-fs/ntfs3g/ntfs3g-2017.3.23.ebuild | 93 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 94 insertions(+) |
15 |
|
16 |
diff --git a/sys-fs/ntfs3g/Manifest b/sys-fs/ntfs3g/Manifest |
17 |
index bc29625e14a..d48f964d562 100644 |
18 |
--- a/sys-fs/ntfs3g/Manifest |
19 |
+++ b/sys-fs/ntfs3g/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST ntfs-3g_ntfsprogs-2016.2.22.tgz 1264364 SHA256 d7b72c05e4b3493e6095be789a760c9f5f2b141812d5b885f3190c98802f1ea0 SHA512 dbd36fadd2881db1d17fdbf5d2b4e50bbe11dc9dd0ad4917e7f8bc4032c2287346143756ce8754df0d46ce9209f2c0c41b626cad929d76a9bc881712c7101c15 WHIRLPOOL 64630580b70e85f67b31ea7380ff3b6862be0c8cdf6c6af17e9a5eb2fe3f0d5efa7404ad726638ed958fb218631f7006eb492e713c7957d3ce60c6fbb1dd2bb9 |
22 |
+DIST ntfs-3g_ntfsprogs-2017.3.23.tgz 1259054 SHA256 3e5a021d7b761261836dcb305370af299793eedbded731df3d6943802e1262d5 SHA512 3a607f0d7be35204c992d8931de0404fbc52032c13b4240d2c5e6f285c318a28eb2a385d7cf5ac4cd445876aee5baa5753bb636ada0d870d84a9d3fdbce794ef WHIRLPOOL b1bf327c993aff08b1761a36cff680bccab51d7fb46fc7bb57b0e03a848345307a6d73c3c48118363dbb8eca26abbafded42cb87f853a1ab9b3b38b7af0da715 |
23 |
|
24 |
diff --git a/sys-fs/ntfs3g/ntfs3g-2017.3.23.ebuild b/sys-fs/ntfs3g/ntfs3g-2017.3.23.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..4a9b17c025c |
27 |
--- /dev/null |
28 |
+++ b/sys-fs/ntfs3g/ntfs3g-2017.3.23.ebuild |
29 |
@@ -0,0 +1,93 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+inherit eutils linux-info udev toolchain-funcs libtool |
35 |
+ |
36 |
+MY_PN=${PN/3g/-3g} |
37 |
+MY_P=${MY_PN}_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 |
+SRC_URI="http://tuxera.com/opensource/${MY_P}.tgz" |
42 |
+ |
43 |
+LICENSE="GPL-2" |
44 |
+# The subslot matches the SONAME major #. |
45 |
+SLOT="0/87" |
46 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux" |
47 |
+IUSE="acl debug +external-fuse ntfsdecrypt +ntfsprogs static-libs suid xattr" |
48 |
+ |
49 |
+RDEPEND="!<sys-apps/util-linux-2.20.1-r2 |
50 |
+ !sys-fs/ntfsprogs |
51 |
+ ntfsdecrypt? ( |
52 |
+ >=dev-libs/libgcrypt-1.2.2:0 |
53 |
+ >=net-libs/gnutls-1.4.4 |
54 |
+ ) |
55 |
+ external-fuse? ( |
56 |
+ >=sys-fs/fuse-2.8.0 |
57 |
+ <sys-fs/fuse-3.0.0_pre |
58 |
+ )" |
59 |
+DEPEND="${RDEPEND} |
60 |
+ sys-apps/attr |
61 |
+ virtual/pkgconfig" |
62 |
+ |
63 |
+S="${WORKDIR}/${MY_P}" |
64 |
+ |
65 |
+DOCS="AUTHORS ChangeLog CREDITS README" |
66 |
+ |
67 |
+PATCHES=( |
68 |
+ "${FILESDIR}"/${PN}-2014.2.15-no-split-usr.patch |
69 |
+ "${FILESDIR}"/${PN}-2016.2.22-sysmacros.patch #580136 |
70 |
+) |
71 |
+ |
72 |
+pkg_setup() { |
73 |
+ if use external-fuse && use kernel_linux; then |
74 |
+ if kernel_is lt 2 6 9; then |
75 |
+ die "Your kernel is too old." |
76 |
+ fi |
77 |
+ CONFIG_CHECK="~FUSE_FS" |
78 |
+ FUSE_FS_WARNING="You need to have FUSE module built to use ntfs-3g" |
79 |
+ linux-info_pkg_setup |
80 |
+ fi |
81 |
+} |
82 |
+ |
83 |
+src_prepare() { |
84 |
+ default |
85 |
+ # Keep the symlinks in the same place we put the main binaries. |
86 |
+ # Having them in / when all the progs are in /usr is pointless. |
87 |
+ sed -i \ |
88 |
+ -e 's:/sbin:$(sbindir):g' \ |
89 |
+ {ntfsprogs,src}/Makefile.in || die #578336 |
90 |
+ # Note: patches apply to Makefile.in, so don't run autotools here. |
91 |
+ elibtoolize |
92 |
+} |
93 |
+ |
94 |
+src_configure() { |
95 |
+ tc-ld-disable-gold |
96 |
+ econf \ |
97 |
+ --prefix="${EPREFIX}"/usr \ |
98 |
+ --exec-prefix="${EPREFIX}"/usr \ |
99 |
+ --docdir="${EPREFIX}"/usr/share/doc/${PF} \ |
100 |
+ $(use_enable debug) \ |
101 |
+ --enable-ldscript \ |
102 |
+ --disable-ldconfig \ |
103 |
+ $(use_enable acl posix-acls) \ |
104 |
+ $(use_enable xattr xattr-mappings) \ |
105 |
+ $(use_enable ntfsdecrypt crypto) \ |
106 |
+ $(use_enable ntfsprogs) \ |
107 |
+ $(use_enable ntfsprogs quarantined) \ |
108 |
+ --without-uuid \ |
109 |
+ --enable-extras \ |
110 |
+ $(use_enable static-libs static) \ |
111 |
+ --with-fuse=$(usex external-fuse external internal) |
112 |
+} |
113 |
+ |
114 |
+src_install() { |
115 |
+ default |
116 |
+ |
117 |
+ use suid && fperms u+s /usr/bin/${MY_PN} |
118 |
+ udev_dorules "${FILESDIR}"/99-ntfs3g.rules |
119 |
+ prune_libtool_files |
120 |
+ |
121 |
+ dosym mount.ntfs-3g /usr/sbin/mount.ntfs #374197 |
122 |
+} |