Date: Fri, 19 Dec 2008 10:22:55 +0100 (CET) From: Matthias Andree <matthias.andree@gmx.de> To: FreeBSD-gnats-submit@FreeBSD.org Cc: barner@FreeBSD.org Subject: ports/129753: [PATCH] mail/fetchmail: update to 6.3.9 Message-ID: <20081219092255.ED3D8188D0@merlin.emma.line.org> Resent-Message-ID: <200812190930.mBJ9U1xw037099@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 129753 >Category: ports >Synopsis: [PATCH] mail/fetchmail: update to 6.3.9 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Dec 19 09:30:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Matthias Andree >Release: FreeBSD 7.1-PRERELEASE i386 >Organization: >Environment: System: FreeBSD merlin.emma.line.org 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #5: Wed Dec 17 19:48:40 CET 2008 >Description: - Update to 6.3.9, fixing some critical and two security bugs - Add some more translations when NLS (I18N) is enabled. Note that this submission does not fix one portlint complaint: FATAL: Makefile: [56]: USE_PYTHON is set after including bsd.port.pre.mk. Removed file(s): - files/patch-CVE-2007-4565 (included in new upstream version) - files/patch-CVE-2008-2711 (included in new upstream version) Port maintainer (barner@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- fetchmail-6.3.9.patch begins here --- 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/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 --- fetchmail-6.3.9.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081219092255.ED3D8188D0>