On Sat, Mar 06, 2004 at 01:15:45PM +0100, Bartosz Fenski aka fEnIo wrote: > Hello. > > I'm packaging makeself[1] for Debian (#200151). > I've got the followoing errors/warnings: > > ([EMAIL PROTECTED])~/nowy$lintian makeself_2.1.2-1_i386.changes > E: makeself: binary-without-manpage makeself > W: makeself: executable-not-elf-or-script ./usr/lib/makeself/makeself-header > ([EMAIL PROTECTED])~/nowy$ > > The first one isn't a problem for me (I'll write this manpage). > But what about second one? Makeself comes with some additional script > which doesn't comply to Debian's policy. > > It starts with: > cat << EOF > "$archname" > #!/bin/sh > # This script was generated using Makeself $MS_VERSION > > What should I do with that? > Is it a suitable situation to use lintian's override feature?
It shouldn't go in /usr/lib anyway, as this file is NOT architecture-dependent: it's the same whether you install it for i386 or sparc or whatever. It should go to /usr/share instead. I don't know the purpose of this script, but without a #!-line, it will not always run fine, as people can have anything as shell, and certainly some shells won't understand that 'cat << EOF > "$archname"' line. If it is not intended to run directly from a shell, but rather used as input like: 'sh /usr/lib/makeself/makeself-header', or sourced from within as '/bin/sh' script, it should not be executable. Hope this helps, --Jeroen -- Jeroen van Wolffelaar [EMAIL PROTECTED] (also for Jabber & MSN; ICQ: 33944357) http://Jeroen.A-Eskwadraat.nl
pgp0GZGDpzK1q.pgp
Description: PGP signature