ports using CVS repo to get sources

Alexandr Kovalenko never at nevermind.kiev.ua
Mon Jun 23 00:43:01 PDT 2003


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 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.  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/


More information about the freebsd-ports mailing list