On Thu, May 14, 2020 at 04:56:01PM -0400, Scott Talbert wrote: > Does it make sense to just remove the python-ecrpyptfs bindings? They don't > seem to have any reverse dependencies and popcon is very low.
Patch attached. Cheers, Moritz
diff -Naur ecryptfs-utils-111.orig/debian/control ecryptfs-utils-111/debian/control --- ecryptfs-utils-111.orig/debian/control 2016-12-07 16:07:48.000000000 +0100 +++ ecryptfs-utils-111/debian/control 2020-06-15 22:11:52.217938876 +0200 @@ -4,10 +4,9 @@ Maintainer: Laszlo Boszormenyi (GCS) <g...@debian.org> Uploaders: Filesystems Group <filesystems-de...@lists.alioth.debian.org> Build-Depends: - debhelper (>= 10), dh-autoreconf, dh-python, distro-info, intltool, + debhelper (>= 10), dh-autoreconf, distro-info, intltool, libglib2.0-dev, libgpg-error-dev, libgpgme-dev, libkeyutils-dev, - libnss3-dev, libpam0g-dev, pkg-config, python-dev, - swig, libtspi-dev + libnss3-dev, libpam0g-dev, pkg-config, swig, libtspi-dev Standards-Version: 3.9.8 Homepage: https://launchpad.net/ecryptfs @@ -71,13 +70,3 @@ filesystem for Linux. . This package contains the development files. - -Package: python-ecryptfs -Section: python -Architecture: linux-any -Depends: ${misc:Depends}, ${shlibs:Depends}, ${python:Depends} -Description: ecryptfs cryptographic filesystem (python) - eCryptfs is a POSIX-compliant enterprise-class stacked cryptographic - filesystem for Linux. - . - This package contains the python module. diff -Naur ecryptfs-utils-111.orig/debian/python-ecryptfs.install ecryptfs-utils-111/debian/python-ecryptfs.install --- ecryptfs-utils-111.orig/debian/python-ecryptfs.install 2013-02-09 08:06:09.000000000 +0100 +++ ecryptfs-utils-111/debian/python-ecryptfs.install 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -usr/lib/python* diff -Naur ecryptfs-utils-111.orig/debian/python-ecryptfs.lintian-overrides ecryptfs-utils-111/debian/python-ecryptfs.lintian-overrides --- ecryptfs-utils-111.orig/debian/python-ecryptfs.lintian-overrides 2016-08-18 05:49:05.000000000 +0200 +++ ecryptfs-utils-111/debian/python-ecryptfs.lintian-overrides 1970-01-01 01:00:00.000000000 +0100 @@ -1,4 +0,0 @@ -# false positives -python-ecryptfs: package-has-unnecessary-activation-of-ldconfig-trigger -python-ecryptfs: postinst-has-useless-call-to-ldconfig -python-ecryptfs: postrm-has-useless-call-to-ldconfig diff -Naur ecryptfs-utils-111.orig/debian/rules ecryptfs-utils-111/debian/rules --- ecryptfs-utils-111.orig/debian/rules 2017-03-18 13:32:08.000000000 +0100 +++ ecryptfs-utils-111/debian/rules 2020-06-15 22:11:25.025696576 +0200 @@ -12,7 +12,7 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all %: - dh ${@} --with autoreconf,python2 + dh ${@} --with autoreconf override_dh_autoreconf: dh_autoreconf ./autogen.sh @@ -21,6 +21,7 @@ dh_auto_configure -- \ --enable-gpg --enable-pam --enable-static --enable-tspi \ --disable-gui --disable-openssl --disable-pkcs11-helper \ + --disable-pywrap \ CFLAGS="$(CFLAGS)" override_dh_auto_install: @@ -32,13 +33,8 @@ install -D -m 0644 debian/local/ecryptfs-utils.kmod debian/ecryptfs-utils/lib/modules-load.d/ecryptfs.conf # Removing useless files - find debian/tmp -name "*.pyc" | xargs rm -f - rm -f debian/tmp/usr/lib/*/*.la - rm -f debian/tmp/usr/lib/python*/dist-packages/ecryptfs-utils/*.la - rm -f debian/tmp/usr/lib/python*/dist-packages/ecryptfs-utils/*.a - override_dh_builddeb: dh_builddeb -- -Zxz @@ -50,14 +46,6 @@ override_dh_install: dh_install --fail-missing -override_dh_python2: - dh_python2 --no-guessing-versions - - # Adding missing symlinks - cd debian/python-ecryptfs/usr/lib/python*/dist-packages/ecryptfs-utils && \ - ln -s _libecryptfs.${DEB_HOST_MULTIARCH}.so _libecryptfs.so.0.0 && \ - ln -s _libecryptfs.${DEB_HOST_MULTIARCH}.so _libecryptfs.so.0.0.0 - override_dh_strip: dh_strip --dbg-package=ecryptfs-utils-dbg