[new port] usage of shar command
Anonymous
swell.k at gmail.com
Sun Jul 18 11:18:51 UTC 2010
Johan van Selst <johans at stack.nl> writes:
> Joe wrote:
>> I can not figure out just what the author was trying to say with
>> "output of shar `find port_dir`"
>
> If your port files are stored in the subdirectory 'newport' then
> you may issue the command
> shar `find newport` > file.shar
Another way is to use libarchive(3) writer, e.g.
$ tar cf file.shar --format shar newport
It's less prone to trip on special symbols in filenames and doesn't have
limit on number of files (i.e. ARG_MAX).
>
> This creates the 'file.shar' file, which contains a shell archive of all
> the files in the 'newport' subdirectory. You should then include this
> file in your new port submission.
More information about the freebsd-ports
mailing list