Package: java-common Version: 0.25 Severity: normal Tags: patch Hello, Java policy section 2.3. states: "Programs must have executable(s) in /usr/bin and be executable." I am packaging a java game (actually, a java game-related package). If my package was not a java package, I would install binaries into /usr/games, which is consistent with related packages. FHS 2.3 Chapter 4 defines /usr/games as optional, and the preferred location for games and educational binaries. I believe the clause in the Java policy is intended to ensure that a user has a binary available in $PATH and isn't required to call "java -jar some/evil/path". I therefore request that the clause is expanded to include /usr/games where this is appropriate. Patch attached. -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-1-686 Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) -- no debconf information
add /usr/games as a valid location for a java package's binary, where appropriate. Jon Dowland <jon@alcopop.org> Thu Oct 26 17:27:19 BST 2006 --- policy.xml~ 2005-06-11 12:31:25.000000000 +0100 +++ policy.xml 2006-10-26 17:26:21.000000000 +0100 @@ -190,7 +190,9 @@ <para> Programs &must; have executable(s) in - <filename>/usr/bin</filename> and be executable. They can be Java + <filename>/usr/bin</filename> + or <filename>/usr/games</filename> (where appropriate) + and be executable. They can be Java classes (using binfmt_misc) or wrappers. In any case, they &must; run without specific environment variables (see <ulink url="http://www.debian.org/doc/debian-policy/ch-opersys.html#s10.9">Policy
Attachment:
signature.asc
Description: Digital signature