[neon/backports-focal/fuse3/Neon/unstable] debian: manually import packaging

Jonathan Esk-Riddell null at kde.org
Wed Mar 23 10:25:39 GMT 2022


Git commit 9d1997c55ff93ade006ac99d649a4b2b8e361bf4 by Jonathan Esk-Riddell.
Committed on 23/03/2022 at 10:25.
Pushed by jriddell into branch 'Neon/unstable'.

manually import packaging

A  +165  -0    debian/changelog
A  +2    -0    debian/clean
A  +68   -0    debian/control
A  +89   -0    debian/copyright
A  +13   -0    debian/examples/Makefile
A  +2    -0    debian/fuse3-udeb.install
A  +3    -0    debian/fuse3.install
A  +4    -0    debian/fuse3.links
A  +2    -0    debian/fuse3.manpages
A  +42   -0    debian/fuse3.postinst
A  +28   -0    debian/fuse3.postrm
A  +1    -0    debian/libfuse3-3-udeb.install
A  +3    -0    debian/libfuse3-3.docs
A  +1    -0    debian/libfuse3-3.install
A  +8    -0    debian/libfuse3-3.symbols
A  +4    -0    debian/libfuse3-dev.examples
A  +4    -0    debian/libfuse3-dev.install
A  +8    -0    debian/local/fuse.conf
A  +24   -0    debian/local/fuse.hook
A  +1    -0    debian/local/fuse.kmod
A  +76   -0    debian/rules
A  +1    -0    debian/source/format
A  +3    -0    debian/source/lintian-overrides
A  +6    -0    debian/upstream/metadata
A  +85   -0    debian/upstream/signing-key.asc
A  +3    -0    debian/watch

