1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00

Sieve Mail Filters for Squirrelmail (avelsieve) is a plugin for

creating server-side filtering scripts on RFC 3028 compliant servers
including Cyrus IMAP, DBMail, Dovecote and Exim 4.x.

WWW: http://www.squirrelmail.org

- Neil Darlow
neil@darlow.co.uk

PR:		ports/114173
Submitted by:	Neil Darlow <neil at darlow.co.uk>
This commit is contained in:
Martin Wilke 2007-07-01 21:26:31 +00:00
parent a138d284c8
commit f25f465b9e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=194583
6 changed files with 278 additions and 0 deletions

View File

@ -570,6 +570,7 @@
SUBDIR += spruce
SUBDIR += sqlgrey
SUBDIR += squirrelmail
SUBDIR += squirrelmail-avelsieve-plugin
SUBDIR += squirrelmail-change_ldappass-plugin
SUBDIR += squirrelmail-compatibility-plugin
SUBDIR += squirrelmail-compatibility-plugin1

View File

@ -0,0 +1,82 @@
# New ports collection makefile for: squirrelmail-avelsieve-plugin
# Date created: 28 Jun 2007
# Whom: Neil Darlow <neil@darlow.co.uk>
#
# $FreeBSD$
PORTNAME= avelsieve
PORTVERSION= 1.9.7
CATEGORIES= mail www
MASTER_SITES= http://www.squirrelmail.org/plugins/
PKGNAMEPREFIX= squirrelmail-
PKGNAMESUFFIX= -plugin
DIST_SUBDIR= squirrelmail
MAINTAINER= neil@darlow.co.uk
COMMENT= Interface to create server-side Sieve scripts
RUN_DEPENDS= ${SQUIRRELDIR}/index.php:${PORTSDIR}/mail/squirrelmail
SQUIRREL_PLUGIN_NAME= ${PORTNAME}
.ifdef SQUIRRELDIR
PLIST_SUB+= SQUIRRELDIR=${SQUIRRELDIR}
SUB_LIST+= SQUIRRELDIR=${SQUIRRELDIR}
.else
. ifndef WITHOUT_WWWDIR
SQUIRRELDIR= ${PREFIX}/www/squirrelmail
PLIST_SUB+= SQUIRRELDIR=www/squirrelmail
SUB_LIST+= SQUIRRELDIR=www/squirrelmail
. else
SQUIRRELDIR= ${PREFIX}/squirrelmail
PLIST_SUB+= SQUIRRELDIR=squirrelmail
SUB_LIST+= SQUIRRELDIR=squirrelmail
. endif
.endif
PLIST_SUB+= SQUIRREL_PLUGIN_NAME=${SQUIRREL_PLUGIN_NAME}
SUB_LIST+= SQUIRREL_PLUGIN_NAME=${SQUIRREL_PLUGIN_NAME}
SUB_FILES= pkg-message
NO_BUILD= yes
NO_WRKSUBDIR= yes
USE_PERL5_BUILD= yes
WANT_PHP_WEB= yes
.include <bsd.port.pre.mk>
pre-everything::
@${ECHO} ""
.ifndef WITHOUT_ACTIVATE
@${ECHO} "Activating plug-in in SquirrelMail after installation."
@${ECHO} "If you don't want to automatically activate the plug-in set"
@${ECHO} "WITHOUT_ACTIVATE=yes"
.else
@${ECHO} "NOT Activating plug-in in SquirrelMail after installation."
@${ECHO} "If you want to automatically activate the plug-in unset"
@${ECHO} "WITHOUT_ACTIVATE"
.endif
@${ECHO} ""
pre-install:
${RM} -Rf ${WRKSRC}/${SQUIRREL_PLUGIN_NAME}/po
${FIND} ${WRKSRC}/${SQUIRREL_PLUGIN_NAME} -type f \
\( -name '.cvsignore' -o -name '*.bak' \) -exec ${RM} '{}' ';'
do-install:
${CP} -R ${WRKSRC}/${SQUIRREL_PLUGIN_NAME} ${SQUIRRELDIR}/plugins
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${SQUIRRELDIR}/plugins/${SQUIRREL_PLUGIN_NAME}
post-install:
.ifndef WITHOUT_ACTIVATE
.if exists( ${SQUIRRELDIR}/config/config.php )
@${ECHO} "Activating plug-in in SquirrelMail"
${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME}
.endif
.else
@${ECHO} "To activate the plug-in in SquirrelMail use"
@${ECHO} "${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME}"
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>

