From owner-freebsd-ports@FreeBSD.ORG Tue Jun 14 23:24:50 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9162C16A41C for ; Tue, 14 Jun 2005 23:24:50 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 69A4943D48 for ; Tue, 14 Jun 2005 23:24:50 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id j5ENOnlV008852; Tue, 14 Jun 2005 16:24:49 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id j5ENOnr1008851; Tue, 14 Jun 2005 16:24:49 -0700 Date: Tue, 14 Jun 2005 16:24:49 -0700 From: Brooks Davis To: Danny Howard Message-ID: <20050614232449.GA7887@odin.ac.hmc.edu> References: <20050614230730.GL84299@ratchet.nebcorp.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="YiEDa0DAkWCtVeE4" Content-Disposition: inline In-Reply-To: <20050614230730.GL84299@ratchet.nebcorp.com> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu Cc: freebsd-ports@freebsd.org Subject: Re: Building a port that fetches via CVS co 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: Tue, 14 Jun 2005 23:24:50 -0000 --YiEDa0DAkWCtVeE4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 14, 2005 at 04:07:30PM -0700, Danny Howard wrote: > Hello, >=20 > I am looking to build a "master port" to configure a system to house my > employer's web application. Ideally, the port could accept a release > tag and other CVS config data and check the software out of our CVS > server. Else, I can supply a tarball distfile in a seperate step. >=20 > I swear I remember watching a few ports that got their distfiles from a > CVS server, but I could find nothing in the porter's handbook or in > bsd.port.mk about this. And trying to search for this question is > rather difficult, given that cvsup and ports are so intertwined. >=20 > Does anyone have any pointers on this? Please reply-all, as I am not > subscribed to freebsd-ports. Thanks! You can do this by overriding either do-fetch or do-extract depending on exactly what you want to do. For an in-house hack, I'd probably just use do-extract. For stuff you want to distribute adding code to the makefile to build a distfile from CVS and then distributing that is probalby the way to go. I do this for my work in progress Sun Grid Engine port. See the distfile target: http://perforce.freebsd.org/fileViewer.cgi?FSPC=3D//depot/user/brooks/ports= /sge/Makefile&REV=3D19 The method should be fairly applicable to a do-extract target. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --YiEDa0DAkWCtVeE4 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFCr2dBXY6L6fI4GtQRAkisAKDYaOk+PWYKJk7LL0Usk2zgaqzFhACgidLV ow0eZVDW6poXMal4LgrPKYM= =a9kk -----END PGP SIGNATURE----- --YiEDa0DAkWCtVeE4--