Commit Graph

606 Commits

Author SHA1 Message Date
Yann E. MORIN"
2802a7d929 Add a directory to store contributed stuff.
It will server to hold unmerged stuff.
2008-04-27 09:46:26 +00:00
Yann E. MORIN"
e6ca02b829 Configure tsocks with a simple heuristic.
Consider the proxy has to be in a 'local' network. It means it is directly
reachable by the local machine, even if the local machine has to hop through
one or more gates to reach the proxy (often the case in enterprise networks
where class A 10.0.0.0/8 is in fact sub-divided into smaller networks, each
one of them in a different location, eg. 10.1.0.0/16 in a place, while
10.2.0.0/16 would be on the other side of the world). Not being in the same
subnet does not mean the proxy is not available.

So we will build a mask with at most high bits set, which defines a network
that has both the local machine and the proxy. Because a machine may have
more than one interface, build a mask for each of them, removing 127.0.0.1
which is added automagically by tsocks, and removing duplicate masks.

If all of this does not work, then it means the local machine can NOT in fact
reach the proxy, which in turn means the user mis-configured something (most
probably a typo...).

 /trunk/scripts/crosstool.sh |   61    52     9     0 +++++++++++++++++++++++++++++++++++++++++++--------
 1 file changed, 52 insertions(+), 9 deletions(-)
2008-04-26 21:31:05 +00:00
Yann E. MORIN"
08f2c57f96 Tss.... I was bieng real stupid while building up the tsocks.conf file. Implement a much simpler way.
/trunk/scripts/crosstool.sh |   27     5    22     0 +++++----------------------
 1 file changed, 5 insertions(+), 22 deletions(-)
2008-04-20 18:04:20 +00:00
Yann E. MORIN"
6e611c2e75 Try to make clear that SOCKS proxying is currently BROKEN.
/trunk/config/global/download_extract.in |   36    19    17     0 +++++++++++++++++++-----------------
 1 file changed, 19 insertions(+), 17 deletions(-)
2008-04-20 16:46:17 +00:00
Yann E. MORIN"
59ed1ed600 Using SOCKS 4/5 proxy is no easy task:
- a machine may well be able to reach the proxy, even if it is not on the same sub-net(s) as the machine itself (absolutely legitimate)
 - tsocks.conf needs a list of so-called 'local' networks that can be reached without the need for a SOCKS connection
 - SOCKS proxies are expected to be in 'local' networks
 - there is absolutely NO way to tell what networks are local, besides the sub-net(s) the machine is in

Therefore, appropriate configuration of SOCKS 4/5 configuration is really complex, and attempts to correctly overcome this issue are doomed.

 /trunk/scripts/crosstool.sh              |   52    46     6     0 ++++++++++++++++++++++++++++++++++----
 /trunk/config/global/download_extract.in |   39    31     8     0 +++++++++++++++++++++++------
 2 files changed, 77 insertions(+), 14 deletions(-)
2008-04-18 22:16:28 +00:00
Yann E. MORIN"
b44e4e652a Fix using HTTP proxy.
/trunk/scripts/crosstool.sh              |    9     5     4     0 +++++----
 /trunk/config/global/download_extract.in |    2     1     1     0 +-
 2 files changed, 6 insertions(+), 5 deletions(-)
2008-04-18 08:41:30 +00:00
Yann E. MORIN"
135a104338 Add latest Linux kernel versions.
/trunk/config/kernel/linux_headers_install.in |   17    17     0     0 +++++++++++++++++
 1 file changed, 17 insertions(+)
2008-04-17 21:07:01 +00:00
Yann E. MORIN"
2237fab536 Moving around the files in config/ broke the tools/addToolVersion.sh script.
Fix that.

 /trunk/tools/addToolVersion.sh |   26    13    13     0 +++++++++++++-------------
 /trunk/config/kernel/linux.in  |    6     3     3     0 +++---
 /trunk/config/kernel.in        |    2     1     1     0 +-
 /trunk/config/cc.in            |    2     1     1     0 +-
 /trunk/config/libc.in          |    4     2     2     0 ++--
 5 files changed, 20 insertions(+), 20 deletions(-)
2008-04-17 21:04:23 +00:00
Yann E. MORIN"
8f74ada733 Re-order the target sub-menu, so that architectures are alphabetically ordered.
${prefix}/config/target.in |   12     6     6     0 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
2008-04-17 20:51:26 +00:00
Yann E. MORIN"
dd862bd7a4 Move config files around, and clean up the mess in the config/ directory.
config/kernel/kernel_linux.in            |   12     6     6     0 +-
 config/paths.in                          |   89     0    89     0 ----------------
 config/kernel_linux_headers_install.in   |  168     0   168     0 ------------------------------
 config/kernel.in                         |    2     1     1     0
 config/kernel_linux_headers_copy.in      |   42     0    42     0 --------
 config/cc.in                             |    2     1     1     0
 config/logging.in                        |  110     0   110     0 --------------------
 config/build-behave.in                   |   45     0    45     0 --------
 config/libc_uClibc.in                    |  101     0   101     0 ------------------
 config/kernel_linux_headers_sanitised.in |   62     0    62     0 -----------
 config/ct-behave.in                      |   82     0    82     0 ---------------
 config/kernel_linux.in                   |  134     0   134     0 ------------------------
 config/global.in                         |   10     5     5     0 +-
 config/download_extract.in               |  171     0   171     0 -------------------------------
 config/cc_gcc.in                         |  130     0   130     0 ------------------------
 config/libc_glibc.in                     |  124     0   124     0 ----------------------
 config/libc.in                           |    4     2     2     0
 17 files changed, 15 insertions(+), 1273 deletions(-)
2008-04-17 20:26:25 +00:00
Yann E. MORIN"
e53b2f3cbd Break-down config/global.in into smaller, much more maintainable files.
config/paths.in |  419     1   418     0 --------------------------------------------------------
 1 file changed, 1 insertion(+), 418 deletions(-)
2008-04-17 20:02:07 +00:00
Yann E. MORIN"
fe5dc3db26 Cleanup building the snapshot version number.
configure |   18    10     8     0 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)
2008-04-17 19:21:32 +00:00
Yann E. MORIN"
301d9c8d57 Commit a long-standing eye-dcandy change in a log, that got lost in a vi crash...
scripts/build/tools/sstrip.sh |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-04-17 19:16:17 +00:00
Yann E. MORIN"
9e9d061e01 Add an option to use a SOCKS 4/5 proxy to connect to the internet.
As for the HTTP proxy, this is completetly untested, as I have no such proxy at home.

 scripts/crosstool.sh |   45    31    14     0 +++++++++++++++++--------
 config/global.in     |   95    81    14     0 +++++++++++++++++++++++++++++++++++++++++++--------
 2 files changed, 112 insertions(+), 28 deletions(-)
2008-04-17 18:07:26 +00:00
Yann E. MORIN"
0b89b1a938 Allow using an HTTP proxy to tunnel FTP and HTTP requests.
scripts/crosstool.sh |   14    14     0     0 +++++++++++++
 config/global.in     |   54    54     0     0 +++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 68 insertions(+)
2008-04-13 22:46:02 +00:00
Yann E. MORIN"
2dffee230a Fix a comment.
functions |    6     3     3     0 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
2008-04-13 18:25:30 +00:00
Yann E. MORIN"
b3841f0aa9 Matthias Kaehlcke <matthias@kaehlcke.net> reported hanged downloads on his
network, most probably due to proxies. Have downloaders (wget and curl)
timeout on too slow connections (they don't by default).

 scripts/functions |   17    12     5     0 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)
2008-04-13 18:16:58 +00:00
Yann E. MORIN"
524ec3d73d Update patch to gdb. Thanks Khem RAJ <kraj@mvista.com>
patches/gdb/6.5/500-thread-timeout.patch |   13     6     7     0 ++++++-------
 docs/CREDITS                             |    3     3     0     0 +++
 2 files changed, 9 insertions(+), 7 deletions(-)