View File

@ -0,0 +1,3 @@
MD5 (squirrelmail/avelsieve-1.9.7.tar.gz) = c5666a412533c1a94efe8132e77d7185
SHA256 (squirrelmail/avelsieve-1.9.7.tar.gz) = ee40d391d1098788fb0df467144cd39f57596792511fa427ceecf82eff732657
SIZE (squirrelmail/avelsieve-1.9.7.tar.gz) = 318089

View File

@ -0,0 +1,8 @@
*** IMPORTANT *** IMPORTANT *** IMPORTANT ***
To configure the plugin, please copy
%%PREFIX%%/%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/config/config_sample.php to
%%PREFIX%%/%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/config/config.php
then review, and modify, its content for your environment.
*** IMPORTANT *** IMPORTANT *** IMPORTANT ***

View File

@ -0,0 +1,8 @@
Sieve Mail Filters for Squirrelmail (avelsieve) is a plugin for
creating server-side filtering scripts on RFC 3028 compliant servers
including Cyrus IMAP, DBMail, Dovecote and Exim 4.x.
WWW: http://www.squirrelmail.org
- Neil Darlow
neil@darlow.co.uk

View File

@ -0,0 +1,176 @@
@unexec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --remove-plugin %%SQUIRREL_PLUGIN_NAME%%; fi
%%SQUIRRELDIR%%/plugins/avelsieve/locale/zh_CN/LC_MESSAGES/avelsieve.po
%%SQUIRRELDIR%%/plugins/avelsieve/locale/zh_CN/LC_MESSAGES/avelsieve.mo
%%SQUIRRELDIR%%/plugins/avelsieve/locale/ru_RU/LC_MESSAGES/avelsieve.po
%%SQUIRRELDIR%%/plugins/avelsieve/locale/ru_RU/LC_MESSAGES/avelsieve.mo
%%SQUIRRELDIR%%/plugins/avelsieve/locale/ro_RO/LC_MESSAGES/avelsieve.po
%%SQUIRRELDIR%%/plugins/avelsieve/locale/ro_RO/LC_MESSAGES/avelsieve.mo
%%SQUIRRELDIR%%/plugins/avelsieve/locale/pt_BR/LC_MESSAGES/avelsieve.po
%%SQUIRRELDIR%%/plugins/avelsieve/locale/pt_BR/LC_MESSAGES/avelsieve.mo
%%SQUIRRELDIR%%/plugins/avelsieve/locale/pl_PL/LC_MESSAGES/avelsieve.po
%%SQUIRRELDIR%%/plugins/avelsieve/locale/pl_PL/LC_MESSAGES/avelsieve.mo
%%SQUIRRELDIR%%/plugins/avelsieve/locale/nl_NL/LC_MESSAGES/avelsieve.po
%%SQUIRRELDIR%%/plugins/avelsieve/locale/nl_NL/LC_MESSAGES/avelsieve.mo
%%SQUIRRELDIR%%/plugins/avelsieve/locale/nb_NO/LC_MESSAGES/avelsieve.po
%%SQUIRRELDIR%%/plugins/avelsieve/locale/nb_NO/LC_MESSAGES/avelsieve.mo
%%SQUIRRELDIR%%/plugins/avelsieve/locale/lt_LT/LC_MESSAGES/avelsieve.po
%%SQUIRRELDIR%%/plugins/avelsieve/locale/lt_LT/LC_MESSAGES/avelsieve.mo
%%SQUIRRELDIR%%/plugins/avelsieve/locale/it_IT/LC_MESSAGES/avelsieve_lorenzo.po
%%SQUIRRELDIR%%/plugins/avelsieve/locale/it_IT/LC_MESSAGES/avelsieve.po
%%SQUIRRELDIR%%/plugins/avelsieve/locale/it_IT/LC_MESSAGES/avelsieve.mo
%%SQUIRRELDIR%%/plugins/avelsieve/locale/is_IS/LC_MESSAGES/avelsieve.po
%%SQUIRRELDIR%%/plugins/avelsieve/locale/is_IS/LC_MESSAGES/avelsieve.mo
%%SQUIRRELDIR%%/plugins/avelsieve/locale/fr_FR/LC_MESSAGES/avelsieve.po
%%SQUIRRELDIR%%/plugins/avelsieve/locale/fr_FR/LC_MESSAGES/avelsieve.mo
%%SQUIRRELDIR%%/plugins/avelsieve/locale/fi_FI/LC_MESSAGES/avelsieve.po
%%SQUIRRELDIR%%/plugins/avelsieve/locale/fi_FI/LC_MESSAGES/avelsieve.mo
%%SQUIRRELDIR%%/plugins/avelsieve/locale/es_ES/LC_MESSAGES/avelsieve.po
%%SQUIRRELDIR%%/plugins/avelsieve/locale/es_ES/LC_MESSAGES/avelsieve.mo
%%SQUIRRELDIR%%/plugins/avelsieve/locale/el_GR/LC_MESSAGES/avelsieve.po
%%SQUIRRELDIR%%/plugins/avelsieve/locale/el_GR/LC_MESSAGES/avelsieve.mo
%%SQUIRRELDIR%%/plugins/avelsieve/locale/de_DE/LC_MESSAGES/avelsieve.po
%%SQUIRRELDIR%%/plugins/avelsieve/locale/de_DE/LC_MESSAGES/avelsieve.mo
%%SQUIRRELDIR%%/plugins/avelsieve/locale/cs_CZ/LC_MESSAGES/avelsieve.po
%%SQUIRRELDIR%%/plugins/avelsieve/locale/cs_CZ/LC_MESSAGES/avelsieve.mo
%%SQUIRRELDIR%%/plugins/avelsieve/locale/bg_BG/LC_MESSAGES/avelsieve.po
%%SQUIRRELDIR%%/plugins/avelsieve/locale/bg_BG/LC_MESSAGES/avelsieve.mo
%%SQUIRRELDIR%%/plugins/avelsieve/include/support.inc.php
%%SQUIRRELDIR%%/plugins/avelsieve/include/standalone_html.inc.php
%%SQUIRRELDIR%%/plugins/avelsieve/include/standalone.inc.php
%%SQUIRRELDIR%%/plugins/avelsieve/include/spamrule.inc.php
%%SQUIRRELDIR%%/plugins/avelsieve/include/sieve_getrule.inc.php
%%SQUIRRELDIR%%/plugins/avelsieve/include/sieve_buildrule.inc.php
%%SQUIRRELDIR%%/plugins/avelsieve/include/sieve_actions.inc.php
%%SQUIRRELDIR%%/plugins/avelsieve/include/sieve.inc.php
%%SQUIRRELDIR%%/plugins/avelsieve/include/search_integration.inc.php
%%SQUIRRELDIR%%/plugins/avelsieve/include/process_user_input.inc.php
%%SQUIRRELDIR%%/plugins/avelsieve/include/message_commands.inc.php
%%SQUIRRELDIR%%/plugins/avelsieve/include/managesieve_wrapper.inc.php
%%SQUIRRELDIR%%/plugins/avelsieve/include/managesieve.lib.php
%%SQUIRRELDIR%%/plugins/avelsieve/include/html_rulestable.inc.php
%%SQUIRRELDIR%%/plugins/avelsieve/include/html_ruleedit_wizard.inc.php
%%SQUIRRELDIR%%/plugins/avelsieve/include/html_ruleedit.inc.php
%%SQUIRRELDIR%%/plugins/avelsieve/include/html_main.inc.php
%%SQUIRRELDIR%%/plugins/avelsieve/include/dumpr.php
%%SQUIRRELDIR%%/plugins/avelsieve/include/constants.inc.php
%%SQUIRRELDIR%%/plugins/avelsieve/include/DO_Sieve_Skeleton.class.php
%%SQUIRRELDIR%%/plugins/avelsieve/include/DO_Sieve_PearManageSieve.class.php
%%SQUIRRELDIR%%/plugins/avelsieve/include/DO_Sieve_ManageSieve.class.php
%%SQUIRRELDIR%%/plugins/avelsieve/include/DO_Sieve_File.class.php
%%SQUIRRELDIR%%/plugins/avelsieve/include/DO_Sieve.class.php
%%SQUIRRELDIR%%/plugins/avelsieve/images/warning_small.png
%%SQUIRRELDIR%%/plugins/avelsieve/images/warning.png
%%SQUIRRELDIR%%/plugins/avelsieve/images/stop.gif
%%SQUIRRELDIR%%/plugins/avelsieve/images/stock_disconnect.png
%%SQUIRRELDIR%%/plugins/avelsieve/images/plain_obsolete/up.png
%%SQUIRRELDIR%%/plugins/avelsieve/images/plain_obsolete/edit.png
%%SQUIRRELDIR%%/plugins/avelsieve/images/plain_obsolete/dup.png
%%SQUIRRELDIR%%/plugins/avelsieve/images/plain_obsolete/down.png
%%SQUIRRELDIR%%/plugins/avelsieve/images/plain_obsolete/del.png
%%SQUIRRELDIR%%/plugins/avelsieve/images/nr.png
%%SQUIRRELDIR%%/plugins/avelsieve/images/mail.png
%%SQUIRRELDIR%%/plugins/avelsieve/images/bluecurve_24x24/up.png
%%SQUIRRELDIR%%/plugins/avelsieve/images/bluecurve_24x24/up.gif
%%SQUIRRELDIR%%/plugins/avelsieve/images/bluecurve_24x24/top.png
%%SQUIRRELDIR%%/plugins/avelsieve/images/bluecurve_24x24/top.gif
%%SQUIRRELDIR%%/plugins/avelsieve/images/bluecurve_24x24/edit.png
%%SQUIRRELDIR%%/plugins/avelsieve/images/bluecurve_24x24/edit.gif
%%SQUIRRELDIR%%/plugins/avelsieve/images/bluecurve_24x24/dup.png
%%SQUIRRELDIR%%/plugins/avelsieve/images/bluecurve_24x24/dup.gif
%%SQUIRRELDIR%%/plugins/avelsieve/images/bluecurve_24x24/down.png
%%SQUIRRELDIR%%/plugins/avelsieve/images/bluecurve_24x24/down.gif
%%SQUIRRELDIR%%/plugins/avelsieve/images/bluecurve_24x24/del.png
%%SQUIRRELDIR%%/plugins/avelsieve/images/bluecurve_24x24/del.gif
%%SQUIRRELDIR%%/plugins/avelsieve/images/bluecurve_24x24/bottom.png
%%SQUIRRELDIR%%/plugins/avelsieve/images/bluecurve_24x24/bottom.gif
%%SQUIRRELDIR%%/plugins/avelsieve/images/bluecurve_16x16/up.png
%%SQUIRRELDIR%%/plugins/avelsieve/images/bluecurve_16x16/up.gif
%%SQUIRRELDIR%%/plugins/avelsieve/images/bluecurve_16x16/top.png
%%SQUIRRELDIR%%/plugins/avelsieve/images/bluecurve_16x16/top.gif
%%SQUIRRELDIR%%/plugins/avelsieve/images/bluecurve_16x16/edit.png
%%SQUIRRELDIR%%/plugins/avelsieve/images/bluecurve_16x16/edit.gif
%%SQUIRRELDIR%%/plugins/avelsieve/images/bluecurve_16x16/dup.png
%%SQUIRRELDIR%%/plugins/avelsieve/images/bluecurve_16x16/dup.gif
%%SQUIRRELDIR%%/plugins/avelsieve/images/bluecurve_16x16/down.png
%%SQUIRRELDIR%%/plugins/avelsieve/images/bluecurve_16x16/down.gif
%%SQUIRRELDIR%%/plugins/avelsieve/images/bluecurve_16x16/del.png
%%SQUIRRELDIR%%/plugins/avelsieve/images/bluecurve_16x16/del.gif
%%SQUIRRELDIR%%/plugins/avelsieve/images/bluecurve_16x16/bottom.png
%%SQUIRRELDIR%%/plugins/avelsieve/images/bluecurve_16x16/bottom.gif
%%SQUIRRELDIR%%/plugins/avelsieve/images/add.png
%%SQUIRRELDIR%%/plugins/avelsieve/doc/style/avelsieve_meta.css
%%SQUIRRELDIR%%/plugins/avelsieve/doc/notes.html
%%SQUIRRELDIR%%/plugins/avelsieve/doc/highlight_spam.patch
%%SQUIRRELDIR%%/plugins/avelsieve/doc/avelsieve_translation_statistics.html
%%SQUIRRELDIR%%/plugins/avelsieve/doc/TODO.html
%%SQUIRRELDIR%%/plugins/avelsieve/doc/TODO
%%SQUIRRELDIR%%/plugins/avelsieve/doc/REPORTING_BUGS.html
%%SQUIRRELDIR%%/plugins/avelsieve/doc/REPORTING_BUGS
%%SQUIRRELDIR%%/plugins/avelsieve/doc/RELEASE-NOTES.html
%%SQUIRRELDIR%%/plugins/avelsieve/doc/RELEASE-NOTES
%%SQUIRRELDIR%%/plugins/avelsieve/doc/README.html
%%SQUIRRELDIR%%/plugins/avelsieve/doc/README-FIRST.BETA
%%SQUIRRELDIR%%/plugins/avelsieve/doc/README
%%SQUIRRELDIR%%/plugins/avelsieve/doc/NEWS.html
%%SQUIRRELDIR%%/plugins/avelsieve/doc/NEWS
%%SQUIRRELDIR%%/plugins/avelsieve/doc/INSTALL
%%SQUIRRELDIR%%/plugins/avelsieve/doc/DEVELOPMENT
%%SQUIRRELDIR%%/plugins/avelsieve/doc/CREDITS.html
%%SQUIRRELDIR%%/plugins/avelsieve/doc/CREDITS
%%SQUIRRELDIR%%/plugins/avelsieve/config/config_sample.php
%%SQUIRRELDIR%%/plugins/avelsieve/version
%%SQUIRRELDIR%%/plugins/avelsieve/table.php
%%SQUIRRELDIR%%/plugins/avelsieve/setup.php
%%SQUIRRELDIR%%/plugins/avelsieve/manage_scripts.php
%%SQUIRRELDIR%%/plugins/avelsieve/index.php
%%SQUIRRELDIR%%/plugins/avelsieve/edit.php
%%SQUIRRELDIR%%/plugins/avelsieve/addspamrule.php
%%SQUIRRELDIR%%/plugins/avelsieve/addrule.php
@dirrm %%SQUIRRELDIR%%/plugins/avelsieve/locale/zh_CN/LC_MESSAGES
@dirrm %%SQUIRRELDIR%%/plugins/avelsieve/locale/zh_CN
@dirrm %%SQUIRRELDIR%%/plugins/avelsieve/locale/ru_RU/LC_MESSAGES
@dirrm %%SQUIRRELDIR%%/plugins/avelsieve/locale/ru_RU
@dirrm %%SQUIRRELDIR%%/plugins/avelsieve/locale/ro_RO/LC_MESSAGES
@dirrm %%SQUIRRELDIR%%/plugins/avelsieve/locale/ro_RO
@dirrm %%SQUIRRELDIR%%/plugins/avelsieve/locale/pt_BR/LC_MESSAGES
@dirrm %%SQUIRRELDIR%%/plugins/avelsieve/locale/pt_BR
@dirrm %%SQUIRRELDIR%%/plugins/avelsieve/locale/pl_PL/LC_MESSAGES
@dirrm %%SQUIRRELDIR%%/plugins/avelsieve/locale/pl_PL
@dirrm %%SQUIRRELDIR%%/plugins/avelsieve/locale/nn_NO/LC_MESSAGES
@dirrm %%SQUIRRELDIR%%/plugins/avelsieve/locale/nn_NO
@dirrm %%SQUIRRELDIR%%/plugins/avelsieve/locale/nl_NL/LC_MESSAGES
@dirrm %%SQUIRRELDIR%%/plugins/avelsieve/locale/nl_NL
@dirrm %%SQUIRRELDIR%%/plugins/avelsieve/locale/nb_NO/LC_MESSAGES
@dirrm %%SQUIRRELDIR%%/plugins/avelsieve/locale/nb_NO
@dirrm %%SQUIRRELDIR%%/plugins/avelsieve/locale/lt_LT/LC_MESSAGES
@dirrm %%SQUIRRELDIR%%/plugins/avelsieve/locale/lt_LT
@dirrm %%SQUIRRELDIR%%/plugins/avelsieve/locale/it_IT/LC_MESSAGES
@dirrm %%SQUIRRELDIR%%/plugins/avelsieve/locale/it_IT
@dirrm %%SQUIRRELDIR%%/plugins/avelsieve/locale/is_IS/LC_MESSAGES
@dirrm %%SQUIRRELDIR%%/plugins/avelsieve/locale/is_IS
@dirrm %%SQUIRRELDIR%%/plugins/avelsieve/locale/fr_FR/LC_MESSAGES
@dirrm %%SQUIRRELDIR%%/plugins/avelsieve/locale/fr_FR
@dirrm %%SQUIRRELDIR%%/plugins/avelsieve/locale/fi_FI/LC_MESSAGES
@dirrm %%SQUIRRELDIR%%/plugins/avelsieve/locale/fi_FI
@dirrm %%SQUIRRELDIR%%/plugins/avelsieve/locale/es_ES/LC_MESSAGES
@dirrm %%SQUIRRELDIR%%/plugins/avelsieve/locale/es_ES
@dirrm %%SQUIRRELDIR%%/plugins/avelsieve/locale/el_GR/LC_MESSAGES
@dirrm %%SQUIRRELDIR%%/plugins/avelsieve/locale/el_GR
@dirrm %%SQUIRRELDIR%%/plugins/avelsieve/locale/de_DE/LC_MESSAGES
@dirrm %%SQUIRRELDIR%%/plugins/avelsieve/locale/de_DE
@dirrm %%SQUIRRELDIR%%/plugins/avelsieve/locale/cs_CZ/LC_MESSAGES
@dirrm %%SQUIRRELDIR%%/plugins/avelsieve/locale/cs_CZ
@dirrm %%SQUIRRELDIR%%/plugins/avelsieve/locale/bg_BG/LC_MESSAGES
@dirrm %%SQUIRRELDIR%%/plugins/avelsieve/locale/bg_BG
@dirrm %%SQUIRRELDIR%%/plugins/avelsieve/locale
@dirrm %%SQUIRRELDIR%%/plugins/avelsieve/lib
@dirrm %%SQUIRRELDIR%%/plugins/avelsieve/include
@dirrm %%SQUIRRELDIR%%/plugins/avelsieve/images/plain_obsolete
@dirrm %%SQUIRRELDIR%%/plugins/avelsieve/images/bluecurve_24x24
@dirrm %%SQUIRRELDIR%%/plugins/avelsieve/images/bluecurve_16x16
@dirrm %%SQUIRRELDIR%%/plugins/avelsieve/images
@dirrm %%SQUIRRELDIR%%/plugins/avelsieve/doc/style
@dirrm %%SQUIRRELDIR%%/plugins/avelsieve/doc
@dirrmtry %%SQUIRRELDIR%%/plugins/avelsieve/config
@dirrmtry %%SQUIRRELDIR%%/plugins/avelsieve
@exec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --install-plugin %%SQUIRREL_PLUGIN_NAME%%; fi