Skip to content

Commit

Permalink
mate-desktop.org.eclass: use HTTPS only for default URLs
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
davidhicks authored and mgorny committed Jul 30, 2017
1 parent 2bf4728 commit 72a1c0b
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions eclass/mate-desktop.org.eclass
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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"

0 comments on commit 72a1c0b

Please sign in to comment.