| Name |
libmagic1t64 |
| Description |
Recognize the type of data in a file using "magic" numbers - library |
| Version |
1:5.46-5 |
| Package Base |
file |
| Homepage |
https://www.darwinsys.com/file/ |
| Maintainers |
['Christoph Biedl <debian.axhn@manchmal.in-ulm.de>'] |
| Contributors |
[] |
| Distro-repo |
https://git.in-ulm.de/cbiedl/file |
| Sources |
['https://sources.debian.org/data/main/f/file/1:5.46-5/debian/watch', 'https://sources.debian.org/src/file/1:5.46-5/debian/patches/1733423740.FILE5_46-7-gb3384a1f.pr-579-net147-fix-stack-overrun.patch', 'https://sources.debian.org/src/file/1:5.46-5/debian/patches/1733427672.FILE5_46-14-g60b2032b.pr-571-jschleus-some-zip-files-are-misclassified-as-data.patch', 'https://sources.debian.org/src/file/1:5.46-5/debian/patches/1741021322.FILE5_46-55-gff9ba253.use-unsigned-byte-christoph-biedl.patch', 'https://sources.debian.org/src/file/1:5.46-5/debian/patches/1742485595.FILE5_46-68-g5089651f.fix-openstreetmap-christoph-biedl.patch', 'https://sources.debian.org/src/file/1:5.46-5/debian/patches/1742492756.FILE5_46-69-g280e121f.remove-superfluous-christoph-biedl.patch', 'https://sources.debian.org/src/file/1:5.46-5/debian/patches/1742492810.FILE5_46-70-g4e2c7d3d.fix-msdosdate-endianess.patch', 'https://sources.debian.org/src/file/1:5.46-5/debian/patches/local.don-t-include-libs-in-build.patch', 'https://sources.debian.org/src/file/1:5.46-5/debian/patches/local.extra-magic.patch', 'https://sources.debian.org/src/file/1:5.46-5/debian/patches/local.manpage-seccomp-is-disabled.patch', 'https://sources.debian.org/src/file/1:5.46-5/debian/patches/local.support-local-definitions-in-etc-magic.patch', 'https://sources.debian.org/src/file/1:5.46-5/debian/patches/series', 'https://sources.debian.org/src/file/1:5.46-5/debian/patches/upstream.disable.att3b.patch', 'https://sources.debian.org/src/file/1:5.46-5/debian/patches/upstream.stricter-postscript-magic.patch'] |
| Dependencies |
['libbz2-1.0', 'libc6', 'liblzma5', 'libmagic-mgc', 'zlib1g'] |
| Optional-Dependencies |
['file'] |
| Build-Dependencies |
['debhelper-compat', 'dpkg-dev', 'libbz2-dev', 'liblzma-dev', 'zlib1g-dev'] |
| Provides |
[] |
| Builddate |
|
| Architecture |
amd64 |
| Distro-Version |
trixie |
| Licenses |
[] |
| Hash |
53f653873216b135570b42c423ea93825c008ac464780b4578e80ee424237a4e |
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# HOWMANY is the number of bytes looked at by file
CFLAGS += -DHOWMANY=0x18000
ifeq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
export PATH := $(CURDIR)/debian/run-file:$(PATH)
export CURDIR
endif
%:
dh $@
override_dh_auto_configure:
dh_auto_configure -- \
--prefix=/usr \
--datadir=\$${prefix}/share \
--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
--mandir=\$${prefix}/share/man \
--enable-fsect-man5 \
--enable-static \
--disable-libseccomp \
--disable-silent-rules CFLAGS="$(CFLAGS)"
override_dh_auto_install:
dh_auto_install
mv debian/tmp/usr/share/misc debian/tmp/usr/share/file
install -D -m 0644 magic/magic.local debian/tmp/etc/magic
install -D -m 0644 magic/magic.local debian/tmp/etc/magic.mime
# Install additional headers
mkdir -p debian/libmagic-dev/usr/include/file
cp src/file.h debian/libmagic-dev/usr/include/file
# Remove useless files
rm -f debian/tmp/usr/lib/*/*.la
override_dh_missing:
dh_missing --fail-missing
override_dh_shlibdeps:
dh_shlibdeps -Llibmagic1 -ldebian/libmagic1/usr/lib