aboutsummaryrefslogtreecommitdiffstats
path: root/mail/dovecot-antispam
diff options
context:
space:
mode:
authorsahil <sahil@FreeBSD.org>2010-12-23 12:42:10 +0800
committersahil <sahil@FreeBSD.org>2010-12-23 12:42:10 +0800
commit3969167c6948036d0c9718c20854e6564b677e5b (patch)
tree38445e08ca5030e53c8444be0352941261a492df /mail/dovecot-antispam
parent6f4441b3b2b2cec455dd9da25f23bbc4d5eb5917 (diff)
downloadfreebsd-ports-gnome-3969167c6948036d0c9718c20854e6564b677e5b.tar.gz
freebsd-ports-gnome-3969167c6948036d0c9718c20854e6564b677e5b.tar.zst
freebsd-ports-gnome-3969167c6948036d0c9718c20854e6564b677e5b.zip
- Update to 1.3
PR: ports/153282 Submitted by: Geoffroy Desvernay <dgeo@centrale-marseille.fr> Approved by: Denis Shaposhnikov <dsh@wizard.volgograd.ru> (maintainer)
Diffstat (limited to 'mail/dovecot-antispam')
-rw-r--r--mail/dovecot-antispam/Makefile3
-rw-r--r--mail/dovecot-antispam/distinfo5
-rw-r--r--mail/dovecot-antispam/files/patch-antispam-plugin.h41
3 files changed, 3 insertions, 46 deletions
diff --git a/mail/dovecot-antispam/Makefile b/mail/dovecot-antispam/Makefile
index 3dfd76447335..6fe2b0a2b095 100644
--- a/mail/dovecot-antispam/Makefile
+++ b/mail/dovecot-antispam/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= dovecot-antispam
-PORTVERSION= 1.2
-PORTREVISION= 6
+PORTVERSION= 1.3
PORTEPOCH= 1
CATEGORIES= mail
MASTER_SITES= http://johannes.sipsolutions.net/download/dovecot-antispam/ \
diff --git a/mail/dovecot-antispam/distinfo b/mail/dovecot-antispam/distinfo
index 2449e946ac59..d203107cfe8c 100644
--- a/mail/dovecot-antispam/distinfo
+++ b/mail/dovecot-antispam/distinfo
@@ -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 --git a/mail/dovecot-antispam/files/patch-antispam-plugin.h b/mail/dovecot-antispam/files/patch-antispam-plugin.h
deleted file mode 100644
index 4e97593565f8..000000000000
--- a/mail/dovecot-antispam/files/patch-antispam-plugin.h
+++ /dev/null
@@ -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
-