Name libarchive13t64
Description Multi-format archive and compression library (shared library)
Version 3.7.4-4
Package Base libarchive
Homepage https://www.libarchive.org/
Maintainers ['Peter Pentchev <roam@debian.org>']
Contributors []
Distro-repo https://salsa.debian.org/debian/libarchive
Sources ['https://sources.debian.org/data/main/liba/libarchive/3.7.4-4/debian/watch', 'https://sources.debian.org/src/libarchive/3.7.4-4/debian/patches/CVE-2025-1632-25724.patch', 'https://sources.debian.org/src/libarchive/3.7.4-4/debian/patches/CVE-2025-5914.patch', 'https://sources.debian.org/src/libarchive/3.7.4-4/debian/patches/CVE-2025-5915.patch', 'https://sources.debian.org/src/libarchive/3.7.4-4/debian/patches/CVE-2025-5916.patch', 'https://sources.debian.org/src/libarchive/3.7.4-4/debian/patches/CVE-2025-5917.patch', 'https://sources.debian.org/src/libarchive/3.7.4-4/debian/patches/fix-OOB-in-rar-audio-filter-2149.patch', 'https://sources.debian.org/src/libarchive/3.7.4-4/debian/patches/fix-OOB-in-rar-delta-filter-2148.patch', 'https://sources.debian.org/src/libarchive/3.7.4-4/debian/patches/rar4-reader-protect-copy_from_lzss_window_to_unp-217.patch', 'https://sources.debian.org/src/libarchive/3.7.4-4/debian/patches/series', 'https://sources.debian.org/src/libarchive/3.7.4-4/debian/patches/typos.patch']
Dependencies ['libacl1', 'libbz2-1.0', 'libc6', 'liblz4-1', 'liblzma5', 'libnettle8t64', 'libxml2', 'libzstd1', 'zlib1g']
Optional-Dependencies ['lrzip']
Build-Dependencies ['debhelper', 'dh-package-notes', 'dpkg-build-api', 'dpkg-dev', 'libacl1-dev [!hurd-any]', 'libbz2-dev', 'libext2fs-dev', 'liblz4-dev', 'liblzma-dev', 'libxml2-dev', 'libzstd-dev', 'locales <!nocheck> | locales-all <!nocheck>', 'nettle-dev', 'pkgconf', 'sharutils <!nocheck>', 'zlib1g-dev']
Provides []
Builddate
Architecture amd64
Distro-Version trixie
Licenses []
Hash 5a0b578fa9f40d0aef522dc0c12a72dbd1a3c0c54551bf7d595319682d337e25
#!/usr/bin/make -f

# Aim for the top, adapt if anything should break on the buildds.
DEB_BUILD_MAINT_OPTIONS=	hardening=+all
export DEB_BUILD_MAINT_OPTIONS

include /usr/share/dpkg/default.mk

include /usr/share/debhelper/dh_package_notes/package-notes.mk

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --without-openssl --with-nettle \
		--enable-bsdtar=shared --enable-bsdcpio=shared \
		--enable-bsdcat=shared --enable-bsdunzip=shared

override_dh_autoreconf:
	dh_autoreconf build/autogen.sh

override_dh_makeshlibs:
	dh_makeshlibs -- -c4

execute_before_dh_install:
	find debian -name '*.la' -delete

override_dh_auto_test:
ifneq (,$(filter check,$(DEB_BUILD_OPTIONS)))
ifneq (,$(shell locale -a | grep en_US.utf8))
	_VERBOSITY_LEVEL=1 dh_auto_test --parallel
else
	mkdir -p tmp-locales
	localedef -i /usr/share/i18n/locales/en_US -c -f UTF-8 \
		-A /usr/share/locale/locale.alias tmp-locales/en_US.UTF-8
	_VERBOSITY_LEVEL=1 LOCPATH=$(CURDIR)/tmp-locales dh_auto_test --parallel
	rm -rf tmp-locales
endif
endif

execute_after_dh_installchangelogs:
	set -e; for p in $$(dh_listpackages); do \
		install -m 644 NEWS debian/$$p/usr/share/doc/$$p/; \
	done