RFC: svn for make fetch

Brooks Davis brooks at freebsd.org
Mon Nov 9 22:56:53 UTC 2009


On Mon, Nov 09, 2009 at 02:28:52PM -0800, Xin LI wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Eitan Adler wrote:
> > I was hoping to get a bit more of a response to a recent posting of
> > mine with regard to using svn to fetch files for ports
> > My proposal: http://www.mail-archive.com/freebsd-ports@freebsd.org/msg23776.html
> > A summary of what has been going on:
> > http://wiki.freebsd.org/EitanAdler/ports-svn
> > 
> > This is something that more than 2 people should have an input on
> 
> Just my $0.02 but I think it would be great if we can do:
> 
>  - "make fetch" would prefer using a pre-packaged tarball, but fallback
> to a svn/whatever checkout with a specific revision number, then
> generate a tarball from the export.
>  - "make checksum" would check the tarball's checksum.

It's probalby not practical to generate an archive with consistently
identical checksums due to the various timestamps (at least without
adding a tar writer to svn which would be kind of cool. :)

> Maybe we can also have some variables to control that we actually want
> the 'HEAD' revision without checking any checksum.  However, I think it
> would be nice if we can do a checksum'ed checkout for specific SCM
> revision, especially if we want to have ports to work not only for
> *-devel ports where we would prefer signed source code.

While this wasn't the intent of the -DBOOTSTRAP stuff I added to the
llvm port, people are finding it useful so if we can find I clean way to
support this I think it would be cool.

-- Brooks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20091109/4fe3bf29/attachment.pgp


More information about the freebsd-ports mailing list