FreeBSD Bugzilla – Attachment 92172 Details for
Bug 129755
[PATCH] mail/fetchmail: update to 6.3.9
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
fetchmail-6.3.9.patch
fetchmail-6.3.9.patch (text/plain), 7.92 KB, created by
Matthias Andree
on 2008-12-19 09:40:02 UTC
(
hide
)
Description:
fetchmail-6.3.9.patch
Filename:
MIME Type:
Creator:
Matthias Andree
Created:
2008-12-19 09:40:02 UTC
Size:
7.92 KB
patch
obsolete
>diff -ruN --exclude=CVS /usr/ports/mail/fetchmail/Makefile /usr/home/emma/ports/mail/fetchmail/Makefile >--- /usr/ports/mail/fetchmail/Makefile 2008-08-21 08:17:34.000000000 +0200 >+++ /usr/home/emma/ports/mail/fetchmail/Makefile 2008-12-08 12:00:49.000000000 +0100 >@@ -10,8 +10,8 @@ > # want fetchmailconf to work, define WITH_X11 > > PORTNAME= fetchmail >-PORTVERSION= 6.3.8 >-PORTREVISION= 7 >+PORTVERSION= 6.3.9 >+PORTREVISION= 0 > CATEGORIES= mail ipv6 > MASTER_SITES= ${MASTER_SITE_BERLIOS} \ > ${MASTER_SITE_SUNSITE:S/$/:sunsite/}\ >@@ -35,7 +35,7 @@ > GNU_CONFIGURE= yes > USE_OPENSSL= yes > CONFIGURE_ARGS= --enable-opie --enable-RPA --enable-SDPS \ >- --with-hesiod=no --enable-fallback=no >+ --with-hesiod=no --enable-fallback=no PYTHON=: > # bsd.openssl.mk will add the LDFLAGS to CONFIGURE_ENV: > LDFLAGS= -L${LOCALBASE}/lib > CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \ >diff -ruN --exclude=CVS /usr/ports/mail/fetchmail/distinfo /usr/home/emma/ports/mail/fetchmail/distinfo >--- /usr/ports/mail/fetchmail/distinfo 2007-04-09 22:04:05.000000000 +0200 >+++ /usr/home/emma/ports/mail/fetchmail/distinfo 2008-12-08 03:39:35.000000000 +0100 >@@ -1,3 +1,3 @@ >-MD5 (fetchmail-6.3.8.tar.bz2) = 66b97500b0a1e3c0916b3b5314f597f5 >-SHA256 (fetchmail-6.3.8.tar.bz2) = 5612f9af367f641e0efd084f44fcf1889669e711dbd8c60f6b7953e494d1b09b >-SIZE (fetchmail-6.3.8.tar.bz2) = 1323515 >+MD5 (fetchmail-6.3.9.tar.bz2) = 72c20ad2b9629f1a109668b05a84d823 >+SHA256 (fetchmail-6.3.9.tar.bz2) = 3dfd3b04aa552331f91f96bdf5f5afe489c31a600ae7973f5814bde5555813dc >+SIZE (fetchmail-6.3.9.tar.bz2) = 1538134 >diff -ruN --exclude=CVS /usr/ports/mail/fetchmail/files/patch-CVE-2007-4565 /usr/home/emma/ports/mail/fetchmail/files/patch-CVE-2007-4565 >--- /usr/ports/mail/fetchmail/files/patch-CVE-2007-4565 2007-09-03 21:22:28.000000000 +0200 >+++ /usr/home/emma/ports/mail/fetchmail/files/patch-CVE-2007-4565 1970-01-01 01:00:00.000000000 +0100 >@@ -1,11 +0,0 @@ >---- sink.c (revision 5118) >-+++ sink.c (revision 5119) >-@@ -262,7 +262,7 @@ >- const char *md1 = "MAILER-DAEMON", *md2 = "MAILER-DAEMON@"; >- >- /* don't bounce in reply to undeliverable bounces */ >-- if (!msg->return_path[0] || >-+ if (!msg || !msg->return_path[0] || >- strcmp(msg->return_path, "<>") == 0 || >- strcasecmp(msg->return_path, md1) == 0 || >- strncasecmp(msg->return_path, md2, strlen(md2)) == 0) >diff -ruN --exclude=CVS /usr/ports/mail/fetchmail/files/patch-CVE-2008-2711 /usr/home/emma/ports/mail/fetchmail/files/patch-CVE-2008-2711 >--- /usr/ports/mail/fetchmail/files/patch-CVE-2008-2711 2008-07-01 18:35:50.000000000 +0200 >+++ /usr/home/emma/ports/mail/fetchmail/files/patch-CVE-2008-2711 1970-01-01 01:00:00.000000000 +0100 >@@ -1,52 +0,0 @@ >---- report.c.orig 2008-07-01 18:15:58.000000000 +0200 >-+++ report.c 2008-07-01 18:18:53.000000000 +0200 >-@@ -238,11 +238,17 @@ >- rep_ensuresize(); >- >- #if defined(VA_START) >-- VA_START (args, message); >- for ( ; ; ) >- { >-+ /* >-+ * args has to be initialized before every call of vsnprintf(), >-+ * because vsnprintf() invokes va_arg macro and thus args is >-+ * undefined after the call. >-+ */ >-+ VA_START(args, message); >- n = vsnprintf (partial_message + partial_message_size_used, partial_message_size - partial_message_size_used, >- message, args); >-+ va_end (args); >- >- if (n >= 0 >- && (unsigned)n < partial_message_size - partial_message_size_used) >-@@ -254,7 +260,6 @@ >- partial_message_size += 2048; >- partial_message = REALLOC (partial_message, partial_message_size); >- } >-- va_end (args); >- #else >- for ( ; ; ) >- { >-@@ -304,12 +309,13 @@ >- rep_ensuresize(); >- >- #if defined(VA_START) >-- VA_START (args, message); >- for ( ; ; ) >- { >-+ VA_START(args, message); >- n = vsnprintf (partial_message + partial_message_size_used, >- partial_message_size - partial_message_size_used, >- message, args); >-+ va_end(args); >- >- /* old glibc versions return -1 for truncation */ >- if (n >= 0 >-@@ -322,7 +328,6 @@ >- partial_message_size += 2048; >- partial_message = REALLOC (partial_message, partial_message_size); >- } >-- va_end (args); >- #else >- for ( ; ; ) >- { >diff -ruN --exclude=CVS /usr/ports/mail/fetchmail/files/patch-Makefile.in /usr/home/emma/ports/mail/fetchmail/files/patch-Makefile.in >--- /usr/ports/mail/fetchmail/files/patch-Makefile.in 2005-12-11 22:24:18.000000000 +0100 >+++ /usr/home/emma/ports/mail/fetchmail/files/patch-Makefile.in 2008-12-08 12:01:00.000000000 +0100 >@@ -9,28 +9,3 @@ > INSTALL_HEADER = $(INSTALL_DATA) > transform = $(program_transform_name) > NORMAL_INSTALL = : >-@@ -864,24 +864,6 @@ >- rm -f y.tab.c >- uninstall-info-am: >- install-pythonPYTHON: $(python_PYTHON) >-- @$(NORMAL_INSTALL) >-- test -z "$(pythondir)" || $(mkdir_p) "$(DESTDIR)$(pythondir)" >-- @list='$(python_PYTHON)'; dlist=''; for p in $$list; do\ >-- if test -f "$$p"; then b=; else b="$(srcdir)/"; fi; \ >-- if test -f $$b$$p; then \ >-- f=$(am__strip_dir) \ >-- dlist="$$dlist $$f"; \ >-- echo " $(pythonPYTHON_INSTALL) '$$b$$p' '$(DESTDIR)$(pythondir)/$$f'"; \ >-- $(pythonPYTHON_INSTALL) "$$b$$p" "$(DESTDIR)$(pythondir)/$$f"; \ >-- else :; fi; \ >-- done; \ >-- if test -n "$$dlist"; then \ >-- if test -z "$(DESTDIR)"; then \ >-- PYTHON=$(PYTHON) $(py_compile) --basedir "$(pythondir)" $$dlist; \ >-- else \ >-- PYTHON=$(PYTHON) $(py_compile) --destdir "$(DESTDIR)" --basedir "$(pythondir)" $$dlist; \ >-- fi; \ >-- else :; fi >- >- uninstall-pythonPYTHON: >- @$(NORMAL_UNINSTALL) >diff -ruN --exclude=CVS /usr/ports/mail/fetchmail/files/patch-fetchlimit-exitstatus /usr/home/emma/ports/mail/fetchmail/files/patch-fetchlimit-exitstatus >--- /usr/ports/mail/fetchmail/files/patch-fetchlimit-exitstatus 1970-01-01 01:00:00.000000000 +0100 >+++ /usr/home/emma/ports/mail/fetchmail/files/patch-fetchlimit-exitstatus 2008-12-19 10:27:27.000000000 +0100 >@@ -0,0 +1,18 @@ >+Index: driver.c >+=================================================================== >+--- driver.c (Revision 5254) >++++ driver.c (Revision 5255) >+@@ -1435,9 +1435,11 @@ >+ /* end-of-mailbox processing before we repoll or switch to another one */ >+ if (ctl->server.base_protocol->end_mailbox_poll) >+ { >+- err = (ctl->server.base_protocol->end_mailbox_poll)(mailserver_socket, ctl); >+- if (err) >++ tmperr = (ctl->server.base_protocol->end_mailbox_poll)(mailserver_socket, ctl); >++ if (tmperr) { >++ err = tmperr; >+ goto cleanUp; >++ } >+ } >+ /* Return now if we have reached the fetchlimit */ >+ if (maxfetch && maxfetch <= fetches) >diff -ruN --exclude=CVS /usr/ports/mail/fetchmail/pkg-plist /usr/home/emma/ports/mail/fetchmail/pkg-plist >--- /usr/ports/mail/fetchmail/pkg-plist 2007-05-19 22:14:13.000000000 +0200 >+++ /usr/home/emma/ports/mail/fetchmail/pkg-plist 2008-12-08 12:02:48.000000000 +0100 >@@ -16,15 +16,25 @@ > %%PORTDOCS%%@dirrm %%DOCSDIR%% > %%NLS%%share/locale/ca/LC_MESSAGES/fetchmail.mo > %%NLS%%share/locale/cs/LC_MESSAGES/fetchmail.mo >+%%NLS%%share/locale/da/LC_MESSAGES/fetchmail.mo > %%NLS%%share/locale/de/LC_MESSAGES/fetchmail.mo >+%%NLS%%share/locale/el/LC_MESSAGES/fetchmail.mo > %%NLS%%share/locale/en_GB/LC_MESSAGES/fetchmail.mo > %%NLS%%share/locale/es/LC_MESSAGES/fetchmail.mo >+%%NLS%%share/locale/fi/LC_MESSAGES/fetchmail.mo > %%NLS%%share/locale/fr/LC_MESSAGES/fetchmail.mo >+%%NLS%%share/locale/gl/LC_MESSAGES/fetchmail.mo >+%%NLS%%share/locale/id/LC_MESSAGES/fetchmail.mo > %%NLS%%share/locale/ja/LC_MESSAGES/fetchmail.mo >+%%NLS%%share/locale/nl/LC_MESSAGES/fetchmail.mo > %%NLS%%share/locale/pl/LC_MESSAGES/fetchmail.mo >+%%NLS%%share/locale/pt_BR/LC_MESSAGES/fetchmail.mo > %%NLS%%share/locale/ru/LC_MESSAGES/fetchmail.mo >+%%NLS%%share/locale/sk/LC_MESSAGES/fetchmail.mo > %%NLS%%share/locale/sq/LC_MESSAGES/fetchmail.mo >+%%NLS%%share/locale/tr/LC_MESSAGES/fetchmail.mo > %%NLS%%share/locale/vi/LC_MESSAGES/fetchmail.mo >+%%NLS%%share/locale/zh_CN/LC_MESSAGES/fetchmail.mo > @unexec if cmp -s %D/etc/fetchmailrc.sample %D/etc/fetchmailrc; then rm -f %D/etc/fetchmailrc; fi > etc/fetchmailrc.sample > @exec if [ ! -f %D/etc/fetchmailrc ] ; then cp -p %D/%F %B/fetchmailrc; fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 129755
: 92172