The OPIE library sources are available at ftp://ftp.inner.net/pub/opie.
You can also find OPIE and IPV6-capable servers there.
-Building in IPv6 support or the IPsec patches *requires*
- that Craig
-Metz's inet6-apps kit be installed; the IPsec patches require that the
-kit be built with network security API support enabled. The kit can be
-gotten from ftp.ipv6.inner.net:/pub/ipv6 (via IPv6) or ftp.inner.net
+Building in IPv6 support *requires* glibc 2.1.1 (or newer) or
+that Craig Metz's inet6-apps kit be installed.
+The IPsec patches *requires* inet6-apps kit.;
+the IPsec patches require that the kit be built with network
+security API support enabled. The kit can be gotten from
+ftp.ipv6.inner.net:/pub/ipv6 (via IPv6) or ftp.inner.net
/pub/ipv6 (via IPv4).
2. CONFIGURE
etrn.o fetchmail.o env.o options.o daemon.o driver.o sink.o \
rfc822.o smtp.o xmalloc.o uid.o mxget.o md5c.o md5ify.o rpa.o \
interface.o netrc.o base64.o error.o unmime.o conf.o checkalias.o \
- smbdes.o smbencrypt.o smbmd4.o smbutil.o
+ smbdes.o smbencrypt.o smbmd4.o smbutil.o ipv6-connect.o
objs = $(protobjs) $(extras) $(EXTRAOBJ)
$(srcdir)/interface.c $(srcdir)/netrc.c $(srcdir)/base64.c \
$(srcdir)/error.c $(srcdir)/unmime.c $(srcdir)/conf.c \
$(srcdir)/checkalias.c $(srcdir)/smbdes.c $(srcdir)/smbencrypt.c \
- $(srcdir)/smbmd4.c $(srcdir)/smbutil.c
+ $(srcdir)/smbmd4.c $(srcdir)/smbutil.c $(srcdir)/ipv6-connect.c
.SUFFIXES:
.SUFFIXES: .o .c .h .y .l .ps .dvi .info .texi
* Added FAQ item R10 on timeouts during messages.
* Fixed indentation problem in fetchmailconf.
* Federico Schwindt's patch to fix broken SSL configuration.
+* Fixes to use fetchmail with IPv6 enabled on glibc without inet6-apps
+ installed; thanks to Arkadiusz Mi¶kiewicz.
fetchmail-5.2.0 (Tue Nov 30 14:24:25 EST 1999), 18302 lines:
* fetchmailconf now complains and exits gracefully when not run under X.
AC_ARG_ENABLE(inet6,
[ --enable-inet6 support IPv6 (requires the inet6-apps library)],
- [ unset ac_cv_lib_inet6_getaddrinfo; AC_CHECK_LIB(inet6,getaddrinfo,,
- [ unset ac_cv_lib_inet6_getaddrinfo;
- LDFLAGS="$LDFLAGS -L/usr/inet6/lib";
- AC_CHECK_LIB(inet6, getaddrinfo,,
- [ echo 'configure: cannot find libinet6, which is required for IPv6 support.';
- exit 1]) ]) ]
+
+ [ AC_CHECK_FUNC(getaddrinfo, [with_inet6=yes],
+ [ LDFLAGS="$LDFLAGS -L/usr/inet6/lib";
+ AC_CHECK_LIB(inet6, getaddrinfo, [with_inet6=yes],
+ [ echo 'configure: cannot find proper glibc version or libinet6,';
+ echo ' which is required for IPv6 support.';
+ exit 1]) ] )],
[with_inet6=no])
test "$with_inet6" = "yes" && AC_DEFINE(INET6_ENABLE)
<table width="100%" cellpadding=0><tr>
<td width="30%">Back to <a href="/~esr/index.html">Fetchmail Home Page</a>
<td width="30%" align=center>To <a href="/~esr/sitemap.html">Site Map</a>
-<td width="30%" align=right>$Date: 1999/09/26 20:37:39 $
+<td width="30%" align=right>$Date: 1999/12/19 20:15:47 $
</table>
<HR>
<H1 ALIGN=CENTER>Design Notes On Fetchmail</H1>
check for getaddrinfo. IPv6 support comes pretty much automatically
once you have protocol family independence.<P>
-Craig Metz used his inner_connect() function to handle most of the
-connect work. This is a nonstandard function not likely to ever exist
-in a system's libc, but we can just include that source file if the
-day comes when we want to support IPv6 without the inet6-apps
-library. It just makes life easier.<P>
-
<H1>Internationalization</H1>
Internationalization is handled using GNU gettext (see the file
<table width="100%" cellpadding=0><tr>
<td width="30%">Back to <a href="index.html">Fetchmail Home Page</a>
<td width="30%" align=center>To <a href="/~esr/sitemap.html">Site Map</a>
-<td width="30%" align=right>$Date: 1999/09/26 20:37:39 $
+<td width="30%" align=right>$Date: 1999/12/19 20:15:47 $
</table>
<P><ADDRESS>Eric S. Raymond <A HREF="mailto:esr@thyrsus.com"><esr@snark.thyrsus.com></A></ADDRESS>
<table width="100%" cellpadding=0><tr>
<td width="30%">Back to <a href="index.html">Fetchmail Home Page</a>
<td width="30%" align=center>To <a href="/~esr/sitemap.html">Site Map</a>
-<td width="30%" align=right>$Date: 1999/12/19 18:22:47 $
+<td width="30%" align=right>$Date: 1999/12/19 20:11:48 $
</table>
<HR>
<H1>Frequently Asked Questions About Fetchmail</H1>
<h2><a name="K2">K2. How can I use fetchmail with IPv6 and IPsec?</a></h2>
To use fetchmail with IPv6, you need a system that supports IPv6, the "Basic
-Socket Interface Extensions for IPv6" (RFC 2133), and the inet6-apps kit.
+Socket Interface Extensions for IPv6" (RFC 2133).
This currently means that you need to have a BSD/OS or NetBSD system with
the NRL IPv6+IPsec software distribution or a Linux system with the latest
experimental kernel and net-tools. It should not be hard to build fetchmail on
<table width="100%" cellpadding=0><tr>
<td width="30%">Back to <a href="index.html">Fetchmail Home Page</a>
<td width="30%" align=center>To <a href="/~esr/sitemap.html">Site Map</a>
-<td width="30%" align=right>$Date: 1999/12/19 18:22:47 $
+<td width="30%" align=right>$Date: 1999/12/19 20:11:48 $
</table>
<P><ADDRESS>Eric S. Raymond <A HREF="mailto:esr@thyrsus.com"><esr@snark.thyrsus.com></A></ADDRESS>
<table width="100%" cellpadding=0><tr>
<td width="30%">Back to <a href="index.html">Fetchmail Home Page</a>
<td width="30%" align=center>To <a href="/~esr/sitemap.html">Site Map</a>
-<td width="30%" align=right>$Date: 1999/10/27 00:15:09 $
+<td width="30%" align=right>$Date: 1999/12/19 20:11:48 $
</table>
<HR>
<LI> Support for IMAP-OTP authentication using Craig Metz's patches
for UW IMAP.
-<LI> Support for IPv6 and IPSEC (using Craig Metz's inet6-apps library).
+<LI> Support for IPv6 (using glibc or Craig Metz's inet6-apps library).
+
+<Li> Support for IPSEC (using Craig Metz's inet6-apps library).
<LI> Support for IMAP with RFC1731-conformant GSSAPI authentication.
<table width="100%" cellpadding=0><tr>
<td width="30%">Back to <a href="index.html">Fetchmail Home Page</a>
<td width="30%" align=center>To <a href="/~esr/sitemap.html">Site Map</a>
-<td width="30%" align=right>$Date: 1999/10/27 00:15:09 $
+<td width="30%" align=right>$Date: 1999/12/19 20:11:48 $
</table>
<P><ADDRESS>Eric S. Raymond <A HREF="mailto:esr@thyrsus.com"><esr@snark.thyrsus.com></A></ADDRESS>
const char *plugin)
{
struct addrinfo *ai, req;
+ int i;
#if NET_SECURITY
void *request = NULL;
int requestlen;