Subject: Re: how to create .tgz package
To: Wojciech Puchar <wojtek@chylonia.3miasto.net>
From: Alistair Crooks <agc@pkgsrc.org>
List: netbsd-users
Date: 12/27/2001 18:03:31
On Thu, Dec 27, 2001 at 06:01:39PM +0100, Wojciech Puchar wrote:
> > > from binary files which i have listed in file
> >
> > man tar
> >
> >
> >
> > Have a look at the --files-from (T) option.
> >
> >  tar cvzTf list-here  new-tar-ball-here.tar.gz
> >
> > Or try:
> >
> >  tar cvzf new-tar-ball-here.tar.gz `cat list-here` # if no spaces in filenames
> 
> this i know.
> 
> but how to generate .tgz file which will work like pkg_add <filename>
> 
> 

use the pkg_tarup package (pkgsrc/pkgtools/pkg_tarup)

Regards,
Alistair