From owner-freebsd-ports@FreeBSD.ORG Sat Aug 7 09:19:59 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 5CB6E1065675 for ; Sat, 7 Aug 2010 09:19:59 +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 D5A908FC0C for ; Sat, 7 Aug 2010 09:19:58 +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 o779Jl1M047034 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sat, 7 Aug 2010 10:19:54 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4C5D252B.6000200@infracaninophile.co.uk> Date: Sat, 07 Aug 2010 10:19:39 +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.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: Jim Trigg References: In-Reply-To: X-Enigmail-Version: 1.1.1 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigE227A986EF99E8C616B0B0A9" X-Virus-Scanned: clamav-milter 0.96.1 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=2.5 required=5.0 tests=BAYES_20,DKIM_ADSP_ALL, SPF_FAIL,URIBL_BLACK autolearn=no version=3.3.1 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-ports-mailinglist Subject: Re: Next question from a basically novice maintainer 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: Sat, 07 Aug 2010 09:19:59 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigE227A986EF99E8C616B0B0A9 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 07/08/2010 04:32:31, Jim Trigg wrote: > OK, I'm trying to set up tinderbox to validate the port I maintain and > another that I'm attempting to put together (well, technically to > update since the maintainer has not responded to my inquiry). How do > I set up ports trees for individual ports and their dependencies? The > README only shows how to pull a full ports tree from CVS. Each port is available as a module in the FreeBSD CVS, so for instance you can do something like this to grab a specific port from CVS: % setenv R_CVSROOT :ext:anoncvs@anoncvs.fr.FreeBSD.org:/home/ncvs % cvs -d $R_CVSROOT checkout apache22 Password: cvs checkout: Updating apache22 U apache22/Makefile U apache22/Makefile.doc [... etc ...] The module name is generally the same as the port directory, but not necessarily -- also, for new ports, there may be a period of a day or so before the MODULES data is updated but after the port is committed. In the event of difficulty, you can poke around here to find a useful checkout target: http://www.freebsd.org/cgi/cvsweb.cgi/CVSROOT-ports/modules See the Handbook page on anonymous CVS servers to find one near you and also about how to interact with them -- case in point, for the server above, just hit [Return] in answer to the Password: prompt. Unless you're severely cramped for space *or* dealing with ports that a lot of other ports depend on, I'd advise just keeping an up to date copy of the whole ports tree around (maintained by csup or portsnap in the usual way) and just check out the ports you're particularly interested in from CVS to a separate directory. The ports is clever enough to work quite happily with out-of-tree port directories. I grabbed most of this from Ion-Mihai's guide at: http://ionut.tetcu.info/FreeBSD/How-to-submit-a-diff.txt 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 --------------enigE227A986EF99E8C616B0B0A9 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/ iEYEARECAAYFAkxdJTMACgkQ8Mjk52CukIyf/gCfZAPJF0VvaHcSqSxWjn2lJZCq Y2EAnjEWNdm4SdFzI9IC6I+GnInE3bsX =BsEF -----END PGP SIGNATURE----- --------------enigE227A986EF99E8C616B0B0A9--