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

Anatol Pomozov anatolik at archlinux.org
Fri May 22 16:36:40 UTC 2015


    Date: Friday, May 22, 2015 @ 18:36:40
  Author: anatolik
Revision: 239666

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

Added:
  fuse/repos/testing-i686/
  fuse/repos/testing-i686/PKGBUILD
    (from rev 239665, fuse/trunk/PKGBUILD)
  fuse/repos/testing-i686/fuse.conf
    (from rev 239665, fuse/trunk/fuse.conf)
  fuse/repos/testing-x86_64/
  fuse/repos/testing-x86_64/PKGBUILD
    (from rev 239665, fuse/trunk/PKGBUILD)
  fuse/repos/testing-x86_64/fuse.conf
    (from rev 239665, fuse/trunk/fuse.conf)

--------------------------+
 testing-i686/PKGBUILD    |   54 +++++++++++++++++++++++++++++++++++++++++++++
 testing-i686/fuse.conf   |    9 +++++++
 testing-x86_64/PKGBUILD  |   54 +++++++++++++++++++++++++++++++++++++++++++++
 testing-x86_64/fuse.conf |    9 +++++++
 4 files changed, 126 insertions(+)

Copied: fuse/repos/testing-i686/PKGBUILD (from rev 239665, fuse/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2015-05-22 16:36:40 UTC (rev 239666)
@@ -0,0 +1,54 @@
+# $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.4
+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=('pkg-config')
+backup=(etc/fuse.conf)
+source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
+	'fuse.conf')
+sha1sums=('c8b25419f33624dc5240af6a5d26f2c04367ca71'
+          '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
+}

Copied: fuse/repos/testing-i686/fuse.conf (from rev 239665, fuse/trunk/fuse.conf)
===================================================================
--- testing-i686/fuse.conf	                        (rev 0)
+++ testing-i686/fuse.conf	2015-05-22 16:36:40 UTC (rev 239666)
@@ -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/testing-x86_64/PKGBUILD (from rev 239665, fuse/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2015-05-22 16:36:40 UTC (rev 239666)
@@ -0,0 +1,54 @@
+# $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.4
+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=('pkg-config')
+backup=(etc/fuse.conf)
+source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
+	'fuse.conf')
+sha1sums=('c8b25419f33624dc5240af6a5d26f2c04367ca71'
+          '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
+}

Copied: fuse/repos/testing-x86_64/fuse.conf (from rev 239665, fuse/trunk/fuse.conf)
===================================================================
--- testing-x86_64/fuse.conf	                        (rev 0)
+++ testing-x86_64/fuse.conf	2015-05-22 16:36:40 UTC (rev 239666)
@@ -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



More information about the arch-commits mailing list