=== modified file 'Makefile' --- Makefile 2016-03-13 22:00:48 +0000 +++ Makefile 2016-03-19 03:19:04 +0000 @@ -405,7 +405,7 @@ install --mode=u=rwxs,go=rx \ --target-directory=$(LIBDIR)/mandos/plugins.d \ plugins.d/plymouth - install --mode=u=rwxs,go=rx \ + install --mode=u=rwx,go=rx \ --target-directory=$(LIBDIR)/mandos/plugin-helpers \ plugin-helpers/mandos-client-iprouteadddel install initramfs-tools-hook \ === modified file 'debian/mandos-client.postinst' --- debian/mandos-client.postinst 2015-07-12 02:08:25 +0000 +++ debian/mandos-client.postinst 2016-03-19 03:19:04 +0000 @@ -90,6 +90,13 @@ create_key "$@" create_dh_params "$@" || : update_initramfs "$@" + if dpkg --compare-versions "$2" lt-nl "1.7.7-1"; then + PLUGINHELPERDIR=/usr/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH 2>/dev/null)/mandos/plugin-helpers + if ! dpkg-statoverride --list "$PLUGINHELPERDIR" \ + >/dev/null 2>&1; then + chmod u=rwx,go= -- "$PLUGINHELPERDIR" + fi + fi ;; abort-upgrade|abort-deconfigure|abort-remove) ;; === modified file 'debian/rules' --- debian/rules 2015-12-03 21:06:34 +0000 +++ debian/rules 2016-03-19 03:19:04 +0000 @@ -23,6 +23,7 @@ dh_fixperms --exclude etc/keys/mandos \ --exclude etc/mandos/plugins.d \ --exclude usr/lib/$(shell dpkg-architecture -qDEB_HOST_MULTIARCH 2>/dev/null)/mandos/plugins.d \ + --exclude usr/lib/$(shell dpkg-architecture -qDEB_HOST_MULTIARCH 2>/dev/null)/mandos/plugin-helpers \ --exclude usr/share/doc/mandos-client/examples/network-hooks.d chmod --recursive g-w -- \ "$(CURDIR)/debian/mandos-client/usr/share/doc/mandos-client/examples/network-hooks.d"