diff options
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ingo/DESCR | 6 | ||||
-rw-r--r-- | mail/ingo/MESSAGE | 21 | ||||
-rw-r--r-- | mail/ingo/Makefile | 83 | ||||
-rw-r--r-- | mail/ingo/PLIST | 180 | ||||
-rw-r--r-- | mail/ingo/distinfo | 5 | ||||
-rw-r--r-- | mail/ingo/files/ingo.conf.dist | 31 | ||||
-rw-r--r-- | mail/ingo/options.mk | 20 |
7 files changed, 346 insertions, 0 deletions
diff --git a/mail/ingo/DESCR b/mail/ingo/DESCR new file mode 100644 index 00000000000..7a4656f8e1d --- /dev/null +++ b/mail/ingo/DESCR @@ -0,0 +1,6 @@ +Ingo, the "Email Filter Rules Manager", started as a frontend for the Sieve +filter language, and is now a generic and complete filter rule frontend that +currently is able to create Sieve, procmail, maildrop, and IMAP filter rules. +The IMAP filter driver translates the filter rules on demand to IMAP commands, +executed via PHP's IMAP extension and has replaced IMP's internal filtering +code. It is now the default filtering agent in IMP H3 (4.x). diff --git a/mail/ingo/MESSAGE b/mail/ingo/MESSAGE new file mode 100644 index 00000000000..a9842d3876e --- /dev/null +++ b/mail/ingo/MESSAGE @@ -0,0 +1,21 @@ +=========================================================================== +$NetBSD: MESSAGE,v 1.1.1.1 2006/03/31 22:06:34 adrianp Exp $ + +Please refer to the file: + + ${PREFIX}/share/doc/ingo/INSTALL + +on how to setup your Ingo installation. You need to at least edit + + ${PREFIX}/share/horde/config/registry.php + +to enable Ingo in the horde framework. You will also need to configure Ingo +by using the Horde administrative interface. + +Finally you will also need to make Ingo accessible through your HTTP server. +If you are running Apache and ap-php, then you can add the following lines +to httpd.conf: + + Include ${PKG_SYSCONFDIR}/ingo.conf + +=========================================================================== diff --git a/mail/ingo/Makefile b/mail/ingo/Makefile new file mode 100644 index 00000000000..17a8b98b4df --- /dev/null +++ b/mail/ingo/Makefile @@ -0,0 +1,83 @@ +# $NetBSD: Makefile,v 1.1.1.1 2006/03/31 22:06:34 adrianp Exp $ + +DISTNAME= ingo-h3-${INGOVER} +PKGNAME= ingo-${INGOVER} +CATEGORIES= mail www +MASTER_SITES= ftp://ftp.horde.org/pub/ingo/ + +MAINTAINER= adrianp@NetBSD.org +HOMEPAGE= http://www.horde.org/ingo/ +COMMENT= Horde based generic and complete mail filter rule frontend + +DEPENDS+= horde>=3.0.0:../../www/horde3 + +.include "../../mk/bsd.prefs.mk" + +DOCDIR= ${PREFIX}/share/doc/ingo +EGDIR= ${PREFIX}/share/examples/ingo +HORDEDIR= ${PREFIX}/share/horde +INGODIR= ${HORDEDIR}/ingo +INGOVER= 1.1 +PAXDIRS= lib locale po scripts templates themes + +MESSAGE_SUBST+= INGODIR=${INGODIR:Q} +MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR:Q} + +PKG_SYSCONFSUBDIR?= httpd +USE_PKGINSTALL= YES + +SUBST_CLASSES+= files +SUBST_STAGE.files= post-build +SUBST_FILES.files= ingo.conf.dist +SUBST_SED.files= -e "s|@INGODIR@|${INGODIR}|g" +SUBST_MESSAGE.files= Fixing configuration files. + +CONF_FILES= ${EGDIR}/ingo.conf ${PKG_SYSCONFDIR}/ingo.conf +CONF_FILES_PERMS+= ${INGODIR}/config/conf.xml.dist \ + ${INGODIR}/config/conf.xml \ + ${APACHE_USER} ${ROOT_GROUP} 0440 +CONF_FILES_PERMS+= ${INGODIR}/config/backends.php.dist \ + ${INGODIR}/config/backends.php \ + ${APACHE_USER} ${ROOT_GROUP} 0440 +CONF_FILES_PERMS+= ${INGODIR}/config/fields.php.dist \ + ${INGODIR}/config/fields.php \ + ${APACHE_USER} ${ROOT_GROUP} 0440 +CONF_FILES_PERMS+= ${INGODIR}/config/prefs.php.dist \ + ${INGODIR}/config/prefs.php \ + ${APACHE_USER} ${ROOT_GROUP} 0440 + +.include "options.mk" + +do-build: + @${CP} ${FILESDIR}/ingo.conf.dist ${WRKSRC}/ingo.conf.dist + @${CP} ${WRKSRC}/config/conf.xml ${WRKSRC}/config/conf.xml.dist + @${FIND} ${WRKSRC} -name .htaccess -print | ${XARGS} ${RM} -f + +do-install: + ${INSTALL_DATA_DIR} ${DOCDIR} + ${INSTALL_DATA_DIR} ${EGDIR} + ${INSTALL_DATA_DIR} ${INGODIR} + ${INSTALL_DATA_DIR} ${INGODIR}/config + ${INSTALL_DATA} ${WRKSRC}/ingo.conf.dist ${EGDIR}/ingo.conf + ${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/docs/INSTALL ${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/docs/RELEASE_NOTES ${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/docs/UPGRADING ${DOCDIR} + +. for d in ${PAXDIRS} + ${INSTALL_DATA_DIR} ${INGODIR}/${d} +. endfor + +. for d in ${PAXDIRS} + @cd ${WRKSRC}/${d} && ${PAX} -rwpma . ${INGODIR}/${d} +. endfor + + ${INSTALL_DATA} ${WRKSRC}/config/*.dist ${INGODIR}/config + ${INSTALL_DATA} ${WRKSRC}/*.php ${INGODIR} + @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${INGODIR} + @${FIND} ${INGODIR} -type d -print | ${XARGS} ${CHMOD} ${PKGDIRMODE} + @${FIND} ${INGODIR} -type f -print | ${XARGS} ${CHMOD} ${SHAREMODE} + @${CHOWN} ${APACHE_USER}:${SHAREGRP} ${INGODIR}/config + @${CHMOD} 0750 ${INGODIR}/config + +.include "../../mk/bsd.pkg.mk" diff --git a/mail/ingo/PLIST b/mail/ingo/PLIST new file mode 100644 index 00000000000..d05a3f532fb --- /dev/null +++ b/mail/ingo/PLIST @@ -0,0 +1,180 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2006/03/31 22:06:34 adrianp Exp $ +share/doc/ingo/INSTALL +share/doc/ingo/README +share/doc/ingo/RELEASE_NOTES +share/doc/ingo/UPGRADING +share/horde/ingo/blacklist.php +share/horde/ingo/config/backends.php.dist +share/horde/ingo/config/conf.xml.dist +share/horde/ingo/config/fields.php.dist +share/horde/ingo/config/prefs.php.dist +share/horde/ingo/filters.php +share/horde/ingo/forward.php +share/horde/ingo/index.php +share/horde/ingo/lib/Block/overview.php +share/horde/ingo/lib/Driver.php +share/horde/ingo/lib/Driver/ldap.php +share/horde/ingo/lib/Driver/null.php +share/horde/ingo/lib/Driver/timsieved.php +share/horde/ingo/lib/Driver/vfs.php +share/horde/ingo/lib/IMAP/Search.php +share/horde/ingo/lib/Ingo.php +share/horde/ingo/lib/Script.php +share/horde/ingo/lib/Script/imap.php +share/horde/ingo/lib/Script/maildrop.php +share/horde/ingo/lib/Script/procmail.php +share/horde/ingo/lib/Script/sieve.php +share/horde/ingo/lib/Session.php +share/horde/ingo/lib/Storage.php +share/horde/ingo/lib/Storage/prefs.php +share/horde/ingo/lib/api.php +share/horde/ingo/lib/base.php +share/horde/ingo/lib/version.php +share/horde/ingo/locale/cs_CZ/LC_MESSAGES/ingo.mo +share/horde/ingo/locale/da_DK/LC_MESSAGES/ingo.mo +share/horde/ingo/locale/de_DE/LC_MESSAGES/ingo.mo +share/horde/ingo/locale/de_DE/help.xml +share/horde/ingo/locale/en_US/help.xml +share/horde/ingo/locale/es_ES/LC_MESSAGES/ingo.mo +share/horde/ingo/locale/es_ES/help.xml +share/horde/ingo/locale/fi_FI/LC_MESSAGES/ingo.mo +share/horde/ingo/locale/fi_FI/help.xml +share/horde/ingo/locale/fr_FR/LC_MESSAGES/ingo.mo +share/horde/ingo/locale/hu_HU/LC_MESSAGES/ingo.mo +share/horde/ingo/locale/it_IT/LC_MESSAGES/ingo.mo +share/horde/ingo/locale/ko_KR/LC_MESSAGES/ingo.mo +share/horde/ingo/locale/lt_LT/LC_MESSAGES/ingo.mo +share/horde/ingo/locale/lv_LV/LC_MESSAGES/ingo.mo +share/horde/ingo/locale/lv_LV/help.xml +share/horde/ingo/locale/nb_NO/LC_MESSAGES/ingo.mo +share/horde/ingo/locale/nl_NL/LC_MESSAGES/ingo.mo +share/horde/ingo/locale/pl_PL/LC_MESSAGES/ingo.mo +share/horde/ingo/locale/pt_BR/LC_MESSAGES/ingo.mo +share/horde/ingo/locale/pt_PT/LC_MESSAGES/ingo.mo +share/horde/ingo/locale/ro_RO/LC_MESSAGES/ingo.mo +share/horde/ingo/locale/sv_SE/LC_MESSAGES/ingo.mo +share/horde/ingo/locale/tr_TR/LC_MESSAGES/ingo.mo +share/horde/ingo/locale/zh_TW/LC_MESSAGES/ingo.mo +share/horde/ingo/po/README +share/horde/ingo/po/cs_CZ.po +share/horde/ingo/po/da_DK.po +share/horde/ingo/po/de_DE.po +share/horde/ingo/po/es_ES.po +share/horde/ingo/po/fi_FI.po +share/horde/ingo/po/fr_FR.po +share/horde/ingo/po/hu_HU.po +share/horde/ingo/po/ingo.pot +share/horde/ingo/po/it_IT.po +share/horde/ingo/po/ko_KR.po +share/horde/ingo/po/lt_LT.po +share/horde/ingo/po/lv_LV.po +share/horde/ingo/po/nb_NO.po +share/horde/ingo/po/nl_NL.po +share/horde/ingo/po/pl_PL.po +share/horde/ingo/po/pt_BR.po +share/horde/ingo/po/pt_PT.po +share/horde/ingo/po/ro_RO.po +share/horde/ingo/po/sv_SE.po +share/horde/ingo/po/tr_TR.po +share/horde/ingo/po/zh_TW.po +share/horde/ingo/rule.php +share/horde/ingo/script.php +share/horde/ingo/scripts/convert_imp_filters.php +share/horde/ingo/templates/blacklist/blacklist.inc +share/horde/ingo/templates/common-header.inc +share/horde/ingo/templates/filters/filter-none.inc +share/horde/ingo/templates/filters/filter.html +share/horde/ingo/templates/filters/footer.inc +share/horde/ingo/templates/filters/header.inc +share/horde/ingo/templates/filters/javascript.inc +share/horde/ingo/templates/filters/settings.inc +share/horde/ingo/templates/forward/forward.inc +share/horde/ingo/templates/javascript/new_folder.js +share/horde/ingo/templates/menu.inc +share/horde/ingo/templates/rule/filter.inc +share/horde/ingo/templates/rule/footer.inc +share/horde/ingo/templates/rule/header.inc +share/horde/ingo/templates/script/activate.inc +share/horde/ingo/templates/script/footer.inc +share/horde/ingo/templates/script/header.inc +share/horde/ingo/templates/script/script.inc +share/horde/ingo/templates/vacation/vacation.inc +share/horde/ingo/templates/whitelist/whitelist.inc +share/horde/ingo/test.php +share/horde/ingo/themes/graphics/blacklist.png +share/horde/ingo/themes/graphics/copy.png +share/horde/ingo/themes/graphics/disable.png +share/horde/ingo/themes/graphics/enable.png +share/horde/ingo/themes/graphics/favicon.ico +share/horde/ingo/themes/graphics/forward.png +share/horde/ingo/themes/graphics/ingo.png +share/horde/ingo/themes/graphics/script.png +share/horde/ingo/themes/graphics/vacation.png +share/horde/ingo/themes/graphics/whitelist.png +share/horde/ingo/themes/screen.css +share/horde/ingo/vacation.php +share/horde/ingo/whitelist.php +@dirrm share/horde/ingo/themes/graphics +@dirrm share/horde/ingo/themes +@dirrm share/horde/ingo/templates/whitelist +@dirrm share/horde/ingo/templates/vacation +@dirrm share/horde/ingo/templates/script +@dirrm share/horde/ingo/templates/rule +@dirrm share/horde/ingo/templates/javascript +@dirrm share/horde/ingo/templates/forward +@dirrm share/horde/ingo/templates/filters +@dirrm share/horde/ingo/templates/blacklist +@dirrm share/horde/ingo/templates +@dirrm share/horde/ingo/scripts +@dirrm share/horde/ingo/po +@dirrm share/horde/ingo/locale/zh_TW/LC_MESSAGES +@dirrm share/horde/ingo/locale/zh_TW +@dirrm share/horde/ingo/locale/tr_TR/LC_MESSAGES +@dirrm share/horde/ingo/locale/tr_TR +@dirrm share/horde/ingo/locale/sv_SE/LC_MESSAGES +@dirrm share/horde/ingo/locale/sv_SE +@dirrm share/horde/ingo/locale/ro_RO/LC_MESSAGES +@dirrm share/horde/ingo/locale/ro_RO +@dirrm share/horde/ingo/locale/pt_PT/LC_MESSAGES +@dirrm share/horde/ingo/locale/pt_PT +@dirrm share/horde/ingo/locale/pt_BR/LC_MESSAGES +@dirrm share/horde/ingo/locale/pt_BR +@dirrm share/horde/ingo/locale/pl_PL/LC_MESSAGES +@dirrm share/horde/ingo/locale/pl_PL +@dirrm share/horde/ingo/locale/nl_NL/LC_MESSAGES +@dirrm share/horde/ingo/locale/nl_NL +@dirrm share/horde/ingo/locale/nb_NO/LC_MESSAGES +@dirrm share/horde/ingo/locale/nb_NO +@dirrm share/horde/ingo/locale/lv_LV/LC_MESSAGES +@dirrm share/horde/ingo/locale/lv_LV +@dirrm share/horde/ingo/locale/lt_LT/LC_MESSAGES +@dirrm share/horde/ingo/locale/lt_LT +@dirrm share/horde/ingo/locale/ko_KR/LC_MESSAGES +@dirrm share/horde/ingo/locale/ko_KR +@dirrm share/horde/ingo/locale/it_IT/LC_MESSAGES +@dirrm share/horde/ingo/locale/it_IT +@dirrm share/horde/ingo/locale/hu_HU/LC_MESSAGES +@dirrm share/horde/ingo/locale/hu_HU +@dirrm share/horde/ingo/locale/fr_FR/LC_MESSAGES +@dirrm share/horde/ingo/locale/fr_FR +@dirrm share/horde/ingo/locale/fi_FI/LC_MESSAGES +@dirrm share/horde/ingo/locale/fi_FI +@dirrm share/horde/ingo/locale/es_ES/LC_MESSAGES +@dirrm share/horde/ingo/locale/es_ES +@dirrm share/horde/ingo/locale/en_US +@dirrm share/horde/ingo/locale/de_DE/LC_MESSAGES +@dirrm share/horde/ingo/locale/de_DE +@dirrm share/horde/ingo/locale/da_DK/LC_MESSAGES +@dirrm share/horde/ingo/locale/da_DK +@dirrm share/horde/ingo/locale/cs_CZ/LC_MESSAGES +@dirrm share/horde/ingo/locale/cs_CZ +@dirrm share/horde/ingo/locale +@dirrm share/horde/ingo/lib/Storage +@dirrm share/horde/ingo/lib/Script +@dirrm share/horde/ingo/lib/IMAP +@dirrm share/horde/ingo/lib/Driver +@dirrm share/horde/ingo/lib/Block +@dirrm share/horde/ingo/lib +@unexec ${RMDIR} %D/share/horde/ingo/config 2>/dev/null || ${TRUE} +@unexec ${RMDIR} %D/share/horde/ingo 2>/dev/null || ${TRUE} +@dirrm share/doc/ingo diff --git a/mail/ingo/distinfo b/mail/ingo/distinfo new file mode 100644 index 00000000000..75882e1cc0f --- /dev/null +++ b/mail/ingo/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2006/03/31 22:06:34 adrianp Exp $ + +SHA1 (ingo-h3-1.1.tar.gz) = caab6a99e1c9e00202145e37e0db362065f98330 +RMD160 (ingo-h3-1.1.tar.gz) = c4dee2d16d8fd9b34f041835cd93f4a181ae4450 +Size (ingo-h3-1.1.tar.gz) = 995873 bytes diff --git a/mail/ingo/files/ingo.conf.dist b/mail/ingo/files/ingo.conf.dist new file mode 100644 index 00000000000..2fbbd904659 --- /dev/null +++ b/mail/ingo/files/ingo.conf.dist @@ -0,0 +1,31 @@ +# $NetBSD: ingo.conf.dist,v 1.1.1.1 2006/03/31 22:06:34 adrianp Exp $ +# +# Ingo configuration file fragment for Apache + +# For security, don't serve pages from the Ingo configuration and library +# directories. +# +<Directory "@INGODIR@/config"> + Order deny,allow + Deny from all +</Directory> +<Directory "@INGODIR@/lib"> + Order deny,allow + Deny from all +</Directory> +<Directory "@INGODIR@/locale"> + Order deny,allow + Deny from all +</Directory> +<Directory "@INGODIR@/po"> + Order deny,allow + Deny from all +</Directory> +<Directory "@INGODIR@/scripts"> + Order deny,allow + Deny from all +</Directory> +<Directory "@INGODIR@/templates"> + Order deny,allow + Deny from all +</Directory> diff --git a/mail/ingo/options.mk b/mail/ingo/options.mk new file mode 100644 index 00000000000..f96981bc76b --- /dev/null +++ b/mail/ingo/options.mk @@ -0,0 +1,20 @@ +# $NetBSD: options.mk,v 1.1.1.1 2006/03/31 22:06:34 adrianp Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.ingo +PKG_SUPPORTED_OPTIONS= sieve imap + +.include "../../mk/bsd.options.mk" + +### +### Bring in support for the sieve filtering language +### +.if !empty(PKG_OPTIONS:Msieve) +DEPENDS+= pear-Net_Sieve>=1.0.0:../../net/pear-Net_Sieve +.endif + +### +### Bring in support for an IMAP server +### +.if !empty(PKG_OPTIONS:Mimap) +DEPENDS+= php-imap>4.3.3:../../mail/php-imap +.endif |