Rediff all patches to work with patch --fuzz=0

This commit is contained in:
vcrhonek 2008-09-18 09:40:55 +00:00
parent 512ee7059e
commit 1e1c93dd3b
4 changed files with 16 additions and 18 deletions

View File

@ -1,17 +1,13 @@
diff -up fetchmail-6.3.8/socket.c.addrconf fetchmail-6.3.8/socket.c
--- fetchmail-6.3.8/socket.c.addrconf 2006-12-17 01:05:31.000000000 +0100
+++ fetchmail-6.3.8/socket.c 2008-09-18 11:37:15.000000000 +0200
@@ -276,6 +276,9 @@ int SockOpen(const char *host, const cha
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);
i = fm_getaddrinfo(host, service, &req, ai0);
if (i) {

View File

@ -1,6 +1,7 @@
--- fetchmail-6.3.8/sink.c_old 2007-03-30 00:45:17.000000000 +0200
+++ fetchmail-6.3.8/sink.c 2007-09-04 13:30:35.000000000 +0200
@@ -262,7 +262,7 @@
diff -up fetchmail-6.3.8/sink.c.cve_2007_4565 fetchmail-6.3.8/sink.c
--- fetchmail-6.3.8/sink.c.cve_2007_4565 2007-03-30 00:45:17.000000000 +0200
+++ fetchmail-6.3.8/sink.c 2008-09-18 11:38:09.000000000 +0200
@@ -262,7 +262,7 @@ static int send_bouncemail(struct query
const char *md1 = "MAILER-DAEMON", *md2 = "MAILER-DAEMON@";
/* don't bounce in reply to undeliverable bounces */

View File

@ -1,6 +1,6 @@
diff -up fetchmail-6.3.8/report.c_old fetchmail-6.3.8/report.c
--- fetchmail-6.3.8/report.c_old 2008-06-27 11:38:59.000000000 +0200
+++ fetchmail-6.3.8/report.c 2008-06-27 11:39:22.000000000 +0200
diff -up fetchmail-6.3.8/report.c.cve_2008_2711 fetchmail-6.3.8/report.c
--- fetchmail-6.3.8/report.c.cve_2008_2711 2006-03-14 09:53:31.000000000 +0100
+++ fetchmail-6.3.8/report.c 2008-09-18 11:38:50.000000000 +0200
@@ -238,11 +238,17 @@ report_build (FILE *errfp, message, va_a
rep_ensuresize();

View File

@ -89,7 +89,8 @@ rm -rf $RPM_BUILD_ROOT
%endif
%changelog
* Wed Sep 3 2008 Vitezslav Crhonek <vcrhonek@redhat.com> - 6.3.8-8
* Tue Sep 18 2008 Vitezslav Crhonek <vcrhonek@redhat.com> - 6.3.8-8
- Rediff all patches to work with patch --fuzz=0
- Replace server(smtp) requires by procmail
Resolves: #66396