From: | "Michał Górny" <mgorny@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] repo/gentoo:master commit in: eclass/ |
Date: | Sun, 30 Jul 2017 08:36:03 |
Message-Id: | 1501403748.72a1c0b4a9bc011baa0a618679b78dc0e44cc227.mgorny@gentoo |
1 | commit: 72a1c0b4a9bc011baa0a618679b78dc0e44cc227 |
2 | Author: David Hicks <david <AT> hicks <DOT> id <DOT> au> |
3 | AuthorDate: Fri Jul 28 22:52:36 2017 +0000 |
4 | Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 | CommitDate: Sun Jul 30 08:35:48 2017 +0000 |
6 | URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72a1c0b4 |
7 | |
8 | mate-desktop.org.eclass: use HTTPS only for default URLs |
9 | |
10 | Enforce use of HTTPS for accessing GitHub, as http:// and git:// URLs do |
11 | not provide authentication of the server. The Mate home page is also |
12 | accessible via https:// so use HTTPS there as well. |
13 | |
14 | eclass/mate-desktop.org.eclass | 12 ++++-------- |
15 | 1 file changed, 4 insertions(+), 8 deletions(-) |
16 | |
17 | diff --git a/eclass/mate-desktop.org.eclass b/eclass/mate-desktop.org.eclass |
18 | index 1f4ad3f3544..8d03bcec357 100644 |
19 | --- a/eclass/mate-desktop.org.eclass |
20 | +++ b/eclass/mate-desktop.org.eclass |
21 | @@ -1,4 +1,4 @@ |
22 | -# Copyright 1999-2016 Gentoo Foundation |
23 | +# Copyright 1999-2017 Gentoo Foundation |
24 | # Distributed under the terms of the GNU General Public License v2 |
25 | |
26 | # @ECLASS: mate-desktop.org.eclass |
27 | @@ -50,15 +50,11 @@ inherit versionator |
28 | |
29 | # Set SRC_URI or EGIT_REPO_URI based on whether live |
30 | if [[ ${PV} == 9999 ]]; then |
31 | - EGIT_REPO_URI=" |
32 | - https://github.com/mate-desktop/${MATE_DESKTOP_ORG_PN}.git |
33 | - git://github.com/mate-desktop/${MATE_DESKTOP_ORG_PN}.git |
34 | - http://github.com/mate-desktop/${MATE_DESKTOP_ORG_PN}.git |
35 | - " |
36 | + EGIT_REPO_URI="https://github.com/mate-desktop/${MATE_DESKTOP_ORG_PN}.git" |
37 | SRC_URI="" |
38 | else |
39 | - SRC_URI="http://pub.mate-desktop.org/releases/${MATE_BRANCH}/${MATE_DESKTOP_ORG_PN}-${MATE_DESKTOP_ORG_PV}.tar.${MATE_TARBALL_SUFFIX}" |
40 | + SRC_URI="https://pub.mate-desktop.org/releases/${MATE_BRANCH}/${MATE_DESKTOP_ORG_PN}-${MATE_DESKTOP_ORG_PV}.tar.${MATE_TARBALL_SUFFIX}" |
41 | fi |
42 | |
43 | # Set HOMEPAGE for all ebuilds |
44 | -HOMEPAGE="http://mate-desktop.org" |
45 | +HOMEPAGE="https://mate-desktop.org" |