From: Tim Harder Date: Thu, 7 May 2020 03:44:36 +0000 (-0500) Subject: sys-fs/fuse: remove old X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f4e6946fbda968ae29c66507b3e15b144d406bd8;hp=eef83fe8c8c8fd51e43f8bbe9bb0e40853eb1485;p=gentoo.git sys-fs/fuse: remove old Signed-off-by: Tim Harder --- diff --git a/sys-fs/fuse/Manifest b/sys-fs/fuse/Manifest index f09ffac5c8e0..8d1f686484c8 100644 --- a/sys-fs/fuse/Manifest +++ b/sys-fs/fuse/Manifest @@ -1,5 +1,2 @@ -DIST fuse-2.9.8.tar.gz 4610904 BLAKE2B 803eebea510834676379df8c9514050efcf47d83c06ba1f5b5756d27f5c32d3a0cc199d826b0c041118c5d2260ff023f58432a0d7b623807c0a4af4da7c34eff SHA512 0a9b14d96c6f98f5c903baf00114bfff72f9aeb97224702bbed370516b2b582401d5b436fcef979918ffd85d69ba4a82c8f722c0b35ebd50f7aa5f4ddfdcf8ad DIST fuse-2.9.9.tar.gz 1813177 BLAKE2B 9e9141380bda46eb0bcce325c6fd293fe3844fe884a4952bb38d4b89dc48b728ffcc891038b3a7a861f05acfacce9dd7bb0e11d600609f3ad0ab278ccbe98847 SHA512 3d82fafd04f2924299bb09d2bb144935fa004a43fb9a6568e2e1cc5a60fded2efa1711029a0d7f12b3e6e4501f7217f2ee3545646d89da8dece083cb390f23e2 -DIST fuse-3.8.0.tar.xz 1416716 BLAKE2B f921b739489e8eb8b2a78b719c9761f330de839f151f787a6db37d8d004ef9b90022bfe3c5d24ceab333cde8741340ede0315a5b92cabdaf87fb1b291f72e292 SHA512 46d2b1494c73f8b6b2be4e8969bb9906ea35620fb4081edc3176f7ba34e6ed815d5f9c5c6f06604fb37836460e25d0ce51619853288bb881362f04cba6b31812 -DIST fuse-3.9.0.tar.xz 1523028 BLAKE2B 2fff93431e59e370189fb1527de7bff3863d20e1a62628bb56a6671077a1c919b394ddac66537a1ef7c2991556b1817b2c7f6a92c161ebfffbc804466e19e5e7 SHA512 0c96df5db4d0ceb7885ddb6f6c05b523ee7e179f8f411ad0614caecb9fa0f5fd682ab9bf4dfdaa3aff9d90c18b8947a122ee376328535e49fa6091d784aa0cb7 DIST fuse-3.9.1.tar.xz 1595308 BLAKE2B 3b1d5c8ac99e96183581d034889d8d6cab8feeee26cafd765dc4ab2cbeb655b3b162836c960ceacf08cd458bec2daaf0474877c9611ef6a6543795e4971ddc12 SHA512 295bb62274264789c977a1fee78c6c122a2f227ae85d750b8519cafbdcf6551499b77cf021d83cc8261831e29761c166d84a4e50bdebb4191c76bcad1d15d329 diff --git a/sys-fs/fuse/fuse-2.9.8.ebuild b/sys-fs/fuse/fuse-2.9.8.ebuild deleted file mode 100644 index 7646055583c1..000000000000 --- a/sys-fs/fuse/fuse-2.9.8.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit ltprune libtool linux-info udev toolchain-funcs - -DESCRIPTION="An interface for filesystems implemented in userspace" -HOMEPAGE="https://github.com/libfuse/libfuse" -SRC_URI="https://github.com/libfuse/libfuse/releases/download/${P}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux" -IUSE="examples kernel_linux kernel_FreeBSD static-libs" - -PDEPEND="kernel_FreeBSD? ( sys-fs/fuse4bsd )" -DEPEND="virtual/pkgconfig" -RDEPEND="sys-fs/fuse-common" - -pkg_setup() { - if 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 user-mode utils" - linux-info_pkg_setup - fi -} - -src_prepare() { - local PATCHES=( "${FILESDIR}"/${PN}-2.9.3-kernel-types.patch ) - # sandbox violation with mtab writability wrt #438250 - # don't sed configure.in without eautoreconf because of maintainer mode - sed -i 's:umount --fake:true --fake:' configure || die - elibtoolize - - default -} - -src_configure() { - econf \ - INIT_D_PATH="${EPREFIX}/etc/init.d" \ - MOUNT_FUSE_PATH="${EPREFIX}/sbin" \ - UDEV_RULES_PATH="${EPREFIX}/$(get_udevdir)/rules.d" \ - $(use_enable static-libs static) \ - --disable-example -} - -src_install() { - local DOCS=( AUTHORS ChangeLog README.md README.NFS NEWS doc/how-fuse-works doc/kernel.txt ) - default - - if use examples ; then - docinto examples - dodoc example/* - fi - - if use kernel_FreeBSD ; then - insinto /usr/include/fuse - doins include/fuse_kernel.h - fi - - prune_libtool_files - - # installed via fuse-common - rm -r "${ED%/}"/{etc,$(get_udevdir)} || die - rm "${ED%/}"/usr/share/man/man8/mount.fuse.* || die - rm "${ED%/}"/sbin/mount.fuse || die - - # handled by the device manager - rm -r "${D%/}"/dev || die -} diff --git a/sys-fs/fuse/fuse-3.8.0.ebuild b/sys-fs/fuse/fuse-3.8.0.ebuild deleted file mode 100644 index bcea225f2d8c..000000000000 --- a/sys-fs/fuse/fuse-3.8.0.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8} ) - -inherit meson multilib-minimal flag-o-matic udev python-any-r1 - -DESCRIPTION="An interface for filesystems implemented in userspace" -HOMEPAGE="https://github.com/libfuse/libfuse" -SRC_URI="https://github.com/libfuse/libfuse/releases/download/${P}/${P}.tar.xz" - -LICENSE="GPL-2 LGPL-2.1" -SLOT="3" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" -IUSE="+suid test" -RESTRICT="!test? ( test )" - -BDEPEND="virtual/pkgconfig - test? ( - ${PYTHON_DEPS} - $(python_gen_any_dep 'dev-python/pytest[${PYTHON_USEDEP}]') - )" -RDEPEND=">=sys-fs/fuse-common-3.3.0-r1" - -DOCS=( AUTHORS ChangeLog.rst README.md doc/README.NFS doc/kernel.txt ) - -python_check_deps() { - has_version "dev-python/pytest[${PYTHON_USEDEP}]" -} - -pkg_setup() { - use test && python-any-r1_pkg_setup -} - -src_prepare() { - default - - # lto not supported yet -- https://github.com/libfuse/libfuse/issues/198 - filter-flags '-flto*' - - # passthough_ll is broken on systems with 32-bit pointers - cat /dev/null > example/meson.build || die -} - -multilib_src_configure() { - local emesonargs=( - -Duseroot=false - -Dudevrulesdir="${EPREFIX}$(get_udevdir)/rules.d" - ) - meson_src_configure -} - -multilib_src_compile() { - eninja -} - -multilib_src_test() { - ${EPYTHON} -m pytest test || die -} - -multilib_src_install() { - DESTDIR="${D}" eninja install -} - -multilib_src_install_all() { - einstalldocs - - # installed via fuse-common - rm -r "${ED}"/{etc,$(get_udevdir)} || die - - # useroot=false prevents the build system from doing this. - use suid && fperms u+s /usr/bin/fusermount3 - - # manually install man pages to respect compression - rm -r "${ED}"/usr/share/man || die - doman doc/{fusermount3.1,mount.fuse3.8} -} diff --git a/sys-fs/fuse/fuse-3.9.0.ebuild b/sys-fs/fuse/fuse-3.9.0.ebuild deleted file mode 100644 index bcea225f2d8c..000000000000 --- a/sys-fs/fuse/fuse-3.9.0.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8} ) - -inherit meson multilib-minimal flag-o-matic udev python-any-r1 - -DESCRIPTION="An interface for filesystems implemented in userspace" -HOMEPAGE="https://github.com/libfuse/libfuse" -SRC_URI="https://github.com/libfuse/libfuse/releases/download/${P}/${P}.tar.xz" - -LICENSE="GPL-2 LGPL-2.1" -SLOT="3" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" -IUSE="+suid test" -RESTRICT="!test? ( test )" - -BDEPEND="virtual/pkgconfig - test? ( - ${PYTHON_DEPS} - $(python_gen_any_dep 'dev-python/pytest[${PYTHON_USEDEP}]') - )" -RDEPEND=">=sys-fs/fuse-common-3.3.0-r1" - -DOCS=( AUTHORS ChangeLog.rst README.md doc/README.NFS doc/kernel.txt ) - -python_check_deps() { - has_version "dev-python/pytest[${PYTHON_USEDEP}]" -} - -pkg_setup() { - use test && python-any-r1_pkg_setup -} - -src_prepare() { - default - - # lto not supported yet -- https://github.com/libfuse/libfuse/issues/198 - filter-flags '-flto*' - - # passthough_ll is broken on systems with 32-bit pointers - cat /dev/null > example/meson.build || die -} - -multilib_src_configure() { - local emesonargs=( - -Duseroot=false - -Dudevrulesdir="${EPREFIX}$(get_udevdir)/rules.d" - ) - meson_src_configure -} - -multilib_src_compile() { - eninja -} - -multilib_src_test() { - ${EPYTHON} -m pytest test || die -} - -multilib_src_install() { - DESTDIR="${D}" eninja install -} - -multilib_src_install_all() { - einstalldocs - - # installed via fuse-common - rm -r "${ED}"/{etc,$(get_udevdir)} || die - - # useroot=false prevents the build system from doing this. - use suid && fperms u+s /usr/bin/fusermount3 - - # manually install man pages to respect compression - rm -r "${ED}"/usr/share/man || die - doman doc/{fusermount3.1,mount.fuse3.8} -}