Closed koppi closed 9 years ago
we must change the install path for linux and bsd to: /usr/bin/cammill, /usr/share/cammill/
all other errors/warnings are fixed
I still see some other warnings related to file ownership and access control flags:
$ lintian -i -I --show-overrides packages/cammill_0.9_amd64.deb
E: cammill: non-etc-file-marked-as-conffile opt/cammill/material.tbl
N:
N: A file installed in some other directory than /etc is marked as
N: conffile. A conffile typically implies a configuration file, and Policy
N: mandates such files to be in /etc.
N:
N: Refer to Debian Policy Manual section 10.7.2 (Location) for details.
N:
N: Severity: serious, Certainty: possible
N:
N: Check: conffiles, Type: binary
N:
E: cammill: non-etc-file-marked-as-conffile opt/cammill/tool.tbl
E: cammill: non-etc-file-marked-as-conffile opt/cammill/postprocessor.lua
E: cammill: non-etc-file-marked-as-conffile opt/cammill/posts/EMC.scpost
E: cammill: non-etc-file-marked-as-conffile opt/cammill/posts/GRBL.scpost
E: cammill: control-file-has-bad-owner conffiles koppi/koppi != root/root
N:
N: All control files should be owned by root/root.
N:
N: Refer to Debian Policy Manual section 10.9 (Permissions and owners) for
N: details.
N:
N: Severity: serious, Certainty: certain
N:
N: Check: control-files, Type: binary, udeb
N:
E: cammill: control-file-has-bad-owner md5sums koppi/koppi != root/root
W: cammill: description-contains-homepage
N:
N: The extended description contains a "Homepage:" pseudo-header following
N: the old Developer's Reference recommendation. As of 1.14.6, dpkg now
N: supports Homepage: as a regular field in debian/control. This header
N: should be moved from the extended description to the fields for the
N: relevant source or binary packages.
N:
N: Severity: normal, Certainty: certain
N:
N: Check: description, Type: binary, udeb
N:
E: cammill: wrong-file-owner-uid-or-gid opt/ 1000/1000
N:
N: The user or group ID of the owner of the file is invalid. The owner user
N: and group IDs must be in the set of globally allocated IDs, because
N: other IDs are dynamically allocated and might be used for varying
N: purposes on different systems, or are reserved. The set of the allowed,
N: globally allocated IDs consists of the ranges 0-99, 64000-64999 and
N: 65534.
N:
N: It's possible for a Policy-compliant package to trigger this tag if the
N: user is created in the preinst maintainer script, but this is a very
N: rare case and doesn't appear to be necessary. If you found yourself
N: needing to create a package that works this way, please file a bug
N: against Lintian to let the maintainers know.
N:
N: Refer to Debian Policy Manual section 9.2 (Users and groups) for
N: details.
N:
N: Severity: serious, Certainty: certain
N:
N: Check: files, Type: binary, udeb
N:
W: cammill: non-standard-dir-perm opt/ 0775 != 0755
N:
N: The directory has a mode different from 0755, and it's not one of the
N: known exceptions.
N:
N: Refer to Debian Policy Manual section 10.9 (Permissions and owners) for
N: details.
N:
N: Severity: normal, Certainty: possible
N:
N: Check: files, Type: binary, udeb
N:
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/ 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/
N:
N: Debian packages should not install into /opt, because it is reserved for
N: add-on software.
N:
N: Refer to Filesystem Hierarchy Standard (/opt : Add-on application
N: software packages) for details.
N:
N: Severity: serious, Certainty: certain
N:
N: Check: files, Type: binary, udeb
N:
W: cammill: non-standard-dir-perm opt/cammill/ 0775 != 0755
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/cammill 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/cammill
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/cammill.dxf 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/cammill.dxf
W: cammill: non-standard-file-perm opt/cammill/cammill.dxf 0664 != 0644
N:
N: The file has a mode different from 0644. In some cases this is
N: intentional, but in other cases this is a bug.
N:
N: Refer to Debian Policy Manual section 10.9 (Permissions and owners) for
N: details.
N:
N: Severity: normal, Certainty: certain
N:
N: Check: files, Type: binary, udeb
N:
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/fonts/ 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/fonts/
W: cammill: non-standard-dir-perm opt/cammill/fonts/ 0775 != 0755
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/fonts/astrology.jhf 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/fonts/astrology.jhf
W: cammill: non-standard-file-perm opt/cammill/fonts/astrology.jhf 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/fonts/cursive.jhf 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/fonts/cursive.jhf
W: cammill: non-standard-file-perm opt/cammill/fonts/cursive.jhf 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/fonts/cyrilc_1.jhf 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/fonts/cyrilc_1.jhf
W: cammill: non-standard-file-perm opt/cammill/fonts/cyrilc_1.jhf 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/fonts/cyrillic.jhf 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/fonts/cyrillic.jhf
W: cammill: non-standard-file-perm opt/cammill/fonts/cyrillic.jhf 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/fonts/futural.jhf 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/fonts/futural.jhf
W: cammill: non-standard-file-perm opt/cammill/fonts/futural.jhf 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/fonts/futuram.jhf 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/fonts/futuram.jhf
W: cammill: non-standard-file-perm opt/cammill/fonts/futuram.jhf 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/fonts/gothgbt.jhf 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/fonts/gothgbt.jhf
W: cammill: non-standard-file-perm opt/cammill/fonts/gothgbt.jhf 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/fonts/gothgrt.jhf 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/fonts/gothgrt.jhf
W: cammill: non-standard-file-perm opt/cammill/fonts/gothgrt.jhf 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/fonts/gothiceng.jhf 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/fonts/gothiceng.jhf
W: cammill: non-standard-file-perm opt/cammill/fonts/gothiceng.jhf 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/fonts/gothicger.jhf 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/fonts/gothicger.jhf
W: cammill: non-standard-file-perm opt/cammill/fonts/gothicger.jhf 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/fonts/gothicita.jhf 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/fonts/gothicita.jhf
W: cammill: non-standard-file-perm opt/cammill/fonts/gothicita.jhf 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/fonts/gothitt.jhf 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/fonts/gothitt.jhf
W: cammill: non-standard-file-perm opt/cammill/fonts/gothitt.jhf 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/fonts/greek.jhf 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/fonts/greek.jhf
W: cammill: non-standard-file-perm opt/cammill/fonts/greek.jhf 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/fonts/greekc.jhf 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/fonts/greekc.jhf
W: cammill: non-standard-file-perm opt/cammill/fonts/greekc.jhf 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/fonts/greeks.jhf 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/fonts/greeks.jhf
W: cammill: non-standard-file-perm opt/cammill/fonts/greeks.jhf 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/fonts/hershey.txt 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/fonts/hershey.txt
W: cammill: non-standard-file-perm opt/cammill/fonts/hershey.txt 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/fonts/japanese.jhf 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/fonts/japanese.jhf
W: cammill: non-standard-file-perm opt/cammill/fonts/japanese.jhf 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/fonts/markers.jhf 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/fonts/markers.jhf
W: cammill: non-standard-file-perm opt/cammill/fonts/markers.jhf 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/fonts/mathlow.jhf 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/fonts/mathlow.jhf
W: cammill: non-standard-file-perm opt/cammill/fonts/mathlow.jhf 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/fonts/mathupp.jhf 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/fonts/mathupp.jhf
W: cammill: non-standard-file-perm opt/cammill/fonts/mathupp.jhf 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/fonts/meteorology.jhf 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/fonts/meteorology.jhf
W: cammill: non-standard-file-perm opt/cammill/fonts/meteorology.jhf 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/fonts/music.jhf 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/fonts/music.jhf
W: cammill: non-standard-file-perm opt/cammill/fonts/music.jhf 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/fonts/rowmand.jhf 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/fonts/rowmand.jhf
W: cammill: non-standard-file-perm opt/cammill/fonts/rowmand.jhf 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/fonts/rowmans.jhf 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/fonts/rowmans.jhf
W: cammill: non-standard-file-perm opt/cammill/fonts/rowmans.jhf 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/fonts/rowmant.jhf 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/fonts/rowmant.jhf
W: cammill: non-standard-file-perm opt/cammill/fonts/rowmant.jhf 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/fonts/scriptc.jhf 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/fonts/scriptc.jhf
W: cammill: non-standard-file-perm opt/cammill/fonts/scriptc.jhf 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/fonts/scripts.jhf 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/fonts/scripts.jhf
W: cammill: non-standard-file-perm opt/cammill/fonts/scripts.jhf 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/fonts/symbolic.jhf 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/fonts/symbolic.jhf
W: cammill: non-standard-file-perm opt/cammill/fonts/symbolic.jhf 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/fonts/timesg.jhf 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/fonts/timesg.jhf
W: cammill: non-standard-file-perm opt/cammill/fonts/timesg.jhf 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/fonts/timesi.jhf 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/fonts/timesi.jhf
W: cammill: non-standard-file-perm opt/cammill/fonts/timesi.jhf 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/fonts/timesib.jhf 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/fonts/timesib.jhf
W: cammill: non-standard-file-perm opt/cammill/fonts/timesib.jhf 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/fonts/timesr.jhf 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/fonts/timesr.jhf
W: cammill: non-standard-file-perm opt/cammill/fonts/timesr.jhf 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/fonts/timesrb.jhf 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/fonts/timesrb.jhf
W: cammill: non-standard-file-perm opt/cammill/fonts/timesrb.jhf 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/icons/ 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/icons/
W: cammill: non-standard-dir-perm opt/cammill/icons/ 0775 != 0755
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/icons/icon.icns 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/icons/icon.icns
W: cammill: non-standard-file-perm opt/cammill/icons/icon.icns 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/icons/icon.ico 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/icons/icon.ico
W: cammill: non-standard-file-perm opt/cammill/icons/icon.ico 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/icons/icon.svg 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/icons/icon.svg
W: cammill: non-standard-file-perm opt/cammill/icons/icon.svg 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/icons/icon_128.png 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/icons/icon_128.png
W: cammill: non-standard-file-perm opt/cammill/icons/icon_128.png 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/icons/icon_16.png 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/icons/icon_16.png
W: cammill: non-standard-file-perm opt/cammill/icons/icon_16.png 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/icons/icon_256.png 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/icons/icon_256.png
W: cammill: non-standard-file-perm opt/cammill/icons/icon_256.png 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/icons/icon_32.png 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/icons/icon_32.png
W: cammill: non-standard-file-perm opt/cammill/icons/icon_32.png 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/icons/icon_48.png 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/icons/icon_48.png
W: cammill: non-standard-file-perm opt/cammill/icons/icon_48.png 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/icons/icon_512.png 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/icons/icon_512.png
W: cammill: non-standard-file-perm opt/cammill/icons/icon_512.png 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/icons/logo-top.png 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/icons/logo-top.png
W: cammill: non-standard-file-perm opt/cammill/icons/logo-top.png 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/icons/logo.png 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/icons/logo.png
W: cammill: non-standard-file-perm opt/cammill/icons/logo.png 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/material.tbl 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/material.tbl
W: cammill: non-standard-file-perm opt/cammill/material.tbl 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/postprocessor.lua 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/postprocessor.lua
W: cammill: non-standard-file-perm opt/cammill/postprocessor.lua 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/posts/ 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/posts/
W: cammill: non-standard-dir-perm opt/cammill/posts/ 0775 != 0755
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/posts/EMC.scpost 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/posts/EMC.scpost
W: cammill: non-standard-file-perm opt/cammill/posts/EMC.scpost 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/posts/GRBL.scpost 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/posts/GRBL.scpost
W: cammill: non-standard-file-perm opt/cammill/posts/GRBL.scpost 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/test-minimal.dxf 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/test-minimal.dxf
W: cammill: non-standard-file-perm opt/cammill/test-minimal.dxf 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/test.dxf 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/test.dxf
W: cammill: non-standard-file-perm opt/cammill/test.dxf 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/textures/ 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/textures/
W: cammill: non-standard-dir-perm opt/cammill/textures/ 0775 != 0755
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/textures/cfk.bmp 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/textures/cfk.bmp
W: cammill: non-standard-file-perm opt/cammill/textures/cfk.bmp 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/textures/foam.bmp 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/textures/foam.bmp
W: cammill: non-standard-file-perm opt/cammill/textures/foam.bmp 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/textures/gfk.bmp 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/textures/gfk.bmp
W: cammill: non-standard-file-perm opt/cammill/textures/gfk.bmp 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/textures/metal.bmp 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/textures/metal.bmp
W: cammill: non-standard-file-perm opt/cammill/textures/metal.bmp 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/textures/plast.bmp 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/textures/plast.bmp
W: cammill: non-standard-file-perm opt/cammill/textures/plast.bmp 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/textures/wood.bmp 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/textures/wood.bmp
W: cammill: non-standard-file-perm opt/cammill/textures/wood.bmp 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid opt/cammill/tool.tbl 1000/1000
E: cammill: dir-or-file-in-opt opt/cammill/tool.tbl
W: cammill: non-standard-file-perm opt/cammill/tool.tbl 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid usr/ 1000/1000
W: cammill: non-standard-dir-perm usr/ 0775 != 0755
E: cammill: wrong-file-owner-uid-or-gid usr/bin/ 1000/1000
W: cammill: non-standard-dir-perm usr/bin/ 0775 != 0755
E: cammill: wrong-file-owner-uid-or-gid usr/bin/cammill 1000/1000
E: cammill: wrong-file-owner-uid-or-gid usr/share/ 1000/1000
W: cammill: non-standard-dir-perm usr/share/ 0775 != 0755
E: cammill: wrong-file-owner-uid-or-gid usr/share/applications/ 1000/1000
W: cammill: non-standard-dir-perm usr/share/applications/ 0775 != 0755
E: cammill: wrong-file-owner-uid-or-gid usr/share/applications/cammill.desktop 1000/1000
W: cammill: non-standard-file-perm usr/share/applications/cammill.desktop 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid usr/share/doc/ 1000/1000
W: cammill: non-standard-dir-perm usr/share/doc/ 0775 != 0755
E: cammill: wrong-file-owner-uid-or-gid usr/share/doc/cammill/ 1000/1000
E: cammill: bad-owner-for-doc-file usr/share/doc/cammill/ koppi/koppi != root/root
N:
N: Documentation files should be owned by root/root.
N:
N: Severity: important, Certainty: certain
N:
N: Check: files, Type: binary, udeb
N:
W: cammill: non-standard-dir-perm usr/share/doc/cammill/ 0775 != 0755
E: cammill: wrong-file-owner-uid-or-gid usr/share/doc/cammill/README 1000/1000
E: cammill: bad-owner-for-doc-file usr/share/doc/cammill/README koppi/koppi != root/root
W: cammill: non-standard-file-perm usr/share/doc/cammill/README 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid usr/share/doc/cammill/changelog.Debian.gz 1000/1000
E: cammill: bad-owner-for-doc-file usr/share/doc/cammill/changelog.Debian.gz koppi/koppi != root/root
W: cammill: non-standard-file-perm usr/share/doc/cammill/changelog.Debian.gz 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid usr/share/doc/cammill/changelog.gz 1000/1000
E: cammill: bad-owner-for-doc-file usr/share/doc/cammill/changelog.gz koppi/koppi != root/root
W: cammill: non-standard-file-perm usr/share/doc/cammill/changelog.gz 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid usr/share/doc/cammill/copyright 1000/1000
E: cammill: bad-owner-for-doc-file usr/share/doc/cammill/copyright koppi/koppi != root/root
W: cammill: non-standard-file-perm usr/share/doc/cammill/copyright 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid usr/share/man/ 1000/1000
W: cammill: non-standard-dir-perm usr/share/man/ 0775 != 0755
E: cammill: wrong-file-owner-uid-or-gid usr/share/man/man1/ 1000/1000
W: cammill: non-standard-dir-perm usr/share/man/man1/ 0775 != 0755
E: cammill: wrong-file-owner-uid-or-gid usr/share/man/man1/cammill.1.gz 1000/1000
W: cammill: non-standard-file-perm usr/share/man/man1/cammill.1.gz 0664 != 0644
E: cammill: wrong-file-owner-uid-or-gid usr/share/pixmaps/ 1000/1000
W: cammill: non-standard-dir-perm usr/share/pixmaps/ 0775 != 0755
E: cammill: wrong-file-owner-uid-or-gid usr/share/pixmaps/cammill.png 1000/1000
W: cammill: non-standard-file-perm usr/share/pixmaps/cammill.png 0664 != 0644
i moved install path to /usr/lib/cammill
warning: the authors of lintian do not recommend running it with root privileges!
W: cammill: image-file-in-usr-lib usr/lib/cammill/icons/icon_128.png
N:
N: This package installs a pixmap or a bitmap within /usr/lib. According to
N: the Filesystem Hierarchy Standard, architecture-independent files need
N: to be placed within /usr/share instead.
N:
N: Severity: normal, Certainty: certain
N:
N: Check: files, Type: binary, udeb
N:
W: cammill: image-file-in-usr-lib usr/lib/cammill/icons/icon_16.png
W: cammill: image-file-in-usr-lib usr/lib/cammill/icons/icon_256.png
W: cammill: image-file-in-usr-lib usr/lib/cammill/icons/icon_32.png
W: cammill: image-file-in-usr-lib usr/lib/cammill/icons/icon_48.png
W: cammill: image-file-in-usr-lib usr/lib/cammill/icons/icon_512.png
W: cammill: image-file-in-usr-lib usr/lib/cammill/icons/logo-top.png
W: cammill: image-file-in-usr-lib usr/lib/cammill/icons/logo.png
W: cammill: image-file-in-usr-lib usr/lib/cammill/textures/cfk.bmp
W: cammill: image-file-in-usr-lib usr/lib/cammill/textures/foam.bmp
W: cammill: image-file-in-usr-lib usr/lib/cammill/textures/gfk.bmp
W: cammill: image-file-in-usr-lib usr/lib/cammill/textures/metal.bmp
W: cammill: image-file-in-usr-lib usr/lib/cammill/textures/plast.bmp
W: cammill: image-file-in-usr-lib usr/lib/cammill/textures/wood.bmp
I'm getting
chmod -R -s packages/debian/ -R
chown -R root:root packages/debian/DEBIAN/
chown: changing ownership of ‘packages/debian/DEBIAN/control’: Operation not permitted
chown: changing ownership of ‘packages/debian/DEBIAN/md5sums’: Operation not permitted
chown: changing ownership of ‘packages/debian/DEBIAN/’: Operation not permitted
Makefile:237: recipe for target 'package' failed
make: *** [package] Error 1
I'm using the powers of sudo:
sudo make package
this works for now.
you must do make package as root
please check the last commit, on debian i can not see your error
$ sudo make package
strip --remove-section=.comment --remove-section=.note cammill
rm -rf packages/debian
mkdir -p packages/debian/usr/lib/cammill
cp -p cammill packages/debian/usr/lib/cammill/cammill
chmod 755 packages/debian/usr/lib/cammill/cammill
mkdir -p packages/debian/usr/lib/cammill/posts
cp -p posts/* packages/debian/usr/lib/cammill/posts
mkdir -p packages/debian/usr/lib/cammill/textures
cp -p textures/* packages/debian/usr/lib/cammill/textures
mkdir -p packages/debian/usr/lib/cammill/icons
cp -p icons/* packages/debian/usr/lib/cammill/icons
mkdir -p packages/debian/usr/lib/cammill/fonts
cp -p fonts/* packages/debian/usr/lib/cammill/fonts
cp -p material.tbl postprocessor.lua tool.tbl cammill.dxf test.dxf test-minimal.dxf packages/debian/usr/lib/cammill/
mkdir -p packages/debian/usr/bin
ln -sf ../lib/cammill/cammill packages/debian/usr/bin/cammill
mkdir -p packages/debian/usr/share/man/man1/
help2man ./cammill -n "2D CAM-Tool (DXF to GCODE)" | gzip -n -9 > packages/debian/usr/share/man/man1/cammill.1.gz
mkdir -p packages/debian/usr/share/doc/cammill/
cp -p README.md packages/debian/usr/share/doc/cammill/README
echo "It was downloaded from https://github.com/cammill" > packages/debian/usr/share/doc/cammill/copyright
echo "" >> packages/debian/usr/share/doc/cammill/copyright
echo "Copyright 2014 - 2015 by Oliver Dippel <oliver@multixmedia.org>" >> packages/debian/usr/share/doc/cammill/copyright
echo "Copyright 2014 - 2015 by McUles mcules@fpv-club.de" >> packages/debian/usr/share/doc/cammill/copyright
echo "Copyright 2014 - 2015 by Jakob Flierl <@koppi>" >> packages/debian/usr/share/doc/cammill/copyright
echo "Copyright 2014 - 2015 by Carlo <onekk>" >> packages/debian/usr/share/doc/cammill/copyright
echo "License:" >> packages/debian/usr/share/doc/cammill/copyright
echo "" >> packages/debian/usr/share/doc/cammill/copyright
echo "This program is free software; you can redistribute it and/or modify it" >> packages/debian/usr/share/doc/cammill/copyright
echo "under the terms of the GNU General Public License as published by the" >> packages/debian/usr/share/doc/cammill/copyright
echo "Free Software Foundation; either version 2, or (at your option) any" >> packages/debian/usr/share/doc/cammill/copyright
echo "later version." >> packages/debian/usr/share/doc/cammill/copyright
echo "" >> packages/debian/usr/share/doc/cammill/copyright
echo "On Debian systems, the complete text of the GNU General Public License" >> packages/debian/usr/share/doc/cammill/copyright
echo "can be found in the file /usr/share/common-licenses/GPL-3" >> packages/debian/usr/share/doc/cammill/copyright
echo "" >> packages/debian/usr/share/doc/cammill/copyright
git log | gzip -n -9 > packages/debian/usr/share/doc/cammill/changelog.gz
echo "cammill (0.9) unstable; urgency=low\n\n * Git Release.\n * take a look in to changelog.gz\n\n -- Oliver Dippel <oliver@multixmedia.org> `date -R`\n" | gzip -n -9 > packages/debian/usr/share/doc/cammill/changelog.Debian.gz
mkdir -p packages/debian/usr/share/applications
echo "[Desktop Entry]" > packages/debian/usr/share/applications/cammill.desktop
echo "Version=0.9" >> packages/debian/usr/share/applications/cammill.desktop
echo "Type=Application" >> packages/debian/usr/share/applications/cammill.desktop
echo "Name=CAMmill" >> packages/debian/usr/share/applications/cammill.desktop
echo "Comment=2D CAM-Tool (DXF to GCODE)" >> packages/debian/usr/share/applications/cammill.desktop
echo "TryExec=cammill" >> packages/debian/usr/share/applications/cammill.desktop
echo "Exec=cammill %F" >> packages/debian/usr/share/applications/cammill.desktop
echo "Icon=cammill" >> packages/debian/usr/share/applications/cammill.desktop
echo "Categories=Graphics;2DGraphics;Engineering;GTK;" >> packages/debian/usr/share/applications/cammill.desktop
echo "Keywords=cam;cnc;gcode;dxf;" >> packages/debian/usr/share/applications/cammill.desktop
echo "Terminal=false" >> packages/debian/usr/share/applications/cammill.desktop
echo "" >> packages/debian/usr/share/applications/cammill.desktop
mkdir -p packages/debian/usr/share/pixmaps
cp -p icons/icon_128.png packages/debian/usr/share/pixmaps/cammill.png
mkdir -p packages/debian/DEBIAN/
(for F in `find packages/debian -type f | grep -v "^packages/debian/DEBIAN/"`; do md5sum "$F" | sed "s| packages/debian/| |g"; done) >> packages/debian/DEBIAN/md5sums
#(for F in material.tbl tool.tbl postprocessor.lua posts/* ; do echo "/usr/lib/cammill/$F" ; done) >> packages/debian/DEBIAN/conffiles
echo "Package: cammill" > packages/debian/DEBIAN/control
echo "Source: cammill" >> packages/debian/DEBIAN/control
echo "Version: 0.9-`date +%s`" >> packages/debian/DEBIAN/control
echo "Architecture: `dpkg --print-architecture`" >> packages/debian/DEBIAN/control
echo "Maintainer: Oliver Dippel <oliver@multixmedia.org>" >> packages/debian/DEBIAN/control
echo "Depends: libc6, libgtksourceview2.0-0, libgtkglext1, liblua5.1-0" >> packages/debian/DEBIAN/control
echo "Section: graphics" >> packages/debian/DEBIAN/control
echo "Priority: optional" >> packages/debian/DEBIAN/control
echo "Homepage: http://www.multixmedia.org/cammill/" >> packages/debian/DEBIAN/control
echo "Description: 2D CAM-Tool (DXF to GCODE)" >> packages/debian/DEBIAN/control
cat desc.txt | grep ".." | sed "s|^| |g" >> packages/debian/DEBIAN/control
chown -R root:root packages/debian/
chmod 0755 packages/debian/
chmod 0644 packages/debian/usr/share/doc/cammill/*
chmod 0644 packages/debian/usr/share/man/man1/cammill.1.gz
chmod 0644 packages/debian/usr/share/pixmaps/cammill.png
chmod 0644 packages/debian/usr/share/applications/cammill.desktop
chmod -R -s packages/debian/
chown -R root:root packages/debian/DEBIAN/
chmod -R 0755 packages/debian/DEBIAN/
chmod 0644 packages/debian/DEBIAN/control
chmod 0644 packages/debian/DEBIAN/md5sums
#chmod 0644 packages/debian/DEBIAN/conffiles
dpkg-deb --build packages/debian
dpkg-deb: building package `cammill' in `packages/debian.deb'.
cp packages/debian.deb packages/cammill.deb
mv packages/debian.deb packages/cammill_0.9_`dpkg --print-architecture`.deb
##
## packages/cammill_0.9_amd64.deb
##
koppi@x220:~/bin/cammill.git$ lintian -i -I --show-overrides packages/cammill_0.9_amd64.deb
W: cammill: non-standard-file-perm usr/lib/cammill/cammill.dxf 0664 != 0644
N:
N: The file has a mode different from 0644. In some cases this is
N: intentional, but in other cases this is a bug.
N:
N: Refer to Debian Policy Manual section 10.9 (Permissions and owners) for
N: details.
N:
N: Severity: normal, Certainty: certain
N:
N: Check: files, Type: binary, udeb
N:
W: cammill: non-standard-file-perm usr/lib/cammill/fonts/astrology.jhf 0664 != 0644
W: cammill: non-standard-file-perm usr/lib/cammill/fonts/cursive.jhf 0664 != 0644
W: cammill: non-standard-file-perm usr/lib/cammill/fonts/cyrilc_1.jhf 0664 != 0644
W: cammill: non-standard-file-perm usr/lib/cammill/fonts/cyrillic.jhf 0664 != 0644
W: cammill: non-standard-file-perm usr/lib/cammill/fonts/futural.jhf 0664 != 0644
W: cammill: non-standard-file-perm usr/lib/cammill/fonts/futuram.jhf 0664 != 0644
W: cammill: non-standard-file-perm usr/lib/cammill/fonts/gothgbt.jhf 0664 != 0644
W: cammill: non-standard-file-perm usr/lib/cammill/fonts/gothgrt.jhf 0664 != 0644
W: cammill: non-standard-file-perm usr/lib/cammill/fonts/gothiceng.jhf 0664 != 0644
W: cammill: non-standard-file-perm usr/lib/cammill/fonts/gothicger.jhf 0664 != 0644
W: cammill: non-standard-file-perm usr/lib/cammill/fonts/gothicita.jhf 0664 != 0644
W: cammill: non-standard-file-perm usr/lib/cammill/fonts/gothitt.jhf 0664 != 0644
W: cammill: non-standard-file-perm usr/lib/cammill/fonts/greek.jhf 0664 != 0644
W: cammill: non-standard-file-perm usr/lib/cammill/fonts/greekc.jhf 0664 != 0644
W: cammill: non-standard-file-perm usr/lib/cammill/fonts/greeks.jhf 0664 != 0644
W: cammill: non-standard-file-perm usr/lib/cammill/fonts/hershey.txt 0664 != 0644
W: cammill: non-standard-file-perm usr/lib/cammill/fonts/japanese.jhf 0664 != 0644
W: cammill: non-standard-file-perm usr/lib/cammill/fonts/markers.jhf 0664 != 0644
W: cammill: non-standard-file-perm usr/lib/cammill/fonts/mathlow.jhf 0664 != 0644
W: cammill: non-standard-file-perm usr/lib/cammill/fonts/mathupp.jhf 0664 != 0644
W: cammill: non-standard-file-perm usr/lib/cammill/fonts/meteorology.jhf 0664 != 0644
W: cammill: non-standard-file-perm usr/lib/cammill/fonts/music.jhf 0664 != 0644
W: cammill: non-standard-file-perm usr/lib/cammill/fonts/rowmand.jhf 0664 != 0644
W: cammill: non-standard-file-perm usr/lib/cammill/fonts/rowmans.jhf 0664 != 0644
W: cammill: non-standard-file-perm usr/lib/cammill/fonts/rowmant.jhf 0664 != 0644
W: cammill: non-standard-file-perm usr/lib/cammill/fonts/scriptc.jhf 0664 != 0644
W: cammill: non-standard-file-perm usr/lib/cammill/fonts/scripts.jhf 0664 != 0644
W: cammill: non-standard-file-perm usr/lib/cammill/fonts/symbolic.jhf 0664 != 0644
W: cammill: non-standard-file-perm usr/lib/cammill/fonts/timesg.jhf 0664 != 0644
W: cammill: non-standard-file-perm usr/lib/cammill/fonts/timesi.jhf 0664 != 0644
W: cammill: non-standard-file-perm usr/lib/cammill/fonts/timesib.jhf 0664 != 0644
W: cammill: non-standard-file-perm usr/lib/cammill/fonts/timesr.jhf 0664 != 0644
W: cammill: non-standard-file-perm usr/lib/cammill/fonts/timesrb.jhf 0664 != 0644
W: cammill: non-standard-file-perm usr/lib/cammill/icons/icon.icns 0664 != 0644
W: cammill: non-standard-file-perm usr/lib/cammill/icons/icon.ico 0664 != 0644
W: cammill: non-standard-file-perm usr/lib/cammill/icons/icon.svg 0664 != 0644
W: cammill: image-file-in-usr-lib usr/lib/cammill/icons/icon_128.png
N:
N: This package installs a pixmap or a bitmap within /usr/lib. According to
N: the Filesystem Hierarchy Standard, architecture-independent files need
N: to be placed within /usr/share instead.
N:
N: Severity: normal, Certainty: certain
N:
N: Check: files, Type: binary, udeb
N:
W: cammill: non-standard-file-perm usr/lib/cammill/icons/icon_128.png 0664 != 0644
W: cammill: image-file-in-usr-lib usr/lib/cammill/icons/icon_16.png
W: cammill: non-standard-file-perm usr/lib/cammill/icons/icon_16.png 0664 != 0644
W: cammill: image-file-in-usr-lib usr/lib/cammill/icons/icon_256.png
W: cammill: non-standard-file-perm usr/lib/cammill/icons/icon_256.png 0664 != 0644
W: cammill: image-file-in-usr-lib usr/lib/cammill/icons/icon_32.png
W: cammill: non-standard-file-perm usr/lib/cammill/icons/icon_32.png 0664 != 0644
W: cammill: image-file-in-usr-lib usr/lib/cammill/icons/icon_48.png
W: cammill: non-standard-file-perm usr/lib/cammill/icons/icon_48.png 0664 != 0644
W: cammill: image-file-in-usr-lib usr/lib/cammill/icons/icon_512.png
W: cammill: non-standard-file-perm usr/lib/cammill/icons/icon_512.png 0664 != 0644
W: cammill: image-file-in-usr-lib usr/lib/cammill/icons/logo-top.png
W: cammill: non-standard-file-perm usr/lib/cammill/icons/logo-top.png 0664 != 0644
W: cammill: image-file-in-usr-lib usr/lib/cammill/icons/logo.png
W: cammill: non-standard-file-perm usr/lib/cammill/icons/logo.png 0664 != 0644
W: cammill: non-standard-file-perm usr/lib/cammill/material.tbl 0664 != 0644
W: cammill: non-standard-file-perm usr/lib/cammill/postprocessor.lua 0664 != 0644
W: cammill: non-standard-file-perm usr/lib/cammill/posts/EMC.scpost 0664 != 0644
W: cammill: non-standard-file-perm usr/lib/cammill/posts/GRBL.scpost 0664 != 0644
W: cammill: non-standard-file-perm usr/lib/cammill/test-minimal.dxf 0664 != 0644
W: cammill: non-standard-file-perm usr/lib/cammill/test.dxf 0664 != 0644
W: cammill: image-file-in-usr-lib usr/lib/cammill/textures/cfk.bmp
W: cammill: non-standard-file-perm usr/lib/cammill/textures/cfk.bmp 0664 != 0644
W: cammill: image-file-in-usr-lib usr/lib/cammill/textures/foam.bmp
W: cammill: non-standard-file-perm usr/lib/cammill/textures/foam.bmp 0664 != 0644
W: cammill: image-file-in-usr-lib usr/lib/cammill/textures/gfk.bmp
W: cammill: non-standard-file-perm usr/lib/cammill/textures/gfk.bmp 0664 != 0644
W: cammill: image-file-in-usr-lib usr/lib/cammill/textures/metal.bmp
W: cammill: non-standard-file-perm usr/lib/cammill/textures/metal.bmp 0664 != 0644
W: cammill: image-file-in-usr-lib usr/lib/cammill/textures/plast.bmp
W: cammill: non-standard-file-perm usr/lib/cammill/textures/plast.bmp 0664 != 0644
W: cammill: image-file-in-usr-lib usr/lib/cammill/textures/wood.bmp
W: cammill: non-standard-file-perm usr/lib/cammill/textures/wood.bmp 0664 != 0644
W: cammill: non-standard-file-perm usr/lib/cammill/tool.tbl 0664 != 0644
Looks better:
$ lintian -i -I --show-overrides packages/cammill_0.9_amd64.deb
W: cammill: image-file-in-usr-lib usr/lib/cammill/icons/icon_128.png
N:
N: This package installs a pixmap or a bitmap within /usr/lib. According to
N: the Filesystem Hierarchy Standard, architecture-independent files need
N: to be placed within /usr/share instead.
N:
N: Severity: normal, Certainty: certain
N:
N: Check: files, Type: binary, udeb
N:
W: cammill: image-file-in-usr-lib usr/lib/cammill/icons/icon_16.png
W: cammill: image-file-in-usr-lib usr/lib/cammill/icons/icon_256.png
W: cammill: image-file-in-usr-lib usr/lib/cammill/icons/icon_32.png
W: cammill: image-file-in-usr-lib usr/lib/cammill/icons/icon_48.png
W: cammill: image-file-in-usr-lib usr/lib/cammill/icons/icon_512.png
W: cammill: image-file-in-usr-lib usr/lib/cammill/icons/logo-top.png
W: cammill: image-file-in-usr-lib usr/lib/cammill/icons/logo.png
W: cammill: image-file-in-usr-lib usr/lib/cammill/textures/cfk.bmp
W: cammill: image-file-in-usr-lib usr/lib/cammill/textures/foam.bmp
W: cammill: image-file-in-usr-lib usr/lib/cammill/textures/gfk.bmp
W: cammill: image-file-in-usr-lib usr/lib/cammill/textures/metal.bmp
W: cammill: image-file-in-usr-lib usr/lib/cammill/textures/plast.bmp
W: cammill: image-file-in-usr-lib usr/lib/cammill/textures/wood.bmp
I think, we can also remove the icon_???.png
files.
I've updated https://github.com/cammill/cammill/wiki/Linux to reflect the need for sudo.
hmmm, we must change the code to find the files if we move it to /usr/share/cammill
Maybe add to the Makefile something like:
CFLAGS+=-DPKGDATA=/usr/share/cammill
hmm, but we need more logic for this, if we make a test-run (./cammill), we need the data in ./, after install, we need it in /usr/share/cammill
i think thats ok
results in a number of different warnings, we need to fix these: