auto-import changelog data from fetchmail-6.2.5-4.src.rpm

Wed May 19 2004 Nalin Dahyabhai <nalin@redhat.com> 6.2.5-4
- turn on SDPS (#123599) and RPA
Wed May 19 2004 Joe Orton <jorton@redhat.com> 6.2.5-3
- pass AI_ADDRCONFIG to getaddrinfo to prevent pointless AAAA lookups
This commit is contained in:
cvsdist 2004-09-09 04:47:22 +00:00
parent 187aa09f53
commit e540f9a07d
2 changed files with 28 additions and 2 deletions

View File

@ -0,0 +1,17 @@
Use AI_ADDRCONFIG for name lookups by default. Don't send this upstream
as-is since it needs an autoconf test to check whether AI_ADDRCONFIG is safe
to use in getaddrinfo calls (it isn't in the RHL6.2 resolver, for instance).
--- fetchmail-6.2.5/socket.c.addrconf 2003-10-10 11:32:15.000000000 +0100
+++ fetchmail-6.2.5/socket.c 2004-05-19 13:23:22.000000000 +0100
@@ -276,6 +276,9 @@
#endif /* HAVE_SOCKETPAIR */
memset(&req, 0, sizeof(struct addrinfo));
req.ai_socktype = SOCK_STREAM;
+#ifdef AI_ADDRCONFIG
+ req.ai_flags = AI_ADDRCONFIG;
+#endif
if (getaddrinfo(host, service, &req, &ai0)) {
report(stderr, GT_("fetchmail: getaddrinfo(%s.%s)\n"), host,service);

View File

@ -3,7 +3,7 @@
Summary: A remote mail retrieval and forwarding utility.
Name: fetchmail
Version: 6.2.5
Release: 2
Release: 4
Requires: smtpdaemon
Source0: http://www.catb.org/~esr/fetchmail/fetchmail-%{version}.tar.gz
Source1: http://www.catb.org/~esr/fetchmail/fetchmail-%{version}.tar.gz.asc
@ -12,6 +12,7 @@ Patch0: fetchmail-6.2.0-krb5-config.patch
Patch1: fetchmail-6.2.0-gsspop.patch
Patch2: fetchmail-6.2.0-crlf.patch
Patch3: fetchmail-6.2.5-popcapa.patch
Patch4: fetchmail-6.2.5-addrconf.patch
URL: http://www.catb.org/~esr/fetchmail/
License: GPL
Group: Applications/Internet
@ -54,6 +55,7 @@ need to have Python and Tk installed in order to use fetchmailconf.
%patch1 -p1 -b .gsspop
%patch2 -p1 -b .crlf
%patch3 -p1 -b .popauth
%patch4 -p1 -b .addrconf
autoheader
autoconf
@ -61,7 +63,8 @@ autoconf
LIBS=-ldl; export LIBS
%configure --enable-POP3 --enable-IMAP --with-ssl=auto \
%{!?nohesiod:--with-hesiod=auto} \
--enable-ETRN --enable-NTLM --enable-nls --enable-inet6 \
--enable-ETRN --enable-NTLM --enable-SDPS --enable-RPA \
--enable-nls --enable-inet6 \
%{?nokerberos:--without-kerberos --without-kerberos5 --without-kerberos --without-gssapi} \
%{!?nokerberos:--with-kerberos --with-kerberos5 --with-kerberos --with-gssapi}
make
@ -95,6 +98,12 @@ rm -rf $RPM_BUILD_ROOT
%endif
%changelog
* Wed May 19 2004 Nalin Dahyabhai <nalin@redhat.com> 6.2.5-4
- turn on SDPS (#123599) and RPA
* Wed May 19 2004 Joe Orton <jorton@redhat.com> 6.2.5-3
- pass AI_ADDRCONFIG to getaddrinfo to prevent pointless AAAA lookups
* Wed Apr 21 2004 Nalin Dahyabhai <nalin@redhat.com> 6.2.5-2
- distill out portions of pop3.c which don't affect capa probing