To follow up on the mirror idea...
Here's a quick draft for a CGI that would accept HTTP (haven't tried FTP
URLs yet) requests for pkgsrc packages and direct them to a random mirror,
pasted below. In testing, pkg_add works with it, either as a directly
passed URL or if you set PKG_PATH. BINPKG_SITES does not work for 'bmake
bin-install' targets, because it unhelpfully assumes it needs to add /All
onto the target URL.
#!/usr/pkg/bin/perl
@mirrors = (
"http://www.pkgsrc-box.org/packages/stable/DragonFly-1.10/All",
"http://chlamydia.fs.ei.tum.de/pub/DragonFly/packages/stable/DragonFly-1.10/All",
"http://www.theshell.com/pub/DragonFly/packages/stable/DragonFly-1.10/All",
"http://ftp.twaren.net/BSD/DragonFlyBSD/packages/stable/DragonFly-1.10/All",
);
my $target = $ENV{'REQUEST_URI'};
$target =~ s/^\/download//;
print "Location: " . $mirrors[int(rand(scalar(@mirrors)))] . "$target\n\n";| Greg Kroah-Hartman | [PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO |
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| James Bottomley | Re: Integration of SCST in the mainstream Linux kernel |
| Robin Lee Powell | NFS hang + umount -f: better behaviour requested. |
git: | |
| David Miller | [GIT]: Networking |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Natalie Protasevich | [BUG] New Kernel Bugs |
| Gerrit Renker | [PATCH 18/37] dccp: Support for Mandatory options |
