Subject: Re: EXTRACT_CMD needs EXTRACT_CMD_OPTS
To: Bernd Ernesti <netbsd@lists.veego.de>
From: Johnny C. Lam <jlam@NetBSD.org>
List: tech-pkg
Date: 11/23/2003 10:07:49
On Sun, Nov 23, 2003 at 09:12:40AM +0100, Bernd Ernesti wrote:
> On Sat, Nov 22, 2003 at 05:01:52PM +0100, Michal Pasternak wrote:
> > So, to make that source file extract right, I need to supply whole
> > EXTRACT_CMD.
> >
> > Don't you think it would be wise rather to write it as:
> >
> > EXTRACT_OPTS.zip?= -Laqo
> > EXTRACT_CMD.zip?= ${LOCALBASE}/bin/unzip ${EXTRACT_OPTS}.zip
>
> IMHO we should revert the default not to include -L and -o and fix the packages
> which still need them.
>
> -o overwrite existing files without prompting. This is a dangerous
> option, so use it with care. (It is often used with -f, how-
> ever, and is the only way to overwrite directory EAs under
> OS/2.)
>
> So it should be -Caq (-C match filenames case-insensitively).
That's a reasonable thing to do, but should probably wait until after
the freeze. But please feel free to add your suggestion to the
pkgsrc/doc/TODO file.
Cheers,
-- Johnny Lam <jlam@@NetBSD.org>