tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: handling redirect download/on the fly packaging URLs?



On Fri, 1 Jan 2010, Joerg Sonnenberger wrote:

> On Fri, Jan 01, 2010 at 08:44:56PM +0100, Georg Schwarz wrote:
> > I'm trying to add a package which needs to fetch its source (in
> > tar.gz format) from
> > http://github.com/philpraxis/ss7calc/tarball/master
> > Of course I could add the URL to which one gets redirected, but this
> > is insufficent since the tarball is only created on the fly when the
> > download URL in requested.
> > What's the best way to handle this with pkgsrc?
>
> Generally, unreleased stuff should be avoided. If that is not possible,
> create a tarball and put it in the local distfile directory on ftp.n.o.

alternatively in pkgsrc-wip there is a set of mk/xxx-package.mk files for
inclusion that handle importing directly from cvs, hg & svn repositories -
there is not one for git but perhaps one could be made there and a wip
package could be made for ss7calc which would provide ease of building
'latest' versions inside the pkgsrc framework.

see pkgsrc-wip.sourceforge.net for a starter..

regards,
iain




Home | Main Index | Thread Index | Old Index