Date: Fri, 20 Jun 2003 10:25:40 -0700 From: Joshua Oreman <oremanj@webserver.get-linux.org> To: Kris Kennaway <kris@obsecurity.org> Cc: ports@freebsd.org Subject: Re: ports using CVS repo to get sources Message-ID: <20030620172539.GB25735@webserver.get-linux.org> In-Reply-To: <20030620165926.GB53379@rot13.obsecurity.org> References: <20030620101547.GC92339@nevermind.kiev.ua> <20030620164643.GC25203@webserver.get-linux.org> <20030620165926.GB53379@rot13.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030620172539.GB25735>