forked from pool/fuse3
Accepting request 639942 from home:namtrac:branches:filesystems
Introduce fuse3, please mark me as maintainer. OBS-URL: https://build.opensuse.org/request/show/639942 OBS-URL: https://build.opensuse.org/package/show/filesystems/fuse3?expand=0&rev=1
This commit is contained in:
commit
8ef1bc68ea
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
1
baselibs.conf
Normal file
1
baselibs.conf
Normal file
@ -0,0 +1 @@
|
||||
libfuse3-3
|
3
fuse-3.2.6.tar.xz
Normal file
3
fuse-3.2.6.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cea4dad559b3fbdbb8e4ad5f9df6083fdb7f2b904104bd507ef790d311d271cf
|
||||
size 1456220
|
19
fuse-3.2.6.tar.xz.asc
Normal file
19
fuse-3.2.6.tar.xz.asc
Normal file
@ -0,0 +1,19 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQK3BAABCgChFiEE7TF5GyxcFhOvOIuK0RP8rDxOWZ8FAluJKwlfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEVE
|
||||
MzE3OTFCMkM1QzE2MTNBRjM4OEI4QUQxMTNGQ0FDM0M0RTU5OUYjGmh0dHA6Ly93
|
||||
d3cucmF0aC5vcmcvZ3BncG9saWN5Lmh0bWwACgkQ0RP8rDxOWZ9F+w/+JTXUcHmH
|
||||
ZB6I6L6ehWP2RiJslHT025XmeIXuZNY24fyWM+G4Atw6pafFVBRjc8i67LxvRw47
|
||||
dsHJfb7zlQPaqkrVLcRZPwTTr2IQEoNAe0/bqgAiI7ZZhq/WX706m5WIN7qFHThN
|
||||
GvFyL+1GuNrZML6IDfY+u/T184jcN+2qh24XwJRIRrtEtokV1SEHkl3tNlzviVVM
|
||||
HHAc0QMX8VZ4V08yo+ufpr62AL8npvQSxun8WY/RtbrCQM8Be+wE66fa+v42Fp3w
|
||||
U/0jBEOSxPz2Jmgkppw1SoLkTnVn4jYG5EoBhAx6qkTm/6tEl/qb/7LLqH3Itpdw
|
||||
EpHIoZnm7lBXn0gjCLLB075wlGycKV7woHMIYqiouOdtdD2cebjC4bakFpE4h7YY
|
||||
cMUMUwuJknNAEgJQfLW9acY2KwB2TOdvyaw/Ke7o+vIYYhf1F1+cEvtUGF2Tdw8c
|
||||
oqffyUX2mGGZXNAOFojrST8NGQ0kTUFgrMeRXxK9BIi3LiWJ58yUrAjbQPHxpfrz
|
||||
X5DK3PFNH+miZ2wtL5e9rU1fYUPOx34nsC+Loy2BB2rHsb8rUw9NxcmoGZh95YTQ
|
||||
IAMg5yAEf3H/aTFa3WqroNjsYY03tY7PiA5PJAvKCk4MNgkW6Qs96MgPcm3iBEAd
|
||||
AAtKshByz9uJqh7JG6pI9VmWCh549YsQCHw=
|
||||
=DUrm
|
||||
-----END PGP SIGNATURE-----
|
35
fuse-install-fix.patch
Normal file
35
fuse-install-fix.patch
Normal file
@ -0,0 +1,35 @@
|
||||
Index: fuse-3.2.6/util/install_helper.sh
|
||||
===================================================================
|
||||
--- fuse-3.2.6.orig/util/install_helper.sh
|
||||
+++ fuse-3.2.6/util/install_helper.sh
|
||||
@@ -22,30 +22,6 @@ else
|
||||
DESTDIR="${DESTDIR%/}"
|
||||
fi
|
||||
|
||||
-chown root:root "${DESTDIR}${bindir}/fusermount3"
|
||||
-chmod u+s "${DESTDIR}${bindir}/fusermount3"
|
||||
-
|
||||
install -D -m 644 "${MESON_SOURCE_ROOT}/util/fuse.conf" \
|
||||
"${DESTDIR}${sysconfdir}/fuse.conf"
|
||||
|
||||
-
|
||||
-if test ! -e "${DESTDIR}/dev/fuse"; then
|
||||
- mkdir -p "${DESTDIR}/dev"
|
||||
- mknod "${DESTDIR}/dev/fuse" -m 0666 c 10 229
|
||||
-fi
|
||||
-
|
||||
-install -D -m 644 "${MESON_SOURCE_ROOT}/util/udev.rules" \
|
||||
- "${DESTDIR}${udevrulesdir}/99-fuse3.rules"
|
||||
-
|
||||
-install -D -m 755 "${MESON_SOURCE_ROOT}/util/init_script" \
|
||||
- "${DESTDIR}${sysconfdir}/init.d/fuse3"
|
||||
-
|
||||
-
|
||||
-if test -x /usr/sbin/update-rc.d && test -z "${DESTDIR}"; then
|
||||
- /usr/sbin/update-rc.d fuse3 start 34 S . start 41 0 6 . || /bin/true
|
||||
-else
|
||||
- echo "== FURTHER ACTION REQUIRED =="
|
||||
- echo "Make sure that your init system will start the ${sysconfdir}/init.d/fuse3 init script"
|
||||
-fi
|
||||
-
|
||||
-
|
18
fuse.conf
Normal file
18
fuse.conf
Normal file
@ -0,0 +1,18 @@
|
||||
# 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
|
||||
|
77
fuse.keyring
Normal file
77
fuse.keyring
Normal file
@ -0,0 +1,77 @@
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
Version: SKS 1.1.5+
|
||||
Comment: Hostname: keys2.kfwebs.net
|
||||
|
||||
mQINBFMiefoBEADYa1ZUqR/3YDqaf2UGpd9kNfKAY3TAR+xTcTYBKWTkJEy4cX2bccSEOf7E
|
||||
f1w0va+WgBwDUAllf+x21UFOWnPnqwb8LJxyg8dN3CRNWf9Z2vRXNOkvnAd0hYnA6xsbSLDQ
|
||||
V0wpJOTH1zyZejMMWLpZh5SKRxaJAtpsfZ32qppzJhn4jJb0v2fC+wJVkUy4mLe6yaHCrrHw
|
||||
lwldyzlwPBNwFfk31mVFYO+COSTGq+RXU2kCdujfw648IBYltdWI3D1vTilJd0gt2EDmOqQi
|
||||
zfFJLlBTdLieJdrXzL4WWuzvJpC1YadkmqMqnVkpcDxbxw0bK7G0faLigwWkshggaSns0vnp
|
||||
D05jQyMJUYdLwB9lh6u0B9APcCxmPLhgHDdgdlZ+1JHMdfY0gIMSIAP2zkQu4iaTv5Tuc5a0
|
||||
3dXE7G6GwZ+A5YsrovQCot2FY653A0swmAsaCy3A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7Ou13qBdMRMc9zUYrD4EifXen5WotTg
|
||||
wEKKmCIDnCKcVxRpiGEocOXXW1dvUTEJA+2xJRfkEgv9jsO2Q9ftTtC1SD08/h3tiA5aF103
|
||||
ZkYnZdCCbz3WcgW01aOs1l/IxVtdT8+ZgtJUT43zOJWN5p6J8Egnb8vAD87UPNnVmyDfpW2t
|
||||
GThfIrepWdve0hx1W1FrUsCVT5/suZvFMpAQaX4Tv50Sk3+g/77bwhe/OWJZyIJMsHCNlcJW
|
||||
+QM3r28+mcNc5WiX1r2TdjGZBN3gWv23Vj8hhhS7w4jVWe/7pB/v67J2mZozVeUgfWR66HfX
|
||||
mCS+W1OrIELKyZFDNgxxnct9vx6/wCHqX0RRqdTe7FJw0WKFvDUhuKU7B/CVSXooF39wgBx7
|
||||
iD7FVTtstPrzYte/VbPZz5nyHQppSFUHW6bFJG0NdqpfvQts7RDoWJwS4RPqXUTkCKOSQjVu
|
||||
K+nl24M/awFwxdS0zDrHwd5zOsxhufqL4xRsrS5p5QfeUrcNOIYSEF75DLFxRfMHUP/icJcJ
|
||||
s8LuTAFMtZqL7kbWok7wdRYmO8mez/FvNTRSo85TlUzR3Fc4xZndBJ3P9vDkvWpKPfuXpiBf
|
||||
CuX9TFYSVolnnl2col5xay+f7P0XVpxLkO+fCw==
|
||||
=gOOn
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
4
fuse3.changes
Normal file
4
fuse3.changes
Normal file
@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 4 10:51:37 UTC 2018 - Ismail Dönmez <idonmez@suse.com>
|
||||
|
||||
- Initial release v3.2.6
|
3
fuse3.rpmlintrc
Normal file
3
fuse3.rpmlintrc
Normal file
@ -0,0 +1,3 @@
|
||||
# Remove after security review
|
||||
addFilter("permissions-file-setuid-bit")
|
||||
setBadness("permissions-file-setuid-bit", 0)
|
156
fuse3.spec
Normal file
156
fuse3.spec
Normal file
@ -0,0 +1,156 @@
|
||||
#
|
||||
# spec file for package fuse
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: fuse3
|
||||
Version: 3.2.6
|
||||
Release: 0
|
||||
Summary: User space File System
|
||||
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
|
||||
Source2: fuse3.rpmlintrc
|
||||
Source3: baselibs.conf
|
||||
Source4: fuse.conf
|
||||
Source5: https://github.com/libfuse/libfuse/releases/download/fuse-%{version}/fuse-%{version}.tar.xz.asc
|
||||
Source6: fuse.keyring
|
||||
Patch1: fuse-install-fix.patch
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: meson
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(udev)
|
||||
Requires: util-linux >= 2.18
|
||||
Requires(pre): permissions
|
||||
Supplements: filesystem(fuse)
|
||||
%if 0%{?suse_version} > 1320
|
||||
Requires(pre): group(trusted)
|
||||
%endif
|
||||
|
||||
%description
|
||||
With FUSE, a user space program can export a file system through the
|
||||
kernel-default (Linux kernel).
|
||||
|
||||
This package contains the mount binaries for fuse (might not be needed
|
||||
by some FUSE filesystems like ntfs-3g) and the documentation for FUSE.
|
||||
|
||||
After installing fuse-devel, administrators can compile and install
|
||||
other user space file systems which can be found at
|
||||
https://github.com/libfuse/libfuse/wiki/
|
||||
|
||||
%package -n libfuse3-3
|
||||
Summary: Library of FUSE, the User space File System for GNU/Linux and BSD
|
||||
Group: System/Filesystems
|
||||
|
||||
%description -n libfuse3-3
|
||||
With FUSE, a user space program can export a file system through the
|
||||
kernel-default (Linux kernel).
|
||||
|
||||
After installing fuse-devel, administrators can compile and install
|
||||
other user space file systems which can be found at
|
||||
https://github.com/libfuse/libfuse/wiki/
|
||||
|
||||
%package doc
|
||||
Summary: Document package for FUSE (userspace filesystem)
|
||||
Group: Development/Languages/C and C++
|
||||
|
||||
%description doc
|
||||
This package contains the documentation for FUSE (userspace filesystem).
|
||||
|
||||
%package devel
|
||||
Summary: Development package for FUSE (userspace filesystem) modules
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: fuse3 = %{version}
|
||||
Requires: fuse3-doc = %{version}
|
||||
Requires: glibc-devel
|
||||
Requires: libfuse3-3 = %{version}
|
||||
|
||||
%description devel
|
||||
This package contains all include files, libraries and configuration
|
||||
files needed to develop programs that use the fuse (FUSE) library to
|
||||
implement kernel-default (Linux) file systems in user space.
|
||||
|
||||
With fuse-devel, administrators can compile and install other user
|
||||
space file systems which can be found at
|
||||
https://github.com/libfuse/libfuse/wiki/
|
||||
|
||||
%prep
|
||||
%setup -q -n fuse-%{version}
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
%meson
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
|
||||
rm -rf %{buildroot}/%{_sysconfdir}/init.d
|
||||
install -m644 -D %{SOURCE4} %{buildroot}/%{_sysconfdir}/fuse.conf
|
||||
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
|
||||
#UsrMerge
|
||||
mkdir %{buildroot}/sbin
|
||||
mkdir %{buildroot}/%{_lib}
|
||||
ln -s -v %{_sbindir}/mount.fuse3 %{buildroot}/sbin
|
||||
pushd %{buildroot}/%{_libdir}
|
||||
for libname in $(ls *.so.*);do
|
||||
ln -s -v /%{_libdir}/$libname %{buildroot}/%{_lib}
|
||||
done
|
||||
popd
|
||||
#EndUsrMerge
|
||||
|
||||
%fdupes -s %{buildroot}%{_docdir}
|
||||
|
||||
%post
|
||||
%set_permissions %{_bindir}/fusermount3
|
||||
|
||||
%verifyscript
|
||||
%verify_permissions -e %{_bindir}/fusermount3
|
||||
|
||||
%post -n libfuse3-3 -p /sbin/ldconfig
|
||||
%postun -n libfuse3-3 -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%license COPYING*
|
||||
%doc AUTHORS ChangeLog.rst
|
||||
%verify(not mode) %attr(4750,root,trusted) %{_bindir}/fusermount3
|
||||
#UsrMerge
|
||||
/sbin/mount.fuse3
|
||||
#EndUsrMerge
|
||||
%{_sbindir}/mount.fuse3
|
||||
%config %{_sysconfdir}/fuse.conf
|
||||
%{_mandir}/man1/fusermount3.1%{?ext_man}
|
||||
%{_mandir}/man8/mount.fuse3.8%{?ext_man}
|
||||
|
||||
%files -n libfuse3-3
|
||||
#UsrMerge
|
||||
/%{_lib}/libfuse3.so.3*
|
||||
#EndUsrMerge
|
||||
%{_libdir}/libfuse3.so.3*
|
||||
|
||||
%files doc
|
||||
%doc example doc
|
||||
|
||||
%files devel
|
||||
%{_libdir}/libfuse3.so
|
||||
%{_includedir}/fuse3/*.h
|
||||
%{_includedir}/fuse3
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
|
||||
%changelog
|
13
fusermount-compile-as-pie.patch
Normal file
13
fusermount-compile-as-pie.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Index: fuse-2.9.0/util/Makefile.am
|
||||
===================================================================
|
||||
--- fuse-2.9.0.orig/util/Makefile.am 2012-07-02 09:27:27.057828998 +0200
|
||||
+++ fuse-2.9.0/util/Makefile.am 2012-07-02 09:28:25.920068349 +0200
|
||||
@@ -10,6 +10,8 @@ noinst_PROGRAMS = mount.fuse
|
||||
# copying it over.
|
||||
fusermount_SOURCES = fusermount.c mount_util.c
|
||||
fusermount_CPPFLAGS = -I$(top_srcdir)/lib
|
||||
+fusermount_CFLAGS = -fPIE $(AM_CFLAGS)
|
||||
+fusermount_LDFLAGS = -pie $(AM_LDFLAGS)
|
||||
BUILT_SOURCES = mount_util.c
|
||||
mount_util.c: $(top_srcdir)/lib/mount_util.c
|
||||
@cp $(top_srcdir)/lib/mount_util.c .
|
Loading…
Reference in New Issue
Block a user