Gentoo Archives: gentoo-commits

From: "Patrick McLean (chutzpah)" <chutzpah@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-fs/ntfs3g: ChangeLog ntfs3g-2014.2.15-r1.ebuild
Date: Thu, 29 Jan 2015 08:20:11
Message-Id: 20150129082005.BE213108EC@oystercatcher.gentoo.org
1 chutzpah 15/01/29 08:20:05
2
3 Modified: ChangeLog
4 Added: ntfs3g-2014.2.15-r1.ebuild
5 Log:
6 Revision bump, add upstream patches to support fstrim. Make sure everything is in /usr/{s,}bin rather than making some symlinks in /{s,}bin. Set LD to make sure to use the bfd linker, even when the system linker is set to gold (bug #450024)
7
8 (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 0xE3F69979BB4B8928DA78E3D17CBF44EF)
9
10 Revision Changes Path
11 1.160 sys-fs/ntfs3g/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/ntfs3g/ChangeLog?rev=1.160&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/ntfs3g/ChangeLog?rev=1.160&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/ntfs3g/ChangeLog?r1=1.159&r2=1.160
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-fs/ntfs3g/ChangeLog,v
20 retrieving revision 1.159
21 retrieving revision 1.160
22 diff -u -r1.159 -r1.160
23 --- ChangeLog 13 Apr 2014 15:02:30 -0000 1.159
24 +++ ChangeLog 29 Jan 2015 08:20:05 -0000 1.160
25 @@ -1,6 +1,19 @@
26 # ChangeLog for sys-fs/ntfs3g
27 -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/ntfs3g/ChangeLog,v 1.159 2014/04/13 15:02:30 vapier Exp $
29 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/ntfs3g/ChangeLog,v 1.160 2015/01/29 08:20:05 chutzpah Exp $
31 +
32 +*ntfs3g-2014.2.15-r1 (29 Jan 2015)
33 +
34 + 29 Jan 2015; Patrick McLean <chutzpah@g.o>
35 + +ntfs3g-2014.2.15-r1.ebuild,
36 + +files/ntfs3g-2014.2.15-dont-put-things-in-root.patch,
37 + +files/ntfs3g-2014.2.15-fix-fstrim-applied-to-partitons.patch,
38 + +files/ntfs3g-2014.2.15-implement-fstrim.patch,
39 + +files/ntfs3g-2014.2.15-update-fuse-lite-to-support-ioctls.patch:
40 + Revision bump, add upstream patches to support fstrim. Make sure everything
41 + is in /usr/{s,}bin rather than making some symlinks in /{s,}bin. Set LD to
42 + make sure to use the bfd linker, even when the system linker is set to gold
43 + (bug #450024)
44
45 13 Apr 2014; Mike Frysinger <vapier@g.o>
46 +files/ntfs3g-2014.2.15-no-split-usr.patch, ntfs3g-2014.2.15.ebuild:
47
48
49
50 1.1 sys-fs/ntfs3g/ntfs3g-2014.2.15-r1.ebuild
51
52 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/ntfs3g/ntfs3g-2014.2.15-r1.ebuild?rev=1.1&view=markup
53 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/ntfs3g/ntfs3g-2014.2.15-r1.ebuild?rev=1.1&content-type=text/plain
54
55 Index: ntfs3g-2014.2.15-r1.ebuild
56 ===================================================================
57 # Copyright 1999-2015 Gentoo Foundation
58 # Distributed under the terms of the GNU General Public License v2
59 # $Header: /var/cvsroot/gentoo-x86/sys-fs/ntfs3g/ntfs3g-2014.2.15-r1.ebuild,v 1.1 2015/01/29 08:20:05 chutzpah Exp $
60
61 EAPI=5
62 inherit eutils linux-info udev autotools
63
64 MY_PN=${PN/3g/-3g}
65 MY_P=${MY_PN}_ntfsprogs-${PV}
66
67 DESCRIPTION="Open source read-write NTFS driver that runs under FUSE"
68 HOMEPAGE="http://www.tuxera.com/community/ntfs-3g-download/"
69 SRC_URI="http://tuxera.com/opensource/${MY_P}.tgz"
70
71 LICENSE="GPL-2"
72 SLOT="0"
73 KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
74 IUSE="acl debug +external-fuse ntfsdecrypt +ntfsprogs static-libs suid xattr"
75
76 RDEPEND="!<sys-apps/util-linux-2.20.1-r2
77 !sys-fs/ntfsprogs
78 ntfsdecrypt? (
79 >=dev-libs/libgcrypt-1.2.2:0
80 >=net-libs/gnutls-1.4.4
81 )
82 external-fuse? ( >=sys-fs/fuse-2.8.0 )"
83 DEPEND="${RDEPEND}
84 sys-apps/attr
85 virtual/pkgconfig"
86
87 S="${WORKDIR}/${MY_P}"
88
89 DOCS="AUTHORS ChangeLog CREDITS README"
90
91 PATCHES=(
92 "${FILESDIR}"/${PN}-2014.2.15-no-split-usr.patch
93 "${FILESDIR}"/${PN}-2014.2.15-dont-put-things-in-root.patch
94 "${FILESDIR}"/${P}-update-fuse-lite-to-support-ioctls.patch
95 "${FILESDIR}"/${P}-implement-fstrim.patch
96 "${FILESDIR}"/${P}-fix-fstrim-applied-to-partitons.patch
97 )
98
99 pkg_setup() {
100 if use external-fuse && use kernel_linux; then
101 if kernel_is lt 2 6 9; then
102 die "Your kernel is too old."
103 fi
104 CONFIG_CHECK="~FUSE_FS"
105 FUSE_FS_WARNING="You need to have FUSE module built to use ntfs-3g"
106 linux-info_pkg_setup
107 fi
108 }
109
110 src_prepare() {
111 epatch "${PATCHES[@]}"
112 eautoreconf
113 elibtoolize
114 }
115
116 src_configure() {
117 LD="$(tc-getLD).bfd" econf \
118 --prefix="${EPREFIX}"/usr \
119 --exec-prefix="${EPREFIX}"/usr \
120 --docdir="${EPREFIX}"/usr/share/doc/${PF} \
121 $(use_enable debug) \
122 --enable-ldscript \
123 --disable-ldconfig \
124 $(use_enable acl posix-acls) \
125 $(use_enable xattr xattr-mappings) \
126 $(use_enable ntfsdecrypt crypto) \
127 $(use_enable ntfsprogs) \
128 --without-uuid \
129 --enable-extras \
130 $(use_enable static-libs static) \
131 --with-fuse=$(usex external-fuse external internal)
132 }
133
134 src_install() {
135 default
136
137 use suid && fperms u+s /usr/bin/${MY_PN}
138 udev_dorules "${FILESDIR}"/99-ntfs3g.rules
139 prune_libtool_files
140
141 dosym mount.ntfs-3g /usr/sbin/mount.ntfs #374197
142 }