]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Updated curl to work with libssh2.
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 28 May 2009 23:04:13 +0000 (01:04 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 28 May 2009 23:04:13 +0000 (01:04 +0200)
lfs/curl

index 1dc7ecba2242879a6868b56b2196b951ad89721d..28c34c1aa3153e05188159bbc394f810eaa52887 100644 (file)
--- a/lfs/curl
+++ b/lfs/curl
@@ -25,7 +25,7 @@
 include Config
 
 PKG_NAME   = curl
-PKG_VER    = 7.16.3
+PKG_VER    = 7.19.5
 PKG_REL    = 0
 
 THISAPP    = $(PKG_NAME)-$(PKG_VER)
@@ -81,10 +81,22 @@ $(OBJECT): $(objects)
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE)
        cd $(DIR_APP) && \
+               CPPFLAGS="-DHAVE_PK11_CREATEGENERICOBJECT" \
                ./configure \
                        $(CONFIGURE_ARCH) \
                        --prefix=/usr \
-                       --disable-static
+                       --disable-static \
+                       --with-ca-bundle=/etc/pki/tls/certs/ca-bundle.crt \
+                       --with-libidn \
+                       --with-libssh2 \
+                       --enable-ldaps \
+                       --enable-ipv6
+
+       # Remove bogus rpath
+       cd $(DIR_APP) && sed -i \
+               -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
+               -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+
        cd $(DIR_APP) && make $(PARALLELISMFLAGS)
        cd $(DIR_APP) && make install
        @rm -rf $(DIR_APP)