head 1.10; access; symbols pkgsrc-2018Q1:1.9.0.130 pkgsrc-2018Q1-base:1.9 pkgsrc-2017Q4:1.9.0.128 pkgsrc-2017Q4-base:1.9 pkgsrc-2017Q3:1.9.0.126 pkgsrc-2017Q3-base:1.9 pkgsrc-2017Q2:1.9.0.122 pkgsrc-2017Q2-base:1.9 pkgsrc-2017Q1:1.9.0.120 pkgsrc-2017Q1-base:1.9 pkgsrc-2016Q4:1.9.0.118 pkgsrc-2016Q4-base:1.9 pkgsrc-2016Q3:1.9.0.116 pkgsrc-2016Q3-base:1.9 pkgsrc-2016Q2:1.9.0.114 pkgsrc-2016Q2-base:1.9 pkgsrc-2016Q1:1.9.0.112 pkgsrc-2016Q1-base:1.9 pkgsrc-2015Q4:1.9.0.110 pkgsrc-2015Q4-base:1.9 pkgsrc-2015Q3:1.9.0.108 pkgsrc-2015Q3-base:1.9 pkgsrc-2015Q2:1.9.0.106 pkgsrc-2015Q2-base:1.9 pkgsrc-2015Q1:1.9.0.104 pkgsrc-2015Q1-base:1.9 pkgsrc-2014Q4:1.9.0.102 pkgsrc-2014Q4-base:1.9 pkgsrc-2014Q3:1.9.0.100 pkgsrc-2014Q3-base:1.9 pkgsrc-2014Q2:1.9.0.98 pkgsrc-2014Q2-base:1.9 pkgsrc-2014Q1:1.9.0.96 pkgsrc-2014Q1-base:1.9 pkgsrc-2013Q4:1.9.0.94 pkgsrc-2013Q4-base:1.9 pkgsrc-2013Q3:1.9.0.92 pkgsrc-2013Q3-base:1.9 pkgsrc-2013Q2:1.9.0.90 pkgsrc-2013Q2-base:1.9 pkgsrc-2013Q1:1.9.0.88 pkgsrc-2013Q1-base:1.9 pkgsrc-2012Q4:1.9.0.86 pkgsrc-2012Q4-base:1.9 pkgsrc-2012Q3:1.9.0.84 pkgsrc-2012Q3-base:1.9 pkgsrc-2012Q2:1.9.0.82 pkgsrc-2012Q2-base:1.9 pkgsrc-2012Q1:1.9.0.80 pkgsrc-2012Q1-base:1.9 pkgsrc-2011Q4:1.9.0.78 pkgsrc-2011Q4-base:1.9 pkgsrc-2011Q3:1.9.0.76 pkgsrc-2011Q3-base:1.9 pkgsrc-2011Q2:1.9.0.74 pkgsrc-2011Q2-base:1.9 pkgsrc-2011Q1:1.9.0.72 pkgsrc-2011Q1-base:1.9 pkgsrc-2010Q4:1.9.0.70 pkgsrc-2010Q4-base:1.9 pkgsrc-2010Q3:1.9.0.68 pkgsrc-2010Q3-base:1.9 pkgsrc-2010Q2:1.9.0.66 pkgsrc-2010Q2-base:1.9 pkgsrc-2010Q1:1.9.0.64 pkgsrc-2010Q1-base:1.9 pkgsrc-2009Q4:1.9.0.62 pkgsrc-2009Q4-base:1.9 pkgsrc-2009Q3:1.9.0.60 pkgsrc-2009Q3-base:1.9 pkgsrc-2009Q2:1.9.0.58 pkgsrc-2009Q2-base:1.9 pkgsrc-2009Q1:1.9.0.56 pkgsrc-2009Q1-base:1.9 pkgsrc-2008Q4:1.9.0.54 pkgsrc-2008Q4-base:1.9 pkgsrc-2008Q3:1.9.0.52 pkgsrc-2008Q3-base:1.9 cube-native-xorg:1.9.0.50 cube-native-xorg-base:1.9 pkgsrc-2008Q2:1.9.0.48 pkgsrc-2008Q2-base:1.9 cwrapper:1.9.0.46 pkgsrc-2008Q1:1.9.0.44 pkgsrc-2008Q1-base:1.9 pkgsrc-2007Q4:1.9.0.42 pkgsrc-2007Q4-base:1.9 pkgsrc-2007Q3:1.9.0.40 pkgsrc-2007Q3-base:1.9 pkgsrc-2007Q2:1.9.0.38 pkgsrc-2007Q2-base:1.9 pkgsrc-2007Q1:1.9.0.36 pkgsrc-2007Q1-base:1.9 pkgsrc-2006Q4:1.9.0.34 pkgsrc-2006Q4-base:1.9 pkgsrc-2006Q3:1.9.0.32 pkgsrc-2006Q3-base:1.9 pkgsrc-2006Q2:1.9.0.30 pkgsrc-2006Q2-base:1.9 pkgsrc-2006Q1:1.9.0.28 pkgsrc-2006Q1-base:1.9 pkgsrc-2005Q4:1.9.0.26 pkgsrc-2005Q4-base:1.9 pkgsrc-2005Q3:1.9.0.24 pkgsrc-2005Q3-base:1.9 pkgsrc-2005Q2:1.9.0.22 pkgsrc-2005Q2-base:1.9 pkgsrc-2005Q1:1.9.0.20 pkgsrc-2005Q1-base:1.9 pkgsrc-2004Q4:1.9.0.18 pkgsrc-2004Q4-base:1.9 pkgsrc-2004Q3:1.9.0.16 pkgsrc-2004Q3-base:1.9 pkgsrc-2004Q2:1.9.0.14 pkgsrc-2004Q2-base:1.9 pkgsrc-2004Q1:1.9.0.12 pkgsrc-2004Q1-base:1.9 pkgsrc-2003Q4:1.9.0.10 pkgsrc-2003Q4-base:1.9 netbsd-1-6-1:1.9.0.6 netbsd-1-6-1-base:1.9 netbsd-1-6:1.9.0.8 netbsd-1-6-RELEASE-base:1.9 pkgviews:1.9.0.4 pkgviews-base:1.9 buildlink2:1.9.0.2 buildlink2-base:1.9 netbsd-1-5-PATCH003:1.9 netbsd-1-5-PATCH001:1.9 netbsd-1-5-RELEASE:1.6 netbsd-1-4-PATCH003:1.6 netbsd-1-4-PATCH002:1.4 comdex-fall-1999:1.4 netbsd-1-4-PATCH001:1.3 netbsd-1-4-RELEASE:1.3 netbsd-1-3-PATCH003:1.3 FREEBSD-19980713:1.1.1.1 FREEBSD:1.1.1; locks; strict; comment @# @; 1.10 date 2018.06.24.16.54.59; author adam; state dead; branches; next 1.9; commitid gko1QjdfYW8xtyHA; 1.9 date 2001.04.20.12.33.53; author fredb; state Exp; branches; next 1.8; 1.8 date 2000.12.27.02.34.12; author fredb; state Exp; branches; next 1.7; 1.7 date 2000.10.15.12.56.25; author fredb; state Exp; branches; next 1.6; 1.6 date 2000.08.06.01.11.38; author fredb; state Exp; branches; next 1.5; 1.5 date 2000.06.21.02.58.25; author jlam; state dead; branches; next 1.4; 1.4 date 99.10.08.04.43.07; author deberg; state Exp; branches; next 1.3; 1.3 date 98.08.07.11.14.23; author agc; state Exp; branches; next 1.2; 1.2 date 98.07.14.16.56.51; author tv; state Exp; branches; next 1.1; 1.1 date 98.07.14.16.51.20; author tv; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 98.07.14.16.51.20; author tv; state Exp; branches; next ; desc @@ 1.10 log @libwww: updated to 5.4.2 5.4.2: Unknown changes. Changes with libwww 5.4.1 * Removed the expat source code in favor of linking against the global system expat library to avoid having to track security advisories in that library * Updated expat to 2.2.0 * Updated autotools to the current versions * Library/src/HTSQL.c: add missing mysql_init to HTSQL_connect reported by Xavier Torne * configure.ac, Library/src/Makefile.am, Library/cvs2sql/Makefile.am, Robot/src/Makefile.am: modify configure scripts for mysql_config based autoconf processing * Library/src/HTSQL.c, Library/src/HTSQL.html, Library/src/HTSQLLog.c: remove mysql directory from include directiv * Robot/src/RobotMain.c: added flag MR_KEEP_META for -lm last modified option detected by Jan Hutaø * Robot/src/RobotMain.c: added flag MR_KEEP_META for -title option detected by Jan Hutaø * close leak in HTBound process_boundary() detected by Sam Varshavchik using valgrind; excised old #if 0 snippets from HTMIME.c * Library/src/HTCookie.c: add private function HTCookie_splitPair to split a KEY=VALUE pair, from Jesse Morgan * configure.ac: remove unecessary check for appkit.h as suggested by Roger Persson * Library/src/wwwsys.html: change genuine angle bracket characters into the angle bracket entities, thanks to Bobby Jack * Library/src/HT*.html, Library/src/SSL/HT*.html: wrap all header files with extern "C" * Library/src/HTFile, configure.ac: add a basis for addressing Ben's security concerns * Library/src/HTBound.c: libwww security advisory fix from Sam Varshavchik, fix double-counting of processed bytes, rewrote HTBoundary_put_block, to fix problematic HTTP 1.1 byte range requests * Library/src/: HTAlert.c, HTHeader.c, HTInit.c, HTNet.c, HTProfil.c, HTProt.c, HTTrans.c: Patch to greatly speed up repeated requests, from Arthur Smith * Library/src/HTSQL.c: modifications to compile without using deprecated mysql functions * config/: config.sub, ltmain.sh: updates for recent version of libtool * INSTALL.html, Library/src/HTEvtLst.c: cleaning * libwww-config.in: include -lwwwssl, thanks to mgoddard at itgs-presearch.com * Library/src/SSL/HTSSLWriter.c: avoids an eternal loop in libwww * Library/src/SSL/HTSSL.html, Robot/src/RobotMain.c: fix for webbot -v option check and documentation addition * configure.ac, Library/src/SSL/HTSSL.c, Library/src/SSL/windows/wwwssl.def, Robot/src/HTRobMan.html, Robot/src/Makefile.am, Robot/src/RobotMain.c: basic support for client side certificates using PEM format * Library/src/SSL/: HTSSL.c, HTSSLReader.c, HTSSLWriter.c: add openssl to include for ssl.h and rand.h * config/: config.guess, config.sub, ltmain.sh: update after running libtoolize * Robot/src/Makefile.am: use SSL directory for libwwwssl.la * Robot/src/RobotMain.c: include HTSSL.h * configure.ac: fix aclocal underquoting warnings * Robot/src/: RobotMain.c, Makefile.am: update to enable https protocol * Library/src/HTTPReq.c: fixed , to _ in HTTRACE call * Library/src/HTTPReq.c: removed LIBWWW_USEIDN, because unnecessary * modules/idn/unicode_template.c: forgot one file * Library/src/HTDNS.html: moved IDN to main branch * Library/src/HTDNS.c: moved IDN to main branch * Library/src/HTTPReq.c: added "LIBWWW_USEIDN" conditional * Library/src/HTTPReq.c: moved IDN to main branch * Library/Overview.html: JK: Added the libwww survey results @ text @$NetBSD: patch-ab,v 1.9 2001/04/20 12:33:53 fredb Exp $ --- Library/src/HTMIMImp.c.orig Mon Feb 22 16:10:11 1999 +++ Library/src/HTMIMImp.c @@@@ -226,7 +226,7 @@@@ int value = deflt; if (start != NULL) { start += strlen(needle); - while isspace(*start) start++; + while (isspace(*start)) start++; if (isdigit(*start)) { char * end = start + 1; char save; @ 1.9 log @Rely on the fact that shared libraries can encode run-time dependencies on other libraries, on both ELF and (NetBSD/)a.out, to make libwwwssl.so.?.? depend on the correct openssl shared libraries, as determined by the setting of ${SSLBASE} in bsd.pkg.mk. This closes PR pkg/12570, and has the additional advantage that programs that _do_ _not_ need to link in "-lwwwssl" won't get "-lssl" or "-lcrypto" at all. Also, make"w3c" and "www" build again with USE_SOCKS=4. @ text @d1 1 a1 1 $NetBSD$ @ 1.8 log @Drop "libwww" from the list of packages which need to be grautiutiously reinstalled whenever "perl" is reinstalled. For the NetBSD package, the dependence on autoconf and automake has already been removed, so it remained only to patch the configure script. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.7 2000/10/15 12:56:25 fredb Exp $ d3 11 a13 195 --- configure.in.orig Thu Dec 14 05:49:06 2000 +++ configure.in Tue Dec 26 20:02:08 2000 @@@@ -90,10 +90,10 @@@@ if test -n "$have_tn3270" ; then AC_DEFINE_UNQUOTED(TN3270_PROGRAM, "$have_tn3270") fi -AC_CHECK_PROGS(have_perl, perl) -if test ! -n "$have_perl" ; then - AC_MSG_ERROR("Perl needs to be installed in order to compile libwww") -fi +dnlAC_CHECK_PROGS(have_perl, perl) +dnlif test ! -n "$have_perl" ; then +dnl AC_MSG_ERROR("Perl needs to be installed in order to compile libwww") +dnlfi AC_PATH_PROG(RM, rm, rm) AC_PATH_PROG(AR, ar, ar) @@@@ -307,7 +307,10 @@@@ AC_MSG_RESULT(yes) AC_DEFINE(HT_POSIX_REGEX) if test "x$withval" = "xyes"; then - AC_CHECK_LIB(rx, regexec, [ LIBS="-lrx $LIBS" ] ) + AC_TRY_LINK([], + [ regexec(); ], + [], + [ AC_CHECK_LIB(rx, regexec, [ LIBS="-lrx $LIBS" ] ) ] ) else AC_ADDLIB($withval) AC_TRY_LINK([], @@@@ -535,13 +538,17 @@@@ dnl Checks for libwww and OpenSSL: AC_MSG_CHECKING(whether we can find OpenSSL) dnl find the ssl library dir (empirical) -if test -d '/usr/local/ssl/lib'; then +if test -f "${prefix}/lib/libssl.a" -a -f "${prefix}/lib/libcrypto.a"; then + ssllib="-L${prefix}/lib -lssl -lcrypto" +elif test -d '/usr/local/ssl/lib'; then ssllib="-L/usr/local/ssl/lib -lssl -lcrypto" else ssllib="-L/usr/lib -lssl -lcrypto" fi dnl find the ssl include dir (empirical) -if test -d '/usr/local/ssl/include'; then +if test -d "${prefix}/include/openssl"; then + sslinc="-I${prefix}/include -I${prefix}/include/openssl" +elif test -d '/usr/local/ssl/include'; then sslinc="-I/usr/local/ssl/include" elif test -d '/usr/local/openssl/include'; then sslinc="-I/usr/local/openssl/include" --- configure.orig Wed Dec 20 05:00:17 2000 +++ configure Tue Dec 26 20:04:54 2000 @@@@ -2405,43 +2405,43 @@@@ EOF fi -for ac_prog in perl -do -# Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2414: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_have_perl'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test -n "$have_perl"; then - ac_cv_prog_have_perl="$have_perl" # Let the user override the test. -else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_prog_have_perl="$ac_prog" - break - fi - done - IFS="$ac_save_ifs" -fi -fi -have_perl="$ac_cv_prog_have_perl" -if test -n "$have_perl"; then - echo "$ac_t""$have_perl" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - -test -n "$have_perl" && break -done - -if test ! -n "$have_perl" ; then - { echo "configure: error: "Perl needs to be installed in order to compile libwww"" 1>&2; exit 1; } -fi +#for ac_prog in perl +#do +## Extract the first word of "$ac_prog", so it can be a program name with args. +#set dummy $ac_prog; ac_word=$2 +#echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +#echo "configure:2414: checking for $ac_word" >&5 +#if eval "test \"`echo '$''{'ac_cv_prog_have_perl'+set}'`\" = set"; then +# echo $ac_n "(cached) $ac_c" 1>&6 +#else +# if test -n "$have_perl"; then +# ac_cv_prog_have_perl="$have_perl" # Let the user override the test. +#else +# IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" +# ac_dummy="$PATH" +# for ac_dir in $ac_dummy; do +# test -z "$ac_dir" && ac_dir=. +# if test -f $ac_dir/$ac_word; then +# ac_cv_prog_have_perl="$ac_prog" +# break +# fi +# done +# IFS="$ac_save_ifs" +#fi +#fi +#have_perl="$ac_cv_prog_have_perl" +#if test -n "$have_perl"; then +# echo "$ac_t""$have_perl" 1>&6 +#else +# echo "$ac_t""no" 1>&6 +#fi +# +#test -n "$have_perl" && break +#done +# +#if test ! -n "$have_perl" ; then +# { echo "configure: error: "Perl needs to be installed in order to compile libwww"" 1>&2; exit 1; } +#fi # Extract the first word of "rm", so it can be a program name with args. set dummy rm; ac_word=$2 @@@@ -6790,8 +6790,22 @@@@ EOF if test "x$withval" = "xyes"; then + cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + : +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* echo $ac_n "checking for regexec in -lrx""... $ac_c" 1>&6 -echo "configure:6795: checking for regexec in -lrx" >&5 +echo "configure:6809: checking for regexec in -lrx" >&5 ac_lib_var=`echo rx'_'regexec | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -6830,6 +6844,8 @@@@ echo "$ac_t""no" 1>&6 fi +fi +rm -f conftest* else echo $ac_n "checking for $withval""... $ac_c" 1>&6 echo "configure:6836: checking for $withval" >&5 @@@@ -7270,13 +7286,17 @@@@ echo $ac_n "checking whether we can find OpenSSL""... $ac_c" 1>&6 -echo "configure:7274: checking whether we can find OpenSSL" >&5 -if test -d '/usr/local/ssl/lib'; then +echo "configure:7290: checking whether we can find OpenSSL" >&5 +if test -f "${prefix}/lib/libssl.a" -a -f "${prefix}/lib/libcrypto.a"; then + ssllib="-L${prefix}/lib -lssl -lcrypto" +elif test -d '/usr/local/ssl/lib'; then ssllib="-L/usr/local/ssl/lib -lssl -lcrypto" else ssllib="-L/usr/lib -lssl -lcrypto" fi -if test -d '/usr/local/ssl/include'; then +if test -d "${prefix}/include/openssl"; then + sslinc="-I${prefix}/include -I${prefix}/include/openssl" +elif test -d '/usr/local/ssl/include'; then sslinc="-I/usr/local/ssl/include" elif test -d '/usr/local/openssl/include'; then sslinc="-I/usr/local/openssl/include" @@@@ -8195,7 +8215,7 @@@@ s%@@have_telnet@@%$have_telnet%g s%@@have_rlogin@@%$have_rlogin%g s%@@have_tn3270@@%$have_tn3270%g -s%@@have_perl@@%$have_perl%g +s%@@have_perl@@%perl%g s%@@RM@@%$RM%g s%@@AR@@%$AR%g s%@@MKDIR@@%$MKDIR%g @ 1.7 log @Remove hidden dependency on "automake", and remove dependency on "autoconf", too, while we're at it. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.6 2000/08/06 01:11:38 fredb Exp $ d3 17 a19 2 --- configure.in.orig Fri Aug 4 05:21:20 2000 +++ configure.in Fri Aug 4 13:56:59 2000 d52 83 a134 2 --- configure.orig Fri Aug 4 08:28:00 2000 +++ configure Mon Oct 9 14:10:23 2000 d189 9 @ 1.6 log @Update to libwww-5.3.1. This is the first release since 5.2.8. Includes many bug fixes -- too many to list, full release history online at -- and a few new features. The most significant is integrated libwww-SSL. Also SOCKS "punching through firewalls" support is present now (but untested by me). Not sure when that appeared, exactly. @ text @d1 1 a1 1 $NetBSD$ d30 56 @ 1.5 log @USE_LIBTOOL instead of PKGLIBTOOL. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.4 1999/10/08 04:43:07 deberg Exp $ d3 25 a27 3 --- configure.orig Thu May 27 16:41:53 1999 +++ configure Thu May 27 16:48:05 1999 @@@@ -2014,5 +2014,5 @@@@ d29 8 a36 23 - +if false; then # Check for any special flags to pass to ltconfig. # @@@@ -2242,4 +2242,5 @@@@ libtool_flags="$libtool_flags --disable-lock" fi +fi @@@@ -2293,4 +2294,5 @@@@ +if false; then # Actually configure libtool. ac_aux_dir is where install-sh is found. CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \ @@@@ -2316,4 +2318,5 @@@@ # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' +fi # Redirect the config.log output again, so that the ltconfig log is not @ 1.4 log @update libwww to 5.2.8, which splits libwww.a into many component libraries. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.3 1998/08/07 11:14:23 agc Exp $ @ 1.3 log @Add NetBSD RCS Ids. @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 4 --- configure.orig Tue Jul 14 07:36:55 1998 +++ configure Tue Jul 14 07:38:11 1998 @@@@ -1432,6 +1432,7 @@@@ echo "$ac_t""no" 1>&6 d8 1 d10 15 a26 5 @@@@ -1477,6 +1478,7 @@@@ ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig \ $libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \ || { echo "configure: error: libtool configure failed" 1>&2; exit 1; } d29 1 a29 2 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 echo "configure:1483: checking whether ${MAKE-make} sets \${MAKE}" >&5 @ 1.2 log @Add and activate the W3C libwww pkg. This pkg makes use of the new libtool pkg to create shared and static libraries automatically on all platforms. @ text @d1 2 @ 1.1 log @Initial revision @ text @d1 5 a5 9 --- Library/src/HTMemLog.c.orig Wed Feb 19 06:04:55 1997 +++ Library/src/HTMemLog.c Mon Jun 9 16:29:21 1997 @@@@ -17,7 +17,7 @@@@ #ifdef WWW_MSWINDOWS #define OPEN_FLAGS O_WRONLY|O_CREAT|O_TRUNC #else /* WWW_MSWINDOWS */ -#define OPEN_FLAGS O_WRONLY|O_CREAT|O_TRUNC|O_SYNC +#define OPEN_FLAGS O_WRONLY|O_CREAT|O_TRUNC #endif /* !WWW_MSWINDOWS */ d7 12 a18 1 PRIVATE size_t LogBuffSize = 1024; /* default size is 1k */ @ 1.1.1.1 log @Import of FreeBSD's W3C libwww port, patches to follow. @ text @@