From owner-freebsd-ports@FreeBSD.ORG Sun Jul 18 10:08:41 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 D69311065679 for ; Sun, 18 Jul 2010 10:08:41 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 40ECD8FC19 for ; Sun, 18 Jul 2010 10:08:41 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o6IA8PKi088891 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sun, 18 Jul 2010 11:08:25 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4C42D292.208@infracaninophile.co.uk> Date: Sun, 18 Jul 2010 11:08:18 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1 MIME-Version: 1.0 To: Joe References: <4C42CFDA.3040409@comclark.com> In-Reply-To: <4C42CFDA.3040409@comclark.com> X-Enigmail-Version: 1.1.1 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigCEA712CD29BA9349E6F2B7F8" X-Virus-Scanned: clamav-milter 0.96.1 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_40,DKIM_ADSP_ALL, SPF_FAIL autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-ports@freebsd.org 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 10:08:41 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigCEA712CD29BA9349E6F2B7F8 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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.= >=20 > I can not figure out just what the author was trying to say with > "output of shar `find port_dir`" >=20 > 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 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enigCEA712CD29BA9349E6F2B7F8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkxC0pkACgkQ8Mjk52CukIxpKgCfaahlF02gvd5OR+hX9/p0BOeW TBwAn1snC5O5uja8d4c/CFO3e6vPFWUt =nx0E -----END PGP SIGNATURE----- --------------enigCEA712CD29BA9349E6F2B7F8--