mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-fs/fuse: remove old
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
DIST fuse-2.9.4.tar.gz 577282 SHA256 6be9c0bff6af8c677414935f31699ea5a7f8f5f791cfa5205be02ea186b97ce1 SHA512 055ec2a78793276102bc5a0afea9eebd18b151cf752d0985380ffbde1c554e9fb7bc3a43838618e3957b274aa06624303ea12f32c659365c4768dad887bb557d WHIRLPOOL 6c866ba05be5a56e1b1d8793378c0c5c683375e9baad6de22344adaf5bb35021182b15783f59911259f98cb914ef4a1cb70be0cb9b5cd6625173b3b6454c32d7
|
||||
DIST fuse-2.9.7.tar.gz 661138 SHA256 832432d1ad4f833c20e13b57cf40ce5277a9d33e483205fc63c78111b3358874 SHA512 f47304d9c7a1815f7a2905b7bdb7785d4c10292a80c8dc1ec45d895af96bc6ffd6d84ff2617bd976a1d0867ab8ec1a404a5a05ace85a69ecca830f371d08f8e2 WHIRLPOOL 826f77920356c129cda5ca158e37327688d2aa044c0ecdaabe8d52e724b0349813460d876571672bcb59a5b8004018593abdb314187b6b6706fee69b9eadaae7
|
||||
DIST fuse-3.0.0rc3.tar.gz 744606 SHA256 f8c64ebc8e3e29c33f0877c673a4a1a060569299690f32dc682ba4a2aa1ee50b SHA512 a50d12d70ee44c217f198a231bf37b323d36741aacb5d6b2fbf6f8cfc645d9106d7f05f7cc7be29bd64098b48797f8c53a239194bf49e714b9a0dc12bf885e35 WHIRLPOOL 55a66383ca712458d5006a043ca71f157522621df9283e6c42b6c44b2548869a72b7804485db69be3d60c194da906bf4660fb16fab10f8d5afae60eb4670c7a8
|
||||
|
||||
@@ -1,87 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
inherit eutils libtool linux-info udev toolchain-funcs
|
||||
|
||||
MY_P=${P/_/-}
|
||||
DESCRIPTION="An interface for filesystems implemented in userspace"
|
||||
HOMEPAGE="http://fuse.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/fuse/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
|
||||
IUSE="examples kernel_linux kernel_FreeBSD static-libs"
|
||||
|
||||
PDEPEND="kernel_FreeBSD? ( sys-fs/fuse4bsd )"
|
||||
DEPEND="virtual/pkgconfig"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
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() {
|
||||
epatch "${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
|
||||
}
|
||||
|
||||
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() {
|
||||
default
|
||||
|
||||
dodoc AUTHORS ChangeLog Filesystems README \
|
||||
README.NFS NEWS doc/how-fuse-works \
|
||||
doc/kernel.txt FAQ
|
||||
|
||||
if use examples ; then
|
||||
docinto examples
|
||||
dodoc example/*
|
||||
fi
|
||||
|
||||
if use kernel_linux ; then
|
||||
newinitd "${FILESDIR}"/fuse.init fuse
|
||||
elif use kernel_FreeBSD ; then
|
||||
insinto /usr/include/fuse
|
||||
doins include/fuse_kernel.h
|
||||
newinitd "${FILESDIR}"/fuse-fbsd.init fuse
|
||||
else
|
||||
die "We don't know what init code install for your kernel, please file a bug."
|
||||
fi
|
||||
|
||||
prune_libtool_files
|
||||
rm -rf "${D}"/dev
|
||||
|
||||
dodir /etc
|
||||
cat > "${ED}"/etc/fuse.conf <<-EOF
|
||||
# Set the maximum number of FUSE mounts allowed to non-root users.
|
||||
# The default is 1000.
|
||||
#
|
||||
#mount_max = 1000
|
||||
|
||||
# Allow non-root users to specify the 'allow_other' or 'allow_root'
|
||||
# mount options.
|
||||
#
|
||||
#user_allow_other
|
||||
EOF
|
||||
}
|
||||
Reference in New Issue
Block a user