<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 11, 2017 at 12:18 PM, Dariusz Sendkowski <span dir="ltr"><<a href="mailto:dsendkowski@gmail.com" target="_blank">dsendkowski@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div><div>I guess that is exactly how it is done in OpenBSD. You have precompiled binaries, which you can fetch and install. You can also build them by yourself using OpenBSD ports system. If the original site is unavailable, the sources are downloaded directly from OpenBSD servers, for example:<br><span style="font-family:monospace,monospace"><br># cd /usr/ports/x11/libxdg-basedir/<wbr>                              <wbr>                              <wbr>                              <wbr>         <br># make fetch<br>===>  Checking files for libxdg-basedir-1.2.0p0<br>>> Fetch <a href="http://nevill.ch/libxdg-basedir/downloads/libxdg-basedir-1.2.0.tar.gz" target="_blank">http://nevill.ch/libxdg-<wbr>basedir/downloads/libxdg-<wbr>basedir-1.2.0.tar.gz</a><br>ftp: connect: Connection refused<br>>> Fetch <a href="https://ftp.openbsd.org/pub/OpenBSD/distfiles//libxdg-basedir-1.2.0.tar.gz" target="_blank">https://ftp.openbsd.org/pub/<wbr>OpenBSD/distfiles//libxdg-<wbr>basedir-1.2.0.tar.gz</a><br>libxdg-basedir-1.2.0.t... 100% </span><br><br></div>Well, of course one can always clone oi-userland and build the packages by oneself.<br><br></div>Anyway, I just wanted to know how exactly it is done in OI.<br><br></div><div>Btw, I wanted to add <span style="font-family:monospace,monospace">libxdg-basedir</span> to oi-userland but as you can see, the original site is not available any more.<br></div></div></div></blockquote><div><br></div><div>There is a mirror with archived tarballs at:<br></div><div><br><a href="http://dlc.openindiana.org/oi-userland/source-archives/">http://dlc.openindiana.org/oi-userland/source-archives/</a><br><br></div><div>which can be used automatically if you set the <span class="gmail-pl-c">EXTERNAL_ARCHIVE_MIRROR variable.<br><br></span></div><div><span class="gmail-pl-c">I do not know what you mean exactly by "precompiled package".<br>IPS is not based on "tarballs" and you can create pkg(5) archives for a given package version just by pkgrecv from the publisher, this seems a bit redundant.<br></span></div><div><span class="gmail-pl-c"><br></span></div><div><span class="gmail-pl-c">HTH<br></span></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div></div><div><br></div>regards,<br></div>Darek<br><br><div><div><div><div><br></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-05-11 11:49 GMT+02:00 Nikola M <span dir="ltr"><<a href="mailto:minikola@gmail.com" target="_blank">minikola@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-"><span>On 05/11/17 10:53 AM, Dariusz Sendkowski wrote:<br>
> Hi,<br>
><br>
> What happens when a component archive url points to a web resource<br>
> that is unavailable temporarily or, even worse, permanently? How does<br>
> it impact the package availability?<br>
><br>
> Are all these oi-userland components precompiled and stored somewhere<br>
> on the publisher server along with the sources? So when users install<br>
> some packages they fetch the precompiled packages regardless of the<br>
> corresponding archive urls availability?<br>
<br>
</span></span>I asked that 3+ years ago and i think they are stored on Oi build<br>
servers, but not accessible from outside.<br>
<br>
It would be the best to always have all sources available at any time,<br>
so all source is fetched from OI servers, but it could be a project for<br>
itself to make upstream sources available locally on OI servers.<br>
<br>
Maintainers didn't like this, because fetching source archives from<br>
remote server is more simple for a building process.<br>
<br>
I also used to point out the legality of even distributing precompiled<br>
binaries before, without providing sources at any time. (and for any<br>
distributed binary).<br>
Having local store of source archives from the upstream projects,<br>
having all sources always available at OI site, would fix both legal and<br>
build problems and elevate problem if network source is not available.<br>
Maybe just make local source code archives on Oi servers, visible to all<br>
users? <br></blockquote></div></div></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
</blockquote></div><br></div>
<br>______________________________<wbr>_________________<br>
oi-dev mailing list<br>
<a href="mailto:oi-dev@openindiana.org">oi-dev@openindiana.org</a><br>
<a href="https://openindiana.org/mailman/listinfo/oi-dev" rel="noreferrer" target="_blank">https://openindiana.org/<wbr>mailman/listinfo/oi-dev</a><br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><font style="font-family:courier new,monospace" size="1">---<br>Praise the Caffeine embeddings<br></font></div></div></div></div>
</div></div>