2008-04-13 18:03:28 +00:00
Yann E. MORIN"
5ff9c06cf3 - Rewrite some parts of history: some sentences could have been considered rude, which was not my intention.
- Fix a few typoes at the same time.
2008-02-20 22:48:35 +00:00
Robert P. J. DAY"
6399c577d5 Fix some obvious typoes in docs/overview.txt 2008-02-20 08:01:12 +00:00
Yann E. MORIN"
efa83fdf6e When installing SVN snapshots, include the branch and revision in the version number.
In case some random snapshot is installed and used for production, then this
will ease rewinding.
2008-02-17 22:58:57 +00:00
Yann E. MORIN"
20eeb8e122 Robert P. J. DAY says:
Based on feedback from Mike Frysinger, add the following patchset for
glibc-2.7.  Not stress-tested, but at least make it available for
interested testers.
2008-02-17 22:19:26 +00:00
Yann E. MORIN"
55fbe7b02b Robert P. J. DAY says:
According to Mike Frysinger, this patch was removed from Gentoo in the
2.3.x series and didn't seem to cause any adverse effects.  So toss it
from the patch directories for glibc 2.5 and up.
2008-02-17 22:12:59 +00:00
Yann E. MORIN"
89e6f2bd42 Robert P. J. DAY says:
According to Mike Frysinger, this patch hasn't been necessary since
glibc-2.4+, so turf it from glibc patches 2.5 and up.  If someone
complains, it can always go back in.
2008-02-17 22:11:25 +00:00
Yann E. MORIN"
8f48d45018 Robert P. J. DAY says:
apparently, the patchset for gcc 4.2.1 applies properly to the
source for gcc 4.2.2 and gcc 4.2.3.  so, if you want, you can simply
add support for those last two just by augmenting menuconfig and
adding a couple symlinks for those two directories.  seems like a
cheap way to add a couple new versions.
2008-02-17 22:08:06 +00:00
Yann E. MORIN"
7b962f013b Robert P. J. DAY says:
Add support for duma-2.5.12.
2008-02-15 22:22:31 +00:00
Yann E. MORIN"
fbaa09b28f Robert P. J. DAY says:
I have been assured by Mike Frysinger that this patch has been
unnecessary since glibc-2.4.
2008-02-15 21:33:39 +00:00
Yann E. MORIN"
eb0ad87b2a Robert P. J. DAY says:
Add support for the selection of strace-4.5.16, including an updated
set of patches from strace-4.5.15.
2008-02-15 21:18:10 +00:00
Yann E. MORIN"
94b68d94dc Add EXPERIMENTAL binutils 2.18.50.x.y versions. 2008-02-15 21:07:30 +00:00
Yann E. MORIN"
0d4e7717b1 Update the list of kernel versions. 2008-02-15 21:05:49 +00:00
Yann E. MORIN"
07fa611771 Robet P. J. DAY: typoes. 2008-02-14 22:44:34 +00:00
Yann E. MORIN"
f363a4c3d5 Add latest gcc-4.2.3 as EXPERIMENTAL (no build attempted at all).
Thanks Robert P. J. DAY for reminding me to tag old versions as being OBSOLETE! ;-)
2008-02-14 22:43:49 +00:00
Yann E. MORIN"
27a35f6d84 Add latest kernel versions (Robert P. J. DAY). 2008-02-14 22:42:37 +00:00
Yann E. MORIN"
8796440ca6 Argh! Kill latest (hopefuly) remnants of core/final gcc versions. 2008-02-14 22:34:19 +00:00
Yann E. MORIN"
a616d39de3 Credit Mark Jonas <toertel@gmail.com> for the initial work on Super-H support.
(I forgot to add you to the CREDITS at the time, sorry Mark).
2008-01-28 18:57:42 +00:00
Yann E. MORIN"
daca18fc0e Credit Michael Abbott. 2008-01-28 18:41:24 +00:00
Yann E. MORIN"
34c2acc77a Patch from Michael Abbott <michael@araneidae.co.uk> to allow build to work with ancient findutils. 2008-01-28 18:40:31 +00:00
Yann E. MORIN"
42dd33bb71 Add a new patch to uClibc-0.9.29. 2008-01-18 20:04:20 +00:00
Yann E. MORIN"
f82dfe27b8 Bump version to 1.0.0+svn. 2008-01-16 22:27:55 +00:00
Yann E. MORIN"
860f764a2c Bump version to 1.0.0.
I consider crosstool-NG to be stable enough that a 1.0.0 release is acceptable.
I've been using it daily since a long time without really serious _crosstool-NG_
bug (although there are a few minor ones).

There is still a lot of work, especially with Super-H and IA64 support, which
are both marked EXPERIMENTAL.

Enjoy!
2008-01-16 22:25:32 +00:00
Yann E. MORIN"
2fa75919ca Update the samples to the new set of options (not changing the configuration). 2008-01-16 22:21:55 +00:00
Yann E. MORIN"
d257047760 Move improperly installed gcc libraries to the sysroot.
Remove a huge comment that itself says it should have been deleted ages ago.
2008-01-16 22:15:16 +00:00
Yann E. MORIN"
7a5dafbdc8 Merge the preliminary Super-H support from /branches/Super-H. 2008-01-16 22:06:15 +00:00
Yann E. MORIN"
72e58fb2a3 Fix a long standing bug when setting compiler flags. 2008-01-16 21:51:18 +00:00
Yann E. MORIN"
3f9386c0a7 Bail out if /bin/bash does not exist, or if it is not bash>=3.0.
Force make to use /bin/bash as shell.
2008-01-16 21:41:53 +00:00
Yann E. MORIN"
4850e20c26 Fix from Marco Fonseca <mfonseca@fortresstech.com> to use the newly-built, bootstrap cross-compiler when installing glibc headers. 2007-11-02 18:55:55 +00:00
Yann E. MORIN"
33f66b807d Add EXPERIMENTAL glibc-2.7. 2007-10-30 19:18:45 +00:00
Yann E. MORIN"
66fc264900 Add EXPERIMENTAL gcc-4.2.2. 2007-10-30 19:18:11 +00:00
Yann E. MORIN"
e86ddb6bbc Add linux 2.6.22.10, 2.6.23 and 2.6.23.1. 2007-10-30 19:17:06 +00:00
Yann E. MORIN"
ad000c98d8 New patch to binutils 2.18, from "Matvejchikov Ilya" <matvejchikov@gmail.com> (coming from buildroot).
Fixes building with /old/ version of texinfo. Thanks!
2007-10-30 19:15:45 +00:00