mail/roundcube-markasjunk2: new port, Mark as Junk plugin for roundcube

This plugin adds "mark as spam" or "mark as not spam" button to the message
menu.  When not in the Junk mailbox, messages are moved into the Junk mailbox
and marked as read.  When in the Junk mailbox, the buttons are changed to "mark
as not spam" or "this message is not spam" and the message is moved to the
Inbox.  The learning driver allows you to perform additional processing on each
message marked as spam/ham.

WWW: https://github.com/JohnDoh/Roundcube-Plugin-Mark-as-Junk-2
This commit is contained in:
Pietro Cerutti 2016-03-02 09:22:59 +00:00
parent 7b72b3c9c2
commit d86810aa80
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=409918
5 changed files with 83 additions and 0 deletions

View File

@ -573,6 +573,7 @@
SUBDIR += roundcube-groupvice
SUBDIR += roundcube-html5_notifier
SUBDIR += roundcube-login_info
SUBDIR += roundcube-markasjunk2
SUBDIR += roundcube-mobilecube
SUBDIR += roundcube-mvision2
SUBDIR += roundcube-sauserprefs

View File

@ -0,0 +1,30 @@
# Created by: gahr
# $FreeBSD$
PORTNAME= markasjunk2
PORTVERSION= 1.9
CATEGORIES= mail
PKGNAMEPREFIX= roundcube-
MAINTAINER= gahr@FreeBSD.org
COMMENT= Roundcube mark-as-junk / mark-as-not-junk plugin
LICENSE= GPLv3
BUILD_DEPENDS= roundcube>=1.0:mail/roundcube
RUN_DEPENDS= roundcube>=1.0:mail/roundcube
USE_GITHUB= yes
GH_ACCOUNT= JohnDoh
GH_PROJECT= Roundcube-Plugin-Mark-as-Junk-2
NO_BUILD= yes
NO_ARCH= yes
WWWDIR= ${PREFIX}/www/roundcube/plugins/markasjunk2
do-install:
${MKDIR} ${STAGEDIR}${WWWDIR}
cd ${WRKSRC} && ${PAX} -r -w . ${STAGEDIR}${WWWDIR}
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (JohnDoh-Roundcube-Plugin-Mark-as-Junk-2-1.9_GH0.tar.gz) = e4cfd587ad4b4c44f77e100622ba869c45a5ac5d419642c4bd3f0665890b7b9c
SIZE (JohnDoh-Roundcube-Plugin-Mark-as-Junk-2-1.9_GH0.tar.gz) = 28344

View File

@ -0,0 +1,8 @@
This plugin adds "mark as spam" or "mark as not spam" button to the message
menu. When not in the Junk mailbox, messages are moved into the Junk mailbox
and marked as read. When in the Junk mailbox, the buttons are changed to "mark
as not spam" or "this message is not spam" and the message is moved to the
Inbox. The learning driver allows you to perform additional processing on each
message marked as spam/ham.
WWW: https://github.com/JohnDoh/Roundcube-Plugin-Mark-as-Junk-2

View File

@ -0,0 +1,42 @@
%%WWWDIR%%/.gitignore
%%WWWDIR%%/CHANGELOG
%%WWWDIR%%/README.md
%%WWWDIR%%/composer.json
%%WWWDIR%%/config.inc.php.dist
%%WWWDIR%%/drivers/amavis_blacklist.php
%%WWWDIR%%/drivers/cmd_learn.php
%%WWWDIR%%/drivers/dir_learn.php
%%WWWDIR%%/drivers/edit_headers.php
%%WWWDIR%%/drivers/email_learn.php
%%WWWDIR%%/drivers/sa_blacklist.php
%%WWWDIR%%/drivers/sa_detach.php
%%WWWDIR%%/localization/ca_ES.inc
%%WWWDIR%%/localization/cs_CZ.inc
%%WWWDIR%%/localization/de_CH.inc
%%WWWDIR%%/localization/de_DE.inc
%%WWWDIR%%/localization/en_GB.inc
%%WWWDIR%%/localization/en_US.inc
%%WWWDIR%%/localization/es_AR.inc
%%WWWDIR%%/localization/es_ES.inc
%%WWWDIR%%/localization/fa_IR.inc
%%WWWDIR%%/localization/fr_FR.inc
%%WWWDIR%%/localization/gl_ES.inc
%%WWWDIR%%/localization/hu_HU.inc
%%WWWDIR%%/localization/it_IT.inc
%%WWWDIR%%/localization/ja_JP.inc
%%WWWDIR%%/localization/lv_LV.inc
%%WWWDIR%%/localization/nl_NL.inc
%%WWWDIR%%/localization/pl_PL.inc
%%WWWDIR%%/localization/pt_BR.inc
%%WWWDIR%%/localization/ro_RO.inc
%%WWWDIR%%/localization/ru_RU.inc
%%WWWDIR%%/localization/tr_TR.inc
%%WWWDIR%%/localization/zh_TW.inc
%%WWWDIR%%/markasjunk2.js
%%WWWDIR%%/markasjunk2.php
%%WWWDIR%%/skins/classic/images/mail_toolbar.png
%%WWWDIR%%/skins/classic/images/messageactions.png
%%WWWDIR%%/skins/classic/markasjunk2.css
%%WWWDIR%%/skins/larry/images/mail_toolbar.png
%%WWWDIR%%/skins/larry/images/messageactions.png
%%WWWDIR%%/skins/larry/markasjunk2.css