https://invent.kde.org/neon/backports-focal/fuse3/commit/9d1997c55ff93ade006ac99d649a4b2b8e361bf4

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..e006791
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,165 @@
+fuse3 (3.10.5-1) unstable; urgency=medium
+
+  * New upstream release.
+
+ -- Laszlo Boszormenyi (GCS) <gcs at debian.org>  Thu, 16 Sep 2021 17:41:27 +0200
+
+fuse3 (3.10.4-1) unstable; urgency=medium
+
+  * New upstream release.
+
+ -- Laszlo Boszormenyi (GCS) <gcs at debian.org>  Mon, 23 Aug 2021 22:05:34 +0200
+
+fuse3 (3.10.3-2) unstable; urgency=medium
+
+  * Do not try to alter cuse device permissions (closes: #947229, #989977).
+
+ -- Laszlo Boszormenyi (GCS) <gcs at debian.org>  Sun, 20 Jun 2021 15:45:33 +0200
+
+fuse3 (3.10.3-1) unstable; urgency=medium
+
+  * New upstream release:
+    - fix returning d_ino and d_type by readdir(3) in non-plus mode,
+    - remove unused fuse_worker bufsize,
+    - fix typos.
+
+ -- Laszlo Boszormenyi (GCS) <gcs at debian.org>  Wed, 21 Apr 2021 14:34:39 +0200
+
+fuse3 (3.10.2-2) unstable; urgency=medium
+
+  * Mark libfuse3-dev as Multi-Arch same.
+
+  [ Matthias Klose <doko at ubuntu.com> ]
+  * Allow one to build without udeb package (closes: #983438).
+
+ -- Laszlo Boszormenyi (GCS) <gcs at debian.org>  Wed, 24 Feb 2021 23:28:30 +0100
+
+fuse3 (3.10.2-1) unstable; urgency=medium
+
+  * New upstream release.
+
+ -- Laszlo Boszormenyi (GCS) <gcs at debian.org>  Mon, 08 Feb 2021 21:21:32 +0100
+
+fuse3 (3.10.1-3) unstable; urgency=medium
+
+  * Update debhelper level to 13 .
+
+  [ Stephen Kitt <skitt at debian.org> ]
+  * Ignore "-o nonempty" instead of treating it as an error; the default
+    behaviour in fuse3 is equivalent to "-o nonempty". This allows
+    software expecting fuse2 semantics to work with fusermount3
+    (closes: #939767).
+
+ -- Laszlo Boszormenyi (GCS) <gcs at debian.org>  Fri, 29 Jan 2021 16:59:06 +0100
+
+fuse3 (3.10.1-2) unstable; urgency=medium
+
+  * Add upstream metadata.
+  * Update watch file.
+  * Update packaging bits.
+  * Update Standards-Version to 4.5.1 .
+
+  [ Laurent Bigonville <bigon at debian.org> ]
+  * Fix FTBFS on kFreeBSD (closes: #980213).
+
+ -- Laszlo Boszormenyi (GCS) <gcs at debian.org>  Sat, 16 Jan 2021 10:34:25 +0100
+
+fuse3 (3.10.1-1) unstable; urgency=medium
+
+  * New upstream release.
+  * Backport upstream fix:
+    - add exfat to whitelist.
+
+ -- Laszlo Boszormenyi (GCS) <gcs at debian.org>  Fri, 01 Jan 2021 15:32:48 +0100
+
+fuse3 (3.10.0-1) unstable; urgency=medium
+
+  * New upstream release.
+
+ -- Laszlo Boszormenyi (GCS) <gcs at debian.org>  Sun, 11 Oct 2020 23:01:33 +0200
+
+fuse3 (3.9.3-1) unstable; urgency=medium
+
+  * New upstream release.
+
+ -- Laszlo Boszormenyi (GCS) <gcs at debian.org>  Thu, 20 Aug 2020 15:16:47 +0200
+
+fuse3 (3.9.2-1) unstable; urgency=medium
+
+  * New upstream release.
+  * Use udev for Linux builds, specify udevrulesdir otherwise
+    (closes: #956579).
+
+  [ Laurent Bigonville <bigon at debian.org> ]
+  * Run tests form the correct directory and make them non fatal
+    (closes: #956592).
+
+ -- Laszlo Boszormenyi (GCS) <gcs at debian.org>  Sat, 13 Jun 2020 14:54:36 +0200
+
+fuse3 (3.9.0-2) unstable; urgency=medium
+
+  * Don't explicitly remove fuse.conf on purge (closes: #953223).
+
+ -- Laszlo Boszormenyi (GCS) <gcs at debian.org>  Sat, 07 Mar 2020 11:10:15 +0000
+
+fuse3 (3.9.0-1) unstable; urgency=medium
+
+  * New upstream release.
+  * Update Standards-Version to 4.5.0 .
+
+  [ Hideki Yamane <henrich at debian.org> ]
+  * Add version for Provides: fuse (closes: #943896).
+
+ -- Laszlo Boszormenyi (GCS) <gcs at debian.org>  Thu, 13 Feb 2020 16:06:09 +0000
+
+fuse3 (3.7.0-1) unstable; urgency=medium
+
+  * New upstream release.
+  * Update library symbols for this release.
+
+ -- Laszlo Boszormenyi (GCS) <gcs at debian.org>  Sat, 28 Sep 2019 21:28:17 +0000
+
+fuse3 (3.6.2-1) unstable; urgency=medium
+
+  * New upstream release.
+  * Drop outdated udevadm commands from postinst (closes: #934293).
+  * Remove dh_makeshlibs override.
+  * Update Standards-Version to 4.4.0 .
+
+ -- Laszlo Boszormenyi (GCS) <gcs at debian.org>  Sun, 01 Sep 2019 06:15:20 +0000
+
+fuse3 (3.4.1-1) unstable; urgency=medium
+
+  * New upstream release.
+  * Update library symbols for this release.
+  * Update Standards-Version to 4.3.0 .
+
+  [ Dmitry Smirnov <onlyjob at member.fsf.org> ]
+  * Make "fuse3" to replace "fuse", instead of conflict (closes: #912528).
+
+ -- Laszlo Boszormenyi (GCS) <gcs at debian.org>  Tue, 25 Dec 2018 16:57:44 +0000
+
+fuse3 (3.2.6-1) unstable; urgency=medium
+
+  * New upstream release:
+    - fix CVE-2018-10906, restriction bypass of the allow_other option when
+      SELinux is active (closes: #911343).
+  * Honor nocheck in DEB_BUILD_OPTIONS (closes: #910029).
+  * Don't force xz compression for source and binaries (closes: #910030).
+  * Update copyright file.
+
+ -- Laszlo Boszormenyi (GCS) <gcs at debian.org>  Thu, 18 Oct 2018 21:36:00 +0000
+
+fuse3 (3.2.4-1) unstable; urgency=medium
+
+  * New major upstream release (closes: #904216).
+  * Drop own udev rules.
+  * Update watch file.
+  * Update copyright file.
+  * Update debhelper level to 11:
+    - remove dh-autoreconf build dependency,
+    - don't specify parallel to debhelper.
+  * Update Standards-Version to 4.1.5:
+    - remove fuse-dbg package and use the auto-generated one.
+
+ -- Laszlo Boszormenyi (GCS) <gcs at debian.org>  Sat, 21 Jul 2018 14:11:44 +0000
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..c612857
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,2 @@
+config.rpath
+util/mount_util.c
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..abe8d58
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,68 @@
+Source: fuse3
+Section: utils
+Priority: optional
+Maintainer: Laszlo Boszormenyi (GCS) <gcs at debian.org>
+Build-Depends:
+ debhelper-compat (= 13),
+ pkg-config,
+ meson,
+ udev [linux-any],
+ python3 <!nocheck>,
+ python3-pytest <!nocheck>
+Standards-Version: 4.5.1
+Homepage: https://github.com/libfuse/libfuse/wiki
+Rules-Requires-Root: binary-targets
+
+Package: fuse3
+Section: utils
+Architecture: linux-any
+Depends:
+ ${misc:Depends},
+ ${shlibs:Depends},
+ libfuse3-3 (= ${binary:Version}),
+ adduser,
+ mount (>= 2.19.1),
+ sed (>= 4),
+ lsb-base (>= 3.2-14)
+Provides: fuse (= ${source:Version})
+Breaks: fuse
+Replaces: fuse
+Description: Filesystem in Userspace (3.x version)
+ Filesystem in Userspace (FUSE) is a simple interface for userspace programs to
+ export a virtual filesystem to the Linux kernel. It also aims to provide a
+ secure method for non privileged users to create and mount their own filesystem
+ implementations.
+
+Package: libfuse3-3
+Section: libs
+Architecture: linux-any kfreebsd-any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends:
+ ${misc:Depends},
+ ${shlibs:Depends},
+Suggests: fuse3
+Description: Filesystem in Userspace (library) (3.x version)
+ Filesystem in Userspace (FUSE) is a simple interface for userspace programs to
+ export a virtual filesystem to the Linux kernel. It also aims to provide a
+ secure method for non privileged users to create and mount their own filesystem
+ implementations.
+ .
+ This package contains the shared library.
+
+Package: libfuse3-dev
+Section: libdevel
+Architecture: linux-any kfreebsd-any
+Multi-Arch: same
+Depends:
+ ${misc:Depends},
+ libfuse3-3 (= ${binary:Version}),
+ libselinux-dev [linux-any],
+Suggests: fuse
+Description: Filesystem in Userspace (development) (3.x version)
+ Filesystem in Userspace (FUSE) is a simple interface for userspace programs to
+ export a virtual filesystem to the Linux kernel. It also aims to provide a
+ secure method for non privileged users to create and mount their own filesystem
+ implementations.
+ .
+ This package contains the development files.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..c194e00
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,89 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: fuse3
+Upstream-Contact: fuse-devel at lists.sourceforge.net
+Source: https://sourceforge.net/projects/fuse/files/
+
+Files: *
+Copyright: 2016-     Nikolaus Rath <Nikolaus at rath.org>,
+ 2001-2013 Miklos Szeredi <miklos at szeredi.hu>
+License: GPL-2
+
+Files: lib/*
+Copyright: 2001-2013 Miklos Szeredi <miklos at szeredi.hu>
+License: LGPL-2.1
+
+Files: example/passthrough.c example/passthrough_fh.c
+License: GPL-2
+Copyright: Copyright (C) 2001-2007 Miklos Szeredi <miklos at szeredi.hu>,
+ Copyright (C) 2011 Sebastian Pipping <sebastian at pipping.org>
+
+Files: example/cuse.c
+ example/cuse_client.c
+ example/ioctl.c
+ example/ioctl.h
+ example/ioctl_client.c
+ example/poll.c
+ example/poll_client.c
+ include/cuse_lowlevel.h
+ lib/cuse_lowlevel.c
+License: GPL-2
+Copyright: Copyright (C) 2008-2009 SUSE Linux Products GmbH,
+ Copyright (C) 2008-2009 Tejun Heo <tj at kernel.org>
+
+Files: debian/*
+Copyright: 2014- Laszlo Boszormenyi (GCS) <gcs at debian.org>,
+ 2011-2014 Daniel Baumann <mail at daniel-baumann.ch>
+License: GPL-2+
+
+License: GPL-2
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License can be found in `/usr/share/common-licenses/GPL-2'.
+
+License: GPL-2+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License can be found in `/usr/share/common-licenses/GPL-2'.
+
+License: LGPL-2.1
+ This package is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+ .
+ You should have received a copy of the GNU Lesser General Public
+ License along with this package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ .
+ On Debian systems, the complete text of the GNU Lesser General
+ Public License can be found in `/usr/share/common-licenses/LGPL-2.1'.
diff --git a/debian/examples/Makefile b/debian/examples/Makefile
new file mode 100644
index 0000000..36e411b
--- /dev/null
+++ b/debian/examples/Makefile
@@ -0,0 +1,13 @@
+CFLAGS := -Wall $(shell pkg-config fuse --cflags)
+LDFLAGS := $(shell pkg-config fuse --libs)
+
+targets = fusexmp fusexmp_fh hello hello_ll null
+
+all: $(targets)
+
+fusexmp_fh: fusexmp_fh.c
+	$(CC) $(CFLAGS) $(LDFLAGS) -lulockmgr $< -o $@
+
+clean:
+	rm -f *.o
+	rm -f $(targets)
diff --git a/debian/fuse3-udeb.install b/debian/fuse3-udeb.install
new file mode 100644
index 0000000..80e3548
--- /dev/null
+++ b/debian/fuse3-udeb.install
@@ -0,0 +1,2 @@
+usr/bin/fusermount3	bin
+usr/sbin/mount.fuse3	sbin
diff --git a/debian/fuse3.install b/debian/fuse3.install
new file mode 100644
index 0000000..3657b87
--- /dev/null
+++ b/debian/fuse3.install
@@ -0,0 +1,3 @@
+usr/bin/fusermount3	bin
+usr/sbin/mount.fuse3	sbin
+etc/fuse.conf
diff --git a/debian/fuse3.links b/debian/fuse3.links
new file mode 100644
index 0000000..4386c88
--- /dev/null
+++ b/debian/fuse3.links
@@ -0,0 +1,4 @@
+/bin/fusermount3	/bin/fusermount
+/sbin/mount.fuse3	/sbin/mount.fuse
+/usr/share/man/man1/fusermount3.1.gz	/usr/share/man/man1/fusermount.1.gz
+/usr/share/man/man8/mount.fuse3.8.gz	/usr/share/man/man8/mount.fuse.8.gz
diff --git a/debian/fuse3.manpages b/debian/fuse3.manpages
new file mode 100644
index 0000000..b06a58e
--- /dev/null
+++ b/debian/fuse3.manpages
@@ -0,0 +1,2 @@
+usr/share/man/man1/fusermount3.1
+usr/share/man/man8/mount.fuse3.8
diff --git a/debian/fuse3.postinst b/debian/fuse3.postinst
new file mode 100644
index 0000000..3897034
--- /dev/null
+++ b/debian/fuse3.postinst
@@ -0,0 +1,42 @@
+#!/bin/sh
+
+set -e
+
+chrooted() {
+	if [ "$(stat -c %d/%i /)" = "$(stat -Lc %d/%i /proc/1/root 2>/dev/null)" ]; then
+		# the devicenumber/inode pair of / is the same as that of
+		# /sbin/init's root, so we're *not* in a chroot and hence
+		# return false.
+		return 1
+	fi
+	return 0
+}
+
+case "${1}" in
+	configure)
+		if ! dpkg-statoverride --list /bin/fusermount3 > /dev/null 2>&1
+		then
+			chmod 4755 /bin/fusermount3
+		fi
+
+		modprobe fuse > /dev/null 2>&1 || true
+
+		if [ -x "`which update-initramfs 2>/dev/null`" ]
+		then
+			update-initramfs -u
+		fi
+		;;
+
+	abort-upgrade|abort-remove|abort-deconfigure)
+
+		;;
+
+	*)
+		echo "postinst called with unknown argument \`${1}'" >&2
+		exit 1
+		;;
+esac
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/fuse3.postrm b/debian/fuse3.postrm
new file mode 100644
index 0000000..c17995a
--- /dev/null
+++ b/debian/fuse3.postrm
@@ -0,0 +1,28 @@
+#!/bin/sh
+
+set -e
+
+case "${1}" in
+	remove)
+		if [ -x "`which update-initramfs 2>/dev/null`" ]
+		then
+			update-initramfs -u
+		fi
+		;;
+
+	purge)
+		;;
+
+	upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+
+		;;
+
+	*)
+		echo "postrm called with unknown argument \`${1}'" >&2
+		exit 1
+		;;
+esac
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/libfuse3-3-udeb.install b/debian/libfuse3-3-udeb.install
new file mode 100644
index 0000000..d67cb78
--- /dev/null
+++ b/debian/libfuse3-3-udeb.install
@@ -0,0 +1 @@
+usr/lib/*/*.so.*	lib
diff --git a/debian/libfuse3-3.docs b/debian/libfuse3-3.docs
new file mode 100644
index 0000000..0135531
--- /dev/null
+++ b/debian/libfuse3-3.docs
@@ -0,0 +1,3 @@
+README.md
+doc/README.NFS
+doc/*.txt
diff --git a/debian/libfuse3-3.install b/debian/libfuse3-3.install
new file mode 100644
index 0000000..d67cb78
--- /dev/null
+++ b/debian/libfuse3-3.install
@@ -0,0 +1 @@
+usr/lib/*/*.so.*	lib
diff --git a/debian/libfuse3-3.symbols b/debian/libfuse3-3.symbols
new file mode 100644
index 0000000..9b94797
--- /dev/null
+++ b/debian/libfuse3-3.symbols
@@ -0,0 +1,8 @@
+libfuse3.so.3 #PACKAGE# #MINVER#
+* Build-Depends-Package: libfuse-dev
+ (symver)FUSE_3.0 3.2.3
+ (symver)FUSE_3.1 3.2.3
+ (symver)FUSE_3.2 3.2.3
+ (symver)FUSE_3.3 3.4.1
+ (symver)FUSE_3.4 3.4.1
+ (symver)FUSE_3.7 3.7.0
diff --git a/debian/libfuse3-dev.examples b/debian/libfuse3-dev.examples
new file mode 100644
index 0000000..5dc4562
--- /dev/null
+++ b/debian/libfuse3-dev.examples
@@ -0,0 +1,4 @@
+example/*.c
+example/*.h
+
+debian/examples/*
diff --git a/debian/libfuse3-dev.install b/debian/libfuse3-dev.install
new file mode 100644
index 0000000..ef0894d
--- /dev/null
+++ b/debian/libfuse3-dev.install
@@ -0,0 +1,4 @@
+usr/include
+usr/lib/*/pkgconfig
+usr/lib/*/*.so
+usr/lib/*/*.a
diff --git a/debian/local/fuse.conf b/debian/local/fuse.conf
new file mode 100644
index 0000000..ae194a0
--- /dev/null
+++ b/debian/local/fuse.conf
@@ -0,0 +1,8 @@
+# /etc/fuse.conf - Configuration file for Filesystem in Userspace (FUSE)
+
+# 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
diff --git a/debian/local/fuse.hook b/debian/local/fuse.hook
new file mode 100644
index 0000000..a2efefa
--- /dev/null
+++ b/debian/local/fuse.hook
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+set -e
+
+PREREQ=""
+
+prereqs () {
+	echo "${PREREQ}"
+}
+
+case "${1}" in
+	prereqs)
+		prereqs
+		exit 0
+		;;
+esac
+
+. /usr/share/initramfs-tools/hook-functions
+
+copy_exec /sbin/mount.fuse3 /sbin
+
+manual_add_modules fuse
+
+exit 0
diff --git a/debian/local/fuse.kmod b/debian/local/fuse.kmod
new file mode 100644
index 0000000..a517c48
--- /dev/null
+++ b/debian/local/fuse.kmod
@@ -0,0 +1 @@
+fuse
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..d6f8712
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,76 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+SHELL := sh -e
+
+DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+
+ifeq ($(DEB_HOST_ARCH_OS), kfreebsd)
+	DEB_CONFIGURE_EXTRA_FLAGS = -Dudevrulesdir=/lib/udev/rules.d
+endif
+
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+ifeq (,$(filter noudeb, $(DEB_BUILD_PROFILES)))
+  with_udeb = yes
+endif
+
+override_dh_auto_configure:
+	dh_auto_configure -- -Ddefault_library=both $(DEB_CONFIGURE_EXTRA_FLAGS)
+
+override_dh_compress:
+	dh_compress -Xusr/share/doc/libfuse3-dev/examples -XREADME.md
+
+override_dh_fixperms:
+	dh_fixperms
+	chmod a-x debian/libfuse3-dev/usr/share/doc/libfuse3-dev/examples/cuse_client.c
+
+ifeq ($(DEB_BUILD_ARCH),linux)
+	chmod 0755 debian/fuse3/bin/fusermount3
+endif
+
+override_dh_install:
+	# remove unused files
+	rm -f debian/tmp/etc/init.d/fuse3
+	rm -f debian/tmp/lib/udev/rules.d/99-fuse3.rules
+
+	dh_install
+
+	# adjusting /lib for multiarch
+	mkdir -p debian/libfuse3-3/lib/$(DEB_HOST_MULTIARCH)
+	mv debian/libfuse3-3/lib/*.so* debian/libfuse3-3/lib/$(DEB_HOST_MULTIARCH)
+ifeq ($(with_udeb),yes)
+	mkdir -p debian/libfuse3-3-udeb/lib/$(DEB_HOST_MULTIARCH)
+	mv debian/libfuse3-3-udeb/lib/*.so* debian/libfuse3-3-udeb/lib/$(DEB_HOST_MULTIARCH)
+endif
+
+	# adding initramfs-tools integration
+	install -D -m 0755 debian/local/fuse.hook debian/fuse3/usr/share/initramfs-tools/hooks/fuse
+
+override_dh_auto_test:
+ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
+	(cd obj-${DEB_HOST_GNU_TYPE}; python3 -m pytest test/) || true
+endif
+
+override_dh_link:
+	# correcting symlink targets
+	for LIB in debian/tmp/usr/lib/*/*.so; \
+	do \
+		dh_link -plibfuse3-dev lib/$(DEB_HOST_MULTIARCH)/$$(basename $$(readlink $${LIB})) usr/lib/$(DEB_HOST_MULTIARCH)/$$(basename $${LIB}); \
+	done
+
+	dh_link --remaining-packages
+
+override_dh_missing:
+	dh_missing --fail-missing
+
+%:
+	dh ${@}
+
+.PHONY: override_dh_auto_configure override_dh_compress \
+	override_dh_fixperms override_dh_install \
+	override_dh_link override_dh_missing
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644
index 0000000..1faf0fa
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1,3 @@
+# source only, not used nor installed files
+source-is-missing doc/html/jquery.js line 18 is 42959 characters long (>512)
+source-is-missing doc/html/menu.js line 26 is 695 characters long (>512)
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..0b26a50
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,6 @@
+---
+Archive: GitHub
+Bug-Database: https://github.com/libfuse/libfuse/issues
+Bug-Submit: https://github.com/libfuse/libfuse/issues/new
+Repository: https://github.com/libfuse/libfuse.git
+Repository-Browse: https://github.com/libfuse/libfuse
diff --git a/debian/upstream/signing-key.asc b/debian/upstream/signing-key.asc
new file mode 100644
index 0000000..c31f5c4
--- /dev/null
+++ b/debian/upstream/signing-key.asc
@@ -0,0 +1,85 @@
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+Version: GnuPG v1
+
+mQINBFMiefoBEADYa1ZUqR/3YDqaf2UGpd9kNfKAY3TAR+xTcTYBKWTkJEy4cX2b
+ccSEOf7Ef1w0va+WgBwDUAllf+x21UFOWnPnqwb8LJxyg8dN3CRNWf9Z2vRXNOkv
+nAd0hYnA6xsbSLDQV0wpJOTH1zyZejMMWLpZh5SKRxaJAtpsfZ32qppzJhn4jJb0
+v2fC+wJVkUy4mLe6yaHCrrHwlwldyzlwPBNwFfk31mVFYO+COSTGq+RXU2kCdujf
+w648IBYltdWI3D1vTilJd0gt2EDmOqQizfFJLlBTdLieJdrXzL4WWuzvJpC1Yadk
+mqMqnVkpcDxbxw0bK7G0faLigwWkshggaSns0vnpD05jQyMJUYdLwB9lh6u0B9AP
+cCxmPLhgHDdgdlZ+1JHMdfY0gIMSIAP2zkQu4iaTv5Tuc5a03dXE7G6GwZ+A5Ysr
+ovQCot2FY653A0swmAsaCy3A2OcVFXXgmZGLYh/06XA/+WhMSLVIa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yIJM
+sHCNlcJW+QM3r28+mcNc5WiX1r2TdjGZBN3gWv23Vj8hhhS7w4jVWe/7pB/v67J2
+mZozVeUgfWR66HfXmCS+W1OrIELKyZFDNgxxnct9vx6/wCHqX0RRqdTe7FJw0WKF
+vDUhuKU7B/CVSXooF39wgBx7iD7FVTtstPrzYte/VbPZz5nyHQppSFUHW6bFJG0N
+dqpfvQts7RDoWJwS4RPqXUTkCKOSQjVuK+nl24M/awFwxdS0zDrHwd5zOsxhufqL
+4xRsrS5p5QfeUrcNOIYSEF75DLFxRfMHUP/icJcJs8LuTAFMtZqL7kbWok7wdRYm
+O8mez/FvNTRSo85TlUzR3Fc4xZndBJ3P9vDkvWpKPfuXpiBfCuX9TFYSVolnnl2c
+ol5xay+f7P0XVpxLkO+fCw==
+=gOOn
+-----END PGP PUBLIC KEY BLOCK-----
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..987a513
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+opts=pgpsigurlmangle=s/$/.asc/ \
+https://github.com/libfuse/libfuse/releases .*/releases\/download/fuse-v?\d\S*/fuse-v?(\d\S*)@ARCHIVE_EXT@


More information about the Neon-commits mailing list