[arch-commits] Commit in fuse/repos (8 files)

Allan McRae allan at nymeria.archlinux.org
Fri May 31 01:19:15 UTC 2013


    Date: Friday, May 31, 2013 @ 03:19:15
  Author: allan
Revision: 186741

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  fuse/repos/staging-i686/
  fuse/repos/staging-i686/PKGBUILD
    (from rev 186740, fuse/trunk/PKGBUILD)
  fuse/repos/staging-i686/fuse.conf
    (from rev 186740, fuse/trunk/fuse.conf)
  fuse/repos/staging-i686/fuse.rc.d
    (from rev 186740, fuse/trunk/fuse.rc.d)
  fuse/repos/staging-x86_64/
  fuse/repos/staging-x86_64/PKGBUILD
    (from rev 186740, fuse/trunk/PKGBUILD)
  fuse/repos/staging-x86_64/fuse.conf
    (from rev 186740, fuse/trunk/fuse.conf)
  fuse/repos/staging-x86_64/fuse.rc.d
    (from rev 186740, fuse/trunk/fuse.rc.d)

--------------------------+
 staging-i686/PKGBUILD    |   52 +++++++++++++++++++++++++++++++++++++++++++++
 staging-i686/fuse.conf   |    9 +++++++
 staging-i686/fuse.rc.d   |   49 ++++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/PKGBUILD  |   52 +++++++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/fuse.conf |    9 +++++++
 staging-x86_64/fuse.rc.d |   49 ++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 220 insertions(+)

Copied: fuse/repos/staging-i686/PKGBUILD (from rev 186740, fuse/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2013-05-31 01:19:15 UTC (rev 186741)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Tom Gundersen <teg at jklm.no>
+# Contributor: Mark Rosenstand <mark at archlinux.org>
+
+pkgname=fuse
+pkgver=2.9.2
+pkgrel=2
+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=('pkg-config')
+backup=(etc/fuse.conf)
+source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
+	'fuse.conf')
+options=(!libtool)
+sha1sums=('fcfc005b1edcd5e8b325729a1b325ff0e8b2a5ab'
+          '3b42e37a741d4651099225987dc40e7f02a716ad')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  # fix building with glibc-2.14
+  sed -i '1i#define _GNU_SOURCE' util/fusermount.c  
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  ./configure --prefix=/usr --libdir=/usr/lib --enable-lib \
+              --enable-util
+  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
+}

Copied: fuse/repos/staging-i686/fuse.conf (from rev 186740, fuse/trunk/fuse.conf)
===================================================================
--- staging-i686/fuse.conf	                        (rev 0)
+++ staging-i686/fuse.conf	2013-05-31 01:19:15 UTC (rev 186741)
@@ -0,0 +1,9 @@
+# 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

Copied: fuse/repos/staging-i686/fuse.rc.d (from rev 186740, fuse/trunk/fuse.rc.d)
===================================================================
--- staging-i686/fuse.rc.d	                        (rev 0)
+++ staging-i686/fuse.rc.d	2013-05-31 01:19:15 UTC (rev 186741)
@@ -0,0 +1,49 @@
+#!/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

Copied: fuse/repos/staging-x86_64/PKGBUILD (from rev 186740, fuse/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2013-05-31 01:19:15 UTC (rev 186741)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Tom Gundersen <teg at jklm.no>
+# Contributor: Mark Rosenstand <mark at archlinux.org>
+
+pkgname=fuse
+pkgver=2.9.2
+pkgrel=2
+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=('pkg-config')
+backup=(etc/fuse.conf)
+source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
+	'fuse.conf')
+options=(!libtool)
+sha1sums=('fcfc005b1edcd5e8b325729a1b325ff0e8b2a5ab'
+          '3b42e37a741d4651099225987dc40e7f02a716ad')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  # fix building with glibc-2.14
+  sed -i '1i#define _GNU_SOURCE' util/fusermount.c  
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  ./configure --prefix=/usr --libdir=/usr/lib --enable-lib \
+              --enable-util
+  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
+}

Copied: fuse/repos/staging-x86_64/fuse.conf (from rev 186740, fuse/trunk/fuse.conf)
===================================================================
--- staging-x86_64/fuse.conf	                        (rev 0)
+++ staging-x86_64/fuse.conf	2013-05-31 01:19:15 UTC (rev 186741)
@@ -0,0 +1,9 @@
+# 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

Copied: fuse/repos/staging-x86_64/fuse.rc.d (from rev 186740, fuse/trunk/fuse.rc.d)
===================================================================
--- staging-x86_64/fuse.rc.d	                        (rev 0)
+++ staging-x86_64/fuse.rc.d	2013-05-31 01:19:15 UTC (rev 186741)
@@ -0,0 +1,49 @@
+#!/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