Hello, Matt. On Tue, 27 Nov 2007 14:37:57 -0600 Matt Housh <jaeger@morpheus.net> wrote:
Attached is a patch for pkgutils 5.30.0 that adds distfile repository support via a pkgmk.conf variable, PKGMK_DISTFILE_REPOS. Just a notice: as pkgmk.conf and handbook do not mention 'distfile(s)' word at all, shouldn't it be named PKGMK_SOURCE_MIRRORS or PKGMK_SOURCE_REPOS to avoid confusion and relation with other distros?
By default it's defined empty which causes no behavioral changes. If you define it to a list of URLs, like PKGMK_DISTFILE_REPOS=(http://gentoo.osuosl.org/distfiles/ http://fileserver.intranet/crux/distfiles/), it'll attempt to fetch the source archive from the listed hosts before falling back to the host defined in the source=() array in the Pkgfile.
Yes, this has been brought up before and by other people besides me. The reason I bring it up again now is that I'd like to see it in 2.4. The opinions in the IRC meeting were favorable but I'm posting it here for more exposure. Please give it a look and feel free to comment.
Thanks a lot for bringing this feature up for discussion again. -- Mikhail Kolesnik ICQ: 260259143 IRC: mike_k at freenode/#crux, rusnet/#yalta