Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jul 2010 15:18:32 +0400
From:      Anonymous <swell.k@gmail.com>
To:        Johan van Selst <johans@stack.nl>
Cc:        Joe <joeb_722@comclark.com>, freebsd-ports@freebsd.org
Subject:   Re: [new port] usage of shar command
Message-ID:  <864ofxavhz.fsf@gmail.com>
In-Reply-To: <20100718100744.GA4807@mud.stack.nl> (Johan van Selst's message of "Sun, 18 Jul 2010 12:07:44 %2B0200")
References:  <4C42CFDA.3040409@comclark.com> <20100718100744.GA4807@mud.stack.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
Johan van Selst <johans@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?864ofxavhz.fsf>