media-libs/mesa: Update download link, and download over HTTPS.
authorMatt Turner <mattst88@gentoo.org>
Wed, 25 Jan 2017 17:30:07 +0000 (09:30 -0800)
committerMatt Turner <mattst88@gentoo.org>
Wed, 25 Jan 2017 17:31:24 +0000 (09:31 -0800)
Prefer HTTPS to FTP. Also upstream has stopped putting releases in a
subdirectory corresponding to the version.

media-libs/mesa/mesa-9999.ebuild

index fa8bd50f3668035809e2fd95336b0b4f5818b305..34c1704f352bd574519e493258324ae404e7b3f9 100644 (file)
@@ -18,7 +18,6 @@ inherit autotools multilib-minimal python-any-r1 pax-utils ${GIT_ECLASS}
 OPENGL_DIR="xorg-x11"
 
 MY_P="${P/_/-}"
-FOLDER="${PV/_rc*/}"
 
 DESCRIPTION="OpenGL-like graphic library for Linux"
 HOMEPAGE="http://mesa3d.sourceforge.net/"
@@ -27,7 +26,7 @@ if [[ $PV == 9999 ]]; then
        SRC_URI=""
        KEYWORDS=""
 else
-       SRC_URI="ftp://ftp.freedesktop.org/pub/mesa/${FOLDER}/${MY_P}.tar.xz"
+       SRC_URI="https://mesa.freedesktop.org/archive/${MY_P}.tar.xz"
        KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris"
 fi