| Name |
ntfs-3g |
| Description |
read/write NTFS driver for FUSE |
| Version |
1:2022.10.3-1.2ubuntu3 |
| Package Base |
|
| Homepage |
https://github.com/tuxera/ntfs-3g/wiki |
| Maintainers |
['Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>'] |
| Contributors |
[] |
| Distro-repo |
https://git.launchpad.net/ubuntu/+source/ntfs-3g/tree/?h=ubuntu/noble |
| Sources |
['https://git.launchpad.net/ubuntu/+source/ntfs-3g/plain/debian/watch?h=ubuntu/noble'] |
| Dependencies |
['fuse3', 'libc6', 'libgcrypt20', 'libgnutls30t64', 'libntfs-3g89t64'] |
| Optional-Dependencies |
[] |
| Build-Dependencies |
['dpkg-dev', 'debhelper-compat', 'chrpath', 'libgcrypt20-dev', 'libgpg-error-dev', 'libgnutls28-dev', 'pkg-config'] |
| Provides |
[] |
| Builddate |
|
| Architecture |
amd64 |
| Distro-Version |
noble |
| Licenses |
[] |
| Hash |
440c02fce744c0ff808772aa4b68b852c82d3a090cd0e9f86a5fe53aaa8867ce |
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
SHELL := sh -e
DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
SONAME = $(shell objdump -p debian/tmp/lib/*/libntfs-3g.so.*.* | awk -Fso. '/SONAME/ { print $$2 }')
ifeq ($(DEB_HOST_ARCH_OS), linux)
CONFIGURE_FLAGS = --enable-posix-acls
endif
upstream:
lynx -dump http://jp-andre.pagesperso-orange.fr/changelog.html > debian/local/changelog
%:
dh ${@}
override_dh_auto_configure:
dh_auto_configure -- --exec-prefix=/ --enable-crypto \
--enable-extras --enable-xattr-mappings \
--enable-quarantined --disable-ldconfig \
--enable-mount-helper --with-fuse=internal \
$(CONFIGURE_FLAGS)
override_dh_auto_install:
dh_auto_install
# moving shlib to /
mkdir -p debian/tmp/lib/$(DEB_HOST_MULTIARCH)
mv debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/*.so.* debian/tmp/lib/$(DEB_HOST_MULTIARCH)
# moving ntfsdecrypt, depends on /usr
mkdir -p debian/tmp/usr/bin
mv debian/tmp/bin/ntfsdecrypt debian/tmp/usr/bin
# adding initramfs-tools integration
install -D -m 0755 debian/local/ntfs-3g.hook debian/ntfs-3g/usr/share/initramfs-tools/hooks/ntfs_3g
install -D -m 0755 debian/local/ntfs-3g.local-premount debian/ntfs-3g/usr/share/initramfs-tools/scripts/local-premount/ntfs_3g
install -D -m 0755 debian/local/ntfs-3g.local-bottom debian/ntfs-3g/usr/share/initramfs-tools/scripts/local-bottom/ntfs_3g
# adding hal policy
# not used by Debian anymore
#install -D -m 0644 debian/local/25-ntfs-3g-policy.fdi debian/ntfs-3g/usr/share/hal/fdi/policy/10osvendor/25-ntfs-3g-policy.fdi
# removing unused files
rm -f debian/tmp/usr/lib/*/*.la
# removing rpath
for _PROGRAM in \
bin/lowntfs-3g \
bin/ntfs-3g \
bin/ntfs-3g.probe \
bin/ntfscat \
bin/ntfscluster \
bin/ntfscmp \
bin/ntfsck \
bin/ntfsdump_logfile \
bin/ntfsfix \
bin/ntfsinfo \
bin/ntfsls \
bin/ntfsmftalloc \
bin/ntfsmove \
bin/ntfssecaudit \
bin/ntfstruncate \
bin/ntfsusermap \
bin/ntfswipe \
sbin/mkntfs \
sbin/ntfsclone \
sbin/ntfscp \
sbin/ntfslabel \
sbin/ntfsresize \
sbin/ntfsundelete \
usr/bin/ntfsdecrypt; \
do \
echo $${_PROGRAM}; \
chrpath --delete debian/tmp/$${_PROGRAM}; \
done
# moving undocumented programs to ntfs-3g-dev
mkdir -p debian/ntfs-3g-dev/usr/bin
mv debian/tmp/bin/ntfsdump_logfile debian/ntfs-3g-dev/usr/bin
mv debian/tmp/bin/ntfsmftalloc debian/ntfs-3g-dev/usr/bin
mv debian/tmp/bin/ntfsck debian/ntfs-3g-dev/usr/bin
#override_dh_gencontrol:
# dh_gencontrol -- -Vntfs-3g:Provides="libntfs-3g$(SONAME)" -Vntfs-3g-udeb:Provides="libntfs-3g-udeb$(SONAME)"
override_dh_installchangelogs:
dh_installchangelogs debian/local/changelog
override_dh_link:
rm -rf debian/ntfs-3g-dev/usr/share/doc
# correcting symlink target
dh_link -pntfs-3g-dev lib/$(DEB_HOST_MULTIARCH)/$$(basename $$(readlink debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libntfs-3g.so)) usr/lib/$(DEB_HOST_MULTIARCH)/libntfs-3g.so
dh_link --remaining-packages
override_dh_makeshlibs:
dh_makeshlibs --add-udeb=ntfs-3g-udeb -Vlibntfs-3g$(SONAME)t64
.PHONY: override_dh_auto_configure override_dh_auto_install \
override_dh_installchangelogs \
override_dh_link override_dh_makeshlibs