[arch-commits] Commit in fuse3/trunk (PKGBUILD fuse.conf)

Anatol Pomozov anatolik at archlinux.org
Mon Sep 16 00:04:46 UTC 2019


    Date: Monday, September 16, 2019 @ 00:04:33
  Author: anatolik
Revision: 362929

upgpkg: fuse3 3.6.2-2

FS#61261: put version-specific mount binaries back to fuse2/fuse3

Modified:
  fuse3/trunk/PKGBUILD
Deleted:
  fuse3/trunk/fuse.conf

-----------+
 PKGBUILD  |   39 +++++++--------------------------------
 fuse.conf |    9 ---------
 2 files changed, 7 insertions(+), 41 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-16 00:03:36 UTC (rev 362928)
+++ PKGBUILD	2019-09-16 00:04:33 UTC (rev 362929)
@@ -5,17 +5,15 @@
 pkgbase=fuse3
 pkgname=(fuse-common fuse3)
 pkgver=3.6.2
-pkgrel=1
+pkgrel=2
 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')
+source=(https://github.com/libfuse/libfuse/releases/download/fuse-$pkgver/fuse-$pkgver.tar.xz{,.asc})
 sha1sums=('2bdef7a3f1f9e63fed87559c6e77d27e5f2c2e0c'
-          'SKIP'
-          '3b42e37a741d4651099225987dc40e7f02a716ad')
+          'SKIP')
 validpgpkeys=(ED31791B2C5C1613AF388B8AD113FCAC3C4E599F) # Nikolaus Rath <Nikolaus at rath.org>
 
 build() {
@@ -22,7 +20,7 @@
   cd fuse-$pkgver
 
   rm -rf build
-  meson --prefix=/usr --sbindir=bin . build
+  meson --prefix=/usr --sbindir=bin -D examples=false . build
   cd build
   ninja
 }
@@ -30,44 +28,21 @@
 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}
-
-  mv ${pkgdir}/usr/bin/mount.fuse3 ${pkgdir}/usr/bin/mount.fuse
+  install -Dm644 fuse-${pkgver}/util/fuse.conf ${pkgdir}/etc/fuse.conf
 }
 
 package_fuse3() {
   pkgdesc="A library that makes it possible to implement a filesystem in a userspace program."
-  depends=('fuse-common')
+  depends=('fuse-common' 'glibc')
 
   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
+  rm -r ${pkgdir}/etc/fuse.conf
 
-  rm ${pkgdir}/etc/fuse.conf
-
   # 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.fuse3.8 ${pkgdir}/usr/bin/mount.fuse3
 }

Deleted: fuse.conf
===================================================================
--- fuse.conf	2019-09-16 00:03:36 UTC (rev 362928)
+++ fuse.conf	2019-09-16 00:04:33 UTC (rev 362929)
@@ -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



More information about the arch-commits mailing list