From owner-freebsd-ports@FreeBSD.ORG Sun Jul 18 23:26:52 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9A671065670 for ; Sun, 18 Jul 2010 23:26:51 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh2.interactivevillages.com (wh2.interactivevillages.com [75.125.250.34]) by mx1.freebsd.org (Postfix) with ESMTP id 7B4078FC13 for ; Sun, 18 Jul 2010 23:26:51 +0000 (UTC) Received: from 174-21-99-21.tukw.qwest.net ([174.21.99.21] helo=_HOSTNAME_) by wh2.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1Oad4e-0001rw-9g for freebsd-ports@freebsd.org; Sun, 18 Jul 2010 16:15:09 -0700 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Sun, 18 Jul 2010 16:26:45 -0700 Date: Sun, 18 Jul 2010 16:26:45 -0700 From: Chip Camden To: freebsd-ports@freebsd.org Message-ID: <20100718232645.GD93366@libertas.local.camdensoftware.com> Mail-Followup-To: freebsd-ports@freebsd.org References: <4C42CFDA.3040409@comclark.com> <4C42D292.208@infracaninophile.co.uk> <4C4388D2.30200@comclark.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bajzpZikUji1w+G9" Content-Disposition: inline In-Reply-To: <4C4388D2.30200@comclark.com> User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh2.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com Subject: Re: [new port] usage of shar command X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jul 2010 23:26:52 -0000 --bajzpZikUji1w+G9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoth Joe on Monday, 19 July 2010: > Matthew Seaman wrote: > >On 18/07/2010 10:56:42, Joe wrote: > > > >>After getting my port ready for submitting to the ports system, I read > >>the above section from the porters handbook and come to a show stopper. > >> > >>I can not figure out just what the author was trying to say with > >>"output of shar `find port_dir`" > >> > >>Can someone explain how the shar command is intended to be used to > >>create the file that gets send with the [new port] pr? > > > >Suppose you have called your new port "splat", and you have therefore a > >directory ~/splat containing the port Makefile, distinfo, pkg-descr, > >etc. Then what you need to do is run exactly this: > > > > % cd ~ > > % shar `find splat` > splat.shar > > > >Note the special `backticks` -- they're important. > > > >What this does is -- > > > > * Runs the command: find splat > > This will print out a list of all the file and directory names > > under the directory splat. > > * Takes that list and turns it into part of the command line for > > shar. > > * Runs shar over all the files and directories found by find. > > > >Now, just attach that splat.shar file to the PR (send-pr -a splat.shar) > >as the final step in submitting your new port. > > > > Cheers, > > > > Matthew >=20 > This needs to be in the handbook. How is anybody going to know that the > `find port_dir` is suppose to be enclosed by [`backticks`]. I has to be= =20 > said in words not just a printed example. >=20 The handbook shows backticks, at least in my browser: http://www.freebsd.org/doc/en/books/porters-handbook/porting-submitting.html >=20 --=20 Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipstips.com | http://chipsquips= .com --bajzpZikUji1w+G9 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iQEcBAEBAgAGBQJMQ421AAoJEIpckszW26+R6ncIAIWdLP0GdaoYp6DhB6GVbJmc BtejvELINBmp1n1xiaKJ4oGxfyqYeQbbIOF8I8vvYhuV2A+nR8iwM9gGvKtSSOCq 4dgHqjlwTvCuiH3f4RhledWmOlJP0Nuy8p81jwUJcfXV3H+2Q2RuuujoPfojmMsM TBSW75u+FQQik05Ldo3umjUKCsQtp56gMSpBSwAs3DWh0ay3Tg0TYYf8yHvswAsS eot0fH4dUOk7t+NtepOQqdMD4Mz8SFZCZ9u+Ya0O2rU8DeCc2jtjuS350N4cWIuD 58e64OUvMg+hZ6GJMVcBLmIv+YjDqixiVsqJPAIkcxl/ymE9ovlwxwZREOSa24I= =JhPm -----END PGP SIGNATURE----- --bajzpZikUji1w+G9--