Name fuse3
Description Filesystem in Userspace (3.x version)
Version 3.17.2-3
Package Base
Homepage https://github.com/libfuse/libfuse/wiki
Maintainers ['Laszlo Boszormenyi (GCS) <gcs@debian.org>']
Contributors []
Distro-repo https://sources.debian.org/src/fuse3/3.17.2-3/
Sources ['https://sources.debian.org/data/main/f/fuse3/3.17.2-3/debian/watch', 'https://sources.debian.org/src/fuse3/3.17.2-3/debian/patches/Add-container_of-and-ROUND_UP-macros.patch', 'https://sources.debian.org/src/fuse3/3.17.2-3/debian/patches/Fix-fuse_apply_conn_info_opts.patch', 'https://sources.debian.org/src/fuse3/3.17.2-3/debian/patches/Fix-the-close_range-ifdef.patch', 'https://sources.debian.org/src/fuse3/3.17.2-3/debian/patches/Fix_meson_function_tests.patch', 'https://sources.debian.org/src/fuse3/3.17.2-3/debian/patches/Make_conn-want-want_ext_conversion_non_fatal.patch', 'https://sources.debian.org/src/fuse3/3.17.2-3/debian/patches/memfs_ll-fix-deadlock.patch', 'https://sources.debian.org/src/fuse3/3.17.2-3/debian/patches/meson.build-make-special_funcs-check-more-reliable.patch', 'https://sources.debian.org/src/fuse3/3.17.2-3/debian/patches/series']
Dependencies ['adduser', 'libc6', 'libfuse3-4', 'mount', 'sed']
Optional-Dependencies []
Build-Dependencies ['debhelper-compat', 'pkgconf', 'meson', 'systemd-dev', 'python3 <!nocheck>', 'python3-pytest <!nocheck>']
Provides []
Builddate
Architecture amd64
Distro-Version trixie
Licenses []
Hash 4866550a235224b538a66fcaf95c8a796b6968d21c6f231086e142350b302eea
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

SHELL := sh -e

include /usr/share/dpkg/architecture.mk

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

ifneq (,$(filter $(DEB_HOST_ARCH), arc armel m68k mips mipsel powerpc sh3 sh4 sparc))
   export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed -latomic
endif

ifeq (,$(filter noudeb, $(DEB_BUILD_PROFILES)))
  with_udeb = yes
endif

override_dh_auto_configure-arch:
	dh_auto_configure -- -Ddefault_library=both -Duseroot=false \
		$(DEB_CONFIGURE_EXTRA_FLAGS)

override_dh_auto_configure-indep:
	@echo Do not configure indep

override_dh_auto_build-indep:
	@echo Do not build indep

override_dh_auto_install-indep:
	@echo Do not install indep

override_dh_compress:
	dh_compress -Xusr/share/doc/libfuse3-dev/examples -XREADME.md

override_dh_fixperms-arch:
	dh_fixperms --arch
ifeq ($(DEB_HOST_ARCH),linux)
	chmod 0755 debian/fuse3/bin/fusermount3
endif

execute_after_dh_install:
	# adding initramfs-tools integration
	install -D -m 0755 debian/local/fuse.hook debian/fuse3/usr/share/initramfs-tools/hooks/fuse

override_dh_auto_test-arch:
ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
ifeq (,$(findstring $(DEB_BUILD_ARCH),powerpc ppc64 sparc64 s390x hppa))
		(cd obj-${DEB_HOST_GNU_TYPE}; python3 -m pytest test/) \
			|| true
endif
endif

override_dh_auto_test-indep:
	@echo Do not test indep

override_dh_missing:
	dh_missing --fail-missing

%:
	dh ${@} --buildsystem=meson

.PHONY: override_dh_auto_configure-arch override_dh_auto_configure-indep \
	override_dh_auto_build-indep override_dh_auto_install-indep \
	override_dh_compress override_dh_fixperms-arch \
	execute_after_dh_install \
	override_dh_auto_test-arch override_dh_auto_test-indep \
	override_dh_missing