summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Hicks <david@hicks.id.au>2017-07-29 08:52:36 +1000
committerMichał Górny <mgorny@gentoo.org>2017-07-30 10:35:48 +0200
commit72a1c0b4a9bc011baa0a618679b78dc0e44cc227 (patch)
treeefd51c34846ca3199935d0defac200f6bd70be1a /eclass/mate-desktop.org.eclass
parentdev-python/zict: use HTTPS for GitHub (diff)
downloadgentoo-72a1c0b4a9bc011baa0a618679b78dc0e44cc227.tar.gz
gentoo-72a1c0b4a9bc011baa0a618679b78dc0e44cc227.tar.bz2
gentoo-72a1c0b4a9bc011baa0a618679b78dc0e44cc227.zip
mate-desktop.org.eclass: use HTTPS only for default URLs
Enforce use of HTTPS for accessing GitHub, as http:// and git:// URLs do not provide authentication of the server. The Mate home page is also accessible via https:// so use HTTPS there as well.
Diffstat (limited to 'eclass/mate-desktop.org.eclass')
-rw-r--r--eclass/mate-desktop.org.eclass12
1 files changed, 4 insertions, 8 deletions
diff --git a/eclass/mate-desktop.org.eclass b/eclass/mate-desktop.org.eclass
index 1f4ad3f35449..8d03bcec3572 100644
--- a/eclass/mate-desktop.org.eclass
+++ b/eclass/mate-desktop.org.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: mate-desktop.org.eclass
@@ -50,15 +50,11 @@ inherit versionator
# Set SRC_URI or EGIT_REPO_URI based on whether live
if [[ ${PV} == 9999 ]]; then
- EGIT_REPO_URI="
- https://github.com/mate-desktop/${MATE_DESKTOP_ORG_PN}.git
- git://github.com/mate-desktop/${MATE_DESKTOP_ORG_PN}.git
- http://github.com/mate-desktop/${MATE_DESKTOP_ORG_PN}.git
- "
+ EGIT_REPO_URI="https://github.com/mate-desktop/${MATE_DESKTOP_ORG_PN}.git"
SRC_URI=""
else
- SRC_URI="http://pub.mate-desktop.org/releases/${MATE_BRANCH}/${MATE_DESKTOP_ORG_PN}-${MATE_DESKTOP_ORG_PV}.tar.${MATE_TARBALL_SUFFIX}"
+ SRC_URI="https://pub.mate-desktop.org/releases/${MATE_BRANCH}/${MATE_DESKTOP_ORG_PN}-${MATE_DESKTOP_ORG_PV}.tar.${MATE_TARBALL_SUFFIX}"
fi
# Set HOMEPAGE for all ebuilds
-HOMEPAGE="http://mate-desktop.org"
+HOMEPAGE="https://mate-desktop.org"