From 7cae66cff4d59bd8c976c22ac9dcdc082a61cebf Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Mon, 31 Oct 2022 13:23:15 -0400 Subject: sys-fs/ntfs3g: add 2022.10.3, drop 2022.5.17-r1 Bug: https://bugs.gentoo.org/878885 Signed-off-by: Mike Gilbert --- sys-fs/ntfs3g/Manifest | 1 + sys-fs/ntfs3g/ntfs3g-2022.10.3.ebuild | 94 ++++++++++++++++++++++++++++++++ sys-fs/ntfs3g/ntfs3g-2022.5.17-r1.ebuild | 94 -------------------------------- 3 files changed, 95 insertions(+), 94 deletions(-) create mode 100644 sys-fs/ntfs3g/ntfs3g-2022.10.3.ebuild delete mode 100644 sys-fs/ntfs3g/ntfs3g-2022.5.17-r1.ebuild (limited to 'sys-fs/ntfs3g') diff --git a/sys-fs/ntfs3g/Manifest b/sys-fs/ntfs3g/Manifest index 1cd869943436..29264ec89beb 100644 --- a/sys-fs/ntfs3g/Manifest +++ b/sys-fs/ntfs3g/Manifest @@ -1 +1,2 @@ +DIST ntfs-3g_ntfsprogs-2022.10.3.tgz 1324320 BLAKE2B 36a64af0c050bb42af69e14834883324d6201f70d5e45c175e0703980c045b038bdbfca0375edd42db3a3827240f63cf73c9f17a51805799129257b95fef7676 SHA512 891589483954423b19bef6e8a174fb4311ad92b6397a0db80f77c72b746bf18c2fa12457a571947f92755637a6bc784188920d4f017ae12a420819ab0d74af59 DIST ntfs-3g_ntfsprogs-2022.5.17.tgz 1318476 BLAKE2B 0f3d5b3ca6186886b1a4f1fc59242a1f4ccdc842cbe53b0869f707c1dbebdd58058d40b265dae663b71a2a611f7ce5392c63afa3053dc075155759c10499d529 SHA512 25e6d3412958576b0cd614f5d93201c0d7e8bbee78fbaf956718a3825c1435b3f0c3631ea1cc60b5b1be6e9ae7d58c0c03b0bebb69edee3bf181a966734336df diff --git a/sys-fs/ntfs3g/ntfs3g-2022.10.3.ebuild b/sys-fs/ntfs3g/ntfs3g-2022.10.3.ebuild new file mode 100644 index 000000000000..085691d55b6d --- /dev/null +++ b/sys-fs/ntfs3g/ntfs3g-2022.10.3.ebuild @@ -0,0 +1,94 @@ +# Copyright 2006-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools 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" + +LICENSE="GPL-2" +# The subslot matches the SONAME major #. +SLOT="0/89" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +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 +" + +S="${WORKDIR}/${MY_P}" + +PATCHES=( + "${FILESDIR}"/${PN}-2022.5.17-configure-bashism.patch +) + +src_prepare() { + default + + # Only needed for bashism patch + eautoreconf +} + +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 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 +} diff --git a/sys-fs/ntfs3g/ntfs3g-2022.5.17-r1.ebuild b/sys-fs/ntfs3g/ntfs3g-2022.5.17-r1.ebuild deleted file mode 100644 index 085691d55b6d..000000000000 --- a/sys-fs/ntfs3g/ntfs3g-2022.5.17-r1.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 2006-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools 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" - -LICENSE="GPL-2" -# The subslot matches the SONAME major #. -SLOT="0/89" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" -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 -" - -S="${WORKDIR}/${MY_P}" - -PATCHES=( - "${FILESDIR}"/${PN}-2022.5.17-configure-bashism.patch -) - -src_prepare() { - default - - # Only needed for bashism patch - eautoreconf -} - -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 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 -} -- cgit v1.2.3-65-gdbad