summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-12-03 08:45:52 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-12-03 08:45:52 +0000
commita3e0b9e230af65797a91b611bb993fd55ad10959 (patch)
tree34f885276c210cdae8fe4a609fd1ed180534628c /sys-fs/ntfs3g
parentAdd ~x86-fbsd wrt #303903 (diff)
downloadgentoo-2-a3e0b9e230af65797a91b611bb993fd55ad10959.tar.gz
gentoo-2-a3e0b9e230af65797a91b611bb993fd55ad10959.tar.bz2
gentoo-2-a3e0b9e230af65797a91b611bb993fd55ad10959.zip
Migrate to various "new" styles, EAPI5, udev.eclass, new enough util-linux, and more
(Portage version: 2.2.0_alpha144/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'sys-fs/ntfs3g')
-rw-r--r--sys-fs/ntfs3g/ChangeLog8
-rw-r--r--sys-fs/ntfs3g/ntfs3g-2012.1.15-r2.ebuild36
2 files changed, 21 insertions, 23 deletions
diff --git a/sys-fs/ntfs3g/ChangeLog b/sys-fs/ntfs3g/ChangeLog
index 23ee6af3756a..ec63dc26162f 100644
--- a/sys-fs/ntfs3g/ChangeLog
+++ b/sys-fs/ntfs3g/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-fs/ntfs3g
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/ntfs3g/ChangeLog,v 1.139 2012/11/03 19:15:35 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/ntfs3g/ChangeLog,v 1.140 2012/12/03 08:45:52 ssuominen Exp $
+
+ 03 Dec 2012; Samuli Suominen <ssuominen@gentoo.org>
+ ntfs3g-2012.1.15-r2.ebuild:
+ Remove USE="extras" to always build the `ntfsck` command with USE="ntfsprogs"
+ by Robin H. Johnson. Force at least sys-apps/util-linux >= 2.22.1 for working
+ mount wrappers wrt #437230 by "Pun".
03 Nov 2012; Anthony G. Basile <blueness@gentoo.org>
ntfs3g-2012.1.15-r2.ebuild:
diff --git a/sys-fs/ntfs3g/ntfs3g-2012.1.15-r2.ebuild b/sys-fs/ntfs3g/ntfs3g-2012.1.15-r2.ebuild
index 6c18fb773234..bb0edcee7856 100644
--- a/sys-fs/ntfs3g/ntfs3g-2012.1.15-r2.ebuild
+++ b/sys-fs/ntfs3g/ntfs3g-2012.1.15-r2.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/ntfs3g/ntfs3g-2012.1.15-r2.ebuild,v 1.4 2012/11/03 19:15:35 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/ntfs3g/ntfs3g-2012.1.15-r2.ebuild,v 1.5 2012/12/03 08:45:52 ssuominen Exp $
-EAPI=4
-inherit linux-info toolchain-funcs
+EAPI=5
+inherit eutils linux-info udev
MY_PN=${PN/3g/-3g}
MY_P=${MY_PN}_ntfsprogs-${PV}
@@ -15,9 +15,9 @@ SRC_URI="http://tuxera.com/opensource/${MY_P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
-IUSE="acl crypt debug +external-fuse extras +ntfsprogs static-libs suid xattr"
+IUSE="acl crypt debug +external-fuse +ntfsprogs static-libs suid xattr"
-RDEPEND="!<sys-apps/util-linux-2.19
+RDEPEND="!<sys-apps/util-linux-2.22.1
!sys-fs/ntfsprogs
crypt? (
>=dev-libs/libgcrypt-1.2.2
@@ -25,8 +25,8 @@ RDEPEND="!<sys-apps/util-linux-2.19
)
external-fuse? ( >=sys-fs/fuse-2.8.0 )"
DEPEND="${RDEPEND}
- virtual/pkgconfig
- sys-apps/attr"
+ sys-apps/attr
+ virtual/pkgconfig"
S=${WORKDIR}/${MY_P}
@@ -45,8 +45,8 @@ pkg_setup() {
src_configure() {
econf \
- --exec-prefix="${EPREFIX}/usr" \
- --docdir="${EPREFIX}/usr/share/doc/${PF}" \
+ --exec-prefix="${EPREFIX}"/usr \
+ --docdir="${EPREFIX}"/usr/share/doc/${PF} \
$(use_enable debug) \
--enable-ldscript \
--disable-ldconfig \
@@ -54,30 +54,22 @@ src_configure() {
$(use_enable xattr xattr-mappings) \
$(use_enable crypt crypto) \
$(use_enable ntfsprogs) \
- $(use_enable extras) \
+ --enable-extras \
$(use_enable static-libs static) \
- --with-fuse=$(use external-fuse && echo external || echo internal)
+ --with-fuse=$(usex external-fuse external internal)
}
src_install() {
default
use suid && fperms u+s /usr/bin/${MY_PN}
-
- local udevdir=/lib/udev
- if has_version sys-fs/udev; then
- udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)"
- udevdir=${udevdir#${EPREFIX}}
- fi
- insinto "${udevdir}"/rules.d
- doins "${FILESDIR}"/99-ntfs3g.rules
-
+ udev_dorules "${FILESDIR}"/99-ntfs3g.rules
prune_libtool_files
# http://bugs.gentoo.org/398069
dodir /usr/sbin
- mv -vf "${D}"/sbin/* "${ED}"/usr/sbin || die
- rm -rf "${D}"/sbin
+ mv "${ED}"/sbin/* "${ED}"/usr/sbin || die
+ rm -r "${ED}"/sbin
dosym mount.ntfs-3g /usr/sbin/mount.ntfs #374197
}