Upstream repository shutdowns
This article is used to list deprecated (or simply no longer existent) locations for upstream package repositories. At one time Gentoo ebuild maintainers were able to download source tarballs for packages from these sites. Now that they are no longer usable, ebuild maintainers have the difficult job up tracking down where the upstream projects have decided to move their project repositories.
The broken SRC_URI values in the official Gentoo tree generate a lot of maintenance work.
Many projects got forked several times during the shut down procedure and it is not always easy to find out which fork is the right one for the Gentoo ebuild.
While many packages need an update to a new URL it is easy to plant silently a link to malicious source code instead of the original source code. It is also possible that a developer uses a wrong fork by accident.
Developers should read also the How to deal with package forks? discussion as started on 2017-03-09 on the developer mailing list.
Find out, if there sources on example.com which we must not mirror
cd /var/db/repos/gentoo/metadata/md5-cache; grep "URI=.*example\.com" -R -l | xargs grep "RESTRICT"
Returns all RESTRICT variables of the affected ebuilds. Are they using restrictions which would forbid mirroring in general?
Note about mirror://gentoo from devmanual "Previous policy was to use mirror://gentoo directly, but this is now deprecated, as that wouldn't allow to have long-term availability and traceability of the source files, which might be a requirement of the license. "
Fixing a package
- If there is no suitable upstream homepage use
HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"as a substitute.
Notable repositories that were shut down
- 2014-04-30: BerliOS shut down (bug #494678) (70 ebuilds affected)
- 2014-06-18: Freecode.com (formerly Freshmeat) is not updated anymore and was never a primary SRC_URI or HOMEPAGE
- 2015-05-31: gitorious.org shut down (bug #544808) (26 ebuilds affected)
- 2015-05-31: codehaus.org shut down (bug #550054) (40 ebuilds affected)
- 2016-03-31: JavaForge shut down (bug #636472) (2 ebuilds affected)
- 2016-12-31: Google Code shut down (bug #544092) (500+ ebuilds affected)
- 2017-03-01: Fedorahosted.org shut down (bug #618046) (107 ebuilds affected)
- 2017-03-01: ftp.kernel.org shut down (bug #611402) (9 ebuilds affected, all fixed by now)
- 2017-05-16: gna.org shut down (bug #612500) (88 ebuilds affected)
- 2018-06-05: alioth.debian.org shut down (bug #683184 (60 ebuilds affected)
- 2020-08-20: BitBucket retires support for mercurial repositories bug #737896 (63 ebuilds affected)