ports using CVS repo to get sources

Joshua Oreman oremanj at webserver.get-linux.org
Fri Jun 20 10:23:14 PDT 2003


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 at 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
> 




More information about the freebsd-ports mailing list