pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc Remove dovecot2-antispam-plugin. Deprecated by upstream.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4cdb21f7d8ff
branches:  trunk
changeset: 367536:4cdb21f7d8ff
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Sep 03 16:43:36 2017 +0000

description:
Remove dovecot2-antispam-plugin. Deprecated by upstream.

Use sieve now, see https://wiki2.dovecot.org/HowTo/AntispamWithSieve

Ok schmonz@

diffstat:

 doc/CHANGES-2017                                           |   3 +-
 mail/Makefile                                              |   3 +-
 mail/dovecot2-antispam-plugin/DESCR                        |   9 --
 mail/dovecot2-antispam-plugin/Makefile                     |  31 --------
 mail/dovecot2-antispam-plugin/PLIST                        |   3 -
 mail/dovecot2-antispam-plugin/distinfo                     |   8 --
 mail/dovecot2-antispam-plugin/patches/patch-buildsys.mk.in |  15 ----
 mail/dovecot2-antispam-plugin/patches/patch-m4_buildsys.m4 |  51 --------------
 8 files changed, 3 insertions(+), 120 deletions(-)

diffs (172 lines):

diff -r 1a1911a8e711 -r 4cdb21f7d8ff doc/CHANGES-2017
--- a/doc/CHANGES-2017  Sun Sep 03 14:16:53 2017 +0000
+++ b/doc/CHANGES-2017  Sun Sep 03 16:43:36 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES-2017,v 1.3551 2017/09/03 14:16:53 wiz Exp $
+$NetBSD: CHANGES-2017,v 1.3552 2017/09/03 16:43:36 wiz Exp $
 
 Changes to the packages collection and infrastructure in 2017:
 
@@ -4988,3 +4988,4 @@
        Updated devel/ocaml-batteries to 2.7.0 [jaapb 2017-09-03]
        Updated devel/ocaml-sexplib to 0.9.2 [jaapb 2017-09-03]
        Updated devel/py-hg-git to 0.8.9 [wiz 2017-09-03]
+       Removed mail/dovecot2-antispam-plugin [wiz 2017-09-03]
diff -r 1a1911a8e711 -r 4cdb21f7d8ff mail/Makefile
--- a/mail/Makefile     Sun Sep 03 14:16:53 2017 +0000
+++ b/mail/Makefile     Sun Sep 03 16:43:36 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.495 2017/08/17 10:03:42 nros Exp $
+# $NetBSD: Makefile,v 1.496 2017/09/03 16:43:36 wiz Exp $
 #
 
 COMMENT=       Electronic mail utilities
@@ -70,7 +70,6 @@
 SUBDIR+=       dot-forward
 SUBDIR+=       dovecot
 SUBDIR+=       dovecot2
-SUBDIR+=       dovecot2-antispam-plugin
 SUBDIR+=       dovecot2-gssapi
 SUBDIR+=       dovecot2-ldap
 SUBDIR+=       dovecot2-mysql
