chutzpah    15/01/29 08:20:05

  Modified:             ChangeLog
  Added:                ntfs3g-2014.2.15-r1.ebuild
  Log:
  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)
  
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 
0xE3F69979BB4B8928DA78E3D17CBF44EF)

Revision  Changes    Path
1.160                sys-fs/ntfs3g/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/ntfs3g/ChangeLog?rev=1.160&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/ntfs3g/ChangeLog?rev=1.160&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/ntfs3g/ChangeLog?r1=1.159&r2=1.160

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-fs/ntfs3g/ChangeLog,v
retrieving revision 1.159
retrieving revision 1.160
diff -u -r1.159 -r1.160
--- ChangeLog   13 Apr 2014 15:02:30 -0000      1.159
+++ ChangeLog   29 Jan 2015 08:20:05 -0000      1.160
@@ -1,6 +1,19 @@
 # ChangeLog for sys-fs/ntfs3g
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/ntfs3g/ChangeLog,v 1.159 2014/04/13 
15:02:30 vapier Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/ntfs3g/ChangeLog,v 1.160 2015/01/29 
08:20:05 chutzpah Exp $
+
+*ntfs3g-2014.2.15-r1 (29 Jan 2015)
+
+  29 Jan 2015; Patrick McLean <[email protected]>
+  +ntfs3g-2014.2.15-r1.ebuild,
+  +files/ntfs3g-2014.2.15-dont-put-things-in-root.patch,
+  +files/ntfs3g-2014.2.15-fix-fstrim-applied-to-partitons.patch,
+  +files/ntfs3g-2014.2.15-implement-fstrim.patch,
+  +files/ntfs3g-2014.2.15-update-fuse-lite-to-support-ioctls.patch:
+  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)
 
   13 Apr 2014; Mike Frysinger <[email protected]>
   +files/ntfs3g-2014.2.15-no-split-usr.patch, ntfs3g-2014.2.15.ebuild:



1.1                  sys-fs/ntfs3g/ntfs3g-2014.2.15-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/ntfs3g/ntfs3g-2014.2.15-r1.ebuild?rev=1.1&view=markup
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

Index: ntfs3g-2014.2.15-r1.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $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 $

EAPI=5
inherit eutils linux-info udev autotools

MY_PN=${PN/3g/-3g}
MY_P=${MY_PN}_ntfsprogs-${PV}

DESCRIPTION="Open source read-write NTFS driver that runs under FUSE"
HOMEPAGE="http://www.tuxera.com/community/ntfs-3g-download/";
SRC_URI="http://tuxera.com/opensource/${MY_P}.tgz";

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~arm-linux 
~x86-linux"
IUSE="acl debug +external-fuse ntfsdecrypt +ntfsprogs static-libs suid xattr"

RDEPEND="!<sys-apps/util-linux-2.20.1-r2
        !sys-fs/ntfsprogs
        ntfsdecrypt? (
                >=dev-libs/libgcrypt-1.2.2:0
                >=net-libs/gnutls-1.4.4
        )
        external-fuse? ( >=sys-fs/fuse-2.8.0 )"
DEPEND="${RDEPEND}
        sys-apps/attr
        virtual/pkgconfig"

S="${WORKDIR}/${MY_P}"

DOCS="AUTHORS ChangeLog CREDITS README"

PATCHES=(
        "${FILESDIR}"/${PN}-2014.2.15-no-split-usr.patch
        "${FILESDIR}"/${PN}-2014.2.15-dont-put-things-in-root.patch
        "${FILESDIR}"/${P}-update-fuse-lite-to-support-ioctls.patch
        "${FILESDIR}"/${P}-implement-fstrim.patch
        "${FILESDIR}"/${P}-fix-fstrim-applied-to-partitons.patch
)

pkg_setup() {
        if use external-fuse && use kernel_linux; then
                if kernel_is lt 2 6 9; then
                        die "Your kernel is too old."
                fi
                CONFIG_CHECK="~FUSE_FS"
                FUSE_FS_WARNING="You need to have FUSE module built to use 
ntfs-3g"
                linux-info_pkg_setup
        fi
}

src_prepare() {
        epatch "${PATCHES[@]}"
        eautoreconf
        elibtoolize
}

src_configure() {
        LD="$(tc-getLD).bfd" econf \
                --prefix="${EPREFIX}"/usr \
                --exec-prefix="${EPREFIX}"/usr \
                --docdir="${EPREFIX}"/usr/share/doc/${PF} \
                $(use_enable debug) \
                --enable-ldscript \
                --disable-ldconfig \
                $(use_enable acl posix-acls) \
                $(use_enable xattr xattr-mappings) \
                $(use_enable ntfsdecrypt crypto) \
                $(use_enable ntfsprogs) \
                --without-uuid \
                --enable-extras \
                $(use_enable static-libs static) \
                --with-fuse=$(usex external-fuse external internal)
}

src_install() {
        default

        use suid && fperms u+s /usr/bin/${MY_PN}
        udev_dorules "${FILESDIR}"/99-ntfs3g.rules
        prune_libtool_files

        dosym mount.ntfs-3g /usr/sbin/mount.ntfs #374197
}




Reply via email to