From owner-freebsd-ports@FreeBSD.ORG Fri Jun 20 10:23:14 2003 Return-Path: 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 894BC37B401 for ; Fri, 20 Jun 2003 10:23:14 -0700 (PDT) Received: from adsl-64-161-78-226.dsl.lsan03.pacbell.net (adsl-64-161-78-226.dsl.lsan03.pacbell.net [64.161.78.226]) by mx1.FreeBSD.org (Postfix) with SMTP id CB9FA43F85 for ; Fri, 20 Jun 2003 10:23:13 -0700 (PDT) (envelope-from oremanj@adsl-64-161-78-226.dsl.lsan03.pacbell.net) Received: (qmail 25874 invoked by uid 1001); 20 Jun 2003 17:25:40 -0000 Date: Fri, 20 Jun 2003 10:25:40 -0700 From: Joshua Oreman To: Kris Kennaway Message-ID: <20030620172539.GB25735@webserver.get-linux.org> References: <20030620101547.GC92339@nevermind.kiev.ua> <20030620164643.GC25203@webserver.get-linux.org> <20030620165926.GB53379@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030620165926.GB53379@rot13.obsecurity.org> User-Agent: Mutt/1.4.1i cc: ports@freebsd.org Subject: Re: ports using CVS repo to get sources X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jun 2003 17:23:14 -0000 On Fri, Jun 20, 2003 at 09:59:26AM -0700 or thereabouts, Kris Kennaway seemed to write: > On Fri, Jun 20, 2003 at 09:46:43AM -0700, Joshua Oreman wrote: > > > Someone better at ports than me should comment on this, but: > > * Make ${PORTVERSION} something like "1.x-cvs" [does this violate the versioning scheme?] > > I think so. > > > * In do-fetch, do: > > do-fetch: > > ${MKDIR} ${WRKSRC} > > (cd ${WRKSRC} && cvs -Q -d :pserver:anon@my.cvs.server:/cvsroot checkout mymodule) > > * Make do-extract remove all vestiges of CVS :-) > > do-extract: > > ${FIND} ${WRKSRC} -name CVS -exec rm -rf {} \; > > * And it should work. > > > > However, I think the main reason that there's no CVS knobs in bsd.port.mk is > > because ports are supposed to be releases. But for a separate port, that's OK, > > I think. > > No, it's because you can't fetch from CVS behind a firewall, so some > people will never be able to build your port if it relies on CVS > fetching. Why is this true? I thought pserver was a one way connection. > Instead, you should make your own tarball (possibly by > using a helper makefile target for use by the maintainer that fetches > from CVS and creates the tarball) and make it available for > redistribution, either on your own FTP site or on MASTER_SITE_LOCAL. Thanks for the tip! -- Josh > > Kris >