| Name |
libmagic1t64 |
| Description |
Recognize the type of data in a file using "magic" numbers - library |
| Version |
1:5.45-3build1 |
| Package Base |
file |
| Homepage |
https://www.darwinsys.com/file/ |
| Maintainers |
['Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>'] |
| Contributors |
[] |
| Distro-repo |
https://git.launchpad.net/ubuntu/+source/file/tree/?h=ubuntu/noble |
| Sources |
['https://git.launchpad.net/ubuntu/+source/file/plain/debian/patches/../?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/file/plain/debian/patches/1690555105.FILE5_45-1-g218fdf81.deal-with-32-bit-time-t.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/file/plain/debian/patches/1706463645.FILE5_45-79-ged96f0ee.recognize-unified-diff-output-joerg-jenderek.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/file/plain/debian/patches/local.don-t-include-libs-in-build.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/file/plain/debian/patches/local.extra-magic.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/file/plain/debian/patches/local.manpage-seccomp-is-disabled.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/file/plain/debian/patches/local.support-local-definitions-in-etc-magic.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/file/plain/debian/patches/series?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/file/plain/debian/patches/upstream.disable.att3b.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libmagic1t64/plain/debian/watch?h=ubuntu/noble'] |
| 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 |
noble |
| Licenses |
[] |
| Hash |
fc2319f342c437e044ccf854e0c95bd472a7eb0b9363e1f76ad1524ab04df68e |
#!/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