$Id: patch-obsd32_curl_7.10.4 1023 2008-11-28 07:31:02Z ranga $ curl 7.10.4 patch for OpenBSD 3.2's /usr/ports/net/curl Apply by doing: cd /usr/ports patch -p0 < patch-obsd32_curl_7.10.4 And then build curl: cd net/curl make clean make To install, remove the existing curl pkg (if installed) and: make install diff -urN net/curl-orig/Makefile net/curl/Makefile --- net/curl-orig/Makefile Fri Jun 14 21:27:35 2002 +++ net/curl/Makefile Sun Apr 20 13:27:10 2003 @@ -1,10 +1,9 @@ -# $OpenBSD: Makefile,v 1.36 2002/06/15 04:27:35 brad Exp $ +# $OpenBSD: Makefile,v 1.37 2002/11/24 03:40:08 brad Exp $ COMMENT= "get files from FTP, Gopher, HTTP or HTTPS servers" -DISTNAME= curl-7.9.8 +DISTNAME= curl-7.10.4 CATEGORIES= net -NEED_VERSION= 1.528 MASTER_SITES= http://curl.haxx.se/download/ \ ftp://ftp.sunet.se/pub/www/utilities/curl/ \ ftp://cool.haxx.se/curl/ \ @@ -37,10 +36,11 @@ --disable-ipv6 .endif -DOCS= CHANGES LEGAL MITX.txt README +DOCS= CHANGES COPYING README post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/curl cd ${WRKSRC}; ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/curl + cd ${WRKSRC}; ${INSTALL_DATA} curl-style.el ${PREFIX}/share/curl .include diff -urN net/curl-orig/distinfo net/curl/distinfo --- net/curl-orig/distinfo Fri Jun 14 21:27:35 2002 +++ net/curl/distinfo Sun Apr 20 13:12:08 2003 @@ -1,3 +1,3 @@ -MD5 (curl-7.9.8.tar.gz) = 791008273843a9b98f786433f5fc2645 -RMD160 (curl-7.9.8.tar.gz) = f6f3278fdf4ed4a133fefd5cc6e6683eb7b98e05 -SHA1 (curl-7.9.8.tar.gz) = 04c91821a4557e4ba8f3451f60fd8b920edd7edf +MD5 (curl-7.10.4.tar.gz) = f7bf1651e5825744ab405490295fe98a +RMD160 (curl-7.10.4.tar.gz) = 622ec92910848977d4b5b1cb20a473c155e5f644 +SHA1 (curl-7.10.4.tar.gz) = 59f920ae96ca800683dd68a3b2a3de2d989e17de diff -urN net/curl-orig/patches/patch-configure net/curl/patches/patch-configure --- net/curl-orig/patches/patch-configure Fri Jun 14 21:27:35 2002 +++ net/curl/patches/patch-configure Sun Apr 20 13:25:16 2003 @@ -1,29 +1,6 @@ -$OpenBSD: patch-configure,v 1.4 2002/06/15 04:27:35 brad Exp $ ---- configure.orig Tue Jun 11 11:16:54 2002 -+++ configure Sat Jun 15 00:20:56 2002 -@@ -5898,8 +5898,8 @@ else - hardcode_direct=yes - hardcode_shlibpath_var=no - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then -- archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags' -- hardcode_libdir_flag_spec='${wl}-rpath,$libdir' -+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' -+ hardcode_libdir_flag_spec='${wl}-R$libdir' - export_dynamic_flag_spec='${wl}-E' - else - case "$host_os" in -@@ -5908,8 +5908,8 @@ else - hardcode_libdir_flag_spec='-R$libdir' - ;; - *) -- archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags' -- hardcode_libdir_flag_spec='${wl}-rpath,$libdir' -+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' -+ hardcode_libdir_flag_spec='${wl}-R$libdir' - ;; - esac - fi -@@ -6425,6 +6425,8 @@ openbsd*) +--- configure.orig Sun Apr 20 13:19:24 2003 ++++ configure Sun Apr 20 13:24:56 2003 +@@ -7538,6 +7538,8 @@ version_type=sunos need_lib_prefix=no need_version=no diff -urN net/curl-orig/pkg/PLIST net/curl/pkg/PLIST --- net/curl-orig/pkg/PLIST Tue Apr 16 15:49:36 2002 +++ net/curl/pkg/PLIST Sun Apr 20 13:12:08 2003 @@ -1,4 +1,4 @@ -@comment $OpenBSD: PLIST,v 1.7 2002/04/16 22:49:36 brad Exp $ +@comment $OpenBSD: PLIST,v 1.8 2002/11/24 03:40:08 brad Exp $ bin/curl bin/curl-config include/curl/curl.h @@ -22,6 +22,7 @@ man/man3/curl_formadd.3 man/man3/curl_formfree.3 man/man3/curl_formparse.3 +man/man3/curl_free.3 man/man3/curl_getdate.3 man/man3/curl_getenv.3 man/man3/curl_global_cleanup.3 @@ -40,12 +41,15 @@ man/man3/curl_strnequal.3 man/man3/curl_unescape.3 man/man3/curl_version.3 +man/man3/curl_version_info.3 man/man3/libcurl-errors.3 man/man3/libcurl-multi.3 man/man3/libcurl.3 +share/curl/curl-ca-bundle.crt +share/curl/curl-style.el share/doc/curl/CHANGES -share/doc/curl/LEGAL -share/doc/curl/MITX.txt +share/doc/curl/COPYING share/doc/curl/README @dirrm share/doc/curl +@dirrm share/curl @dirrm include/curl