From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8085D158086 for ; Sat, 6 Nov 2021 13:41:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B22962BC00F; Sat, 6 Nov 2021 13:41:01 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 992502BC00F for ; Sat, 6 Nov 2021 13:41:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B4A64342CEF for ; Sat, 6 Nov 2021 13:41:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 52A15D0 for ; Sat, 6 Nov 2021 13:40:59 +0000 (UTC) From: "Mike Gilbert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" Message-ID: <1636206011.94eb172027cdcb267c65ec0589c9dbb25c88c2c3.floppym@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/ntfs3g/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-fs/ntfs3g/ntfs3g-2021.8.22-r1.ebuild X-VCS-Directories: sys-fs/ntfs3g/ X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: 94eb172027cdcb267c65ec0589c9dbb25c88c2c3 X-VCS-Branch: master Date: Sat, 6 Nov 2021 13:40:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 39bff882-5eca-4036-a366-2913e508e10f X-Archives-Hash: 855c7837294c5b26a8726a6880bafb20 commit: 94eb172027cdcb267c65ec0589c9dbb25c88c2c3 Author: Mike Gilbert gentoo org> AuthorDate: Sat Nov 6 13:39:22 2021 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Sat Nov 6 13:40:11 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94eb1720 sys-fs/ntfs3g: switch to 'internal' FUSE and re-add 'suid' Closes: https://bugs.gentoo.org/822024 Signed-off-by: Mike Gilbert gentoo.org> sys-fs/ntfs3g/ntfs3g-2021.8.22-r1.ebuild | 82 ++++++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) diff --git a/sys-fs/ntfs3g/ntfs3g-2021.8.22-r1.ebuild b/sys-fs/ntfs3g/ntfs3g-2021.8.22-r1.ebuild new file mode 100644 index 00000000000..32829cd24d9 --- /dev/null +++ b/sys-fs/ntfs3g/ntfs3g-2021.8.22-r1.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit linux-info toolchain-funcs + +MY_P="ntfs-3g_ntfsprogs-${PV}" + +DESCRIPTION="Open source read-write NTFS driver that runs under FUSE" +HOMEPAGE="http://www.tuxera.com/community/ntfs-3g-download/" +HOMEPAGE="https://jp-andre.pagesperso-orange.fr/advanced-ntfs-3g.html" +SRC_URI="http://tuxera.com/opensource/${MY_P}.tgz" +#SRC_URI="https://jp-andre.pagesperso-orange.fr/${MY_P}.tgz" + +LICENSE="GPL-2" +# The subslot matches the SONAME major #. +SLOT="0/89" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="acl debug +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 +" + +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + CONFIG_CHECK="~FUSE_FS" + FUSE_FS_WARNING="You need to have FUSE module built to use ntfs-3g" + linux-info_pkg_setup +} + +src_configure() { + tc-ld-disable-gold + + 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 acl posix-acls) + $(use_enable xattr xattr-mappings) + $(use_enable ntfsdecrypt crypto) + $(use_enable ntfsprogs) + $(use_enable ntfsprogs quarantined) + $(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 + use mount-ntfs && dosym mount.ntfs-3g /sbin/mount.ntfs + find "${ED}" -name '*.la' -type f -delete || die + # https://bugs.gentoo.org/760780 + keepdir "/usr/$(get_libdir)/ntfs-3g" +}