forked from pool/fuse3
-
OBS-URL: https://build.opensuse.org/package/show/filesystems/fuse3?expand=0&rev=12
This commit is contained in:
parent
a55a22e890
commit
e4e9ef31f3
@ -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.3.0.orig/util/install_helper.sh
|
||||||
+++ fuse-3.2.6/util/install_helper.sh
|
+++ fuse-3.3.0/util/install_helper.sh
|
||||||
@@ -22,30 +22,6 @@ else
|
@@ -22,30 +22,6 @@ else
|
||||||
DESTDIR="${DESTDIR%/}"
|
DESTDIR="${DESTDIR%/}"
|
||||||
fi
|
fi
|
||||||
@ -10,8 +10,8 @@ Index: fuse-3.2.6/util/install_helper.sh
|
|||||||
-chmod u+s "${DESTDIR}${bindir}/fusermount3"
|
-chmod u+s "${DESTDIR}${bindir}/fusermount3"
|
||||||
-
|
-
|
||||||
install -D -m 644 "${MESON_SOURCE_ROOT}/util/fuse.conf" \
|
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
|
-if test ! -e "${DESTDIR}/dev/fuse"; then
|
||||||
- mkdir -p "${DESTDIR}/dev"
|
- 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"
|
- echo "Make sure that your init system will start the ${sysconfdir}/init.d/fuse3 init script"
|
||||||
-fi
|
-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,
|
||||||
|
18
fuse.conf
18
fuse.conf
@ -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
|
|
||||||
|
|
12
fuse3.spec
12
fuse3.spec
@ -24,10 +24,9 @@ License: GPL-2.0-or-later AND LGPL-2.1-or-later
|
|||||||
Group: System/Filesystems
|
Group: System/Filesystems
|
||||||
URL: https://github.com/libfuse/libfuse
|
URL: https://github.com/libfuse/libfuse
|
||||||
Source: https://github.com/libfuse/libfuse/releases/download/fuse-%{version}/fuse-%{version}.tar.xz
|
Source: https://github.com/libfuse/libfuse/releases/download/fuse-%{version}/fuse-%{version}.tar.xz
|
||||||
Source1: baselibs.conf
|
Source1: https://github.com/libfuse/libfuse/releases/download/fuse-%{version}/fuse-%{version}.tar.xz.asc
|
||||||
Source2: fuse.conf
|
Source2: fuse.keyring
|
||||||
Source3: https://github.com/libfuse/libfuse/releases/download/fuse-%{version}/fuse-%{version}.tar.xz.asc
|
Source1000: baselibs.conf
|
||||||
Source4: fuse.keyring
|
|
||||||
Patch1: fuse-install-fix.patch
|
Patch1: fuse-install-fix.patch
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: meson
|
BuildRequires: meson
|
||||||
@ -93,9 +92,6 @@ https://github.com/libfuse/libfuse/wiki/
|
|||||||
%install
|
%install
|
||||||
%meson_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
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
|
|
||||||
#UsrMerge
|
#UsrMerge
|
||||||
@ -128,7 +124,7 @@ popd
|
|||||||
/sbin/mount.fuse3
|
/sbin/mount.fuse3
|
||||||
#EndUsrMerge
|
#EndUsrMerge
|
||||||
%{_sbindir}/mount.fuse3
|
%{_sbindir}/mount.fuse3
|
||||||
%config %{_sysconfdir}/fuse.conf
|
%config %{_sysconfdir}/fuse3.conf
|
||||||
%{_mandir}/man1/fusermount3.1%{?ext_man}
|
%{_mandir}/man1/fusermount3.1%{?ext_man}
|
||||||
%{_mandir}/man8/mount.fuse3.8%{?ext_man}
|
%{_mandir}/man8/mount.fuse3.8%{?ext_man}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user