From owner-freebsd-ports@FreeBSD.ORG Mon Jun 23 00:43:00 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 F004937B401 for ; Mon, 23 Jun 2003 00:43:00 -0700 (PDT) Received: from kurush.osdn.org.ua (external.osdn.org.ua [212.40.34.156]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0753C43F75 for ; Mon, 23 Jun 2003 00:42:59 -0700 (PDT) (envelope-from never@kurush.osdn.org.ua) Received: from kurush.osdn.org.ua (never@localhost [127.0.0.1]) by kurush.osdn.org.ua (8.12.6p2/8.12.6) with ESMTP id h5N7gue7027047; Mon, 23 Jun 2003 10:42:56 +0300 (EEST) (envelope-from never@kurush.osdn.org.ua) Received: (from never@localhost) by kurush.osdn.org.ua (8.12.6p2/8.12.6/Submit) id h5N7gsHb027044; Mon, 23 Jun 2003 10:42:54 +0300 (EEST) (envelope-from never) Date: Mon, 23 Jun 2003 10:42:54 +0300 From: Alexandr Kovalenko To: Kris Kennaway Message-ID: <20030623074253.GA27017@nevermind.kiev.ua> 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=koi8-r Content-Disposition: inline In-Reply-To: <20030620165926.GB53379@rot13.obsecurity.org> User-Agent: Mutt/1.5.1i cc: ports@freebsd.org cc: Joshua Oreman 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: Mon, 23 Jun 2003 07:43:01 -0000 Hello, Kris Kennaway! On Fri, Jun 20, 2003 at 09:59:26AM -0700, you wrote: > > * In do-fetch, do: > > do-fetch: > > ${MKDIR} ${WRKSRC} > > (cd ${WRKSRC} && cvs -Q -d :pserver@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. 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. Yes, I think it is the best way. I've used this approach. You can see this port in PR #53556 Thank you, Kris. -- NEVE-RIPE, will build world for food Ukrainian FreeBSD User Group http://uafug.org.ua/