diff -Nru acl-2.2.52/debian/acl.postinst acl-2.2.52/debian/acl.postinst --- acl-2.2.52/debian/acl.postinst 1970-01-01 00:00:00.000000000 +0000 +++ acl-2.2.52/debian/acl.postinst 2016-01-24 10:14:49.000000000 +0000 @@ -0,0 +1,12 @@ +#!/bin/sh +set -e + +if [ "$1" = 'configure' ]; then + for file in chacl getfacl setfacl; do + if [ ! -e /usr/bin/$file ]; then + ln -s /bin/$file /usr/bin/$file + fi + done +fi + +#DEBHELPER# diff -Nru acl-2.2.52/debian/acl.postrm acl-2.2.52/debian/acl.postrm --- acl-2.2.52/debian/acl.postrm 1970-01-01 00:00:00.000000000 +0000 +++ acl-2.2.52/debian/acl.postrm 2016-01-24 10:14:49.000000000 +0000 @@ -0,0 +1,12 @@ +#!/bin/sh +set -e + +if [ "$1" = 'remove' ]; then + for file in chacl getfacl setfacl; do + if [ -L /usr/bin/$file ]; then + rm /usr/bin/$file + fi + done +fi + +#DEBHELPER# diff -Nru acl-2.2.52/debian/changelog acl-2.2.52/debian/changelog --- acl-2.2.52/debian/changelog 2014-09-08 06:30:04.000000000 +0000 +++ acl-2.2.52/debian/changelog 2016-02-06 22:11:14.000000000 +0000 @@ -1,3 +1,12 @@ +acl (2.2.52-3) unstable; urgency=medium + + [ Marco d'Itri ] + * Non-maintainer upload. + * Create the /usr/bin/*acl compatibility symlinks in postinst to support + merged /usr systems. (Closes: #767925) + + -- Anibal Monsalve Salazar Sat, 06 Feb 2016 22:10:44 +0000 + acl (2.2.52-2) unstable; urgency=medium * ACK NMU. diff -Nru acl-2.2.52/debian/patches/10-590240-move-binaries-to-root-bin-dir.patch acl-2.2.52/debian/patches/10-590240-move-binaries-to-root-bin-dir.patch --- acl-2.2.52/debian/patches/10-590240-move-binaries-to-root-bin-dir.patch 2014-09-08 06:17:55.000000000 +0000 +++ acl-2.2.52/debian/patches/10-590240-move-binaries-to-root-bin-dir.patch 2016-01-24 10:14:49.000000000 +0000 @@ -4,7 +4,7 @@ =================================================================== --- acl-2.2.52.orig/getfacl/Makefile +++ acl-2.2.52/getfacl/Makefile -@@ -32,5 +32,11 @@ include $(BUILDRULES) +@@ -32,5 +32,10 @@ include $(BUILDRULES) install: default $(INSTALL) -m 755 -d $(PKG_BIN_DIR) @@ -13,14 +13,13 @@ +else + $(INSTALL) -m 755 -d $(PKG_SBIN_DIR) + $(LTINSTALL) -m 755 $(LTCOMMAND) $(PKG_SBIN_DIR) -+ $(LTINSTALL) -S $(PKG_SBIN_DIR)/$(LTCOMMAND) $(PKG_BIN_DIR)/$(LTCOMMAND) +endif install-dev install-lib: Index: acl-2.2.52/setfacl/Makefile =================================================================== --- acl-2.2.52.orig/setfacl/Makefile +++ acl-2.2.52/setfacl/Makefile -@@ -32,5 +32,11 @@ include $(BUILDRULES) +@@ -32,5 +32,10 @@ include $(BUILDRULES) install: default $(INSTALL) -m 755 -d $(PKG_BIN_DIR) @@ -29,14 +28,13 @@ +else + $(INSTALL) -m 755 -d $(PKG_SBIN_DIR) + $(LTINSTALL) -m 755 $(LTCOMMAND) $(PKG_SBIN_DIR) -+ $(LTINSTALL) -S $(PKG_SBIN_DIR)/$(LTCOMMAND) $(PKG_BIN_DIR)/$(LTCOMMAND) +endif install-dev install-lib: Index: acl-2.2.52/chacl/Makefile =================================================================== --- acl-2.2.52.orig/chacl/Makefile +++ acl-2.2.52/chacl/Makefile -@@ -31,5 +31,11 @@ include $(BUILDRULES) +@@ -31,5 +31,10 @@ include $(BUILDRULES) install: default $(INSTALL) -m 755 -d $(PKG_BIN_DIR) @@ -45,6 +43,5 @@ +else + $(INSTALL) -m 755 -d $(PKG_SBIN_DIR) + $(LTINSTALL) -m 755 $(LTCOMMAND) $(PKG_SBIN_DIR) -+ $(LTINSTALL) -S $(PKG_SBIN_DIR)/$(LTCOMMAND) $(PKG_BIN_DIR)/$(LTCOMMAND) +endif install-dev install-lib: