1.1 --- a/config/libc/eglibc.in Tue Jun 28 23:46:04 2011 +0200
1.2 +++ b/config/libc/eglibc.in Thu Jun 30 18:14:01 2011 +0200
1.3 @@ -138,6 +138,16 @@
1.4 (*) If you want to use a date, please use ISO-8601 formats if
1.5 at all possible.
1.6
1.7 +config EGLIBC_HTTP
1.8 + bool
1.9 + prompt "use http:// instead of svn://"
1.10 + help
1.11 + By default, when eglibc is downloaded it is checked out using
1.12 + svn://svn.eglibc.org. This option allows you to download eglibc
1.13 + from http://www.eglibc.org, if you are behind a proxy or firewall.
1.14 + If you are behind a proxy, don't forget to update your
1.15 + .subversion/servers file with your proxy info in [global].
1.16 +
1.17 config EGLIBC_CHECKOUT
1.18 bool
1.19 prompt "checkout instead of export"
2.1 --- a/scripts/build/libc/eglibc.sh Tue Jun 28 23:46:04 2011 +0200
2.2 +++ b/scripts/build/libc/eglibc.sh Thu Jun 30 18:14:01 2011 +0200
2.3 @@ -14,7 +14,13 @@
2.4 # snapshots available.
2.5 do_libc_get() {
2.6 local addon
2.7 - local svn_base="svn://svn.eglibc.org"
2.8 + local svn_base
2.9 +
2.10 + if [ "${CT_EGLIBC_HTTP}" = "y" ]; then
2.11 + svn_base="http://www.eglibc.org/svn"
2.12 + else
2.13 + svn_base="svn://svn.eglibc.org"
2.14 + fi
2.15
2.16 case "${CT_LIBC_VERSION}" in
2.17 trunk) svn_base+="/trunk";;