svn commit: trunk/buildroot/package: curl liblockfile lockfile-progs xerces
Author: sjhill
Date: 2007-05-06 20:58:30 -0700 (Sun, 06 May 2007) New Revision: 18571
Log:
Add new packages.
Added:
trunk/buildroot/package/curl/ trunk/buildroot/package/curl/Config.in trunk/buildroot/package/curl/curl-7.10.4-path.patch trunk/buildroot/package/curl/curl-7.12.0-nousr.patch trunk/buildroot/package/curl/curl-7.13.1-2005-3185.patch trunk/buildroot/package/curl/curl-7.13.1-auth.patch trunk/buildroot/package/curl/curl-7.13.1-cve-2005-4077.patch trunk/buildroot/package/curl/curl.mk trunk/buildroot/package/liblockfile/ trunk/buildroot/package/liblockfile/Config.in trunk/buildroot/package/liblockfile/liblockfile-install.patch trunk/buildroot/package/liblockfile/liblockfile.mk trunk/buildroot/package/lockfile-progs/ trunk/buildroot/package/lockfile-progs/Config.in trunk/buildroot/package/lockfile-progs/lockfile-progs.mk trunk/buildroot/package/xerces/ trunk/buildroot/package/xerces/Config.in trunk/buildroot/package/xerces/xerces.mk
Modified:
trunk/buildroot/package/Config.in
Changeset:
Modified: trunk/buildroot/package/Config.in
===================================================================
buildroot/package/Config.in +4 -0
@@ -50,6 +50,7 @@ source "package/pkgconfig/Config.in" source "package/readline/Config.in" source "package/valgrind/Config.in" +source "package/xerces/Config.in" comment "Other stuff" source "package/at/Config.in"
@@ -65,7 +66,9 @@ source "package/libelf/Config.in" source "package/libevent/Config.in" source "package/libfloat/Config.in" +source "package/liblockfile/Config.in" source "package/libsysfs/Config.in" +source "package/lockfile-progs/Config.in" source "package/lsof/Config.in" source "package/ltp-testsuite/Config.in" source "package/ltrace/Config.in"
@@ -120,6 +123,7 @@ source "package/boa/Config.in" source "package/bind/Config.in" source "package/bridge/Config.in" +source "package/curl/Config.in" if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS source "package/dhcp/Config.in" endif
Added: trunk/buildroot/package/curl/Config.in
===================================================================
buildroot/package/curl/Config.in +17 -0
@@ -0,0 +1,17 @@ +config BR2_PACKAGE_CURL + bool "curl" + default n + help + cURL is a tool for getting files from FTP, HTTP, Gopher, Telnet, + and Dict servers, using any of the supported protocols. + + http://curl.haxx.nu/ + +config BR2_PACKAGE_LIBCURL + bool "libcurl" + default n + help + cURL is a tool for getting files from FTP, HTTP, Gopher, Telnet, + and Dict servers, using any of the supported protocols. + + http://curl.haxx.nu/
Added: trunk/buildroot/package/curl/curl-7.10.4-path.patch
===================================================================
buildroot/package/curl/curl-7.10.4-path.patch +13 -0
@@ -0,0 +1,13 @@ +--- curl-7.10.4/lib/Makefile.am ++++ curl-7.10.4/lib/Makefile.am +@@ -78,8 +78,8 @@ + + install-data-hook: + @if test -n "@CURL_CA_BUNDLE@"; then \ +- $(mkinstalldirs) `dirname $(DESTDIR)@CURL_CA_BUNDLE@`; \ +- @INSTALL_DATA@ $(srcdir)/ca-bundle.crt $(DESTDIR)@CURL_CA_BUNDLE@; \ ++ $(mkinstalldirs) `dirname $(prefix)/../@CURL_CA_BUNDLE@`; \ ++ @INSTALL_DATA@ $(srcdir)/ca-bundle.crt $(prefix)/../@CURL_CA_BUNDLE@; \ + fi + + # this hook is mainly for non-unix systems to build even if configure
Added: trunk/buildroot/package/curl/curl-7.12.0-nousr.patch
===================================================================
buildroot/package/curl/curl-7.12.0-nousr.patch +16 -0
@@ -0,0 +1,16 @@ +--- curl-7.12.0/configure.ac.orig 2004-05-25 23:43:39.000000000 +0200 ++++ curl-7.12.0/configure.ac 2004-07-26 15:12:03.029071072 +0200 +@@ -742,5 +742,5 @@ + dnl check the given spot right away! + EXTRA_SSL=$OPT_SSL +- LDFLAGS="$LDFLAGS -L$EXTRA_SSL/lib$libsuff" ++ #LDFLAGS="$LDFLAGS -L$EXTRA_SSL/lib$libsuff" + CPPFLAGS="$CPPFLAGS -I$EXTRA_SSL/include/openssl -I$EXTRA_SSL/include" + ;; +@@ -750,5 +750,5 @@ + HAVECRYPTO="yes" + ],[ +- LDFLAGS="$CLEANLDFLAGS -L$EXTRA_SSL/lib$libsuff" ++ LDFLAGS="$CLEANLDFLAGS" + CPPFLAGS="$CLEANCPPFLAGS -I$EXTRA_SSL/include/openssl -I$EXTRA_SSL/include" + AC_CHECK_LIB(crypto, CRYPTO_add_lock,[
Added: trunk/buildroot/package/curl/curl-7.13.1-2005-3185.patch
===================================================================
buildroot/package/curl/curl-7.13.1-2005-3185.patch +16 -0
@@ -0,0 +1,16 @@ +--- curl-7.13.1/lib/http_ntlm.c.2005-3185 2005-02-22 13:10:30.000000000 +0100 ++++ curl-7.13.1/lib/http_ntlm.c 2005-10-19 15:18:42.165859528 +0200 +@@ -534,6 +534,13 @@ + size=64; + ntlmbuf[62]=ntlmbuf[63]=0; + ++ /* Make sure that the user and domain strings fit in the target buffer ++ before we copy them there. */ ++ if(size + userlen + domlen >= sizeof(ntlmbuf)) { ++ failf(conn->data, "user + domain name too big"); ++ return CURLE_OUT_OF_MEMORY; ++ } ++ + memcpy(&ntlmbuf[size], domain, domlen); + size += domlen; +
Added: trunk/buildroot/package/curl/curl-7.13.1-auth.patch
===================================================================
buildroot/package/curl/curl-7.13.1-auth.patch +48 -0
48 lines not on this page · raw message
Added: trunk/buildroot/package/curl/curl-7.13.1-cve-2005-4077.patch
===================================================================
buildroot/package/curl/curl-7.13.1-cve-2005-4077.patch +23 -0
@@ -0,0 +1,23 @@ +--- curl-7.13.1/lib/url.c.cve-2005-4077 2005-12-08 13:08:03.000000000 +0100 ++++ curl-7.13.1/lib/url.c 2005-12-08 13:15:56.565790336 +0100 +@@ -2313,12 +2313,18 @@ + if(urllen < LEAST_PATH_ALLOC) + urllen=LEAST_PATH_ALLOC; + +- conn->pathbuffer=(char *)malloc(urllen); ++ /* ++ * We malloc() the buffers below urllen+2 to make room for to possibilities: ++ * 1 - an extra terminating zero ++ * 2 - an extra slash (in case a syntax like "www.host.com?moo" is used) ++ */ ++ ++ conn->pathbuffer=(char *)malloc(urllen+3); + if(NULL == conn->pathbuffer) + return CURLE_OUT_OF_MEMORY; /* really bad error */ + conn->path = conn->pathbuffer; + +- conn->host.rawalloc=(char *)malloc(urllen); ++ conn->host.rawalloc=(char *)malloc(urllen+3); + if(NULL == conn->host.rawalloc) + return CURLE_OUT_OF_MEMORY; + conn->host.name = conn->host.rawalloc;
Added: trunk/buildroot/package/curl/curl.mk
===================================================================
buildroot/package/curl/curl.mk +81 -0
81 lines not on this page · raw message
Added: trunk/buildroot/package/liblockfile/Config.in
===================================================================
buildroot/package/liblockfile/Config.in +5 -0
@@ -0,0 +1,5 @@ +config BR2_PACKAGE_LIBLOCKFILE + bool "liblockfile" + default n + help + NFS-safe locking library.
Added: trunk/buildroot/package/liblockfile/liblockfile-install.patch
===================================================================
buildroot/package/liblockfile/liblockfile-install.patch +16 -0
@@ -0,0 +1,16 @@ +diff -ur liblockfile-1.06.1/Makefile.in liblockfile-1.06.1-patched/Makefile.in +--- liblockfile-1.06.1/Makefile.in 2001-03-16 22:08:33.000000000 -0600 ++++ liblockfile-1.06.1-patched/Makefile.in 2007-04-11 07:18:38.000000000 -0500 +@@ -60,11 +60,7 @@ + + install_common: + install -m 644 lockfile.h maillock.h $(ROOT)$(includedir) +- if [ "$(MAILGROUP)" != "" ]; then\ +- install -g $(MAILGROUP) -m 2755 dotlockfile $(ROOT)$(bindir);\ +- else \ +- install -g root -m 755 dotlockfile $(ROOT)$(bindir); \ +- fi ++ install -m 2755 dotlockfile $(ROOT)$(bindir);\ + install -m 644 *.1 $(ROOT)$(mandir)/man1 + install -m 644 *.3 $(ROOT)$(mandir)/man3 +
Added: trunk/buildroot/package/liblockfile/liblockfile.mk
===================================================================
buildroot/package/liblockfile/liblockfile.mk +67 -0
67 lines not on this page · raw message
Added: trunk/buildroot/package/lockfile-progs/Config.in
===================================================================
buildroot/package/lockfile-progs/Config.in +6 -0
@@ -0,0 +1,6 @@ +config BR2_PACKAGE_LOCKFILE_PROGS + bool "lockfile programs" + default n + select BR2_PACKAGE_LIBLOCKFILE + help + Build lockfile utility programs.
Added: trunk/buildroot/package/lockfile-progs/lockfile-progs.mk
===================================================================
buildroot/package/lockfile-progs/lockfile-progs.mk +44 -0
44 lines not on this page · raw message
Added: trunk/buildroot/package/xerces/Config.in
===================================================================
buildroot/package/xerces/Config.in +7 -0
@@ -0,0 +1,7 @@ +config BR2_PACKAGE_XERCES + bool "xerces" + default n + help + Xerces-C++ is a validating XML parser written in portable C++. + + http://xml.apache.org/xerces-c/
Added: trunk/buildroot/package/xerces/xerces.mk
===================================================================
buildroot/package/xerces/xerces.mk +64 -0
64 lines not on this page · raw message