freebsd.eclass: Switch to mirror://gentoo
authorMichał Górny <mgorny@gentoo.org>
Sun, 15 Sep 2019 17:00:35 +0000 (19:00 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sun, 15 Sep 2019 17:02:23 +0000 (19:02 +0200)
FreeBSD upstream removed the distfiles for 11.1 release from their
servers.  Switch to mirror://gentoo to provide those old files.
While using upstream's servers would be correct for new releases,
the packages are last rited anyway.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
eclass/freebsd.eclass

index 7c89d953c4ba792c71233a75a100ad8d223df909..420312b508337f509f236e3dc42e925716bd3113 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 #
 # @MAINTAINER:
@@ -76,7 +76,7 @@ if [[ ${MY_PV} != *9999* ]] && version_is_at_least 10.0 ${RV} ; then
        if [[ ${DL_PV} == ${MY_PV} ]]; then
                DL_PV="${DL_PV}-RELEASE"
        fi
-       SRC_URI="mirror://freebsd/releases/i386/${DL_PV}/src.txz -> freebsd-src-${MY_PV}.tar.xz"
+       SRC_URI="mirror://gentoo/freebsd-src-${MY_PV}.tar.xz"
 fi
 
 IUSE="profile"