[arch-commits] Commit in fuse/trunk (PKGBUILD fuse.rc.d)
Bartłomiej Piotrowski
bpiotrowski at nymeria.archlinux.org
Wed Jul 31 16:26:21 UTC 2013
Date: Wednesday, July 31, 2013 @ 18:26:21
Author: bpiotrowski
Revision: 191855
upgpkg: fuse 2.9.3-1
- upstream release
Modified:
fuse/trunk/PKGBUILD
Deleted:
fuse/trunk/fuse.rc.d
-----------+
PKGBUILD | 7 ++++---
fuse.rc.d | 49 -------------------------------------------------
2 files changed, 4 insertions(+), 52 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-07-31 16:20:12 UTC (rev 191854)
+++ PKGBUILD 2013-07-31 16:26:21 UTC (rev 191855)
@@ -4,8 +4,8 @@
# Contributor: Mark Rosenstand <mark at archlinux.org>
pkgname=fuse
-pkgver=2.9.2
-pkgrel=3
+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/"
@@ -16,11 +16,12 @@
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
'fuse.conf')
options=(!libtool)
-sha1sums=('fcfc005b1edcd5e8b325729a1b325ff0e8b2a5ab'
+sha1sums=('94bd1974a9f2173ac3c2cf122f9fa3c35996b88e'
'3b42e37a741d4651099225987dc40e7f02a716ad')
prepare() {
cd "$pkgname-$pkgver"
+
# fix building with glibc-2.14
sed -i '1i#define _GNU_SOURCE' util/fusermount.c
Deleted: fuse.rc.d
===================================================================
--- fuse.rc.d 2013-07-31 16:20:12 UTC (rev 191854)
+++ fuse.rc.d 2013-07-31 16:26:21 UTC (rev 191855)
@@ -1,49 +0,0 @@
-#!/bin/bash
-#
-# fuse Init script for Filesystem in Userspace
-# Based on the script by Miklos Szeredi <miklos at 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
More information about the arch-commits
mailing list