From 38fa47577a257157be411a355fa2678f1d001f5b Mon Sep 17 00:00:00 2001 From: Chaoting Liu Date: Sat, 2 Sep 2017 04:27:52 +0100 Subject: [PATCH] remove fuse (is now fuse2) from git --- fuse/PKGBUILD | 59 ----------------------------------------------- fuse/fuse.conf | 9 -------- fuse/fuse.install | 14 ----------- fuse/fuse.rc.d | 49 --------------------------------------- 4 files changed, 131 deletions(-) delete mode 100644 fuse/PKGBUILD delete mode 100644 fuse/fuse.conf delete mode 100644 fuse/fuse.install delete mode 100755 fuse/fuse.rc.d diff --git a/fuse/PKGBUILD b/fuse/PKGBUILD deleted file mode 100644 index 3560dc2c5..000000000 --- a/fuse/PKGBUILD +++ /dev/null @@ -1,59 +0,0 @@ -# -# Platform Packages for Chakra -# -# Drake Justice -# Contributors from Arch: -# Ronald van Haren -# Tom Gundersen -# Mark Rosenstand - -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 -} diff --git a/fuse/fuse.conf b/fuse/fuse.conf deleted file mode 100644 index cb6c631e0..000000000 --- a/fuse/fuse.conf +++ /dev/null @@ -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 diff --git a/fuse/fuse.install b/fuse/fuse.install deleted file mode 100644 index 595ac7c12..000000000 --- a/fuse/fuse.install +++ /dev/null @@ -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 $* diff --git a/fuse/fuse.rc.d b/fuse/fuse.rc.d deleted file mode 100755 index 768da5b02..000000000 --- a/fuse/fuse.rc.d +++ /dev/null @@ -1,49 +0,0 @@ -#!/bin/bash -# -# fuse Init script for Filesystem in Userspace -# Based on the script by Miklos Szeredi - -. /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