--- debian/rules 2015-08-20 14:33:53.000000000 +0000 +++ debian/rules.new 2016-08-10 15:05:21.733909732 +0000 @@ -1,9 +1,12 @@ #!/usr/bin/make -f + +DEB_HOST_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) + %: dh $@ --with=autotools_dev,autoreconf override_dh_auto_configure: - dh_auto_configure -- --enable-cifsidmap --enable-cifscreds --with-libcap-ng=auto + dh_auto_configure -- --enable-cifsidmap --enable-cifscreds --with-libcap-ng=auto --enable-pam --with-pamdir=/lib/$(DEB_HOST_MULTIARCH)/security override_dh_fixperms: dh_fixperms --- debian/control 2015-08-20 14:34:03.000000000 +0000 +++ debian/control.new 2016-08-10 15:05:26.221964857 +0000 @@ -10,6 +10,7 @@ libkeyutils-dev, libcap-ng-dev [linux-any], libkrb5-dev, + libpam0g-dev, libtalloc-dev (>= 1.2.0~git20080616), libwbclient-dev (>= 2:3.6.5-3) Standards-Version: 3.9.5