main inclusion: screen-profiles
Bug #317214 reported by
Dustin Kirkland
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
screen-profiles (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: screen-profiles
https:/
:-Dustin
To post a comment you must log in.
Packaging: {PACKAGE} -${VER} || true {PACKAGE} -${VER} {PACKAGE} -${VER} ${PACKAGE} .debhelper. log
- you bdep on gettext and po4a, but these are only used in prebuild which isn't called on the buildds
- get-orig-source has:
[ -d ../../${PACKAGE} ] && mv ../../${PACKAGE} ../../$
you can use a leading "-" to disable error checking:
-[ -d ../../${PACKAGE} ] && mv ../../${PACKAGE} ../../$
or even better, honor errors:
[ ! -d ../../${PACKAGE} ] || mv ../../${PACKAGE} ../../$
(or use if then fi)
- There's a bunch of ../../ in the get-orig-source rule; I understand it needs to be called from the debian/ dir; perhaps you should enforce this just like dh_testdir does (or require that the rule be run as "debian/rules get-orig-source" and use dh_testdir itself).
- clean:
rm -rf debian/${PACKAGE} debian/files debian/
I think you want dh_clean?!?
- would be nice to pass -i to dh_* calls in binary-indep
- get-orig-source is .PHONY
- you don't need dh_installdirs / debian/dirs
- you miss a dh_md5sums call
- you should depend on ${misc:Depends} with debhelper >= 5
This is what lintian has to say: watch-file- is-missing but-no- misc-depends screen-profiles without- arch-dep debhelper without- arch-dep gettext without- arch-dep po4a without- manpage usr/bin/ screen- launcher without- manpage usr/bin/ screen- profiles- helper control- file
I: screen-profiles source: debian-
W: screen-profiles source: debhelper-
I: screen-profiles source: build-depends-
I: screen-profiles source: build-depends-
I: screen-profiles source: build-depends-
W: screen-profiles: binary-
W: screen-profiles: binary-
I: screen-profiles: no-md5sums-
These are covered in the above remarks more or less.
Please mention the copyrights of Canonical and Nick Barcet.
Typo in man page:
select- screen- profile is an application lists the available screen pro‐
files on a system and prompts the user to select one.
("which lists" perhaps?)
Would be nice to use "set -e" in non-trivial shell scripts.
mycache= /var/tmp/ updates- available- $USER is a very bad idea: /var/tmp is +t and anybody can write there; I can create a /var/tmp/ updates- available- root symlink to /etc/shadow as my user and wait for updates-available to be run as root.
You need to find another place, or another mechanism. For instance you could source all files /var/tmp/ updates- available- $USER-XXXXXXXX which are owned by $USER and take the most recent one, delete the others.