Skip to contentSkip to conversation

curl needs more love too

Buildroot Cristian Ionescu-Idbohrn 2 participants 2 messages Jul 8, 2007 – Jul 13, 2007

lore
Share & tools
lore
#0 lore raw
curl/curl.mk +2 -2
Index: package/curl/curl.mk
===================================================================
@@ -3,7 +3,7 @@
 # curl
 #
 #############################################################
-CURL_VERSION:=7.13.1
+CURL_VERSION:=7.16.3
 CURL_SOURCE:=curl-$(CURL_VERSION).tar.bz2
 CURL_SITE:=http://curl.haxx.se/download/
 CURL_CAT:=$(BZCAT)
@@ -17,7 +17,7 @@
 
 $(CURL_DIR)/.unpacked: $(DL_DIR)/$(CURL_SOURCE)
 	$(CURL_CAT) $(DL_DIR)/$(CURL_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
-	toolchain/patch-kernel.sh $(CURL_DIR) package/curl/ \*.patch*
+	toolchain/patch-kernel.sh $(CURL_DIR) package/curl curl-$(CURL_VERSION)-\*.patch*
 	touch $(CURL_DIR)/.unpacked
 
 $(CURL_DIR)/.configured: $(CURL_DIR)/.unpacked
Signature · 1 line
Cristian
#1 lore raw

curl/curl.mk line 6

Quoted 2 lines · Cristian Ionescu-Idbohrn
curl/curl.mk +1 -1
-CURL_VERSION:=7.13.1
+CURL_VERSION:=7.16.3

Current version seems to be 7.16.4

curl/curl.mk line 20

Quoted 2 lines
curl/curl.mk +1 -1
-	toolchain/patch-kernel.sh $(CURL_DIR) package/curl/ \*.patch*
+	toolchain/patch-kernel.sh $(CURL_DIR) package/curl curl-$(CURL_VERSION)-\*.patch*

Looks fine to me.

When cross-compiling though the configure script fails:
checking for "/dev/urandom"... configure: error: cannot check for file existence when cross compiling

I can fix this by passing --without-random, however there are plenty of other opportunities for things to go wrong, as the Configure script seems to do a lot of host-side inspection of headers/libraries. How are other folks handling this situation?

-R