[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Can't bootstrap behind a firewall
From: |
Ben Abbott |
Subject: |
Re: Can't bootstrap behind a firewall |
Date: |
Fri, 30 Sep 2011 08:28:25 -0400 |
John,
Do you have any concerns about modifying the bootstrap script to clone gnulib
via http?
Ben
On Sep 30, 2011, at 8:16 AM, Dr. Alexander Klein wrote:
> Am 30.09.2011 um 14:02 schrieb Ben Abbott:
>
>> What you can do is clone the gnulib stuff via http, and then point Octave's
>> autogen.sh to your local copy.
>>
>>
>> http://octave.1599824.n4.nabble.com/Octave-3-3-55-and-Octave-3-3-90-on-OSX-td3247286i60.html#a3338451
>
>
> Ben,
>
> using the URL from your previous solution really did the trick, _and_ I
> managed to keep it working automatically by applying the following patch!
>
> diff -r 41c2f4633a62 build-aux/bootstrap
> --- a/build-aux/bootstrap Wed Sep 28 09:14:45 2011 -0700
> +++ b/build-aux/bootstrap Fri Sep 30 14:11:25 2011 +0200
> @@ -498,7 +498,7 @@
>
> shallow=
> git clone -h 2>&1 | grep -- --depth > /dev/null && shallow='--depth 2'
> - git clone $shallow git://git.sv.gnu.org/gnulib "$gnulib_path" ||
> + git clone $shallow http://git.savannah.gnu.org/r/gnulib/ "$gnulib_path"
> ||
> cleanup_gnulib
>
> trap - 1 2 13 15
>
> Maybe this could be included as a general fallback-mechanism, since nothing
> else but cloning is done at this point?
>
> Later,
>
> Alex
>
> --
> Dr. Alexander Klein, Diplom-Mathematiker
>
> Physiologisches Institut | TransMIT Zentrum
> Raum 543 | für Numerische Methoden
> Aulweg 129 | Heinrich-Buff-Ring 44
> 35392 Giessen | 35392 Giessen
>