SHA256
1
0
forked from pool/fuse3
Ismail Dönmez 2018-12-03 13:54:35 +00:00 committed by Git OBS Bridge
parent a55a22e890
commit e4e9ef31f3
3 changed files with 21 additions and 32 deletions

View File

@ -1,7 +1,7 @@
Index: fuse-3.2.6/util/install_helper.sh
Index: fuse-3.3.0/util/install_helper.sh
===================================================================
--- fuse-3.2.6.orig/util/install_helper.sh
+++ fuse-3.2.6/util/install_helper.sh
--- fuse-3.3.0.orig/util/install_helper.sh
+++ fuse-3.3.0/util/install_helper.sh
@@ -22,30 +22,6 @@ else
DESTDIR="${DESTDIR%/}"
fi
@ -10,8 +10,8 @@ Index: fuse-3.2.6/util/install_helper.sh
-chmod u+s "${DESTDIR}${bindir}/fusermount3"
-
install -D -m 644 "${MESON_SOURCE_ROOT}/util/fuse.conf" \
"${DESTDIR}${sysconfdir}/fuse.conf"
- "${DESTDIR}${sysconfdir}/fuse.conf"
-
-
-if test ! -e "${DESTDIR}/dev/fuse"; then
- mkdir -p "${DESTDIR}/dev"
@ -32,4 +32,15 @@ Index: fuse-3.2.6/util/install_helper.sh
- echo "Make sure that your init system will start the ${sysconfdir}/init.d/fuse3 init script"
-fi
-
-
+ "${DESTDIR}${sysconfdir}/fuse3.conf"
Index: fuse-3.3.0/util/meson.build
===================================================================
--- fuse-3.3.0.orig/util/meson.build
+++ fuse-3.3.0/util/meson.build
@@ -1,4 +1,4 @@
-fuseconf_path = join_paths(get_option('prefix'), get_option('sysconfdir'), 'fuse.conf')
+fuseconf_path = join_paths(get_option('prefix'), get_option('sysconfdir'), 'fuse3.conf')
executable('fusermount3', ['fusermount.c', '../lib/mount_util.c'],
include_directories: include_dirs,

View File

@ -1,18 +0,0 @@
# The file /etc/fuse.conf allows for the following parameters:
#
# user_allow_other - Using the allow_other mount option works fine as root, in
# order to have it work as user you need user_allow_other in /etc/fuse.conf as
# well. (This option allows users to use the allow_other option.) You need
# allow_other if you want users other than the owner to access a mounted fuse.
# This option must appear on a line by itself. There is no value, just the
# presence of the option.
#user_allow_other
# mount_max = n - this option sets the maximum number of mounts.
# Currently (2014) it must be typed exactly as shown
# (with a single space before and after the equals sign).
#mount_max = 1000

View File

@ -24,10 +24,9 @@ License: GPL-2.0-or-later AND LGPL-2.1-or-later
Group: System/Filesystems
URL: https://github.com/libfuse/libfuse
Source: https://github.com/libfuse/libfuse/releases/download/fuse-%{version}/fuse-%{version}.tar.xz
Source1: baselibs.conf
Source2: fuse.conf
Source3: https://github.com/libfuse/libfuse/releases/download/fuse-%{version}/fuse-%{version}.tar.xz.asc
Source4: fuse.keyring
Source1: https://github.com/libfuse/libfuse/releases/download/fuse-%{version}/fuse-%{version}.tar.xz.asc
Source2: fuse.keyring
Source1000: baselibs.conf
Patch1: fuse-install-fix.patch
BuildRequires: fdupes
BuildRequires: meson
@ -93,9 +92,6 @@ https://github.com/libfuse/libfuse/wiki/
%install
%meson_install
rm -rf %{buildroot}/%{_sysconfdir}/init.d
install -m644 -D %{SOURCE2} %{buildroot}/%{_sysconfdir}/fuse.conf
find %{buildroot} -type f -name "*.la" -delete -print
#UsrMerge
@ -128,7 +124,7 @@ popd
/sbin/mount.fuse3
#EndUsrMerge
%{_sbindir}/mount.fuse3
%config %{_sysconfdir}/fuse.conf
%config %{_sysconfdir}/fuse3.conf
%{_mandir}/man1/fusermount3.1%{?ext_man}
%{_mandir}/man8/mount.fuse3.8%{?ext_man}