This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] libc/eglibc: Add option that allows for getting svn over http://


On Thu, Jun 30, 2011 at 3:33 AM, Bryan Hundven <bryanhundven@gmail.com> 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://
>
> 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
> + Â Â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";

When I looked at this email on http://sourceware.org/ml/crossgcc/2011-06/
I noticed an ';' after the " at the end of the line.
This is not in my sent mail, and is not in my hg mq.
It shouldn't be a problem if it is there when you import it... just
found it odd.

> + Â Âelse
> + Â Â Â Âsvn_base="svn://svn.eglibc.org"
> + Â Âfi
>
> Â Â case "${CT_LIBC_VERSION}" in
> Â Â Â Â trunk) Âsvn_base+="/trunk";;
>

-Bryan

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]