diff options
author | marcus <marcus@FreeBSD.org> | 2003-02-27 08:30:21 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2003-02-27 08:30:21 +0800 |
commit | 38bb4effa48863a7ad0a48d2cd8547623a4c982e (patch) | |
tree | 089d64e8efa57abb797f272299d49773feb42465 /mail | |
parent | 78c0a450d36baeb172297aed6fe236afb7a607b2 (diff) | |
download | freebsd-ports-gnome-38bb4effa48863a7ad0a48d2cd8547623a4c982e.tar.gz freebsd-ports-gnome-38bb4effa48863a7ad0a48d2cd8547623a4c982e.tar.zst freebsd-ports-gnome-38bb4effa48863a7ad0a48d2cd8547623a4c982e.zip |
* Fix PGP key validation with certain mailers (notably mutt) [1]
* De-pkg-comment
Obtained from: Jeffrey Stedfast c/o evolution-hackers@lists.ximian.com [1]
Diffstat (limited to 'mail')
-rw-r--r-- | mail/evolution-devel/Makefile | 2 | ||||
-rw-r--r-- | mail/evolution-devel/files/patch-gpg-temp | 84 | ||||
-rw-r--r-- | mail/evolution-devel/pkg-comment | 1 | ||||
-rw-r--r-- | mail/evolution/Makefile | 2 | ||||
-rw-r--r-- | mail/evolution/files/patch-gpg-temp | 84 | ||||
-rw-r--r-- | mail/evolution/pkg-comment | 1 |
6 files changed, 172 insertions, 2 deletions
diff --git a/mail/evolution-devel/Makefile b/mail/evolution-devel/Makefile index d41620fc0753..625e8f08abb2 100644 --- a/mail/evolution-devel/Makefile +++ b/mail/evolution-devel/Makefile @@ -7,6 +7,7 @@ PORTNAME= evolution PORTVERSION= 1.2.2 +PORTREVISION= 1 CATEGORIES= mail gnome MASTER_SITES= ${MASTER_SITE_GNOME} \ http://people.FreeBSD.org/~sobomax/:local @@ -17,6 +18,7 @@ DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \ DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org +COMMENT= An integrated mail, calendar and address book distributed suite LIB_DEPENDS= bonobo_conf.0:${PORTSDIR}/devel/bonobo-conf \ nss3.1:${PORTSDIR}/security/nss \ diff --git a/mail/evolution-devel/files/patch-gpg-temp b/mail/evolution-devel/files/patch-gpg-temp new file mode 100644 index 000000000000..93871b48be15 --- /dev/null +++ b/mail/evolution-devel/files/patch-gpg-temp @@ -0,0 +1,84 @@ +diff -u -r1.2.8.1 camel-mime-filter-canon.c +--- camel/camel-mime-filter-canon.c 21 Jan 2003 03:07:05 -0000 1.2.8.1 ++++ camel/camel-mime-filter-canon.c 26 Feb 2003 23:12:09 -0000 +@@ -26,6 +26,7 @@ + #include <config.h> + #endif + ++#include <stdio.h> + #include <string.h> + #include <ctype.h> + +@@ -170,7 +171,7 @@ + if (len) + filter(f, in, len, prespace, out, outlen, outprespace); + +- /* the data didn't contain an eol or was too short for "From ", we only need to check for "From" and add an eol */ ++ /* the data didn't contain an eol or was too short for "From ", we only need to check for "From" */ + if (f->backlen) { + inptr = (unsigned char *)f->backbuf; + inend = (unsigned char *)f->backbuf + f->backlen; +@@ -195,20 +196,7 @@ + while (o>starto && (o[-1] == ' ' || o[-1] == '\t' || o[-1]=='\r')) + o--; + } +- /* check end of line canonicalisation */ +- if (o>starto) { +- if (flags & CAMEL_MIME_FILTER_CANON_CRLF) { +- if (o[-1] != '\r') +- *o++ = '\r'; +- } else { +- if (o[-1] == '\r') +- o--; +- } +- } +- +- /* and always finish with an eol */ +- *o++ = '\n'; +- ++ + *outlen = o - *out; + + f->backlen = 0; +diff -u -r1.24 camel-stream-filter.c +--- camel/camel-stream-filter.c 19 Jul 2002 11:25:02 -0000 1.24 ++++ camel/camel-stream-filter.c 26 Feb 2003 23:12:10 -0000 +@@ -19,11 +19,16 @@ + * Boston, MA 02111-1307, USA. + */ + ++ ++#ifdef HAVE_CONFIG_H ++#include <config.h> ++#endif ++ ++#include <stdio.h> + #include <string.h> + #include "camel-stream-filter.h" + + #define d(x) +-/*#include <stdio.h>*/ + + /* use my malloc debugger? */ + /*extern void g_check(void *mp);*/ +@@ -368,10 +373,18 @@ + { + CamelStreamFilter *filter = (CamelStreamFilter *)stream; + struct _CamelStreamFilterPrivate *p = _PRIVATE(filter); +- ++ struct _filter *f; ++ + if (p->filteredlen > 0) + return FALSE; +- ++ ++ f = p->filters; ++ while (f) { ++ if (f->filter->backlen > 0) ++ return FALSE; ++ f = f->next; ++ } ++ + return camel_stream_eos(filter->source); + } + diff --git a/mail/evolution-devel/pkg-comment b/mail/evolution-devel/pkg-comment deleted file mode 100644 index 017eaee53071..000000000000 --- a/mail/evolution-devel/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -An integrated mail, calendar and address book distributed suite diff --git a/mail/evolution/Makefile b/mail/evolution/Makefile index d41620fc0753..625e8f08abb2 100644 --- a/mail/evolution/Makefile +++ b/mail/evolution/Makefile @@ -7,6 +7,7 @@ PORTNAME= evolution PORTVERSION= 1.2.2 +PORTREVISION= 1 CATEGORIES= mail gnome MASTER_SITES= ${MASTER_SITE_GNOME} \ http://people.FreeBSD.org/~sobomax/:local @@ -17,6 +18,7 @@ DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \ DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org +COMMENT= An integrated mail, calendar and address book distributed suite LIB_DEPENDS= bonobo_conf.0:${PORTSDIR}/devel/bonobo-conf \ nss3.1:${PORTSDIR}/security/nss \ diff --git a/mail/evolution/files/patch-gpg-temp b/mail/evolution/files/patch-gpg-temp new file mode 100644 index 000000000000..93871b48be15 --- /dev/null +++ b/mail/evolution/files/patch-gpg-temp @@ -0,0 +1,84 @@ +diff -u -r1.2.8.1 camel-mime-filter-canon.c +--- camel/camel-mime-filter-canon.c 21 Jan 2003 03:07:05 -0000 1.2.8.1 ++++ camel/camel-mime-filter-canon.c 26 Feb 2003 23:12:09 -0000 +@@ -26,6 +26,7 @@ + #include <config.h> + #endif + ++#include <stdio.h> + #include <string.h> + #include <ctype.h> + +@@ -170,7 +171,7 @@ + if (len) + filter(f, in, len, prespace, out, outlen, outprespace); + +- /* the data didn't contain an eol or was too short for "From ", we only need to check for "From" and add an eol */ ++ /* the data didn't contain an eol or was too short for "From ", we only need to check for "From" */ + if (f->backlen) { + inptr = (unsigned char *)f->backbuf; + inend = (unsigned char *)f->backbuf + f->backlen; +@@ -195,20 +196,7 @@ + while (o>starto && (o[-1] == ' ' || o[-1] == '\t' || o[-1]=='\r')) + o--; + } +- /* check end of line canonicalisation */ +- if (o>starto) { +- if (flags & CAMEL_MIME_FILTER_CANON_CRLF) { +- if (o[-1] != '\r') +- *o++ = '\r'; +- } else { +- if (o[-1] == '\r') +- o--; +- } +- } +- +- /* and always finish with an eol */ +- *o++ = '\n'; +- ++ + *outlen = o - *out; + + f->backlen = 0; +diff -u -r1.24 camel-stream-filter.c +--- camel/camel-stream-filter.c 19 Jul 2002 11:25:02 -0000 1.24 ++++ camel/camel-stream-filter.c 26 Feb 2003 23:12:10 -0000 +@@ -19,11 +19,16 @@ + * Boston, MA 02111-1307, USA. + */ + ++ ++#ifdef HAVE_CONFIG_H ++#include <config.h> ++#endif ++ ++#include <stdio.h> + #include <string.h> + #include "camel-stream-filter.h" + + #define d(x) +-/*#include <stdio.h>*/ + + /* use my malloc debugger? */ + /*extern void g_check(void *mp);*/ +@@ -368,10 +373,18 @@ + { + CamelStreamFilter *filter = (CamelStreamFilter *)stream; + struct _CamelStreamFilterPrivate *p = _PRIVATE(filter); +- ++ struct _filter *f; ++ + if (p->filteredlen > 0) + return FALSE; +- ++ ++ f = p->filters; ++ while (f) { ++ if (f->filter->backlen > 0) ++ return FALSE; ++ f = f->next; ++ } ++ + return camel_stream_eos(filter->source); + } + diff --git a/mail/evolution/pkg-comment b/mail/evolution/pkg-comment deleted file mode 100644 index 017eaee53071..000000000000 --- a/mail/evolution/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -An integrated mail, calendar and address book distributed suite |