Subject: Re: tar ignores filenames that contain `..'
To: Hisashi T Fujinaka <htodd@twofifty.com>
From: Frederick Bruckman <fredb@immanent.net>
List: tech-pkg
Date: 10/23/2002 10:45:03
[I've trimmed CC:]

On Wed, 23 Oct 2002, Hisashi T Fujinaka wrote:

> AHA! This probably solves my unanswered question as to why cdrecord
> doesn't compile on my system any more!
>
> allison:/usr/pkgsrc/sysutils/cdrecord % make
> => Checksum OK for cdrtools-1.10.tar.gz.
> ===> Extracting for cdrecord-1.10
> ===> Required installed package gmake>=3.78: gmake-3.80 found
> tar: Ignoring link containing `..' (../lib/getfp.c)
> tar: Ignoring link containing `..' (../cdrecord/scsi_cdr.c)
>
> etc
>
> OK, what's the workaround?

Try setting

  EXTRACT_USING_PAX=	YES
  PAX=			/bin/pax --insecure

in "/etc/mk.conf". "pkg_create" and "pkg_add" are not so easily fixed,
however.

Frederick