remove fuse (is now fuse2) from git

This commit is contained in:
Chaoting Liu 2017-09-02 04:27:52 +01:00
parent 1adca3e47f
commit 38fa47577a
4 changed files with 0 additions and 131 deletions

View File

@ -1,59 +0,0 @@
#
# Platform Packages for Chakra
#
# Drake Justice <djustice[at]chakra-linux[dot]org>
# Contributors from Arch:
# Ronald van Haren <ronald.archlinux.org>
# Tom Gundersen <teg@jklm.no>
# Mark Rosenstand <mark@archlinux.org>
pkgname=fuse
pkgver=2.9.3
pkgrel=1
pkgdesc="A library that makes it possible to implement a filesystem in a userspace program."
arch=('i686' 'x86_64')
url="http://fuse.sourceforge.net/"
license=('GPL2')
depends=('glibc')
makedepends=('pkgconfig')
backup=(etc/fuse.conf)
install=fuse.install
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz"
'fuse.conf')
sha1sums=('94bd1974a9f2173ac3c2cf122f9fa3c35996b88e'
'3b42e37a741d4651099225987dc40e7f02a716ad')
prepare() {
cd "$pkgname-$pkgver"
# fix building with glibc-2.14
sed -i '1i#define _GNU_SOURCE' util/fusermount.c
sed -i "/MOUNT_FUSE_PATH=/s#/sbin#/usr/bin#" configure
}
build() {
cd "$pkgname-$pkgver"
./configure --prefix=/usr --libdir=/usr/lib \
--enable-lib --enable-util --disable-example
make
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR=${pkgdir} install
# Remove init script in wrong path
# Don't add our own for now, as fusectl fs oopses on 2.6.18
rm -rf ${pkgdir}/etc/init.d
# install sample config file
install -Dm644 ${srcdir}/fuse.conf ${pkgdir}/etc/fuse.conf
# remove udev rules (is in the udev package}
rm -rf ${pkgdir}/etc/udev
# static device nodes are handled by udev
rm -rf ${pkgdir}/dev
}

View File

@ -1,9 +0,0 @@
# 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

View File

@ -1,14 +0,0 @@
post_install() {
cat << 'EOM'
==> You must load the fuse kernel module to use FUSE.
-> Run 'modprobe fuse' to load the module now.
-> Add fuse to $MODULES in /etc/rc.conf to load on every boot.
==> You will need a /dev/fuse device node to use FUSE.
-> If you use udev, nothing needs to be done
-> For a static /dev, run: mknod /dev/fuse -m 0666 c 10 229
EOM
}
op=$1
shift
$op $*

View File

@ -1,49 +0,0 @@
#!/bin/bash
#
# fuse Init script for Filesystem in Userspace
# Based on the script by Miklos Szeredi <miklos@szeredi.hu>
. /etc/rc.conf
. /etc/rc.d/functions
FUSECTL=/sys/fs/fuse/connections
case "$1" in
start)
stat_busy "Starting fuse"
if ! grep -qw fuse /proc/filesystems; then
modprobe fuse >/dev/null 2>&1
if [ $? -gt 0 ]; then
stat_fail
exit 1
fi
fi
if grep -qw fusectl /proc/filesystems && ! grep -qw $FUSECTL /proc/mounts; then
mount -t fusectl none $FUSECTL >/dev/null 2>&1
if [ $? -gt 0 ]; then
stat_fail
exit 1
fi
fi
add_daemon fuse
stat_done
;;
stop)
stat_busy "Stopping fuse"
umount $FUSECTL >/dev/null 2>&1
rmmod fuse >/dev/null 2>&1
if [ $? -gt 0 ]; then
stat_fail
else
rm_daemon fuse
stat_done
fi
;;
restart)
$0 stop
sleep 1
$0 start
;;
*)
echo "usage: $0 {start|stop|restart}"
esac
exit 0