Replace git:// URLs with https:// URLs

For unauthenticated git clones it is slightly more secure to use the https
link because the site certificate will be checked. Also https might be more
accessible from all places than the git protocol port.
This commit is contained in:
Mark Wielaard
2022-08-29 10:10:27 +02:00
parent 378febde09
commit 614252608a
6 changed files with 7 additions and 7 deletions

2
README
View File

@@ -72,7 +72,7 @@ Building and installing it
To install from the GIT repository: To install from the GIT repository:
0. Clone the code from GIT: 0. Clone the code from GIT:
git clone git://sourceware.org/git/valgrind.git git clone https://sourceware.org/git/valgrind.git
There are further instructions at There are further instructions at
http://www.valgrind.org/downloads/repository.html. http://www.valgrind.org/downloads/repository.html.

View File

@@ -37,7 +37,7 @@ echo "Updating the demangler in $DIR"
mkdir gcc mkdir gcc
cd gcc cd gcc
git init git init
git remote add origin git://gcc.gnu.org/git/gcc.git git remote add origin https://gcc.gnu.org/git/gcc.git
git config core.sparsecheckout true git config core.sparsecheckout true
echo "libiberty/*" > .git/info/sparse-checkout echo "libiberty/*" > .git/info/sparse-checkout
echo "include/*" >> .git/info/sparse-checkout echo "include/*" >> .git/info/sparse-checkout
@@ -91,7 +91,7 @@ echo "Checking out coregrind/m_demangle"
mkdir valgrind-sparse-clone mkdir valgrind-sparse-clone
cd valgrind-sparse-clone cd valgrind-sparse-clone
git init git init
git remote add origin -f git://sourceware.org/git/valgrind.git/ git remote add origin -f https://sourceware.org/git/valgrind.git/
git config core.sparsecheckout true git config core.sparsecheckout true
echo "coregrind/m_demangle/*" > .git/info/sparse-checkout echo "coregrind/m_demangle/*" > .git/info/sparse-checkout
git pull origin master git pull origin master

View File

@@ -14,7 +14,7 @@ Valgrind Users
Valgrind users can clone the Valgrind source code repository as follows: Valgrind users can clone the Valgrind source code repository as follows:
git clone git://sourceware.org/git/valgrind.git/ git clone https://sourceware.org/git/valgrind.git/
Valgrind Developers Valgrind Developers
------------------- -------------------

View File

@@ -33,7 +33,7 @@ To set up nightly testing for a machine, do the following.
(1) Clone a shallow copy from the repository, eg: (1) Clone a shallow copy from the repository, eg:
git clone --depth 1 git://sourceware.org/git/valgrind.git/ $DIR git clone --depth 1 https://sourceware.org/git/valgrind.git/ $DIR
where $DIR is the name of the directory you want it to be in. where $DIR is the name of the directory you want it to be in.
You'll probably want to include "nightly" in the directory name. You'll probably want to include "nightly" in the directory name.

View File

@@ -50,7 +50,7 @@ else
MAKE=make MAKE=make
fi fi
valgrind_git_repo="git://sourceware.org/git/valgrind.git/" valgrind_git_repo="https://sourceware.org/git/valgrind.git/"
# Must have exactly two arguments # Must have exactly two arguments
if [ $# -ne 2 ] ; then if [ $# -ne 2 ] ; then

View File

@@ -22,7 +22,7 @@
# - pkgrepo set -s $repo_uri publisher/prefix=valgrind # - pkgrepo set -s $repo_uri publisher/prefix=valgrind
# #
GITREPO=git://sourceware.org/git/valgrind.git/ GITREPO=https://sourceware.org/git/valgrind.git/
TMPDIR=/var/tmp/valgrind-build TMPDIR=/var/tmp/valgrind-build
SRCDIR=$TMPDIR/sources SRCDIR=$TMPDIR/sources
INSTALLDIR=$TMPDIR/install INSTALLDIR=$TMPDIR/install