diff -r 1a1911a8e711 -r 4cdb21f7d8ff mail/dovecot2-antispam-plugin/DESCR
--- a/mail/dovecot2-antispam-plugin/DESCR       Sun Sep 03 14:16:53 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-Consider the following scenario. Your mailbox is flooded with tons
-of mail. They are delivered to the configured folders based on the
-arbitrary spam system judgement. This judgement is not always correct
-or not always what you would like it to be, however. This is where
-this plugin comes into play.
-
-All you have to do is move the mail into the correct folder. All
-the rest in order to let the spam system know it made an error will
-be done automatically by this plugin.
diff -r 1a1911a8e711 -r 4cdb21f7d8ff mail/dovecot2-antispam-plugin/Makefile
--- a/mail/dovecot2-antispam-plugin/Makefile    Sun Sep 03 14:16:53 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,31 +0,0 @@
-# $NetBSD: Makefile,v 1.8 2017/08/01 17:40:13 wiz Exp $
-
-DISTNAME=              dovecot-antispam-plugin-20130429
-PKGREVISION=           4
-CATEGORIES=            mail
-MASTER_SITES=          http://olgeni.olgeni.com/~olgeni/distfiles/
-MASTER_SITES+=         http://distcache.FreeBSD.org/local-distfiles/olgeni/
-EXTRACT_SUFX=          .tar.bz2
-
-MAINTAINER=            schmonz%NetBSD.org@localhost
-#HOMEPAGE=             http://hg.dovecot.org/dovecot-antispam-plugin/
-COMMENT=               Dovecot 2.x plugin for training antispam systems
-LICENSE=               gnu-gpl-v2
-
-WRKSRC=                        ${WRKDIR}/dovecot-antispam-plugin-5ebc6aae4d7c
-
-USE_TOOLS+=            aclocal autoheader automake autoconf gmake gawk gsed
-AUTOCONF_REQD=         2.54
-GNU_CONFIGURE=         yes
-
-OPSYSVARS+=            SUFX
-SUFX.Darwin=           bundle
-SUFX.*=                        so
-
-PLIST_SUBST+=          SUFX=${SUFX:Q}
-
-pre-configure:
-       cd ${WRKSRC} && aclocal -I m4 && autoheader && autoconf
-
-.include "../../mail/dovecot2/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff -r 1a1911a8e711 -r 4cdb21f7d8ff mail/dovecot2-antispam-plugin/PLIST
--- a/mail/dovecot2-antispam-plugin/PLIST       Sun Sep 03 14:16:53 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2014/11/19 03:37:14 schmonz Exp $
-lib/dovecot/lib90_antispam_plugin.${SUFX}
-man/man7/dovecot-antispam.7
diff -r 1a1911a8e711 -r 4cdb21f7d8ff mail/dovecot2-antispam-plugin/distinfo
--- a/mail/dovecot2-antispam-plugin/distinfo    Sun Sep 03 14:16:53 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-$NetBSD: distinfo,v 1.2 2015/11/03 23:27:04 agc Exp $
-
-SHA1 (dovecot-antispam-plugin-20130429.tar.bz2) = 50c7b35467c9e07eb033cd15850ce051d1b8aa6d
-RMD160 (dovecot-antispam-plugin-20130429.tar.bz2) = e63e79e27ae14fd634ecf20b7061f0f4114cb522
-SHA512 (dovecot-antispam-plugin-20130429.tar.bz2) = 82074414065b936ab23f54add06fb0f4098a03e77956bea2d3ffba08f7853a34c61222d412e4241ddf5f2e0b5467c1547fac0087611df6f5e235968cdbe2f6a2
-Size (dovecot-antispam-plugin-20130429.tar.bz2) = 56340 bytes
-SHA1 (patch-buildsys.mk.in) = 85cd1d42e743cd548c078ec2107cda4549fa2a32
-SHA1 (patch-m4_buildsys.m4) = 71a9f28161dfb7b47c6ce6ed862e7326aae7899e
diff -r 1a1911a8e711 -r 4cdb21f7d8ff mail/dovecot2-antispam-plugin/patches/patch-buildsys.mk.in
--- a/mail/dovecot2-antispam-plugin/patches/patch-buildsys.mk.in        Sun Sep 03 14:16:53 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-buildsys.mk.in,v 1.1 2014/11/19 03:37:14 schmonz Exp $
-
-Use the configured rpath linker flags.
-
---- buildsys.mk.in.orig        2013-04-29 12:59:26.000000000 +0000
-+++ buildsys.mk.in
-@@ -285,7 +285,7 @@ ${PLUGIN} ${PLUGIN_NOINST}: ${EXT_DEPS} 
-               done; \
-               cd ..; \
-       done; \
--      if ${LD} -o $@ $$objs ${PLUGIN_LDFLAGS} ${LDFLAGS} ${LIBS}; then \
-+      if ${LD} -o $@ $$objs ${PLUGIN_LDFLAGS} ${LDFLAGS} ${LDFLAGS_RPATH} ${LIBS}; then \
-               ${LINK_OK}; \
-       else \
-               ${LINK_FAILED}; \
diff -r 1a1911a8e711 -r 4cdb21f7d8ff mail/dovecot2-antispam-plugin/patches/patch-m4_buildsys.m4
--- a/mail/dovecot2-antispam-plugin/patches/patch-m4_buildsys.m4        Sun Sep 03 14:16:53 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,51 +0,0 @@
-$NetBSD: patch-m4_buildsys.m4,v 1.1 2014/11/19 03:37:14 schmonz Exp $
-
-Correct path to dovecot plugins.
-
---- m4/buildsys.m4.orig        2013-04-29 12:59:26.000000000 +0000
-+++ m4/buildsys.m4
-@@ -103,7 +103,7 @@ AC_DEFUN([BUILDSYS_SHARED_LIB], [
-                       LIB_LDFLAGS='-dynamiclib -current_version ${LIB_MAJOR}.${LIB_MINOR} -compatibility_version ${LIB_MAJOR}'
-                       LIB_PREFIX='lib'
-                       LIB_SUFFIX='.dylib'
--                      LDFLAGS_RPATH='-Wl,-rpath,${libdir}'
-+                      LDFLAGS_RPATH='-Wl,-rpath,${libdir}/dovecot'
-                       PLUGIN_CFLAGS='-fPIC -DPIC'
-                       PLUGIN_LDFLAGS='-bundle -undefined dynamic_lookup'
-                       PLUGIN_SUFFIX='.bundle'
-@@ -117,7 +117,7 @@ AC_DEFUN([BUILDSYS_SHARED_LIB], [
-                       LIB_LDFLAGS='-shared -Wl,-soname=${SHARED_LIB}.${LIB_MAJOR}.${LIB_MINOR}'
-                       LIB_PREFIX='lib'
-                       LIB_SUFFIX='.so'
--                      LDFLAGS_RPATH='-Wl,-rpath,${libdir}'
-+                      LDFLAGS_RPATH='-Wl,-rpath,${libdir}/dovecot'
-                       PLUGIN_CFLAGS='-fPIC -DPIC'
-                       PLUGIN_LDFLAGS='-shared'
-                       PLUGIN_SUFFIX='.so'
-@@ -131,7 +131,7 @@ AC_DEFUN([BUILDSYS_SHARED_LIB], [
-                       LIB_LDFLAGS='-shared'
-                       LIB_PREFIX='lib'
-                       LIB_SUFFIX='.so.${LIB_MAJOR}.${LIB_MINOR}'
--                      LDFLAGS_RPATH='-Wl,-rpath,${libdir}'
-+                      LDFLAGS_RPATH='-Wl,-rpath,${libdir}/dovecot'
-                       PLUGIN_CFLAGS='-fPIC -DPIC'
-                       PLUGIN_LDFLAGS='-shared'
-                       PLUGIN_SUFFIX='.so'
-@@ -145,7 +145,7 @@ AC_DEFUN([BUILDSYS_SHARED_LIB], [
-                       LIB_LDFLAGS='-shared -Wl,--out-implib,${SHARED_LIB}.a'
-                       LIB_PREFIX='lib'
-                       LIB_SUFFIX='.dll'
--                      LDFLAGS_RPATH='-Wl,-rpath,${libdir}'
-+                      LDFLAGS_RPATH='-Wl,-rpath,${libdir}/dovecot'
-                       PLUGIN_CFLAGS=''
-                       PLUGIN_LDFLAGS='-shared'
-                       PLUGIN_SUFFIX='.dll'
-@@ -159,7 +159,7 @@ AC_DEFUN([BUILDSYS_SHARED_LIB], [
-                       LIB_LDFLAGS='-shared -Wl,-soname=${SHARED_LIB}.${LIB_MAJOR}'
-                       LIB_PREFIX='lib'
-                       LIB_SUFFIX='.so'
--                      LDFLAGS_RPATH='-Wl,-rpath,${libdir}'
-+                      LDFLAGS_RPATH='-Wl,-rpath,${libdir}/dovecot'
-                       PLUGIN_CFLAGS='-fPIC -DPIC'
-                       PLUGIN_LDFLAGS='-shared'
-                       PLUGIN_SUFFIX='.so'



Home | Main Index | Thread Index | Old Index