sys-fs/ntfs3g - 2026.2.25 (gentoo)

Search

Install

Install this version:

emerge -a =sys-fs/ntfs3g-2026.2.25

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =sys-fs/ntfs3g-2026.2.25

Or alternatively:

emerge --autounmask-write -a =sys-fs/ntfs3g-2026.2.25

Package Information

Description:
Open source read-write NTFS driver that runs under FUSE
Homepage:
https://github.com/tuxera/ntfs-3g
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
2026.2.25 8 ~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~sparc x86 0/89
View Raw Ebuild
# Copyright 2006-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

MY_P="ntfs-3g_ntfsprogs-${PV}"

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

S="${WORKDIR}/ntfs-3g-${PV}"
LICENSE="GPL-2"
# The subslot matches the SONAME major #.
SLOT="0/89"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~sparc x86"
IUSE="acl debug +fuse +mount-ntfs ntfsdecrypt +ntfsprogs static-libs suid xattr"

RDEPEND="
	sys-apps/util-linux:0=
	ntfsdecrypt? (
		>=dev-libs/libgcrypt-1.2.2:0
		>=net-libs/gnutls-1.4.4
	)
"
DEPEND="${RDEPEND}
	sys-apps/attr
"
BDEPEND="
	virtual/pkgconfig
"

src_configure() {
	local myconf=(
		# passing --exec-prefix is needed as the build system is trying to be clever
		# and install itself into / instead of /usr in order to be compatible with
		# separate-/usr setups (which we don't support without an initrd).
		--exec-prefix="${EPREFIX}"/usr

		--disable-ldconfig
		--enable-extras
		$(use_enable debug)
		$(use_enable fuse ntfs-3g)
		$(use_enable acl posix-acls)
		$(use_enable xattr xattr-mappings)
		$(use_enable ntfsdecrypt crypto)
		$(use_enable ntfsprogs)
		$(use_enable static-libs static)

		--with-uuid

		# disable hd library until we have the right library in the tree and
		# don't links to hwinfo one causing issues like bug #602360
		--without-hd

		# Needed for suid
		# https://bugs.gentoo.org/822024
		--with-fuse=internal
	)

	econf "${myconf[@]}"
}

src_install() {
	default
	if use fuse; then
		# Plugins directory
		keepdir "/usr/$(get_libdir)/ntfs-3g"
		if use suid; then
			fperms u+s /usr/bin/ntfs-3g
		fi
		if use mount-ntfs; then
			dosym mount.ntfs-3g /sbin/mount.ntfs
		fi
	fi
	find "${ED}" -name '*.la' -type f -delete || die
}

USE Flags

Manage flags for this package: euse -i <flag> -p sys-fs/ntfs3g | euse -E <flag> -p sys-fs/ntfs3g | euse -D <flag> -p sys-fs/ntfs3g

Global/Standard Flags

acl
fuse
Default: Enabled (+)
mount-ntfs
Default: Enabled (+)
ntfsprogs
Default: Enabled (+)

Dependencies

DEPEND

	sys-apps/util-linux:0=
	ntfsdecrypt? (
		>=dev-libs/libgcrypt-1.2.2:0
		>=net-libs/gnutls-1.4.4
	)

	sys-apps/attr

RDEPEND

	sys-apps/util-linux:0=
	ntfsdecrypt? (
		>=dev-libs/libgcrypt-1.2.2:0
		>=net-libs/gnutls-1.4.4
	)

BDEPEND

	virtual/pkgconfig

Manifest for 2026.2.25

Type File Size Source URLs
DIST ntfs-3g_ntfsprogs-2026.2.25.tgz 1337883 bytes https://download.tuxera.com/opensource/ntfs-3g_ntfsprogs-2026.2.25.tgz