Bug#710665: onak: postinst uses /usr/share/doc content (Policy 12.3): /usr/share/doc/onak/noodles.key.gz

2013-07-07 Thread Jonathan McDowell
tags 710665 pending
thanks

On Sat, Jun 01, 2013 at 01:43:51PM +0200, Andreas Beckmann wrote:
> a test with piuparts revealed that your package uses files from
> /usr/share/doc in its maintainer scripts which is a violation of
> Policy 12.3: "Packages must not require the existence of any files in
> /usr/share/doc/ in order to function."
> http://www.debian.org/doc/debian-policy/ch-docs.html#s12.3
> 
> These files must be moved to /usr/share/$PACKAGE and may be symlinked
> from /usr/share/doc/$PACKAGE.

This has been outstanding for too long; apologies. I plan to tag a new
upstream onak release in the next week or two and will fix this as part
of the upload of that to Debian.

J.

-- 
I don't bite. Well, that's wrong. I do bite.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#710665: onak: postinst uses /usr/share/doc content (Policy 12.3): /usr/share/doc/onak/noodles.key.gz

2013-06-01 Thread Andreas Beckmann
Package: onak
Version: 0.4.1-1
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

a test with piuparts revealed that your package uses files from
/usr/share/doc in its maintainer scripts which is a violation of
Policy 12.3: "Packages must not require the existence of any files in
/usr/share/doc/ in order to function."
http://www.debian.org/doc/debian-policy/ch-docs.html#s12.3

These files must be moved to /usr/share/$PACKAGE and may be symlinked
from /usr/share/doc/$PACKAGE.

This piuparts test prevents the installation of (most) files into
/usr/share/doc with 'dpkg --path-exclude=...'.

>From the attached log (scroll to the bottom...):

  Selecting previously unselected package onak.
  (Reading database ... 8220 files and directories currently installed.)
  Unpacking onak (from .../onak_0.4.1-1_amd64.deb) ...
  Setting up onak (0.4.1-1) ...
  Adding system user `onak' (UID 101) ...
  Adding new user `onak' (UID 101) with group `nogroup' ...
  Not creating home directory `/var/lib/onak'.
  gzip: /usr/share/doc/onak/noodles.key.gz: No such file or directory
  dpkg: error processing onak (--configure):
   subprocess installed post-installation script returned error exit status 1
  Errors were encountered while processing:
   onak


Cheers,

Andreas


onak_0.4.1-1.log.gz
Description: GNU Zip compressed data