Control: tag -1 +patch Hi Andreas,
I went through the log and prepared an NMU for fixing the policy issue, as mentioned in Debian policy document I symlinked the sample folder under /usr/share/doc/xmail to /usr/share/xmail and in the maint script replaced the path to use /usr/share/xmail instead. I wanted to test this scenario on piuparts but failed to do so. I tried piuparts --apt xmail and it did not reproduced the error you attached in the log instead I found on purging it complains about unowned /root/.rnd file so is this log I found on piuparts.d.o[1] I'm getting this same error now on the new nmu package I created. I did a quick grep on source and also used find to find if package has any .rnd file but couldn't find one. Do you have any hint on what we are looking at here? In any case I'm attaching the debdiff of my nmu fixing the issue you mentioned with this bug report. Also ccing my AM intrigeri as I'm doing this as part of my NM process. PS: Also this is first time I'm attempting to do an NMU so if there is any issues please let me know. [1] https://piuparts.debian.org/sid/bugged/xmail_1.27-1.1+b1.log Cheers, -- Vasudev Kamath http://copyninja.info Connect on ~friendica: copyninja@{frndk.de | vasudev.homelinux.net} IRC nick: copyninja | vasudev {irc.oftc.net | irc.freenode.net} GPG Key: C517 C25D E408 759D 98A4 C96B 6C8F 74AE 8770 0B7E
diff -u xmail-1.27/debian/changelog xmail-1.27/debian/changelog --- xmail-1.27/debian/changelog +++ xmail-1.27/debian/changelog @@ -1,3 +1,13 @@ +xmail (1.27-1.2) unstable; urgency=low + + * Non-maintainer upload. + * Symlink contents of /usr/share/doc/xmail/sample to /usr/share/xmail/ + in rules file and use the file from /usr/share/xmail/ in maintainer + script. + Closes: bug#710311. Thanks to Andreas Beckmann. + + -- Vasudev Kamath <kamathvasu...@gmail.com> Sat, 21 Sep 2013 14:01:46 +0530 + xmail (1.27-1.1) unstable; urgency=low * Non-maintainer upload. diff -u xmail-1.27/debian/rules xmail-1.27/debian/rules --- xmail-1.27/debian/rules +++ xmail-1.27/debian/rules @@ -63,7 +63,6 @@ install-doc: build # installing docs in $(docdir) install -m 0444 docs/* $(docdir) - DESTDIR=$(CURDIR)/debian/xmail @@ -85,6 +84,9 @@ cp MailRoot/*.tab $(DESTDIR)/usr/share/doc/xmail/sample/ cp MailRoot/dnsroots $(DESTDIR)/usr/share/doc/xmail/sample/ + # symlink the sample cfgs to /usr/share/xmail + dh_link /usr/share/doc/xmail/sample /usr/share/xmail/sample + touch $(DESTDIR)/etc/xmail/cmd_line #Enable Logging echo "Md -Pl -Sl -Fl -Cl -Ll" > $(DESTDIR)/etc/xmail/cmd_line diff -u xmail-1.27/debian/postinst xmail-1.27/debian/postinst --- xmail-1.27/debian/postinst +++ xmail-1.27/debian/postinst @@ -15,8 +15,8 @@ if [ -z "$2" ]; then #we are installing for the first time - cp /usr/share/doc/xmail/sample/*.tab /etc/xmail - cp /usr/share/doc/xmail/sample/dnsroots /etc/xmail + cp /usr/share/xmail/sample/*.tab /etc/xmail + cp /usr/share/xmail/sample/dnsroots /etc/xmail #make links to xmail config files ln -s /etc/xmail/*.tab /var/lib/xmail/ ln -s /etc/xmail/dnsroots /var/lib/xmail
signature.asc
Description: Digital signature