tech-pkg archive

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

Re: Fetching additional/optional non-patch/non-distfiles



* On 2020-11-21 at 19:35 GMT, Martin Husemann wrote:

> This works fine, but I have trouble finding a good place to store the
> tarball. For now it is generated in ./files/, but as a big binary file
> that is kind of inconvenient. I thought about putting it on
> ftp.netbsd.org (adding a special upload makefile target) and using it
> via cdn. This would work nicely (but I'm not sure what path to best use
> on ftp for that), but I am not sure how it should be dealt with at the
> pkgsrc level.

This is exactly what /pub/pkgsrc/distfiles/LOCAL_PORTS is for.  Have a
look at www/gitea for an example of a package that does what you need
(frontend artefacts built using nodejs then added as a distfile).

-- 
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com


Home | Main Index | Thread Index | Old Index