On Wed, Jul 24, 2013 at 4:41 PM, Charles Plessy <ple...@debian.org> wrote: > Le Wed, Jul 24, 2013 at 03:55:38PM +0300, Eugene Zhukov a écrit : >> >> I encountered a Lintian warning executable-not-elf-or-script with one >> of my packages and then I learned about outstanding >> Lintian<->debian-policy bug #539315. >> >> How about fixing the policy by adding an exception for .jar files? > > Dear Eugene, > > I do not see where the Policy forbids JAR files to be executable when they are > intended to be executed. In line with others, I think that the interpretation > of section 10.5 on symbolic links in #539315 is overly restrictive, as > executable JAR files are not just compressed files, but entire archives. > > Altogether, I think that we should close #676784 (the clone of #539315), or > clarify what is the intent of section 10.5, and what is meant by "compressed" > there.
The problem with section 10.5 is in the clause "A symbolic link pointing to a compressed file should always have the same file extension as the referenced file". So, if I have /usr/share/java/foo.jar, then I want to have executable foo in /usr/bin through link foo -> ../share/java/foo.jar. Which is now, as I see it, against the policy. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org