[X2Go-Commits] [buildscripts] 04/07: bin/build-rpm-package: use HTTPS for fetching *SuSE packages.

git-admin at x2go.org git-admin at x2go.org
Thu Nov 16 01:25:49 CET 2017


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository buildscripts.

commit 61698fffe7f09f60dbb07123d1b7632378f3a0cb
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Thu Nov 16 00:14:25 2017 +0100

    bin/build-rpm-package: use HTTPS for fetching *SuSE packages.
---
 bin/build-rpm-package | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/bin/build-rpm-package b/bin/build-rpm-package
index 2466d24..6a49c53 100755
--- a/bin/build-rpm-package
+++ b/bin/build-rpm-package
@@ -44,8 +44,8 @@ REPOS_SERVER="packages.mydomain.org"
 PACKAGES_WITHOUT_OTHERMIRROR="keyring"
 GNUPGHOME="${HOME}/.gnupg"
 
-OPENSUSE_DOWNLOAD_URL="http://download.opensuse.org/distribution/#LEAP##VERSION#/repo/oss/suse/"
-OPENSUSE_DOWNLOAD_ARCHIVE_URL="http://ftp.gwdg.de/pub/opensuse/discontinued/distribution/#LEAP##VERSION#/repo/oss/suse"
+OPENSUSE_DOWNLOAD_URL="https://download.opensuse.org/distribution/#LEAP##VERSION#/repo/oss/suse/"
+OPENSUSE_DOWNLOAD_ARCHIVE_URL="https://ftp.gwdg.de/pub/opensuse/discontinued/distribution/#LEAP##VERSION#/repo/oss/suse"
 SLE_DOWNLOAD_URL="/srv/mirrors/non-public/sle/#VERSION#/rpms/"
 
 test -z "${1}" && {
@@ -520,12 +520,11 @@ get_extra_repository () {
 	# unless explicitly overridden via ${WANT_EXTRA}.
 	case "${TYPE}" in
 		"suse")
-			# FIXME: make this package repository consistent with our main ones.
 			OTHERMIRROR=""
 			if [ "${WANT_EXTRA}" -eq "1" ]; then
-				OTHERMIRROR="--repo suse at http://${REPOS_SERVER}/${DIST}/${CODENAME}/extras"
+				OTHERMIRROR="--repo suse at https://${REPOS_SERVER}/${DIST}/${CODENAME}/extras"
 				if [ -z "${PACKAGE_WITHOUT_OTHERMIRROR}" ] || [ "${PACKAGE_WITHOUT_OTHERMIRROR}" != "${PACKAGE}" ]; then
-					OTHERMIRROR="${OTHERMIRROR} --repo suse at http://${REPOS_SERVER}/${DIST}/${CODENAME}/${COMPONENT}"
+					OTHERMIRROR="${OTHERMIRROR} --repo suse at https://${REPOS_SERVER}/${DIST}/${CODENAME}/${COMPONENT}"
 				fi
 			fi
 			;;

--
Alioth's /srv/git/code.x2go.org/buildscripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git


More information about the x2go-commits mailing list