File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5050env :
5151 package : libtool
5252 branch : development
53- # URL suitable for 'git clone'
54- # gnulib_url: https://git.savannah.gnu.org/git/gnulib.git
55- gnulib_url : https://github.com/coreutils/gnulib.git
5653
5754jobs :
5855 build-tarball :
Original file line number Diff line number Diff line change 5050env :
5151 package : libtool
5252 branch : development
53- # URL suitable for 'git clone'
54- # gnulib_url: https://git.savannah.gnu.org/git/gnulib.git
55- gnulib_url : https://github.com/coreutils/gnulib.git
5653
5754jobs :
5855 build-tarball :
Original file line number Diff line number Diff line change 5151env :
5252 package : libtool
5353 branch : development
54- # URL suitable for 'git clone'
55- # gnulib_url: https://git.savannah.gnu.org/git/gnulib.git
56- gnulib_url : https://github.com/coreutils/gnulib.git
5754
5855jobs :
5956 build-tarball :
Original file line number Diff line number Diff line change 5050env :
5151 package : libtool
5252 branch : development
53- # URL suitable for 'git clone'
54- # gnulib_url: https://git.savannah.gnu.org/git/gnulib.git
55- gnulib_url : https://github.com/coreutils/gnulib.git
5653 # URL prefix suitable for downloading individual files through 'wget'
5754 # gnulib_url_prefix: https://gitweb.git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob_plain;hb=HEAD;f=
5855 gnulib_url_prefix : https://raw.githubusercontent.com/coreutils/gnulib/refs/heads/master/
Original file line number Diff line number Diff line change 5050env :
5151 package : libtool
5252 branch : development
53- # URL suitable for 'git clone'
54- # gnulib_url: https://git.savannah.gnu.org/git/gnulib.git
55- gnulib_url : https://github.com/coreutils/gnulib.git
5653
5754jobs :
5855 build-tarball :
Original file line number Diff line number Diff line change 5050env :
5151 package : libtool
5252 branch : development
53- # URL suitable for 'git clone'
54- # gnulib_url: https://git.savannah.gnu.org/git/gnulib.git
55- gnulib_url : https://github.com/coreutils/gnulib.git
5653 # URL prefix suitable for downloading individual files through 'wget'
5754 # gnulib_url_prefix: https://gitweb.git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob_plain;hb=HEAD;f=
5855 gnulib_url_prefix : https://raw.githubusercontent.com/coreutils/gnulib/refs/heads/master/
Original file line number Diff line number Diff line change 2929
3030set -e
3131
32+ . ./init-git.sh
33+
3234# Fetch sources (uses package 'git').
3335# The depth here needs to be at least 2, because the number of commits in the
3436# git history of HEAD is stored as "serial" number in m4/ltversion.m4, and if
3537# it is not at least 2 the unit test
3638# libtoolize.at: "14: verbatim aclocal.m4 w/o AC_CONFIG_MACRO_DIRS"
3739# fails.
3840git clone --depth 2 -b " $branch " https://git.savannah.gnu.org/git/" $package " .git
39- git clone --depth 1 " ${gnulib_url} "
41+ git clone --depth 1 https://git.savannah.gnu.org/git/gnulib.git
4042
4143# Apply patches.
4244(cd " $package " && patch -p1 < ../patches/Skip-test-option-parser.sh-for-ksh-shell-on-NetBSD.patch)
Original file line number Diff line number Diff line change 2929
3030set -e
3131
32- # Improve efficiency of checkout of git submodules.
33- git config --global url.git://git.savannah.gnu.org/.insteadof git://git.git.savannah.gnu.org/
34- git config --global url.https://git.savannah.gnu.org/git/.insteadof https://https.git.savannah.gnu.org/git/
35- git config --global url.git://git.savannah.gnu.org/gnulib.git.insteadof https://github.com/coreutils/gnulib.git
36- git config --global url.https://git.savannah.gnu.org/git/gnulib.git.insteadof https://github.com/coreutils/gnulib.git
32+ . ./init-git.sh
3733
3834# Fetch sources (uses package 'git').
3935# The depth here needs to be at least 2, because the number of commits in the
4036# git history of HEAD is stored as "serial" number in m4/ltversion.m4, and if
4137# it is not at least 2 the unit test
4238# libtoolize.at: "14: verbatim aclocal.m4 w/o AC_CONFIG_MACRO_DIRS"
4339# fails.
44- git clone --depth 2 -b " $branch " https://https. git.savannah.gnu.org/git/" $package " .git
45- git clone --depth 1 " ${gnulib_url} "
40+ git clone --depth 2 -b " $branch " https://git.savannah.gnu.org/git/" $package " .git
41+ git clone --depth 1 https://git.savannah.gnu.org/git/gnulib.git
4642
4743# Apply patches.
4844(cd " $package " && patch -p1 < ../patches/Skip-test-option-parser.sh-for-ksh-shell-on-NetBSD.patch)
Original file line number Diff line number Diff line change 1+ # Mapping from canonical git server URLs to more efficient read-only mirrors.
2+ # See
3+ # https://git-scm.com/docs/git-config#Documentation/git-config.txt-urlltbasegtinsteadOf
4+ # https://git-scm.com/docs/git-clone#_git_urls
5+ git config set --global --append url.git://git.git.savannah.gnu.org/.insteadOf git://git.savannah.gnu.org/
6+ git config set --global --append url.https://https.git.savannah.gnu.org/git/.insteadOf https://git.savannah.gnu.org/git/
7+ git config set --global --append url.https://github.com/coreutils/gnulib.git.insteadOf git://git.savannah.gnu.org/gnulib.git
8+ git config set --global --append url.https://github.com/coreutils/gnulib.git.insteadOf https://git.savannah.gnu.org/git/gnulib.git
You can’t perform that action at this time.
0 commit comments