[arch-commits] Commit in fuse3/repos (3 files)

Anatol Pomozov anatolik at archlinux.org
Sat Dec 9 03:41:12 UTC 2017


    Date: Saturday, December 9, 2017 @ 03:41:09
  Author: anatolik
Revision: 311951

archrelease: copy trunk to testing-x86_64

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

-----------+
 PKGBUILD  |   72 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 fuse.conf |    9 +++++++
 2 files changed, 81 insertions(+)

Copied: fuse3/repos/testing-x86_64/PKGBUILD (from rev 311950, fuse3/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2017-12-09 03:41:09 UTC (rev 311951)
@@ -0,0 +1,72 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Tom Gundersen <teg at jklm.no>
+# Contributor: Mark Rosenstand <mark at archlinux.org>
+
+pkgbase=fuse3
+pkgname=(fuse-common fuse3)
+pkgver=3.2.1
+pkgrel=1
+arch=('x86_64')
+url='https://github.com/libfuse/libfuse'
+license=('GPL2')
+makedepends=('pkg-config' 'meson' 'udev')
+options=(!emptydirs)
+source=(https://github.com/libfuse/libfuse/releases/download/fuse-$pkgver/fuse-$pkgver.tar.xz{,.asc}
+	'fuse.conf')
+sha1sums=('0461603b2c9baadae0bee0e22aeb3a4f3a41ec31'
+          'SKIP'
+          '3b42e37a741d4651099225987dc40e7f02a716ad')
+validpgpkeys=(ED31791B2C5C1613AF388B8AD113FCAC3C4E599F) # Nikolaus Rath <Nikolaus at rath.org>
+
+build() {
+  cd fuse-$pkgver
+
+  rm -rf build
+  meson --prefix=/usr --sbindir=bin . build
+  cd build
+  ninja
+}
+
+package_fuse-common() {
+  pkgdesc="Common files for fuse2/3 packages"
+  backup=(etc/fuse.conf)
+  depends=(glibc)
+
+  cd fuse-$pkgver/build
+  DESTDIR=${pkgdir} ninja install
+
+  install -Dm644 ${srcdir}/fuse.conf ${pkgdir}/etc/fuse.conf
+
+  # static device nodes are handled by udev
+  rm -r ${pkgdir}/dev
+
+  # Remove init script in wrong path
+  # Don't add our own for now, as fusectl fs oopses on 2.6.18
+  rm -r ${pkgdir}/etc/init.d
+
+  # part of fuse3 package
+  rm -r ${pkgdir}/usr/{bin/fusermount3,include,lib/{pkgconfig,libfuse3.so*},share/man/man1/fusermount3.1.gz}
+
+  mv ${pkgdir}/usr/bin/mount.fuse3 ${pkgdir}/usr/bin/mount.fuse
+}
+
+package_fuse3() {
+  pkgdesc="A library that makes it possible to implement a filesystem in a userspace program."
+  depends=('fuse-common')
+
+  cd fuse-$pkgver/build
+
+  DESTDIR=${pkgdir} ninja install
+
+  # Remove init script in wrong path
+  # Don't add our own for now, as fusectl fs oopses on 2.6.18
+  rm -r ${pkgdir}/etc/init.d
+
+  # static device nodes are handled by udev
+  rm -r ${pkgdir}/dev
+
+  # part of fuse-common package
+  rm -r ${pkgdir}/usr/lib/udev/rules.d
+  rm ${pkgdir}/usr/share/man/man8/mount.fuse.8.gz ${pkgdir}/usr/bin/mount.fuse3
+}

Copied: fuse3/repos/testing-x86_64/fuse.conf (from rev 311950, fuse3/trunk/fuse.conf)
===================================================================
--- testing-x86_64/fuse.conf	                        (rev 0)
+++ testing-x86_64/fuse.conf	2017-12-09 03:41:09 UTC (rev 311951)
@@ -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