Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jun 2003 10:42:54 +0300
From:      Alexandr Kovalenko <never@nevermind.kiev.ua>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        Joshua Oreman <oremanj@www.get-linux.org>
Subject:   Re: ports using CVS repo to get sources
Message-ID:  <20030623074253.GA27017@nevermind.kiev.ua>
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
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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030623074253.GA27017>