Followup-For: Bug #775052 Hi Gerrit,
attached is a patch that moves the default aliases out of /usr/share/doc. I verified that this fixes the serious problems discovered by piuparts. There are more issues still (leaving around created files, package should be converted to debhelper for easier maintenance, ...) but these should be addressed after jessie was released. I plan to do an undelayed NMU over the weekend, but of course you are welcome to beat me to it :-) Andreas
Binary files /tmp/noBREezvmR/qmail-run-2.0.2/.git/index and /tmp/S4FK4xWeeU/qmail-run-2.0.2+nmu1/.git/index differ diff -Nru qmail-run-2.0.2/debian/changelog qmail-run-2.0.2+nmu1/debian/changelog --- qmail-run-2.0.2/debian/changelog 2010-03-09 01:26:21.000000000 +0100 +++ qmail-run-2.0.2+nmu1/debian/changelog 2015-02-20 09:23:04.000000000 +0100 @@ -1,3 +1,12 @@ +qmail-run (2.0.2+nmu1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Move /usr/share/doc/qmail-run/examples/aliases to + /usr/share/qmail-run/default/aliases as it is used in the postinst. + (Closes: #775052) + + -- Andreas Beckmann <[email protected]> Fri, 20 Feb 2015 09:20:03 +0100 + qmail-run (2.0.2) unstable; urgency=low * Makefile: no longer install the (dummy) newaliases program. diff -Nru qmail-run-2.0.2/debian/qmail-run.examples qmail-run-2.0.2+nmu1/debian/qmail-run.examples --- qmail-run-2.0.2/debian/qmail-run.examples 2010-03-04 22:29:55.000000000 +0100 +++ qmail-run-2.0.2+nmu1/debian/qmail-run.examples 2015-02-20 03:48:12.000000000 +0100 @@ -1,3 +1,2 @@ -aliases qmail-rc defaultdelivery diff -Nru qmail-run-2.0.2/debian/qmail-run.postinst qmail-run-2.0.2+nmu1/debian/qmail-run.postinst --- qmail-run-2.0.2/debian/qmail-run.postinst 2010-03-09 00:43:35.000000000 +0100 +++ qmail-run-2.0.2+nmu1/debian/qmail-run.postinst 2015-02-20 03:46:46.000000000 +0100 @@ -19,7 +19,7 @@ if test ! -f /etc/aliases; then echo "creating default /etc/aliases..." - cp /usr/share/doc/qmail-run/examples/aliases /etc/aliases + cp /usr/share/qmail-run/default/aliases /etc/aliases fi if test ! -r /etc/mailname; then MAILNAME=`hostname -f` diff -Nru qmail-run-2.0.2/debian/rules qmail-run-2.0.2+nmu1/debian/rules --- qmail-run-2.0.2/debian/rules 2010-03-09 01:27:20.000000000 +0100 +++ qmail-run-2.0.2+nmu1/debian/rules 2015-02-20 09:31:37.000000000 +0100 @@ -29,6 +29,8 @@ ln -s /etc/qmail/qmail-send '$(DIR)'/var/lib/qmail/supervise/ ln -s /etc/qmail/qmail-smtpd '$(DIR)'/var/lib/qmail/supervise/ ln -s /etc/qmail/qmail-verify '$(DIR)'/var/lib/qmail/supervise/ + install -d -m0755 '$(DIR)'/usr/share/qmail-run/default + install -m0644 aliases '$(DIR)'/usr/share/qmail-run/default binary-arch:

