head 1.11; access; symbols pkgsrc-2013Q2:1.11.0.6 pkgsrc-2013Q2-base:1.11 pkgsrc-2012Q4:1.11.0.4 pkgsrc-2012Q4-base:1.11 pkgsrc-2011Q4:1.11.0.2 pkgsrc-2011Q4-base:1.11 pkgsrc-2011Q3:1.10.0.10 pkgsrc-2011Q3-base:1.10 pkgsrc-2011Q2:1.10.0.8 pkgsrc-2011Q2-base:1.10 pkgsrc-2011Q1:1.10.0.6 pkgsrc-2011Q1-base:1.10 pkgsrc-2010Q4:1.10.0.4 pkgsrc-2010Q4-base:1.10 pkgsrc-2010Q3:1.10.0.2 pkgsrc-2009Q4:1.9.0.32 pkgsrc-2009Q4-base:1.9 pkgsrc-2008Q4:1.9.0.30 pkgsrc-2008Q4-base:1.9 pkgsrc-2008Q3:1.9.0.28 pkgsrc-2008Q3-base:1.9 cube-native-xorg:1.9.0.26 cube-native-xorg-base:1.9 pkgsrc-2008Q2:1.9.0.24 pkgsrc-2008Q2-base:1.9 pkgsrc-2008Q1:1.9.0.22 pkgsrc-2008Q1-base:1.9 pkgsrc-2007Q4:1.9.0.20 pkgsrc-2007Q4-base:1.9 pkgsrc-2007Q3:1.9.0.18 pkgsrc-2007Q3-base:1.9 pkgsrc-2007Q2:1.9.0.16 pkgsrc-2007Q2-base:1.9 pkgsrc-2007Q1:1.9.0.14 pkgsrc-2007Q1-base:1.9 pkgsrc-2006Q4:1.9.0.12 pkgsrc-2006Q4-base:1.9 pkgsrc-2006Q3:1.9.0.10 pkgsrc-2006Q3-base:1.9 pkgsrc-2006Q2:1.9.0.8 pkgsrc-2006Q2-base:1.9 pkgsrc-2006Q1:1.9.0.6 pkgsrc-2006Q1-base:1.9 pkgsrc-2005Q4:1.9.0.4 pkgsrc-2005Q4-base:1.9 pkgsrc-2005Q3:1.9.0.2 pkgsrc-2005Q3-base:1.9 pkgsrc-2005Q2:1.8.0.4 pkgsrc-2005Q2-base:1.8 pkgsrc-2005Q1:1.8.0.2 pkgsrc-2005Q1-base:1.8 pkgsrc-2004Q4:1.7.0.8 pkgsrc-2004Q4-base:1.7 pkgsrc-2004Q3:1.7.0.6 pkgsrc-2004Q3-base:1.7 pkgsrc-2004Q2:1.7.0.4 pkgsrc-2004Q2-base:1.7 pkgsrc-2004Q1:1.7.0.2 pkgsrc-2004Q1-base:1.7 pkgsrc-2003Q4:1.6.0.4 pkgsrc-2003Q4-base:1.6 netbsd-1-6-1:1.6.0.2 netbsd-1-6-1-base:1.6 netbsd-1-6:1.5.0.8 netbsd-1-6-RELEASE-base:1.5 pkgviews:1.5.0.4 pkgviews-base:1.5 buildlink2:1.5.0.2 buildlink2-base:1.5 netbsd-1-5-PATCH003:1.5; locks; strict; comment @# @; 1.11 date 2011.10.24.15.22.01; author ryoon; state dead; branches; next 1.10; 1.10 date 2010.11.23.08.22.47; author tron; state Exp; branches 1.10.2.1; next 1.9; 1.9 date 2005.07.02.15.10.23; author wiz; state dead; branches; next 1.8; 1.8 date 2005.01.25.20.07.25; author bouyer; state Exp; branches; next 1.7; 1.7 date 2003.12.08.21.44.35; author wiz; state dead; branches; next 1.6; 1.6 date 2002.12.16.11.39.02; author wiz; state Exp; branches; next 1.5; 1.5 date 2002.03.30.13.57.03; author pooka; state Exp; branches; next 1.4; 1.4 date 2002.03.30.08.56.37; author pooka; state dead; branches; next 1.3; 1.3 date 2001.07.22.16.09.59; author tron; state Exp; branches; next 1.2; 1.2 date 2000.08.16.06.38.47; author itojun; state dead; branches; next 1.1; 1.1 date 2000.03.26.14.16.47; author itojun; state Exp; branches; next ; 1.10.2.1 date 2010.11.23.08.22.47; author spz; state dead; branches; next 1.10.2.2; 1.10.2.2 date 2010.11.23.21.14.45; author spz; state Exp; branches; next ; desc @@ 1.11 log @Update to 1.13.4 * Remove ssl option, and add gnutls and openssl options. The default is openssl like before. * All security patches are included in upstream's tar ball. * Remove ac_cv_func_sigsetjmp=yes line, because not defined now. Tested on NetBSD/i386 4.0.1, 5.1 5.99.56. Changelog: * Changes in Wget 1.13.4 ** Now --version and --help work again. ** Fix a build error on solaris 10 sparc. ** Now --timestamping and --continue work well together. ** Return a network failure when FTP downloads fail and --timestamping is specified. * Changes in Wget 1.13.3 ** Support HTTP/1.1 ** Now by default the GNU TLS library for secure connections, instead of OpenSSL. ** Fix some portability issues. ** Handle properly malformed status line in a HTTP response. ** Ignore zero length domains in $no_proxy. ** Set new cookies after an authorization failure. ** Exit with failure if -k is specified and -O is not a regular file. ** Cope better with unclosed html tags. ** Print diagnostic messages to stderr, not stdout. ** Do not use an additional HEAD request when --content-disposition is used, but use directly GET. ** Report the average transfer speed correctly when multiple URL's are specified and -c influences the transferred data amount. ** GNU TLS backend works again. ** Now --timestamping and --continue works well together. ** By default, on server redirects, use the original URL to get the local file name. Close CVE-2010-2252. This introduces a backward-incompatibility; any script that relies on the old behaviour must use --trust-server-names. ** Fix a problem when -k is used and some URLs are specified trough CSS. ** Convert correctly URLs that need to be encoded to local files when following links. ** Use persistent connections with proxies supporting them. ** Print the total download time as part of the summary for recursive downloads. ** Now it is possible to specify a different startup configuration file trough the --config option. ** Fix an infinite loop with the error ' has sprung into existence' on a network error and -nc is used. ** Now --adjust-extension does not modify the file extension if the file ends in .htm. ** Support HTTP/1.1 307 redirects keep request method. ** Now --no-parent doesn't fetch undesired files if HTTP and HTTPS are used by the same host on different pages. ** Do not attempt to remove the file if it is not in the accept rules but it is the output destination file. ** Introduce `show_all_dns_entries' to print all IP addresses corresponding to a DNS name when it is resolved. @ text @$NetBSD: patch-ad,v 1.10 2010/11/23 08:22:47 tron Exp $ Back port of patch for CVE-2010-2252 for to version 1.12 of "wget" taken from Debian: http://packages.debian.org/sid/wget http://ftp.de.debian.org/debian/pool/main/w/wget/wget_1.12-2.1.debian.tar.gz --- src/main.c.orig 2009-09-22 04:03:11.000000000 +0100 +++ src/main.c 2010-11-22 18:53:25.000000000 +0000 @@@@ -266,6 +266,7 @@@@ { "timeout", 'T', OPT_VALUE, "timeout", -1 }, { "timestamping", 'N', OPT_BOOLEAN, "timestamping", -1 }, { "tries", 't', OPT_VALUE, "tries", -1 }, + { "trust-server-names", 0, OPT_BOOLEAN, "trustservernames", -1 }, { "user", 0, OPT_VALUE, "user", -1 }, { "user-agent", 'U', OPT_VALUE, "useragent", -1 }, { "verbose", 'v', OPT_BOOLEAN, "verbose", -1 }, @@@@ -675,6 +676,8 @@@@ N_("\ -I, --include-directories=LIST list of allowed directories.\n"), N_("\ + --trust-server-names use the name specified by the redirection url last component.\n"), + N_("\ -X, --exclude-directories=LIST list of excluded directories.\n"), N_("\ -np, --no-parent don't ascend to the parent directory.\n"), @ 1.10 log @Add Debian's "wget" 1.12 backport of the fix for CVE-2010-2252. @ text @d1 1 a1 1 $NetBSD$ @ 1.10.2.1 log @file patch-ad was added on branch pkgsrc-2010Q3 on 2010-11-23 21:14:45 +0000 @ text @d1 27 @ 1.10.2.2 log @Pullup ticket 3278 - requested by tron security fixes Revisions pulled up: - pkgsrc/net/wget/Makefile 1.102 - pkgsrc/net/wget/distinfo 1.36 Files added: pkgsrc/net/wget/patches/patch-aa pkgsrc/net/wget/patches/patch-ab pkgsrc/net/wget/patches/patch-ac pkgsrc/net/wget/patches/patch-ad pkgsrc/net/wget/patches/patch-ae pkgsrc/net/wget/patches/patch-af ------------------------------------------------------------------------- Module Name: pkgsrc Committed By: tron Date: Tue Nov 23 08:22:47 UTC 2010 Modified Files: pkgsrc/net/wget: Makefile distinfo Added Files: pkgsrc/net/wget/patches: patch-aa patch-ab patch-ac patch-ad patch-ae patch-af Log Message: Add Debian's "wget" 1.12 backport of the fix for CVE-2010-2252. To generate a diff of this commit: cvs rdiff -u -r1.101 -r1.102 pkgsrc/net/wget/Makefile cvs rdiff -u -r1.35 -r1.36 pkgsrc/net/wget/distinfo cvs rdiff -u -r0 -r1.11 pkgsrc/net/wget/patches/patch-aa \ pkgsrc/net/wget/patches/patch-ac cvs rdiff -u -r0 -r1.9 pkgsrc/net/wget/patches/patch-ab cvs rdiff -u -r0 -r1.10 pkgsrc/net/wget/patches/patch-ad cvs rdiff -u -r0 -r1.8 pkgsrc/net/wget/patches/patch-ae cvs rdiff -u -r0 -r1.6 pkgsrc/net/wget/patches/patch-af @ text @a0 27 $NetBSD: patch-ad,v 1.10 2010/11/23 08:22:47 tron Exp $ Back port of patch for CVE-2010-2252 for to version 1.12 of "wget" taken from Debian: http://packages.debian.org/sid/wget http://ftp.de.debian.org/debian/pool/main/w/wget/wget_1.12-2.1.debian.tar.gz --- src/main.c.orig 2009-09-22 04:03:11.000000000 +0100 +++ src/main.c 2010-11-22 18:53:25.000000000 +0000 @@@@ -266,6 +266,7 @@@@ { "timeout", 'T', OPT_VALUE, "timeout", -1 }, { "timestamping", 'N', OPT_BOOLEAN, "timestamping", -1 }, { "tries", 't', OPT_VALUE, "tries", -1 }, + { "trust-server-names", 0, OPT_BOOLEAN, "trustservernames", -1 }, { "user", 0, OPT_VALUE, "user", -1 }, { "user-agent", 'U', OPT_VALUE, "useragent", -1 }, { "verbose", 'v', OPT_BOOLEAN, "verbose", -1 }, @@@@ -675,6 +676,8 @@@@ N_("\ -I, --include-directories=LIST list of allowed directories.\n"), N_("\ + --trust-server-names use the name specified by the redirection url last component.\n"), + N_("\ -X, --exclude-directories=LIST list of excluded directories.\n"), N_("\ -np, --no-parent don't ascend to the parent directory.\n"), @ 1.9 log @Update to 1.10: * Changes in Wget 1.10. ** Downloading files larger than 2GB, sometimes referred to as "large files", now works on systems that support them. This includes the majority of modern Unixes, as well as MS Windows. ** IPv6 is now supported by Wget. Unlike the experimental code in 1.9, this version supports dual-family systems. The new flags `--inet4' and `--inet6' (or `-4' and `-6' for short) force the use of IPv4 and IPv6 respectively. Note that IPv6 support has not yet been tested on Windows. ** Microsoft's proprietary "NTLM" method of HTTP authentication is now supported. This authentication method is undocumented and only used by IIS. Note that *proxy* authentication is not supported in this release; you can only authenticate to the target web site. ** Wget no longer truncates partially downloaded files when download has to start over because the server doesn't support Range. Instead, with such servers Wget now simply ignores the data up to the byte where the last attempt left off, and only then continues appending to the file. That way the downloaded file never shrinks, and download retries from servers without support for partial downloads work even when downloading to stdout. ** SSL/TLS changes: *** SSL/TLS downloads now attempt to verify the server's certificate against the recognized certificate authorities. This requires CA certificates to have been installed in a location visible to the OpenSSL library. If this is not the case, you can get the bundle yourself from a source you trust (for example, the bundle extracted from Mozilla available at http://curl.haxx.se/docs/caextract.html), and point Wget to the PEM file using the `--ca-certificate' command-line option or the corresponding `.wgetrc' command. *** Secure downloads now verify that the host name in the URL matches the "common name" in the certificate presented by the server. *** Although the above checks provide more secure downloads, they unavoidably break interoperability with some sites that worked with previous versions, particularly those using self-signed, expired, or otherwise invalid certificates. If you encounter "certificate verification" errors or complaints that "common name doesn't match requested host name" and are convinced of the site's authenticity, you can use `--no-check-certificate' to bypass both checks. *** Talking to SSL/TLS servers over proxies now actually works. Previous versions of Wget erroneously sent GET requests for https URLs. Wget 1.10 utilizes the CONNECT method designed for this purpose. *** The SSL/TLS-related options have been redesigned and, for the first time, documented in the manual. The old, undocumented, options are no longer supported. ** Passive FTP is now the default FTP transfer mode. Use `--no-passive-ftp' or specify `passive_ftp = off' in your init file to revert to the old behavior. ** The `--header' option can now be used to override generated headers. For example, `wget --header="Host: foo.bar" http://127.0.0.1' tells Wget to connect to localhost, but to specify "foo.bar" in the `Host' header. In previous versions such use of `--header' lead to duplicate headers in HTTP requests. ** The responses without headers, aka "HTTP 0.9" responses, are detected and handled. Although HTTP 0.9 has long been obsolete, it is still occasionally used, sometimes by accident. ** The progress bar is now updated regularly even when the data does not arrive from the network. ** Wget no longer preserves permissions of files retrieved by FTP by default. Anonymous FTP servers frequently use permissions like "664", which might not be what the user wants. The new option `--preserve-permissions' and the corresponding `.wgetrc' variable can be used to revert to the old behavior. ** The new option `--protocol-directories' instructs Wget to also use the protocol name as a directory component of local file names. ** Options that previously unconditionally set or unset various flags are now boolean options that can be invoked as either `--OPTION' or `--no-OPTION'. Options that required an argument "on" or "off" have also been changed this way, but they still accept the old syntax for backward compatibility. For example, instead of `--glob=off' you can write `--no-glob'. Allowing `--no-OPTION' for every `--OPTION' and the other way around is useful because it allows the user to override non-default behavior specified via `.wgetrc'. ** The new option `--keep-session-cookies' causes `--save-cookies' to save session cookies (normally only kept in memory) along with the permanent ones. This is useful because many sites track important information, such as whether the user has authenticated, in session cookies. With this option multiple Wget runs are treated as a single browser session. ** Wget now supports the --ftp-user and --ftp-password command switches to set username and password for FTP, and the --user and --password command switches to set username and password for both FTP and HTTP. The --http-passwd and --proxy-passwd command switches have been renamed to --http-password and --proxy-password respectively, and the related http_passwd and proxy_passwd .wgetrc commands to http_password and proxy_password respectively. The login and passwd .wgetrc commands have been deprecated. * `wget -b' now works correctly under Windows. @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.8 2005/01/25 20:07:25 bouyer Exp $ d3 25 a27 28 --- src/host.h.orig Sat Oct 11 03:39:07 2003 +++ src/host.h Sun Jan 23 21:22:57 2005 @@@@ -71,6 +71,7 @@@@ typedef struct { unsigned char bytes[MAX_IP_ADDRESS_SIZE]; + int family; } ip_address; /* Function declarations */ @@@@ -92,14 +93,12 @@@@ void host_cleanup PARAMS ((void)); -void wget_sockaddr_set_address PARAMS((wget_sockaddr *, int, - unsigned short, ip_address *)); +void wget_sockaddr_set_address PARAMS((wget_sockaddr *, + unsigned short, ip_address *, int)); void wget_sockaddr_set_port PARAMS((wget_sockaddr *, unsigned short)); void *wget_sockaddr_get_addr PARAMS((wget_sockaddr *)); unsigned short wget_sockaddr_get_port PARAMS((const wget_sockaddr *)); -socklen_t sockaddr_len PARAMS(()); -void map_ipv4_to_ip PARAMS((ip4_address *, ip_address *)); -int map_ip_to_ipv4 PARAMS((ip_address *, ip4_address *)); +socklen_t sockaddr_len PARAMS((int)); extern int ip_default_family; /* defined in host.c */ @ 1.8 log @ipv6-mapped ipv4 addresses aren't enabled by default on NetBSD, and probably others OS as well. Patch wget so that it won't try to use ipv6-mapped ipv4 addresses, but uses INET4 socket sockets instead. Bump pkgrev. Fix issues with v6-enabled wget reported on tech-pkg. @ text @d1 1 a1 1 $NetBSD: $ @ 1.7 log @Update to 1.9.1: * Wget 1.9.1 is a bugfix release with no user-visible changes. * Changes in Wget 1.9. ** It is now possible to specify that POST method be used for HTTP requests. For example, `wget --post-data="id=foo&data=bar" URL' will send a POST request with the specified contents. ** IPv6 support is available, although it's still experimental. ** The `--timeout' option now also affects DNS lookup and establishing the TCP connection. Previously it only affected reading and writing data. Those three timeouts can be set separately using `--dns-timeout', `--connection-timeout', and `--read-timeout', respectively. ** Download speed shown by the progress bar is based on the data recently read, rather than the average speed of the entire download. The ETA projection is still based on the overall average. ** It is now possible to connect to FTP servers through FWTK firewalls. Set ftp_proxy to an FTP URL, and Wget will automatically log on to the proxy as "username@@host". ** The new option `--retry-connrefused' makes Wget retry downloads even in the face of refused connections, which are otherwise considered a fatal error. ** The new option `--dns-cache=off' may be used to prevent Wget from caching DNS lookups. ** Wget no longer escapes characters in local file names based on whether they're appropriate in URLs. Escaping can still occur for nonprintable characters or for '/', but no longer for frequent characters such as space. You can use the new option --restrict-file-names to relax or strengthen these rules, which can be useful if you dislike the default or if you're downloading to non-native partitions. ** Handling of HTML comments has been dumbed down to conform to what users expect and other browsers do: instead of being treated as SGML declaration, a comment is terminated at the first occurrence of "-->". Use `--strict-comments' to revert to the old behavior. ** Wget now correctly handles relative URIs that begin with "//", such as "//img.foo.com/foo.jpg". ** Boolean options in `.wgetrc' and on the command line now accept values "yes" and "no" along with the traditional "on" and "off". ** It is now possible to specify decimal values for timeouts, waiting periods, and download rate. For instance, `--wait=0.5' now works as expected, as does `--dns-timeout=0.5' and even `--limit-rate=2.5k'. @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.6 2002/12/16 11:39:02 wiz Exp $ d3 3 a5 8 --- src/ftp.c.orig Sat May 18 05:05:16 2002 +++ src/ftp.c @@@@ -1551,6 +1551,8 @@@@ ftp_retrieve_glob (struct url *u, ccon * { struct fileinfo *orig, *start; uerr_t res; + struct fileinfo *f; + d7 23 a29 1 con->cmd |= LEAVE_PENDING; a30 29 @@@@ -1562,8 +1564,7 @@@@ ftp_retrieve_glob (struct url *u, ccon * opt.accepts and opt.rejects. */ if (opt.accepts || opt.rejects) { - struct fileinfo *f = orig; - + f = orig; while (f) { if (f->type != FT_DIRECTORY && !acceptable (f->name)) @@@@ -1575,6 +1576,18 @@@@ ftp_retrieve_glob (struct url *u, ccon * f = f->next; } } + /* Remove all files with possible harmful names */ + f = orig; + while (f) + { + if (has_invalid_name(f->name)) + { + logprintf (LOG_VERBOSE, _("Rejecting `%s'.\n"), f->name); + f = delelement (f, &start); + } + else + f = f->next; + } /* Now weed out the files that do not match our globbing pattern. If we are dealing with a globbing pattern, that is. */ if (*u->file && (action == GLOBALL || action == GETONE)) @ 1.6 log @Update to 1.8.2, with the recently discovered security problem already fixed (patches from RedHat RPM). Note: this package does not support IPv6 any longer, since no updated IPv6 patch for wget-1.8.2 exists (to my knowledge). The next major wget release is expected to contain IPv6 support. Uservisible changes since 1.7: ** A new progress indicator is now available and used by default. You can choose the progress bar type with `--progress=TYPE'. Two types are available, "bar" (the new default), and "dot" (the old dotted indicator). You can permanently revert to the old progress indicator by putting `progress = dot' in your `.wgetrc'. ** You can limit the download rate of the retrieval using the `--limit-rate' option. For example, `wget --limit-rate=15k URL' will tell Wget not to download the body of the URL faster than 15 kilobytes per second. ** Recursive retrieval and link conversion have been revamped: *** Wget now traverses links breadth-first. This makes the calculation of depth much more reliable than before. Also, recursive downloads are faster and consume *significantly* less memory than before. *** Links are converted only when the entire retrieval is complete. This is the only safe thing to do, as only then is it known what URLs have been downloaded. *** BASE tags are handled correctly when converting links. Since Wget already resolves when resolving handling URLs, link conversion now makes the BASE tags point to an empty string. *** HTML anchors are now handled correctly. Links to an anchor in the same document (), which used to confuse Wget, are now converted correctly. *** When in page-requisites (-p) mode, no-parent (-np) is ignored when retrieving for inline images, stylesheets, and other documents needed to display the page. *** Page-requisites (-p) mode now works with frames. In other words, `wget -p URL-THAT-USES-FRAMES' will now download the frame HTML files, and all the files that they need to be displayed properly. ** `--base' now works conjunction with `--input-file', providing a base for each URL and thereby allowing the URLs in the file to be relative. ** If a host has more than one IP address, Wget uses the other addresses when accessing the first one fails. ** Host directories now contain port information if the URL is at a non-standard port. ** Wget now supports the robots.txt directives specified in . ** URL parser has been fixed, especially the infamous overzealous quoting. Wget no longer dequotes reserved characters, e.g. `%3F' is no longer translated to `?', nor `%2B' to `+'. Unsafe characters which are not reserved are still escaped, of course. ** No more than 20 successive redirections are allowed. @ text @d1 1 a1 1 $NetBSD$ @ 1.5 log @revert back to wget 1.7 until issues with ipv6 are solved in 1.8.1 @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.3 2001/07/22 16:09:59 tron Exp $ d3 8 a10 9 --- src/host.c.orig Sun Jul 22 17:33:22 2001 +++ src/host.c Sun Jul 22 17:34:47 2001 @@@@ -206,7 +206,9 @@@@ memset(sa, 0, *len); *len = sizeof(struct sockaddr_in); sa->sa_family = AF_INET; +#ifndef __sun__ sa->sa_len = *len; /*XXX*/ +#endif d12 1 a12 1 where = (char *)&((struct sockaddr_in *)sa)->sin_addr; d14 29 @ 1.4 log @Upgrade wget to 1.8.1 Highlights of changes since 1.7: * bugfixes * new progress bar indicator * breath-first recursive descent * host directories contain port information if the server is at a non-standard port full list: http://cvs.sunsite.dk/viewcvs.cgi/wget/NEWS?rev=WGET_1_8&content-type=text/plain Provided by michal@@pasternak.w.lub.pl in pkg/16124 @ text @@ 1.3 log @Reenable and fix KAME patch under Solaris because it includes an extra translation. @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @use latest IPv6 patch from kame (now supports IPv6 FTP properly). patches/patch-?? contain IPv6 patches only, switch to PATCHFILES. @ text @d1 11 a11 5 $NetBSD: patch-ad,v 1.1 2000/03/26 14:16:47 itojun Exp $ --- src/host.h.orig Sat Jan 31 03:38:01 1998 +++ src/host.h Fri Sep 24 15:49:42 1999 @@@@ -25,8 +25,11 @@@@ /* Function declarations */ d13 1 a13 8 struct hostent *ngethostbyname PARAMS ((const char *)); +#ifdef INET6 +int store_hostaddress PARAMS ((struct sockaddr_storage *, const char *)); +#else int store_hostaddress PARAMS ((unsigned char *, const char *)); - +#endif void clean_hosts PARAMS ((void)); a14 1 char *realhost PARAMS ((const char *)); @ 1.1 log @bring in IPv6 support. PR8489. @ text @d1 1 a1 1 $NetBSD$ @