Compare commits
33 Commits
2010.11_rc
...
2010.11
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dbc45b0369 | ||
|
|
0dc940cdee | ||
|
|
87683d7e9c | ||
|
|
b32c8f23e5 | ||
|
|
273c2accca | ||
|
|
372d8f2ae4 | ||
|
|
5cafae4f1a | ||
|
|
e7fbeda801 | ||
|
|
cdd861ea46 | ||
|
|
10af218da8 | ||
|
|
3783d4a301 | ||
|
|
512bb3c6d4 | ||
|
|
66254843a5 | ||
|
|
1fbd9ef813 | ||
|
|
33da52a52b | ||
|
|
f0e189dcaf | ||
|
|
32dd477465 | ||
|
|
421b5597f5 | ||
|
|
fba6c2d76b | ||
|
|
72568d543b | ||
|
|
8749f92188 | ||
|
|
6aec5c2c19 | ||
|
|
499f4cf22d | ||
|
|
ee355233bb | ||
|
|
936be892dd | ||
|
|
69b2cc76b3 | ||
|
|
37f64ed015 | ||
|
|
13a51114c6 | ||
|
|
32b748086e | ||
|
|
706683b8b9 | ||
|
|
5a51a370f0 | ||
|
|
42ddff55d4 | ||
|
|
ee5ea7d9cb |
12
CHANGES
12
CHANGES
@@ -1,3 +1,15 @@
|
||||
2010.11, Released November 30th, 2010:
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
Updated/fixed packages: libgcrypt, qt, squid, sysstat, tcpdump,
|
||||
xserver-xorg
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#2773: squid with openssl support needs openssl on the host
|
||||
#2857: OBJDUMP definition is missing from TARGET_CONFIGURE_OPTS
|
||||
|
||||
2010.11-rc2, Released November 25th, 2010:
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
6
Makefile
6
Makefile
@@ -24,7 +24,7 @@
|
||||
#--------------------------------------------------------------
|
||||
|
||||
# Set and export the version string
|
||||
export BR2_VERSION:=2010.11-rc2
|
||||
export BR2_VERSION:=2010.11
|
||||
|
||||
# This top-level Makefile can *not* be executed in parallel
|
||||
.NOTPARALLEL:
|
||||
@@ -418,10 +418,10 @@ ifneq ($(BR2_HAVE_DOCUMENTATION),y)
|
||||
rm -rf $(TARGET_DIR)/usr/share/gtk-doc
|
||||
-rmdir $(TARGET_DIR)/usr/share 2>/dev/null
|
||||
endif
|
||||
find $(TARGET_DIR) -type f -perm +111 '!' -name 'libthread_db.so*' | \
|
||||
find $(TARGET_DIR) -type f -perm +111 '!' -name 'libthread_db*.so*' | \
|
||||
xargs $(STRIPCMD) 2>/dev/null || true
|
||||
find $(TARGET_DIR)/lib/modules -type f -name '*.ko' | \
|
||||
xargs -r $(STRIPCMD) $(STRIP_STRIP_UNNEEDED)
|
||||
xargs -r $(KSTRIPCMD) || true
|
||||
|
||||
mkdir -p $(TARGET_DIR)/etc
|
||||
# Mandatory configuration file and auxilliary cache directory
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
config BR2_TARGET_SYSLINUX
|
||||
bool "syslinux"
|
||||
depends on BR2_i386
|
||||
depends on BR2_i386 || BR2_x86_64
|
||||
help
|
||||
The syslinux bootloader for x86 systems.
|
||||
This includes: syslinux, pxelinux, extlinux.
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
<li><a href="#downloaded_packages">Location of downloaded packages</a></li>
|
||||
<li><a href="#add_packages">Adding new packages to Buildroot</a></li>
|
||||
<li><a href="#board_support">Creating your own board support</a></li>
|
||||
<li><a href="#faq">Frequently asked questions</a></li>
|
||||
<li><a href="#links">Resources</a></li>
|
||||
</ul>
|
||||
|
||||
@@ -1593,6 +1594,49 @@ LIBFOO_POST_PATCH_HOOKS += LIBFOO_POST_PATCH_FIXUP
|
||||
<p>If you package software that might be useful for other people, don't
|
||||
forget to send a patch to Buildroot developers!</p>
|
||||
|
||||
<h2 id="faq">Frequently asked questions</h2>
|
||||
|
||||
<ul>
|
||||
<li><a href="#faq-boot-hangs">The boot hangs
|
||||
after <code>Starting network...</code></a></li>
|
||||
<li><a href="#module-init-tools-doesnt-build">module-init-tools
|
||||
fails to build with <code>cannot find -lc</code></a></li>
|
||||
</ul>
|
||||
|
||||
<h3 id="faq-boot-hangs">The boot hangs after <code>Starting
|
||||
network...</code></h3>
|
||||
|
||||
<p>If the boot process seems to hang after the following messages
|
||||
(messages not necessarly exactly similar, depending on the list of
|
||||
packages selected):</p>
|
||||
|
||||
<pre>Freeing init memory: 3972K
|
||||
Initializing random number generator... done.
|
||||
Starting network...
|
||||
Starting dropbear sshd: generating rsa key... generating dsa key... OK</pre>
|
||||
|
||||
<p>then it means that your system is running, but didn't start a
|
||||
shell on the serial console. In order to have the system start a
|
||||
shell on your serial console, you have to go in the Buildroot
|
||||
configuration, <code>Target options</code>, enable <code>Generic
|
||||
serial port config</code>, and select the serial port and speed
|
||||
you would like to use for the shell. This will automatically tune
|
||||
the <code>/etc/inittab</code> file of the generated system so that
|
||||
a shell starts on the correct serial port.</p>
|
||||
|
||||
<h3 id="module-init-tools-doesnt-build">module-init-tools
|
||||
fails to build with <code>cannot find -lc</code></h3>
|
||||
|
||||
<p>If the build of <i>module-init-tools</i> for the host fails
|
||||
with:</p>
|
||||
|
||||
<pre>/usr/bin/ld: cannot find -lc </pre>
|
||||
|
||||
<p>then probably you are running a Fedora (or similar)
|
||||
distribution, and you should install the <code>glibc-static</code>
|
||||
package. This is because the <i>module-init-tools</i> build
|
||||
process wants to link statically against the C library.</p>
|
||||
|
||||
<h2 id="links">Resources</h2>
|
||||
|
||||
<p>To learn more about Buildroot you can visit these websites:</p>
|
||||
|
||||
@@ -6,14 +6,14 @@
|
||||
|
||||
<p>
|
||||
|
||||
The latest stable release is <b>2010.08</b>, which can be downloaded
|
||||
The latest stable release is <b>2010.11</b>, which can be downloaded
|
||||
here:<p>
|
||||
|
||||
<a href="/downloads/buildroot-2010.08.tar.gz">buildroot-2010.08.tar.gz</a>
|
||||
<a href="/downloads/buildroot-2010.11.tar.gz">buildroot-2010.11.tar.gz</a>
|
||||
or
|
||||
<a href="/downloads/buildroot-2010.08.tar.bz2">buildroot-2010.08.tar.bz2</a>.
|
||||
<a href="/downloads/buildroot-2010.11.tar.bz2">buildroot-2010.11.tar.bz2</a>.
|
||||
<p>
|
||||
|
||||
<!--
|
||||
The latest release candidate is <b>2010.11-rc2</b>, which can be
|
||||
downloaded here:<p>
|
||||
|
||||
@@ -21,7 +21,7 @@ downloaded here:<p>
|
||||
or
|
||||
<a href="/downloads/buildroot-2010.11-rc2.tar.bz2">buildroot-2010.11-rc2.tar.bz2</a>.
|
||||
<p>
|
||||
|
||||
-->
|
||||
This and earlier releases can always be downloaded from
|
||||
<a href="/downloads/">http://buildroot.net/downloads/</a>.
|
||||
|
||||
|
||||
@@ -5,6 +5,26 @@
|
||||
<p>
|
||||
|
||||
<ul>
|
||||
<li><b>30 November 2010 -- 2010.11 released</b>
|
||||
|
||||
<p>The stable 2010.11 release is out - Thanks to everyone
|
||||
contributing and testing the release candidates. See the
|
||||
<a href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2010.11">CHANGES</a>
|
||||
file for more details,
|
||||
and go to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2010.11.tar.bz2">2010.11 release</a>.</p>
|
||||
|
||||
<li><b>25 November 2010 -- 2010.11-rc2 released</b>
|
||||
|
||||
<p>RC2 is out with more cleanups and bugfixes, see the <a
|
||||
href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2010.11_rc2">CHANGES</a>
|
||||
file for details.</p>
|
||||
|
||||
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2010.11-rc2.tar.bz2">2010.11-rc2
|
||||
release candidate</a>, and report any problems found to the <a
|
||||
href="lists.html">mailing list</a> or <a
|
||||
href="https://bugs.uclibc.org">bug tracker</a>.</p>
|
||||
|
||||
<li><b>8 November 2010 -- 2010.11-rc1 released</b>
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ choice
|
||||
default BR2_LINUX_KERNEL_2_6_36
|
||||
|
||||
config BR2_LINUX_KERNEL_2_6_36
|
||||
bool "2.6.36"
|
||||
bool "2.6.36.1"
|
||||
|
||||
config BR2_LINUX_KERNEL_SAME_AS_HEADERS
|
||||
bool "Same as toolchain kernel headers"
|
||||
@@ -52,7 +52,7 @@ endchoice
|
||||
config BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE
|
||||
string "Kernel version"
|
||||
depends on BR2_LINUX_KERNEL_CUSTOM_VERSION
|
||||
default "2.6.36"
|
||||
default "2.6.36.1"
|
||||
|
||||
config BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION
|
||||
string "URL of custom kernel tarball"
|
||||
@@ -60,7 +60,7 @@ config BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION
|
||||
|
||||
config BR2_LINUX_KERNEL_VERSION
|
||||
string
|
||||
default "2.6.36" if BR2_LINUX_KERNEL_2_6_36
|
||||
default "2.6.36.1" if BR2_LINUX_KERNEL_2_6_36
|
||||
default BR2_DEFAULT_KERNEL_HEADERS if BR2_LINUX_KERNEL_SAME_AS_HEADERS
|
||||
default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE if BR2_LINUX_KERNEL_CUSTOM_VERSION
|
||||
default "custom" if BR2_LINUX_KERNEL_CUSTOM_TARBALL
|
||||
|
||||
@@ -146,23 +146,22 @@ ifeq ($(BR2_STRIP_strip),y)
|
||||
STRIP_DISCARD_ALL:=--discard-all
|
||||
STRIP_STRIP_UNNEEDED:=--strip-unneeded
|
||||
STRIP_STRIP_ALL:=--strip-all
|
||||
REMOVE_SECTION_COMMENT:=--remove-section=.comment
|
||||
REMOVE_SECTION_NOTE:=--remove-section=.note
|
||||
TARGET_STRIP=$(TARGET_CROSS)strip
|
||||
STRIPCMD=$(TARGET_CROSS)strip $(REMOVE_SECTION_COMMENT) $(REMOVE_SECTION_NOTE)
|
||||
STRIPCMD=$(TARGET_CROSS)strip --remove-section=.comment --remove-section=.note
|
||||
KSTRIPCMD=$(STRIPCMD) $(STRIP_STRIP_UNNEEDED)
|
||||
endif
|
||||
ifeq ($(BR2_STRIP_sstrip),y)
|
||||
STRIP_DISCARD_ALL:=
|
||||
STRIP_STRIP_UNNEEDED:=
|
||||
STRIP_STRIP_ALL:=
|
||||
REMOVE_SECTION_COMMENT:=
|
||||
REMOVE_SECTION_NOTE:=
|
||||
TARGET_STRIP=$(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-sstrip
|
||||
STRIPCMD=$(TARGET_STRIP)
|
||||
KSTRIPCMD=$(TARGET_CROSS)strip --remove-section=.comment --remove-section=.note --strip-unneeded
|
||||
endif
|
||||
ifeq ($(BR2_STRIP_none),y)
|
||||
TARGET_STRIP=true
|
||||
STRIPCMD=$(TARGET_STRIP)
|
||||
KSTRIPCMD=$(TARGET_STRIP)
|
||||
endif
|
||||
INSTALL:=$(shell which install || type -p install)
|
||||
FLEX:=$(shell which flex || type -p flex)
|
||||
@@ -192,6 +191,7 @@ TARGET_CONFIGURE_OPTS=PATH=$(TARGET_PATH) \
|
||||
RANLIB="$(TARGET_RANLIB)" \
|
||||
STRIP="$(TARGET_STRIP)" \
|
||||
OBJCOPY="$(TARGET_OBJCOPY)" \
|
||||
OBJDUMP="$(TARGET_OBJDUMP)" \
|
||||
AR_FOR_BUILD="$(HOSTAR)" \
|
||||
AS_FOR_BUILD="$(HOSTAS)" \
|
||||
CC_FOR_BUILD="$(HOSTCC)" \
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
# libgcrypt
|
||||
#
|
||||
#############################################################
|
||||
LIBGCRYPT_VERSION:=1.4.5
|
||||
LIBGCRYPT_SOURCE:=libgcrypt-$(LIBGCRYPT_VERSION).tar.bz2
|
||||
LIBGCRYPT_SITE:=ftp://ftp.gnupg.org/gcrypt/libgcrypt
|
||||
|
||||
LIBGCRYPT_VERSION = 1.4.6
|
||||
LIBGCRYPT_SOURCE = libgcrypt-$(LIBGCRYPT_VERSION).tar.bz2
|
||||
LIBGCRYPT_SITE = ftp://ftp.gnupg.org/gcrypt/libgcrypt
|
||||
LIBGCRYPT_INSTALL_STAGING = YES
|
||||
LIBGCRYPT_INSTALL_TARGET = YES
|
||||
|
||||
LIBGCRYPT_CONF_ENV = \
|
||||
ac_cv_sys_symbol_underscore=no
|
||||
|
||||
@@ -335,12 +335,16 @@ config BR2_PACKAGE_QT_NETWORK
|
||||
|
||||
config BR2_PACKAGE_QT_WEBKIT
|
||||
bool "WebKit Module"
|
||||
depends on BR2_PACKAGE_QT_SHARED
|
||||
depends on BR2_PACKAGE_QT_GUI_MODULE
|
||||
depends on BR2_PACKAGE_QT_NETWORK
|
||||
select BR2_PACKAGE_QT_JAVASCRIPTCORE
|
||||
help
|
||||
Build the WebKit module.
|
||||
If unsure, say n.
|
||||
|
||||
comment "WebKit needs shared library/gui/network support"
|
||||
depends on !(BR2_PACKAGE_QT_SHARED && BR2_PACKAGE_QT_GUI_MODULE && BR2_PACKAGE_QT_NETWORK)
|
||||
|
||||
config BR2_PACKAGE_QT_JAVASCRIPTCORE
|
||||
bool "JavaScriptCore JIT compiler"
|
||||
help
|
||||
@@ -366,7 +370,6 @@ config BR2_PACKAGE_QT_OPENSSL
|
||||
config BR2_PACKAGE_QT_SCRIPT
|
||||
bool "Script Module"
|
||||
default y
|
||||
select BR2_PACKAGE_QT_JAVASCRIPTCORE
|
||||
help
|
||||
Build the Qt Script module.
|
||||
if unsure, say y.
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
comment "Squid requires a toolchain with C++ support enabled"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP
|
||||
comment "Squid requires a toolchain with C++ and IPv6 support enabled"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_INET_IPV6
|
||||
|
||||
config BR2_PACKAGE_SQUID
|
||||
bool "squid"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_INET_IPV6
|
||||
select BR2_PACKAGE_LIBCAP
|
||||
help
|
||||
Caching proxy for the Web supporting HTTP, HTTPS, FTP, and more.
|
||||
|
||||
|
||||
@@ -1,31 +1,65 @@
|
||||
diff -Nura squid-3.0.STABLE17/configure.in squid-3.0.STABLE17.cross/configure.in
|
||||
--- squid-3.0.STABLE17/configure.in 2009-07-26 09:24:48.000000000 -0300
|
||||
+++ squid-3.0.STABLE17.cross/configure.in 2009-07-30 11:54:28.000000000 -0300
|
||||
@@ -1895,6 +1895,10 @@
|
||||
diff -Nura squid-3.1.8.orig/configure.in squid-3.1.8/configure.in
|
||||
--- squid-3.1.8.orig/configure.in 2010-09-04 00:26:52.000000000 -0300
|
||||
+++ squid-3.1.8/configure.in 2010-09-06 10:12:09.036622139 -0300
|
||||
@@ -366,7 +366,7 @@
|
||||
|
||||
dnl Nasty hack to get autoconf 2.64 on Linux to run.
|
||||
dnl all other uses of RUN_IFELSE are wrapped inside CACHE_CHECK which breaks on 2.64
|
||||
-AC_RUN_IFELSE([AC_LANG_SOURCE([[ int main(int argc, char **argv) { return 0; } ]])],[],[],[:])
|
||||
+dnl AC_RUN_IFELSE([AC_LANG_SOURCE([[ int main(int argc, char **argv) { return 0; } ]])],[],[],[:])
|
||||
|
||||
dnl This is a developer only option.. developers know how to set defines
|
||||
dnl
|
||||
@@ -1802,7 +1802,7 @@
|
||||
AC_MSG_NOTICE([Negotiate auth helpers built: $NEGOTIATE_AUTH_HELPERS])
|
||||
fi
|
||||
AC_SUBST(NEGOTIATE_AUTH_HELPERS)
|
||||
-AC_CONFIG_SUBDIRS(helpers/negotiate_auth/squid_kerb_auth)
|
||||
+dnl AC_CONFIG_SUBDIRS(helpers/negotiate_auth/squid_kerb_auth)
|
||||
|
||||
dnl Select digest auth scheme helpers to build
|
||||
if test -n "$AUTH_MODULE_digest"; then
|
||||
@@ -2115,6 +2115,18 @@
|
||||
;;
|
||||
esac
|
||||
|
||||
+dnl Define CXX_FOR_BUILD
|
||||
+CXX_FOR_BUILD="$CXX_FOR_BUILD"
|
||||
+AC_SUBST(CXX_FOR_BUILD)
|
||||
+
|
||||
+dnl Define CXXFLAGS_FOR_BUILD
|
||||
+CXXFLAGS_FOR_BUILD="$CXXFLAGS_FOR_BUILD"
|
||||
+AC_SUBST(CXXFLAGS_FOR_BUILD)
|
||||
+
|
||||
+dnl Define LDFLAGS_FOR_BUILD
|
||||
+LDFLAGS_FOR_BUILD="$LDFLAGS_FOR_BUILD"
|
||||
+AC_SUBST(LDFLAGS_FOR_BUILD)
|
||||
+
|
||||
dnl Check for programs
|
||||
AC_PROG_CPP
|
||||
AC_PROG_INSTALL
|
||||
diff -Nura squid-3.0.STABLE17/src/Makefile.am squid-3.0.STABLE17.cross/src/Makefile.am
|
||||
--- squid-3.0.STABLE17/src/Makefile.am 2009-07-26 09:24:46.000000000 -0300
|
||||
+++ squid-3.0.STABLE17.cross/src/Makefile.am 2009-07-30 11:55:08.000000000 -0300
|
||||
@@ -1034,6 +1034,13 @@
|
||||
squid.conf.default: cf_parser.h
|
||||
diff -Nura squid-3.1.8.orig/src/Makefile.am squid-3.1.8/src/Makefile.am
|
||||
--- squid-3.1.8.orig/src/Makefile.am 2010-09-04 00:25:57.000000000 -0300
|
||||
+++ squid-3.1.8/src/Makefile.am 2010-09-06 10:11:27.319774138 -0300
|
||||
@@ -195,8 +195,6 @@
|
||||
cf_gen_SOURCES = cf_gen.cc
|
||||
nodist_cf_gen_HEADER = cf_gen_defines.cci
|
||||
cf_gen_LDADD= \
|
||||
- ../compat/libcompat.la \
|
||||
- -L../lib -lmiscutil \
|
||||
$(EPOLL_LIBS) \
|
||||
$(MINGW_LIBS) \
|
||||
$(XTRA_LIBS)
|
||||
@@ -752,6 +750,12 @@
|
||||
squid.conf.default squid.conf.documented: cf_parser.cci
|
||||
true
|
||||
|
||||
+CXX_FOR_BUILD ?= @CXX_FOR_BUILD@
|
||||
+cf_gen$(EXEEXT): $(cf_gen_OBJECTS) $(cf_gen_DEPENDENCIES)
|
||||
+ $(CXX_FOR_BUILD) $(CXXFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@ $(srcdir)/cf_gen.cc \
|
||||
+ $(top_srcdir)/lib/util.c \
|
||||
+ $(top_srcdir)/compat/assert.cc \
|
||||
+ $(cf_gen_LDADD) $(LIBS) ${INCLUDES}
|
||||
+
|
||||
+cf_gen$(EXEEXT): $(cf_gen_SOURCES) $(cf_gen_DEPENDENCIES)
|
||||
+ $(CXX_FOR_BUILD) -o $@ $(srcdir)/cf_gen.cc \
|
||||
+ $(top_srcdir)/lib/util.c $(top_srcdir)/lib/assert.c \
|
||||
+ -DNDEBUG -DBUILD_HOST_TOOL ${INCLUDES}
|
||||
+
|
||||
cf_parser.h: cf.data cf_gen$(EXEEXT)
|
||||
cf_parser.cci: cf.data cf_gen$(EXEEXT)
|
||||
./cf_gen cf.data $(srcdir)/cf.data.depend
|
||||
|
||||
|
||||
@@ -1,49 +0,0 @@
|
||||
[PATCH] replace susv3 legacy functions with modern equivalents
|
||||
|
||||
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
|
||||
---
|
||||
src/ESIVarState.cc | 6 +++---
|
||||
src/HttpHeaderTools.cc | 2 +-
|
||||
2 files changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
Index: squid-3.0.STABLE21/src/ESIVarState.cc
|
||||
===================================================================
|
||||
--- squid-3.0.STABLE21.orig/src/ESIVarState.cc
|
||||
+++ squid-3.0.STABLE21/src/ESIVarState.cc
|
||||
@@ -207,7 +207,7 @@ ESIVariableUserAgent::getProductVersion
|
||||
{
|
||||
char const *t;
|
||||
int len;
|
||||
- t = index (s,'/');
|
||||
+ t = strchr (s,'/');
|
||||
|
||||
if (!t || !*(++t))
|
||||
return xstrdup ("");
|
||||
@@ -382,12 +382,12 @@ ESIVariableUserAgent::ESIVariableUserAge
|
||||
|
||||
if ((t = strstr (s, "MSIE"))) {
|
||||
browser = ESI_BROWSER_MSIE;
|
||||
- t = index (t, ' ');
|
||||
+ t = strchr (t, ' ');
|
||||
|
||||
if (!t)
|
||||
browserversion = xstrdup ("");
|
||||
else {
|
||||
- t1 = index (t, ';');
|
||||
+ t1 = strchr (t, ';');
|
||||
|
||||
if (!t1)
|
||||
browserversion = xstrdup (t + 1);
|
||||
Index: squid-3.0.STABLE21/src/HttpHeaderTools.cc
|
||||
===================================================================
|
||||
--- squid-3.0.STABLE21.orig/src/HttpHeaderTools.cc
|
||||
+++ squid-3.0.STABLE21/src/HttpHeaderTools.cc
|
||||
@@ -357,7 +357,7 @@ httpHeaderParseQuotedString (const char
|
||||
pos = start + 1;
|
||||
|
||||
while (1) {
|
||||
- if (!(end = index (pos,'"'))) {
|
||||
+ if (!(end = strchr (pos,'"'))) {
|
||||
debugs(66, 2, "failed to parse a quoted-string header field near '" << start << "'");
|
||||
return 0;
|
||||
}
|
||||
@@ -4,20 +4,21 @@
|
||||
#
|
||||
#############################################################
|
||||
|
||||
SQUID_VERSION = 3.0.STABLE21
|
||||
SQUID_SOURCE = squid-$(SQUID_VERSION).tar.bz2
|
||||
SQUID_SITE = http://www.squid-cache.org/Versions/v3/3.0
|
||||
SQUID_VERSION = 3.1.9
|
||||
SQUID_SITE = http://www.squid-cache.org/Versions/v3/3.1
|
||||
SQUID_DEPENDENCIES = libcap host-libcap
|
||||
SQUID_AUTORECONF = YES
|
||||
SQUID_LIBTOOL_PATCH = NO
|
||||
SQUID_CONF_ENV = ac_cv_epoll_works=yes ac_cv_func_setresuid=yes \
|
||||
ac_cv_func_va_copy=yes ac_cv_func___va_copy=yes \
|
||||
ac_cv_func_strnstr=no
|
||||
SQUID_CONF_OPT = --disable-wccp --disable-wccp2 \
|
||||
--disable-htcp --disable-snmp \
|
||||
--enable-linux-netfilter \
|
||||
--enable-storeio=ufs,diskd,aufs,null \
|
||||
SQUID_CONF_OPT = --enable-wccp --enable-wccpv2 --enable-async-io=8 \
|
||||
--enable-htcp --enable-snmp --enable-linux-netfilter \
|
||||
--enable-removal-policies="lru,heap" \
|
||||
--with-aufs-threads=24 --with-filedescriptors=1024
|
||||
--with-filedescriptors=1024 --disable-ident-lookups \
|
||||
--enable-auth="digest" \
|
||||
--enable-digest-auth-helpers="password" \
|
||||
--enable-external-acl-helpers="ip_user"
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
SQUID_CONF_OPT += --enable-ssl
|
||||
SQUID_DEPENDENCIES += openssl
|
||||
@@ -28,8 +29,6 @@ define SQUID_CLEANUP_TARGET
|
||||
RunCache RunAccel)
|
||||
rm -f $(addprefix $(TARGET_DIR)/etc/, \
|
||||
cachemgr.conf mime.conf.default squid.conf.default)
|
||||
rm -f $(TARGET_DIR)/usr/libexec/cachemgr.cgi
|
||||
rm -f $(TARGET_DIR)/usr/share/mib.txt
|
||||
endef
|
||||
|
||||
SQUID_POST_INSTALL_TARGET_HOOKS += SQUID_CLEANUP_TARGET
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
SYSSTAT_VERSION = 9.1.6
|
||||
SYSSTAT_SOURCE = sysstat-$(SYSSTAT_VERSION).tar.bz2
|
||||
SYSSTAT_SITE = http://pagesperso-orange.fr/sebastien.godard/
|
||||
SYSSTAT_CONF_OPT = --disable-man-group --disable-sensors
|
||||
|
||||
SYSSTAT_CONF_OPT = --disable-man-group
|
||||
ifneq ($(BR2_HAVE_DOCUMENTATION),y)
|
||||
SYSSTAT_CONF_OPT += --disable-documentation
|
||||
endif
|
||||
|
||||
@@ -14,4 +14,11 @@ TCPDUMP_CONF_OPT:=--without-crypto \
|
||||
$(if $(BR2_PACKAGE_TCPDUMP_SMB),--enable-smb,--disable-smb)
|
||||
TCPDUMP_DEPENDENCIES:=zlib libpcap
|
||||
|
||||
# make install installs an unneeded extra copy of the tcpdump binary
|
||||
define TCPDUMP_REMOVE_DUPLICATED_BINARY
|
||||
rm -f $(TARGET_DIR)/usr/sbin/tcpdump.$(TCPDUMP_VERSION)
|
||||
endef
|
||||
|
||||
TCPDUMP_POST_INSTALL_TARGET_HOOKS += TCPDUMP_REMOVE_DUPLICATED_BINARY
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,tcpdump))
|
||||
|
||||
@@ -60,7 +60,7 @@ XSERVER_XORG_SERVER_DEPENDENCIES = \
|
||||
XSERVER_XORG_SERVER_CONF_OPT = --disable-config-hal \
|
||||
--disable-xnest --disable-xephyr --disable-xvfb \
|
||||
--with-builder-addr=buildroot@uclibc.org \
|
||||
CFLAGS="-I$(STAGING_DIR)/usr/include/pixman-1" \
|
||||
CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include/pixman-1" \
|
||||
--with-fontdir=/usr/share/fonts/X11/
|
||||
|
||||
ifeq ($(BR2_PACKAGE_XSERVER_xorg),y)
|
||||
|
||||
@@ -263,11 +263,13 @@ config BR2_x86_barcelona
|
||||
config BR2_x86_geode
|
||||
bool "geode"
|
||||
config BR2_x86_c3
|
||||
bool "cyrix 3 (MMX + 3dNOW!)"
|
||||
bool "Via/Cyrix C3 (Samuel/Ezra cores)"
|
||||
config BR2_x86_c32
|
||||
bool "Via C3-2 (Nehemiah cores)"
|
||||
config BR2_x86_winchip_c6
|
||||
bool "IDT winchip C6 (i486 + slow MMX)"
|
||||
bool "IDT Winchip C6"
|
||||
config BR2_x86_winchip2
|
||||
bool "IDT winchip2 (i486 +MMX +SSE)"
|
||||
bool "IDT Winchip 2"
|
||||
endchoice
|
||||
|
||||
choice
|
||||
@@ -447,6 +449,10 @@ config BR2_ARCH
|
||||
default "i586" if BR2_x86_i586
|
||||
default "i586" if BR2_x86_pentium_mmx
|
||||
default "i586" if BR2_x86_geode
|
||||
default "i586" if BR2_x86_c3
|
||||
default "i686" if BR2_x86_c32
|
||||
default "i586" if BR2_x86_winchip_c6
|
||||
default "i586" if BR2_x86_winchip2
|
||||
default "i686" if BR2_x86_i686
|
||||
default "i686" if BR2_x86_pentium2
|
||||
default "i686" if BR2_x86_pentium3
|
||||
@@ -510,6 +516,7 @@ config BR2_GCC_TARGET_TUNE
|
||||
default winchip-c6 if BR2_x86_winchip_c6
|
||||
default winchip2 if BR2_x86_winchip2
|
||||
default c3 if BR2_x86_c3
|
||||
default c3-2 if BR2_x86_c32
|
||||
default geode if BR2_x86_geode
|
||||
default generic if BR2_x86_64_generic
|
||||
default nocona if BR2_x86_64_nocona
|
||||
@@ -623,6 +630,7 @@ config BR2_GCC_TARGET_ARCH
|
||||
default winchip-c6 if BR2_x86_winchip_c6
|
||||
default winchip2 if BR2_x86_winchip2
|
||||
default c3 if BR2_x86_c3
|
||||
default c3-2 if BR2_x86_c32
|
||||
default geode if BR2_x86_geode
|
||||
default armv4t if BR2_arm7tdmi
|
||||
default armv3 if BR2_arm610
|
||||
|
||||
15
toolchain/toolchain-crosstool-ng/001-no-cvs.patch
Normal file
15
toolchain/toolchain-crosstool-ng/001-no-cvs.patch
Normal file
@@ -0,0 +1,15 @@
|
||||
Remove dependency on cvs.
|
||||
|
||||
cvs is used to retrieve newlib, which is not supported
|
||||
under Buildroot, so cvs is not required.
|
||||
|
||||
--- crosstool-ng-1.8.0/configure.orig 2010-11-27 15:43:52.000000000 +0000
|
||||
+++ crosstool-ng-1.8.0/configure 2010-11-27 15:44:10.000000000 +0000
|
||||
@@ -359,7 +359,6 @@
|
||||
err="'libtool' 1.5.26 or above was not found"
|
||||
has_or_abort prog=stat
|
||||
has_or_abort prog="aria2c curl wget"
|
||||
-has_or_abort prog=cvs
|
||||
has_or_abort prog=patch
|
||||
has_or_abort prog=tar
|
||||
has_or_abort prog=gzip
|
||||
@@ -28,7 +28,7 @@ CTNG_UCLIBC_CONFIG_FILE := $(TOPDIR)/toolchain/toolchain-crosstool-ng/uClibc.con
|
||||
# to calling ct-ng.
|
||||
# $1: the set of arguments to pass to ct-ng
|
||||
define ctng
|
||||
$(CTNG_DIR)/ct-ng -C $(CTNG_DIR) --no-print-directory $(1)
|
||||
PATH=$(HOST_PATH) $(CTNG_DIR)/ct-ng -C $(CTNG_DIR) --no-print-directory $(1)
|
||||
endef
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
@@ -76,6 +76,8 @@ $(STAMP_DIR)/ct-ng-toolchain-installed: $(STAMP_DIR)/ct-ng-toolchain-built
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# Building the toolchain
|
||||
# Note: $(STAMP_DIR)/ct-ng-toolchain-built can have more dependencies,
|
||||
# depending on the selected C library. Those deps are added later
|
||||
|
||||
$(STAMP_DIR)/ct-ng-toolchain-built: $(CTNG_DIR)/.config
|
||||
$(Q)$(call ctng,build.$(BR2_JLEVEL))
|
||||
@@ -85,15 +87,57 @@ $(STAMP_DIR)/ct-ng-toolchain-built: $(CTNG_DIR)/.config
|
||||
#-----------------------------------------------------------------------------
|
||||
# Configuring the toolchain
|
||||
|
||||
# Note: a lot of the following tricks would become unneeded if one day
|
||||
# buildroot and crosstool-NG had matching options, especially for the
|
||||
# target description: arch name, bitness, endianness...
|
||||
#--------------
|
||||
# We push BR options down to CT-NG, munging the default configuration
|
||||
# with sed expressions.
|
||||
# - first one for non-path options
|
||||
# - second for path options (because they have no prompt, they
|
||||
# always get set to the default value)
|
||||
# - third for C library .config (if it has one, eg. uClibc)
|
||||
CTNG_FIX_DOT_CONFIG_SED :=
|
||||
CTNG_FIX_DOT_CONFIG_PATHS_SED :=
|
||||
CTNG_FIX_DOT_CONFIG_LIBC_SED :=
|
||||
|
||||
# Note-2: missing conformity check between BR's .config and libc features.
|
||||
# Use check_uclibc or check_glibc.
|
||||
#--------------
|
||||
# A few generic functions
|
||||
|
||||
# Munge a config file, given a sed expression
|
||||
# $1: the .config file to munge
|
||||
# $2: the sed expression to apply
|
||||
define ctng-fix-dot-config
|
||||
$(Q)sed -r -e '$(2)' $(1) >$(1).sed
|
||||
$(Q)cmp $(1) $(1).sed >/dev/null 2>&1 && rm -f $(1).sed || mv -f $(1).sed $(1)
|
||||
endef
|
||||
|
||||
# This function checks the .config did actually change
|
||||
# If not changed, then current .config will be touched with reference to the
|
||||
# stamp file. If the configuration did change, nothing is done.
|
||||
# $1: the current .config to check
|
||||
# $2: the time-stamped .config file
|
||||
define ctng-check-config-changed
|
||||
$(Q)old_md5="$$( grep -v -E '^(#|$$)' $(2) 2>/dev/null \
|
||||
|md5sum \
|
||||
|cut -d ' ' -f 1 \
|
||||
)"; \
|
||||
new_md5="$$( grep -v -E '^(#|$$)' $(1) 2>/dev/null \
|
||||
|md5sum \
|
||||
|cut -d ' ' -f 1 \
|
||||
)"; \
|
||||
if [ $${old_md5} = $${new_md5} -a -f $(2) ]; then \
|
||||
touch -r $(2) $(1); \
|
||||
fi
|
||||
endef
|
||||
|
||||
#--------------
|
||||
# Massage BR2_ARCH so that it matches CT-NG's ARCH
|
||||
#
|
||||
# Note: a lot of the following tricks would become unneeded if one day
|
||||
# buildroot and crosstool-NG had matching options, especially for the
|
||||
# target description: arch name, bitness, endianness...
|
||||
#
|
||||
# Note-2: missing conformity check between BR's .config and libc features.
|
||||
# Use check_uclibc or check_glibc.
|
||||
|
||||
# Defaults:
|
||||
CTNG_ARCH := $(CTNG_BR2_ARCH)
|
||||
CTNG_ENDIAN :=
|
||||
@@ -151,8 +195,6 @@ endif
|
||||
# with BR2 config options.
|
||||
# Known missing: arch variant & options, floating point (HW/SW), uClibc/eglibc config...
|
||||
#
|
||||
|
||||
CTNG_FIX_DOT_CONFIG_SED :=
|
||||
CTNG_FIX_DOT_CONFIG_SED += s:^(CT_INSTALL_DIR_RO)=y:\# \1 is not set:;
|
||||
CTNG_FIX_DOT_CONFIG_SED += s:^(|\# )(CT_ARCH_[BL]E).*:\# \2 is not set:;
|
||||
CTNG_FIX_DOT_CONFIG_SED += s:^\# (CT_ARCH_$(CTNG_ENDIAN)) is not set:\1=y:;
|
||||
@@ -173,22 +215,70 @@ endif
|
||||
|
||||
#--------------
|
||||
# And the specials for paths
|
||||
CTNG_FIX_DOT_CONFIG_PATHS_SED :=
|
||||
CTNG_FIX_DOT_CONFIG_PATHS_SED += s:^(CT_PREFIX_DIR)=.*:\1="$(TOOLCHAIN_DIR)":;
|
||||
CTNG_FIX_DOT_CONFIG_PATHS_SED += s:^(CT_LOCAL_TARBALLS_DIR)=.*:\1="$(DL_DIR)":;
|
||||
CTNG_FIX_DOT_CONFIG_PATHS_SED += s:^(CT_SYSROOT_DIR_PREFIX)=.*:\1="":;
|
||||
|
||||
#--------------
|
||||
# uClibc specific options
|
||||
ifeq ($(BR2_TOOLCHAIN_CTNG_uClibc),y)
|
||||
CTNG_FIX_DOT_CONFIG_PATHS_SED += s:^(CT_LIBC_UCLIBC_CONFIG_FILE)=.*:\1="$(CTNG_UCLIBC_CONFIG_FILE)":;
|
||||
|
||||
# Handle the locales option
|
||||
ifneq ($(call qstrip,$(BR2_ENABLE_LOCALE)),)
|
||||
CTNG_FIX_DOT_CONFIG_SED += s:^\# (CT_LIBC_UCLIBC_LOCALES) is not set:\1=y\n\# CT_LIBC_UCLIBC_LOCALES_PREGEN_DATA is not set:;
|
||||
CTNG_FIX_DOT_CONFIG_SED += s:^(CT_LIBC_UCLIBC_LOCALES_PREGEN_DATA)=.*:\# \1 is not set:;
|
||||
else
|
||||
CTNG_FIX_DOT_CONFIG_SED += s:^(CT_LIBC_UCLIBC_LOCALES)=.*:\# \1 is not set:;
|
||||
endif
|
||||
|
||||
# Handle the wide-char option
|
||||
ifneq ($(call qstrip,$(BR2_USE_WCHAR)),)
|
||||
CTNG_FIX_DOT_CONFIG_SED += s:^\# (CT_LIBC_UCLIBC_WCHAR) is not set:\1=y:;
|
||||
else
|
||||
CTNG_FIX_DOT_CONFIG_SED += s:^(CT_LIBC_UCLIBC_WCHAR)=.*:\# \1 is not set:;
|
||||
endif
|
||||
|
||||
# Handle the LFS option
|
||||
ifneq ($(call qstrip,$(BR2_LARGEFILE)),)
|
||||
CTNG_FIX_DOT_CONFIG_LIBC_SED += s:^\# (UCLIBC_HAS_LFS) is not set:\1=y:;
|
||||
else
|
||||
CTNG_FIX_DOT_CONFIG_LIBC_SED += s:^(UCLIBC_HAS_LFS)=.*:\# \1 is not set:;
|
||||
endif
|
||||
|
||||
# Handle the IPv6 option
|
||||
ifneq ($(call qstrip,$(BR2_INET_IPV6)),)
|
||||
CTNG_FIX_DOT_CONFIG_LIBC_SED += s:^\# (UCLIBC_HAS_IPV6) is not set:\1=y:;
|
||||
else
|
||||
CTNG_FIX_DOT_CONFIG_LIBC_SED += s:^(UCLIBC_HAS_IPV6)=.*:\# \1 is not set:;
|
||||
endif
|
||||
|
||||
# Handle the RPC option
|
||||
ifneq ($(call qstrip,$(BR2_INET_RPC)),)
|
||||
CTNG_FIX_DOT_CONFIG_LIBC_SED += s:^\# (UCLIBC_HAS_RPC) is not set:\1=y\nUCLIBC_HAS_FULL_RPC=y\nUCLIBC_HAS_REENTRANT_RPC=y:;
|
||||
CTNG_FIX_DOT_CONFIG_LIBC_SED += s:^\# (UCLIBC_HAS_FULL_RPC) is not set:\1=y:;
|
||||
CTNG_FIX_DOT_CONFIG_LIBC_SED += s:^\# (UCLIBC_HAS_REENTRANT_RPC) is not set:\1=y:;
|
||||
else
|
||||
CTNG_FIX_DOT_CONFIG_LIBC_SED += s:^(UCLIBC_HAS_RPC)=.*:\# \1 is not set:;
|
||||
endif
|
||||
|
||||
# Instruct CT-NG's .config where to find the uClibc's .config
|
||||
CTNG_FIX_DOT_CONFIG_PATHS_SED += s:^(CT_LIBC_UCLIBC_CONFIG_FILE)=.*:\1="$(CTNG_DIR)/libc.config":;
|
||||
|
||||
# And add this to the toolchain build dependency
|
||||
$(STAMP_DIR)/ct-ng-toolchain-built: $(CTNG_DIR)/libc.config
|
||||
|
||||
# And here is how we get this uClibc's .config
|
||||
$(CTNG_DIR)/libc.config: $(CTNG_UCLIBC_CONFIG_FILE) $(CONFIG_DIR)/.config
|
||||
-$(Q)cp -a $@ $@.timestamp
|
||||
$(Q)cp -f $< $@
|
||||
$(call ctng-fix-dot-config,$@,$(CTNG_FIX_DOT_CONFIG_LIBC_SED))
|
||||
$(call ctng-check-config-changed,$@,$@.timestamp)
|
||||
$(Q)rm -f $@.timestamp
|
||||
|
||||
endif # LIBC is uClibc
|
||||
|
||||
#--------------
|
||||
# Small functions to shoe-horn the above into crosstool-NG's .config
|
||||
# $1: the .config file to munge
|
||||
# $2: the sed expression to apply
|
||||
define ctng-fix-dot-config
|
||||
$(Q)sed -r -e '$(2)' $(1) >$(1).sed
|
||||
$(Q)cmp $(1) $(1).sed >/dev/null 2>&1 && rm -f $(1).sed || mv -f $(1).sed $(1)
|
||||
endef
|
||||
|
||||
# Function to update the .config
|
||||
# We first munge the .config to shoe-horn defaults, then we push that unto
|
||||
@@ -207,32 +297,18 @@ define ctng-oldconfig
|
||||
$(call ctng-fix-dot-config,$(1),$(CTNG_FIX_DOT_CONFIG_PATHS_SED))
|
||||
endef
|
||||
|
||||
# This function checks the confguration of the toolchain did actually change
|
||||
# If not changed, then current .config will be touched with reference to the
|
||||
# stamp file. If the configuration did change, nothing is done.
|
||||
# $1: the current .config to check
|
||||
# $2: the time-stamped .config file
|
||||
define ctng-check-config-changed
|
||||
$(Q)old_md5="$$( grep -v -E '^(#|$$)' $(2) 2>/dev/null \
|
||||
|md5sum \
|
||||
|cut -d ' ' -f 1 \
|
||||
)"; \
|
||||
new_md5="$$( grep -v -E '^(#|$$)' $(1) 2>/dev/null \
|
||||
|md5sum \
|
||||
|cut -d ' ' -f 1 \
|
||||
)"; \
|
||||
if [ $${old_md5} = $${new_md5} -a -f $(2) ]; then \
|
||||
touch -r $(2) $(1); \
|
||||
fi
|
||||
endef
|
||||
|
||||
# Default configuration
|
||||
# Depends on top-level .config because it has options we have to shoe-horn
|
||||
# into crosstool-NG's .config
|
||||
# Only copy the original .config file if we don't have one already
|
||||
# We need to call oldconfig twice in a row to ensure the options
|
||||
# are correctly set ( eg. if an option is new, then the initial sed
|
||||
# can't do anything about it ) Ideally, this should go in oldconfig
|
||||
# itself, but it's much easier to handle here.
|
||||
$(CTNG_DIR)/.config: $(CTNG_CONFIG_FILE) $(CTNG_DIR)/ct-ng $(CONFIG_DIR)/.config
|
||||
$(Q)[ -f $@ ] && cp -a $@ $@.timestamp || cp -f $< $@
|
||||
$(call ctng-oldconfig,$@)
|
||||
$(call ctng-oldconfig,$@)
|
||||
$(call ctng-check-config-changed,$@,$@.timestamp)
|
||||
$(Q)rm -f $@.timestamp
|
||||
|
||||
@@ -267,8 +343,16 @@ $(CTNG_DIR)/.patched: $(CTNG_DIR)/.unpacked
|
||||
\*.patch.$(ARCH)
|
||||
$(Q)touch $@
|
||||
|
||||
# Use order-only dependencies on host-* as they
|
||||
# are virtual targets with no rules, and so are
|
||||
# considered always remade. But we do not want
|
||||
# to reconfigure and rebuild ct-ng every time
|
||||
# we need to run it...
|
||||
$(CTNG_DIR)/.configured: | host-gawk \
|
||||
host-automake
|
||||
|
||||
$(CTNG_DIR)/.configured: $(CTNG_DIR)/.patched
|
||||
$(Q)cd $(CTNG_DIR) && ./configure --local
|
||||
$(Q)cd $(CTNG_DIR) && PATH=$(HOST_PATH) ./configure --local
|
||||
$(Q)touch $@
|
||||
|
||||
$(CTNG_DIR)/ct-ng: $(CTNG_DIR)/.configured
|
||||
|
||||
@@ -183,6 +183,7 @@ UCLIBC_HAS_XLOCALE=y
|
||||
UCLIBC_HAS_HEXADECIMAL_FLOATS=y
|
||||
# UCLIBC_HAS_GLIBC_DIGIT_GROUPING is not set
|
||||
UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y
|
||||
# USE_OLD_VFPRINTF is not set
|
||||
UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9
|
||||
UCLIBC_HAS_SCANF_GLIBC_A_FLAG=y
|
||||
# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set
|
||||
|
||||
Reference in New Issue
Block a user