From 6cec685377e15246b57d49df7514b33805b40e2c Mon Sep 17 00:00:00 2001 From: Umakant Kulkarni Date: Mon, 21 Mar 2022 23:19:31 -0400 Subject: [PATCH] Replace git:// with https:// (#459) * Replace git:// with https:// Error - The unauthenticated git protocol on port 9418 is no longer supported. Solution - Replace git:// with https:// Explanation - https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git * Replace git:// with https:// Error - The unauthenticated git protocol on port 9418 is no longer supported. Solution - Replace git:// with https:// Explanation - https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git --- vm-ubuntu-20.04/user-common-bootstrap.sh | 2 +- vm-ubuntu-20.04/user-dev-bootstrap.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/vm-ubuntu-20.04/user-common-bootstrap.sh b/vm-ubuntu-20.04/user-common-bootstrap.sh index e8cbd47..c347bba 100755 --- a/vm-ubuntu-20.04/user-common-bootstrap.sh +++ b/vm-ubuntu-20.04/user-common-bootstrap.sh @@ -4,7 +4,7 @@ set -xe # --- Mininet --- # -git clone git://github.com/mininet/mininet mininet +git clone https://github.com/mininet/mininet mininet cd mininet PATCH_DIR="${HOME}/patches" patch -p1 < "${PATCH_DIR}/mininet-dont-install-python2.patch" || echo "Errors while attempting to patch mininet, but continuing anyway ..." diff --git a/vm-ubuntu-20.04/user-dev-bootstrap.sh b/vm-ubuntu-20.04/user-dev-bootstrap.sh index 3378a80..8543743 100755 --- a/vm-ubuntu-20.04/user-dev-bootstrap.sh +++ b/vm-ubuntu-20.04/user-dev-bootstrap.sh @@ -213,10 +213,10 @@ cd ../.. find /usr/lib /usr/local $HOME/.local | sort > $HOME/usr-local-6-after-p4c.txt # --- PTF --- # -git clone git://github.com/p4lang/ptf +git clone https://github.com/p4lang/ptf cd ptf git checkout ${PTF_COMMIT} sudo python3 setup.py install cd .. -find /usr/lib /usr/local $HOME/.local | sort > $HOME/usr-local-8-after-ptf-install.txt \ No newline at end of file +find /usr/lib /usr/local $HOME/.local | sort > $HOME/usr-local-8-after-ptf-install.txt