From 1ec0906e4945a23baf1df56c0385c9ccf9ac8e67 Mon Sep 17 00:00:00 2001 From: Peter Pentchev Date: Sat, 7 Mar 2009 03:57:38 +0000 Subject: Update to curl-7.19.4, which fixes a redirection vulnerability. The changes in the patch files are almost the same as in Eugene's PR, although I arrived at them mostly independently :) Reformat all patch files now that I use quilt to manage them. Fix two complaints from portlint: needless use of CFLAGS and differentiation between NOPORTDOCS and NOPORTEXAMPLES. Thanks, Eugene! PR: 132358 Submitted by: Eygene Ryabinkin --- ftp/curl/files/patch-configure | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'ftp/curl/files/patch-configure') diff --git a/ftp/curl/files/patch-configure b/ftp/curl/files/patch-configure index 3d38f47f2622..154e8d571067 100644 --- a/ftp/curl/files/patch-configure +++ b/ftp/curl/files/patch-configure @@ -1,14 +1,14 @@ -diff -urN -x .svn ../../vendor/curl/configure ./configure ---- ../../vendor/curl/configure 2008-11-02 00:09:51.000000000 +0200 -+++ ./configure 2009-01-21 16:12:08.000000000 +0200 -@@ -32237,8 +32237,10 @@ +Do not needlessly add /usr/include and /usr/lib to the compiler and +linker flags if the base system OpenSSL is used. + +--- a/configure ++++ b/configure +@@ -23435,7 +23435,7 @@ PKGTEST="no" PREFIX_OPENSSL=$OPT_SSL LIB_OPENSSL="$PREFIX_OPENSSL/lib$libsuff" -+ if ! [ "$PREFIX_OPENSSL" = "/usr" ]; then - LDFLAGS="$LDFLAGS -L$LIB_OPENSSL" - CPPFLAGS="$CPPFLAGS -I$PREFIX_OPENSSL/include/openssl -I$PREFIX_OPENSSL/include" -+ fi - ;; - esac - +- if "$PREFIX_OPENSSL" != "/usr" ; then ++ if [ "$PREFIX_OPENSSL" != "/usr" ] ; then + LDFLAGS="$LDFLAGS -L$LIB_OPENSSL" + CPPFLAGS="$CPPFLAGS -I$PREFIX_OPENSSL/include" + fi -- cgit v1.2.3