Package: zangband
Version: 1:2.7.5pre1-4
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package modifies some of teh
files it ships.

debsums reports modification of the following files,
from the attached log (scroll to the bottom...):

  debsums: missing file /var/games/zangband/data/misc.raw (from zangband 
package)
  debsums: missing file /var/games/zangband/data/k_info.raw (from zangband 
package)
  debsums: missing file /var/games/zangband/data/v_info.raw (from zangband 
package)
  debsums: missing file /var/games/zangband/data/f_info.raw (from zangband 
package)
  debsums: missing file /var/games/zangband/data/e_info.raw (from zangband 
package)
  debsums: missing file /var/games/zangband/data/r_info.raw (from zangband 
package)
  debsums: missing file /var/games/zangband/data/a_info.raw (from zangband 
package)

There is no need to ship these files if they get reinitialized in the
postinst script anyway.

Looking at the postinst and the file list in more detail, I also noticed
that the score file is overwritten with an empty file on every
upgrade/reinstallation.

Also static_datadir is set wrongly to /usr/share/games/zangband which
makes the postinst not do its job properly (it just touches a file
called '*.raw' - yes, an asterisk in the filename).
Probably 

  static_datadir=/usr/share/games/zangband/lib

would be correct.

cheers,

Andreas

Attachment: zangband_1:2.7.5pre1-4.log.gz
Description: GNU Zip compressed data

Reply via email to