FreeBSD Bugzilla – Attachment 111944 Details for
Bug 153282
[PATCH] mail/dovecot-antispam: update to 1.3
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
dovecot-antispam-1.3,1.patch
dovecot-antispam-1.3,1.patch (text/plain), 2.69 KB, created by
geoffroy desvernay
on 2010-12-18 21:20:09 UTC
(
hide
)
Description:
dovecot-antispam-1.3,1.patch
Filename:
MIME Type:
Creator:
geoffroy desvernay
Created:
2010-12-18 21:20:09 UTC
Size:
2.69 KB
patch
obsolete
>diff -ruN --exclude=CVS /usr/ports/mail/dovecot-antispam.orig/Makefile /usr/ports/mail/dovecot-antispam/Makefile >--- /usr/ports/mail/dovecot-antispam.orig/Makefile 2010-12-18 10:41:05.000000000 +0100 >+++ /usr/ports/mail/dovecot-antispam/Makefile 2010-12-18 22:04:18.000000000 +0100 >@@ -6,8 +6,7 @@ > # > > PORTNAME= dovecot-antispam >-PORTVERSION= 1.2 >-PORTREVISION= 7 >+PORTVERSION= 1.3 > PORTEPOCH= 1 > CATEGORIES= mail > MASTER_SITES= http://johannes.sipsolutions.net/download/dovecot-antispam/ \ >diff -ruN --exclude=CVS /usr/ports/mail/dovecot-antispam.orig/distinfo /usr/ports/mail/dovecot-antispam/distinfo >--- /usr/ports/mail/dovecot-antispam.orig/distinfo 2009-08-17 22:55:32.000000000 +0200 >+++ /usr/ports/mail/dovecot-antispam/distinfo 2010-12-18 21:49:02.000000000 +0100 >@@ -1,3 +1,2 @@ >-MD5 (dovecot-antispam-1.2.tar.bz2) = 4def8bf968a94b3c2cb81bd751b4737c >-SHA256 (dovecot-antispam-1.2.tar.bz2) = 28b3a7819d58a66e86d5432c135c4c9486c4f08226e726d5df0d25ea578b9c15 >-SIZE (dovecot-antispam-1.2.tar.bz2) = 26595 >+SIZE (dovecot-antispam-1.3.tar.bz2) = 26733 >+SHA256 (dovecot-antispam-1.3.tar.bz2) = b745f13a791c080b49266e262f0c212503b9b9e0180746e78df3cca6b1ffc7a0 >diff -ruN --exclude=CVS /usr/ports/mail/dovecot-antispam.orig/files/patch-antispam-plugin.h /usr/ports/mail/dovecot-antispam/files/patch-antispam-plugin.h >--- /usr/ports/mail/dovecot-antispam.orig/files/patch-antispam-plugin.h 2009-08-17 22:55:32.000000000 +0200 >+++ /usr/ports/mail/dovecot-antispam/files/patch-antispam-plugin.h 1970-01-01 01:00:00.000000000 +0100 >@@ -1,41 +0,0 @@ >-From af0f8f8de27901e2efb9560a1fc66c7af3cd810b Mon Sep 17 00:00:00 2001 >-From: Johannes Berg <johannes@sipsolutions.net> >-Date: Thu, 2 Jul 2009 14:17:54 +0200 >-Subject: [PATCH 1/1] make it compile with dovecot 1.2 >- >---- >- antispam-plugin.h | 13 +++++++++++++ >- 1 files changed, 13 insertions(+), 0 deletions(-) >- >-diff --git a/antispam-plugin.h b/antispam-plugin.h >-index df59e88..493fd1e 100644 >---- antispam-plugin.h >-+++ antispam-plugin.h >-@@ -113,11 +113,24 @@ o_stream_create_from_fd(int fd, pool_t pool ATTR_UNUSED) >- return o_stream_create_fd(fd, 0, TRUE); >- } >- >-+#if DOVECOT_VERSION_CODE(1, 2) == DOVECOT_VERSION >-+static inline struct dict * >-+string_dict_init(const char *uri, const char *username) >-+{ >-+ const char *base_dir; >-+ >-+ base_dir = getenv("BASE_DIR"); >-+ if (base_dir == NULL) >-+ base_dir = "/var/run/dovecot"; >-+ return dict_init(uri, DICT_DATA_TYPE_STRING, username, base_dir); >-+} >-+#else /* 1.1 */ >- static inline struct dict * >- string_dict_init(const char *uri, const char *username) >- { >- return dict_init(uri, DICT_DATA_TYPE_STRING, username); >- } >-+#endif >- #elif DOVECOT_VERSION_CODE(1, 0) == DOVECOT_VERSION >- #define ME(err) >- #define PLUGIN_ID >--- >-1.6.3.3 >-
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 153282
: 111944