Debian stuff

Geomirror

Update: this is being phased out in favor of http.debian.net, which is a better solution in pretty much all senses. See this announcement for more info.

An implementation of automatic mirror discovery based on DNS and geolocation. It can be used simply by replacing whatever mirror host you’re using in /etc/apt/sources.list with “$(ARCH)-geomirror.debian.net“.

It was implemented as a small script that works as a backend to PowerDNS’ Pipe backend. It reads information from the Debian mirrors list and selects the appropriate mirror based on geographic location, using libgeo-ip-perl, and some simple heuristics.

The code can be found in the git repository.

Packages

A list of officially maintained packages can be found in the Debian’s QA site