[PATCH] libc/eglibc: Add option that allows for getting svn over http://
Yann E. MORIN
yann.morin.1998@anciens.enib.fr
Thu Jun 30 16:17:00 GMT 2011
Bryan, All,
On Thursday 30 June 2011 12:33:08 Bryan Hundven wrote:
> # HG changeset patch
> # User Bryan Hundven <bryanhundven@gmail.com>
> # Date 1309429803 25200
> # Node ID 66aad08fcd5dfd6b841f3b05776c9f3bf105dcde
> # Parent b24ead1a59472195f5b2071ff70664c36fa21c3f
> libc/eglibc: Add option that allows for getting svn over http://
Thank you! Applied as #e3523df95b6b.
See a few comments below...
> Instead of getting eglibc over standard svn://svn.eglibc.org
> Add an option that allows the user to get source from
> http://www.eglibc.org/svn
>
> This is useful if you are behind a firewall or proxy.
> If you are behind a proxy, don't forget to configure
> ${HOME}/.subversion/servers
>
> In the [global] section setup your proxy configuration.
>
> Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
>
> diff -r b24ead1a5947 -r 66aad08fcd5d config/libc/eglibc.in
> --- a/config/libc/eglibc.in Tue Jun 28 23:46:04 2011 +0200
> +++ b/config/libc/eglibc.in Thu Jun 30 03:30:03 2011 -0700
> @@ -138,6 +138,17 @@
> (*) If you want to use a date, please use ISO-8601 formats if
> at all possible.
>
> +config EGLIBC_HTTP
> + bool
> + prompt "use http:// instead of svn://"
> + default n
Useless, 'n' is the default. Fixed locally, no need to resend.
> + help
> + By default, when eglibc is downloaded it is checked out using
> + svn://svn.eglibc.org. This option allows you to download eglibc
> + from http://www.eglibc.org, if you are behind a proxy or firewall.
> + If you are behind a proxy, don't forget to update your
> + .subversion/servers file with your proxy info in [global].
> +
> config EGLIBC_CHECKOUT
> bool
> prompt "checkout instead of export"
> diff -r b24ead1a5947 -r 66aad08fcd5d scripts/build/libc/eglibc.sh
> --- a/scripts/build/libc/eglibc.sh Tue Jun 28 23:46:04 2011 +0200
> +++ b/scripts/build/libc/eglibc.sh Thu Jun 30 03:30:03 2011 -0700
> @@ -14,7 +14,13 @@
> # snapshots available.
> do_libc_get() {
> local addon
> - local svn_base="svn://svn.eglibc.org"
> + local svn_base
> +
> + if [ "${CT_EGLIBC_HTTP}" = "y" ]; then
> + svn_base="http://www.eglibc.org/svn"
No semi-colon here. Neither in mail nor in imported patch.
All is under control. :-)
> + else
> + svn_base="svn://svn.eglibc.org"
> + fi
>
> case "${CT_LIBC_VERSION}" in
> trunk) svn_base+="/trunk";;
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list