summaryrefslogtreecommitdiff
path: root/mail/imp4
diff options
context:
space:
mode:
authoradrianp <adrianp>2005-01-16 21:36:27 +0000
committeradrianp <adrianp>2005-01-16 21:36:27 +0000
commitd8254f0a578da8f7cedbd71a05daeb627227978a (patch)
tree383a00813aecb9acb1bc61c4c37921e3d7bb54d1 /mail/imp4
parentd6e8e3a3d0e6852743df2267ef1c00a01fee8797 (diff)
downloadpkgsrc-d8254f0a578da8f7cedbd71a05daeb627227978a.tar.gz
IMP is a set of PHP scripts that implement an IMAP/POP based webmail system.
Assuming you have an account on a server that supports IMAP/POP, you can use an installation of IMP to check your mail from anywhere that you have web access. This is the 4.x branch of IMP designed to work with Horde 3.x.
Diffstat (limited to 'mail/imp4')
-rw-r--r--mail/imp4/DESCR4
-rw-r--r--mail/imp4/MESSAGE22
-rw-r--r--mail/imp4/Makefile99
-rw-r--r--mail/imp4/PLIST473
-rw-r--r--mail/imp4/distinfo4
-rw-r--r--mail/imp4/files/imp.conf.dist43
-rw-r--r--mail/imp4/options.mk27
7 files changed, 672 insertions, 0 deletions
diff --git a/mail/imp4/DESCR b/mail/imp4/DESCR
new file mode 100644
index 00000000000..2ab31503ce7
--- /dev/null
+++ b/mail/imp4/DESCR
@@ -0,0 +1,4 @@
+IMP is a set of PHP scripts that implement an IMAP/POP based webmail system.
+Assuming you have an account on a server that supports IMAP/POP, you can use
+an installation of IMP to check your mail from anywhere that you have web
+access.
diff --git a/mail/imp4/MESSAGE b/mail/imp4/MESSAGE
new file mode 100644
index 00000000000..10626600a73
--- /dev/null
+++ b/mail/imp4/MESSAGE
@@ -0,0 +1,22 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2005/01/16 21:36:27 adrianp Exp $
+
+Please refer to the file:
+
+ ${PREFIX}/share/doc/imp/INSTALL
+
+on how to setup your IMP installation. You need to at least edit
+
+ ${PREFIX}/share/horde/config/registry.php
+
+to enable IMP in the horde framework. You will also need to configure IMP
+by using the Horde administrative interface.
+
+Finally you will also need to make IMP 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}/horde.conf
+ Include ${PKG_SYSCONFDIR}/imp.conf
+
+===========================================================================
diff --git a/mail/imp4/Makefile b/mail/imp4/Makefile
new file mode 100644
index 00000000000..edf23421ba5
--- /dev/null
+++ b/mail/imp4/Makefile
@@ -0,0 +1,99 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/01/16 21:36:27 adrianp Exp $
+
+DISTNAME= imp-h3-${IMPVER}
+PKGNAME= imp-${IMPVER}
+CATEGORIES= mail www
+MASTER_SITES= ftp://ftp.horde.org/pub/imp/tarballs/
+
+MAINTAINER= adrianp@NetBSD.org
+HOMEPAGE= http://www.horde.org/imp/
+COMMENT= Internet Messaging Program
+
+CONFLICTS+= imp-3.*
+
+DEPENDS+= horde>=3.0.2:../../www/horde3
+DEPENDS+= php-imap>4.3.3:../../mail/php-imap
+
+.include "../../mk/bsd.prefs.mk"
+
+DOCDIR= ${PREFIX}/share/doc/imp
+EGDIR= ${PREFIX}/share/examples/imp
+HORDEDIR= ${PREFIX}/share/horde
+IMPDIR= ${HORDEDIR}/imp
+IMPVER= 4.0.1
+PAXDIRS= lib locale po scripts templates themes
+
+MESSAGE_SUBST+= IMPDIR=${IMPDIR}
+MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR}
+
+USE_PKGINSTALL= YES
+PKG_SYSCONFSUBDIR?= httpd
+
+CONF_FILES= ${EGDIR}/imp.conf ${PKG_SYSCONFDIR}/imp.conf
+CONF_FILES+= ${IMPDIR}/config/servers.php.dist \
+ ${IMPDIR}/config/servers.php
+SUPPORT_FILES_PERMS+= ${IMPDIR}/config/conf.xml.dist \
+ ${IMPDIR}/config/conf.xml \
+ ${APACHE_USER} ${ROOT_GROUP} 0440
+SUPPORT_FILES_PERMS+= ${IMPDIR}/config/filter.txt.dist \
+ ${IMPDIR}/config/filter.txt \
+ ${APACHE_USER} ${ROOT_GROUP} 0440
+SUPPORT_FILES_PERMS+= ${IMPDIR}/config/header.txt.dist \
+ ${IMPDIR}/config/header.txt \
+ ${APACHE_USER} ${ROOT_GROUP} 0440
+SUPPORT_FILES_PERMS+= ${IMPDIR}/config/menu.php.dist \
+ ${IMPDIR}/config/menu.php \
+ ${APACHE_USER} ${ROOT_GROUP} 0440
+SUPPORT_FILES_PERMS+= ${IMPDIR}/config/mime_drivers.php.dist \
+ ${IMPDIR}/config/mime_drivers.php \
+ ${APACHE_USER} ${ROOT_GROUP} 0440
+SUPPORT_FILES_PERMS+= ${IMPDIR}/config/motd.php.dist \
+ ${IMPDIR}/config/motd.php \
+ ${APACHE_USER} ${ROOT_GROUP} 0440
+SUPPORT_FILES_PERMS+= ${IMPDIR}/config/prefs.php.dist \
+ ${IMPDIR}/config/prefs.php \
+ ${APACHE_USER} ${ROOT_GROUP} 0440
+SUPPORT_FILES_PERMS+= ${IMPDIR}/config/trailer.txt.dist \
+ ${IMPDIR}/config/trailer.txt \
+ ${APACHE_USER} ${ROOT_GROUP} 0440
+SPECIAL_PERMS+= ${IMPDIR}/config ${APACHE_USER} ${ROOT_GROUP} 0750
+
+SUBST_CLASSES= files
+SUBST_STAGE.files= post-build
+SUBST_FILES.files= imp.conf.dist
+SUBST_SED.files= -e "s|@IMPDIR@|${IMPDIR}|g"
+SUBST_MESSAGE.files= "Fixing configuration files."
+
+.include "options.mk"
+
+do-build:
+ @${CP} ${FILESDIR}/imp.conf.dist ${WRKSRC}/imp.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} ${IMPDIR}
+ ${INSTALL_DATA_DIR} ${IMPDIR}/config
+ ${INSTALL_DATA} ${WRKSRC}/imp.conf.dist ${EGDIR}/imp.conf
+ ${INSTALL_DATA} ${WRKSRC}/COPYING ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCDIR}
+
+. for d in ${PAXDIRS}
+ ${INSTALL_DATA_DIR} ${IMPDIR}/${d}
+. endfor
+. undef d
+
+. for d in ${PAXDIRS}
+ cd ${WRKSRC}/${d} && ${PAX} -rw . ${IMPDIR}/${d}
+. endfor
+. undef d
+
+ ${INSTALL_DATA} ${WRKSRC}/config/*.dist ${IMPDIR}/config
+ ${INSTALL_DATA} ${WRKSRC}/*.php ${IMPDIR}
+ ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${IMPDIR}
+ ${CHMOD} -R a-w ${IMPDIR}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/mail/imp4/PLIST b/mail/imp4/PLIST
new file mode 100644
index 00000000000..b7143ffb4bf
--- /dev/null
+++ b/mail/imp4/PLIST
@@ -0,0 +1,473 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/01/16 21:36:28 adrianp Exp $
+share/doc/imp/COPYING
+share/doc/imp/README
+share/doc/imp/CHANGES
+share/doc/imp/CREDITS
+share/doc/imp/INSTALL
+share/doc/imp/RELEASE_NOTES
+share/doc/imp/TODO
+share/doc/imp/UPGRADING
+share/horde/imp/acl.php
+share/horde/imp/attachment.php
+share/horde/imp/compose.php
+share/horde/imp/config/conf.xml.dist
+share/horde/imp/config/filter.txt.dist
+share/horde/imp/config/header.txt.dist
+share/horde/imp/config/menu.php.dist
+share/horde/imp/config/mime_drivers.php.dist
+share/horde/imp/config/motd.php.dist
+share/horde/imp/config/prefs.php.dist
+share/horde/imp/config/servers.php.dist
+share/horde/imp/config/trailer.txt.dist
+share/horde/imp/contacts.php
+share/horde/imp/expand.php
+share/horde/imp/fetchmail.php
+share/horde/imp/fetchmailprefs.php
+share/horde/imp/filterprefs.php
+share/horde/imp/folders.php
+share/horde/imp/index.php
+share/horde/imp/lib/Auth/imp.php
+share/horde/imp/lib/Block/summary.php
+share/horde/imp/lib/Block/tree_folders.php
+share/horde/imp/lib/Compose.php
+share/horde/imp/lib/Crypt/PGP.php
+share/horde/imp/lib/Crypt/SMIME.php
+share/horde/imp/lib/Fetchmail.php
+share/horde/imp/lib/Fetchmail/imap.php
+share/horde/imp/lib/Filter.php
+share/horde/imp/lib/Folder.php
+share/horde/imp/lib/IMAP.php
+share/horde/imp/lib/IMAP/Tree.php
+share/horde/imp/lib/IMP.php
+share/horde/imp/lib/Identity/imp.php
+share/horde/imp/lib/MIME/Contents.php
+share/horde/imp/lib/MIME/Headers.php
+share/horde/imp/lib/MIME/Viewer/alternative.php
+share/horde/imp/lib/MIME/Viewer/appledouble.php
+share/horde/imp/lib/MIME/Viewer/enriched.php
+share/horde/imp/lib/MIME/Viewer/html.php
+share/horde/imp/lib/MIME/Viewer/images.php
+share/horde/imp/lib/MIME/Viewer/itip.php
+share/horde/imp/lib/MIME/Viewer/multipart.php
+share/horde/imp/lib/MIME/Viewer/notification.php
+share/horde/imp/lib/MIME/Viewer/partial.php
+share/horde/imp/lib/MIME/Viewer/pgp.php
+share/horde/imp/lib/MIME/Viewer/pkcs7.php
+share/horde/imp/lib/MIME/Viewer/plain.php
+share/horde/imp/lib/MIME/Viewer/related.php
+share/horde/imp/lib/MIME/Viewer/rfc822.php
+share/horde/imp/lib/MIME/Viewer/status.php
+share/horde/imp/lib/MIME/Viewer/tnef.php
+share/horde/imp/lib/MIME/Viewer/zip.php
+share/horde/imp/lib/Mailbox.php
+share/horde/imp/lib/Maillog.php
+share/horde/imp/lib/Maintenance/Task/delete_attachments_monthly.php
+share/horde/imp/lib/Maintenance/Task/delete_sentmail_monthly.php
+share/horde/imp/lib/Maintenance/Task/fetchmail_login.php
+share/horde/imp/lib/Maintenance/Task/purge_trash.php
+share/horde/imp/lib/Maintenance/Task/rename_sentmail_monthly.php
+share/horde/imp/lib/Maintenance/Task/tos_agreement.php
+share/horde/imp/lib/Maintenance/imp.php
+share/horde/imp/lib/Message.php
+share/horde/imp/lib/Notification/Listener/status.php
+share/horde/imp/lib/Quota.php
+share/horde/imp/lib/Quota/command.php
+share/horde/imp/lib/Quota/courier.php
+share/horde/imp/lib/Quota/cyrus.php
+share/horde/imp/lib/Quota/logfile.php
+share/horde/imp/lib/Quota/mdaemon.php
+share/horde/imp/lib/Quota/mercury32.php
+share/horde/imp/lib/Search.php
+share/horde/imp/lib/Session.php
+share/horde/imp/lib/Spam.php
+share/horde/imp/lib/VFolder.php
+share/horde/imp/lib/api.php
+share/horde/imp/lib/base.php
+share/horde/imp/lib/prefs.php
+share/horde/imp/lib/version.php
+share/horde/imp/locale/ar_OM/LC_MESSAGES/imp.mo
+share/horde/imp/locale/ar_SY/LC_MESSAGES/imp.mo
+share/horde/imp/locale/bg_BG/LC_MESSAGES/imp.mo
+share/horde/imp/locale/ca_ES/LC_MESSAGES/imp.mo
+share/horde/imp/locale/ca_ES/help.xml
+share/horde/imp/locale/cs_CZ/LC_MESSAGES/imp.mo
+share/horde/imp/locale/cs_CZ/help.xml
+share/horde/imp/locale/da_DK/LC_MESSAGES/imp.mo
+share/horde/imp/locale/da_DK/help.xml
+share/horde/imp/locale/de_DE/LC_MESSAGES/imp.mo
+share/horde/imp/locale/de_DE/help.xml
+share/horde/imp/locale/el_GR/LC_MESSAGES/imp.mo
+share/horde/imp/locale/el_GR/help.xml
+share/horde/imp/locale/en_US/help.xml
+share/horde/imp/locale/es_ES/LC_MESSAGES/imp.mo
+share/horde/imp/locale/es_ES/help.xml
+share/horde/imp/locale/et_EE/LC_MESSAGES/imp.mo
+share/horde/imp/locale/et_EE/help.xml
+share/horde/imp/locale/fa_IR/LC_MESSAGES/imp.mo
+share/horde/imp/locale/fi_FI/LC_MESSAGES/imp.mo
+share/horde/imp/locale/fi_FI/help.xml
+share/horde/imp/locale/fr_FR/LC_MESSAGES/imp.mo
+share/horde/imp/locale/fr_FR/help.xml
+share/horde/imp/locale/gl_ES/LC_MESSAGES/imp.mo
+share/horde/imp/locale/hu_HU/LC_MESSAGES/imp.mo
+share/horde/imp/locale/hu_HU/help.xml
+share/horde/imp/locale/id_ID/LC_MESSAGES/imp.mo
+share/horde/imp/locale/is_IS/LC_MESSAGES/imp.mo
+share/horde/imp/locale/it_IT/LC_MESSAGES/imp.mo
+share/horde/imp/locale/it_IT/help.xml
+share/horde/imp/locale/ja_JP/LC_MESSAGES/imp.mo
+share/horde/imp/locale/ko_KR/LC_MESSAGES/imp.mo
+share/horde/imp/locale/ko_KR/help.xml
+share/horde/imp/locale/lt_LT/LC_MESSAGES/imp.mo
+share/horde/imp/locale/lv_LV/LC_MESSAGES/imp.mo
+share/horde/imp/locale/mk_MK/LC_MESSAGES/imp.mo
+share/horde/imp/locale/nb_NO/LC_MESSAGES/imp.mo
+share/horde/imp/locale/nb_NO/help.xml
+share/horde/imp/locale/nl_NL/LC_MESSAGES/imp.mo
+share/horde/imp/locale/nl_NL/help.xml
+share/horde/imp/locale/nn_NO/LC_MESSAGES/imp.mo
+share/horde/imp/locale/pl_PL/LC_MESSAGES/imp.mo
+share/horde/imp/locale/pl_PL/help.xml
+share/horde/imp/locale/pt_BR/LC_MESSAGES/imp.mo
+share/horde/imp/locale/pt_BR/help.xml
+share/horde/imp/locale/pt_PT/LC_MESSAGES/imp.mo
+share/horde/imp/locale/pt_PT/help.xml
+share/horde/imp/locale/ro_RO/LC_MESSAGES/imp.mo
+share/horde/imp/locale/ru_RU/LC_MESSAGES/imp.mo
+share/horde/imp/locale/ru_RU/help.xml
+share/horde/imp/locale/sk_SK/LC_MESSAGES/imp.mo
+share/horde/imp/locale/sk_SK/help.xml
+share/horde/imp/locale/sl_SI/LC_MESSAGES/imp.mo
+share/horde/imp/locale/sv_SE/LC_MESSAGES/imp.mo
+share/horde/imp/locale/sv_SE/help.xml
+share/horde/imp/locale/th_TH/LC_MESSAGES/imp.mo
+share/horde/imp/locale/tr_TR/LC_MESSAGES/imp.mo
+share/horde/imp/locale/uk_UA/LC_MESSAGES/imp.mo
+share/horde/imp/locale/uk_UA/help.xml
+share/horde/imp/locale/zh_CN/LC_MESSAGES/imp.mo
+share/horde/imp/locale/zh_CN/help.xml
+share/horde/imp/locale/zh_TW/LC_MESSAGES/imp.mo
+share/horde/imp/locale/zh_TW/help.xml
+share/horde/imp/login.php
+share/horde/imp/mailbox.php
+share/horde/imp/message.php
+share/horde/imp/pgp.php
+share/horde/imp/po/README
+share/horde/imp/po/ar_OM.po
+share/horde/imp/po/ar_SY.po
+share/horde/imp/po/bg_BG.po
+share/horde/imp/po/ca_ES.po
+share/horde/imp/po/cs_CZ.po
+share/horde/imp/po/da_DK.po
+share/horde/imp/po/de_DE.po
+share/horde/imp/po/el_GR.po
+share/horde/imp/po/es_ES.po
+share/horde/imp/po/et_EE.po
+share/horde/imp/po/fa_IR.po
+share/horde/imp/po/fi_FI.po
+share/horde/imp/po/fr_FR.po
+share/horde/imp/po/gl_ES.po
+share/horde/imp/po/hu_HU.po
+share/horde/imp/po/id_ID.po
+share/horde/imp/po/imp.pot
+share/horde/imp/po/is_IS.po
+share/horde/imp/po/it_IT.po
+share/horde/imp/po/ja_JP.po
+share/horde/imp/po/ko_KR.po
+share/horde/imp/po/lt_LT.po
+share/horde/imp/po/lv_LV.po
+share/horde/imp/po/mk_MK.po
+share/horde/imp/po/nb_NO.po
+share/horde/imp/po/nl_NL.po
+share/horde/imp/po/nn_NO.po
+share/horde/imp/po/pl_PL.po
+share/horde/imp/po/pt_BR.po
+share/horde/imp/po/pt_PT.po
+share/horde/imp/po/ro_RO.po
+share/horde/imp/po/ru_RU.po
+share/horde/imp/po/sk_SK.po
+share/horde/imp/po/sl_SI.po
+share/horde/imp/po/sv_SE.po
+share/horde/imp/po/th_TH.po
+share/horde/imp/po/tr_TR.po
+share/horde/imp/po/uk_UA.po
+share/horde/imp/po/zh_CN.po
+share/horde/imp/po/zh_TW.po
+share/horde/imp/recompose.php
+share/horde/imp/redirect.php
+share/horde/imp/scripts/Imp.reg
+share/horde/imp/scripts/custom_login.php
+share/horde/imp/scripts/singlescript.php
+share/horde/imp/search.php
+share/horde/imp/smime.php
+share/horde/imp/spelling.php
+share/horde/imp/templates/acl/acl.inc
+share/horde/imp/templates/common-header.inc
+share/horde/imp/templates/compose/attachments.inc
+share/horde/imp/templates/compose/attachments.js
+share/horde/imp/templates/compose/compose.inc
+share/horde/imp/templates/compose/compose.js
+share/horde/imp/templates/compose/compose_expand.js
+share/horde/imp/templates/compose/encrypt_list.inc
+share/horde/imp/templates/compose/expand.inc
+share/horde/imp/templates/compose/recompose.inc
+share/horde/imp/templates/compose/redirect.inc
+share/horde/imp/templates/compose/spelling.inc
+share/horde/imp/templates/compose/spelling.js
+share/horde/imp/templates/compose/success.inc
+share/horde/imp/templates/contacts/contacts.inc
+share/horde/imp/templates/fetchmail/account_select.inc
+share/horde/imp/templates/fetchmail/driver_select.inc
+share/horde/imp/templates/fetchmail/fetchmail.inc
+share/horde/imp/templates/fetchmail/manage.inc
+share/horde/imp/templates/fetchmail/top.inc
+share/horde/imp/templates/filters/notactive.inc
+share/horde/imp/templates/filters/prefs.inc
+share/horde/imp/templates/folders/actions.inc
+share/horde/imp/templates/folders/folders.html
+share/horde/imp/templates/folders/foot.inc
+share/horde/imp/templates/folders/head.inc
+share/horde/imp/templates/folders/import.inc
+share/horde/imp/templates/folders/javascript.inc
+share/horde/imp/templates/javascript/open_compose_win.js
+share/horde/imp/templates/javascript/open_print_win.js
+share/horde/imp/templates/login/login.inc
+share/horde/imp/templates/mailbox/actions.inc
+share/horde/imp/templates/mailbox/actions_deleted.inc
+share/horde/imp/templates/mailbox/alert.inc
+share/horde/imp/templates/mailbox/empty_mailbox.inc
+share/horde/imp/templates/mailbox/footer.inc
+share/horde/imp/templates/mailbox/header.inc
+share/horde/imp/templates/mailbox/javascript.inc
+share/horde/imp/templates/mailbox/legend.inc
+share/horde/imp/templates/mailbox/mailbox.html
+share/horde/imp/templates/mailbox/message_footers.inc
+share/horde/imp/templates/mailbox/message_headers.inc
+share/horde/imp/templates/mailbox/navbar.inc
+share/horde/imp/templates/mailbox/searchfolder.inc
+share/horde/imp/templates/menu.inc
+share/horde/imp/templates/message/headers.inc
+share/horde/imp/templates/message/javascript.inc
+share/horde/imp/templates/message/message.inc
+share/horde/imp/templates/message/navbar_actions.inc
+share/horde/imp/templates/message/navbar_navigate.inc
+share/horde/imp/templates/message/navbar_top.inc
+share/horde/imp/templates/message/print.inc
+share/horde/imp/templates/pgp/import_key.inc
+share/horde/imp/templates/pgp/notactive.inc
+share/horde/imp/templates/pgp/open_pgp_import.js
+share/horde/imp/templates/pgp/open_pgp_win.js
+share/horde/imp/templates/pgp/passphrase.inc
+share/horde/imp/templates/pgp/pgp.inc
+share/horde/imp/templates/prefs/encryptselect.inc
+share/horde/imp/templates/prefs/folderselect.inc
+share/horde/imp/templates/prefs/initialpageselect.inc
+share/horde/imp/templates/prefs/sentmailselect.inc
+share/horde/imp/templates/prefs/sourceselect.inc
+share/horde/imp/templates/prefs/spamselect.inc
+share/horde/imp/templates/prefs/trashselect.inc
+share/horde/imp/templates/quota/quota.inc
+share/horde/imp/templates/search/fields.inc
+share/horde/imp/templates/search/header.inc
+share/horde/imp/templates/search/javascript.inc
+share/horde/imp/templates/search/main.inc
+share/horde/imp/templates/smime/import_key.inc
+share/horde/imp/templates/smime/notactive.inc
+share/horde/imp/templates/smime/open_smime_import.js
+share/horde/imp/templates/smime/open_smime_win.js
+share/horde/imp/templates/smime/passphrase.inc
+share/horde/imp/templates/smime/smime.inc
+share/horde/imp/templates/thread/bottom.inc
+share/horde/imp/templates/thread/thread.html
+share/horde/imp/templates/thread/top.inc
+share/horde/imp/test.php
+share/horde/imp/themes/azur/screen.css
+share/horde/imp/themes/bluemoon/screen.css
+share/horde/imp/themes/bluewhite/screen.css
+share/horde/imp/themes/brown/screen.css
+share/horde/imp/themes/burntorange/screen.css
+share/horde/imp/themes/cherry/screen.css
+share/horde/imp/themes/gennevilliers/screen.css
+share/horde/imp/themes/graphics/addressbook-blue.png
+share/horde/imp/themes/graphics/addressbook-red.png
+share/horde/imp/themes/graphics/apple.png
+share/horde/imp/themes/graphics/attachment.png
+share/horde/imp/themes/graphics/compose.png
+share/horde/imp/themes/graphics/empty_trash.png
+share/horde/imp/themes/graphics/expand.png
+share/horde/imp/themes/graphics/favicon.ico
+share/horde/imp/themes/graphics/fetchmail.png
+share/horde/imp/themes/graphics/filters.png
+share/horde/imp/themes/graphics/folders/drafts.png
+share/horde/imp/themes/graphics/folders/folder.png
+share/horde/imp/themes/graphics/folders/folder_open.png
+share/horde/imp/themes/graphics/folders/inbox.png
+share/horde/imp/themes/graphics/folders/sent.png
+share/horde/imp/themes/graphics/folders/templates.png
+share/horde/imp/themes/graphics/folders/trash.png
+share/horde/imp/themes/graphics/forward.png
+share/horde/imp/themes/graphics/imp.png
+share/horde/imp/themes/graphics/mail_answered.png
+share/horde/imp/themes/graphics/mail_deleted.png
+share/horde/imp/themes/graphics/mail_draft.png
+share/horde/imp/themes/graphics/mail_flagged.png
+share/horde/imp/themes/graphics/mail_personal.png
+share/horde/imp/themes/graphics/mail_priority_high.png
+share/horde/imp/themes/graphics/mail_priority_low.png
+share/horde/imp/themes/graphics/mail_unseen.png
+share/horde/imp/themes/graphics/manage_attachments.png
+share/horde/imp/themes/graphics/mime/compressed.png
+share/horde/imp/themes/graphics/mime/encryption.png
+share/horde/imp/themes/graphics/mime/html.png
+share/horde/imp/themes/graphics/mime/image.png
+share/horde/imp/themes/graphics/mime/itip.png
+share/horde/imp/themes/graphics/mime/mail.png
+share/horde/imp/themes/graphics/mime/text.png
+share/horde/imp/themes/graphics/newmail.png
+share/horde/imp/themes/graphics/reply.png
+share/horde/imp/themes/graphics/shared.png
+share/horde/imp/themes/graphics/signed.png
+share/horde/imp/themes/graphics/spacer_red.png
+share/horde/imp/themes/graphics/spellcheck.png
+share/horde/imp/themes/green/screen.css
+share/horde/imp/themes/grey/screen.css
+share/horde/imp/themes/lavander/screen.css
+share/horde/imp/themes/postnuke/screen.css
+share/horde/imp/themes/screen.css
+share/horde/imp/themes/simplex/screen.css
+share/horde/imp/themes/sun/screen.css
+share/horde/imp/thread.php
+share/horde/imp/view.php
+@dirrm share/horde/imp/themes/sun
+@dirrm share/horde/imp/themes/simplex
+@dirrm share/horde/imp/themes/postnuke
+@dirrm share/horde/imp/themes/lavander
+@dirrm share/horde/imp/themes/grey
+@dirrm share/horde/imp/themes/green
+@dirrm share/horde/imp/themes/graphics/mime
+@dirrm share/horde/imp/themes/graphics/folders
+@dirrm share/horde/imp/themes/graphics
+@dirrm share/horde/imp/themes/gennevilliers
+@dirrm share/horde/imp/themes/cherry
+@dirrm share/horde/imp/themes/burntorange
+@dirrm share/horde/imp/themes/brown
+@dirrm share/horde/imp/themes/bluewhite
+@dirrm share/horde/imp/themes/bluemoon
+@dirrm share/horde/imp/themes/azur
+@dirrm share/horde/imp/themes
+@dirrm share/horde/imp/templates/thread
+@dirrm share/horde/imp/templates/smime
+@dirrm share/horde/imp/templates/search
+@dirrm share/horde/imp/templates/quota
+@dirrm share/horde/imp/templates/prefs
+@dirrm share/horde/imp/templates/pgp
+@dirrm share/horde/imp/templates/message
+@dirrm share/horde/imp/templates/mailbox
+@dirrm share/horde/imp/templates/login
+@dirrm share/horde/imp/templates/javascript
+@dirrm share/horde/imp/templates/folders
+@dirrm share/horde/imp/templates/filters
+@dirrm share/horde/imp/templates/fetchmail
+@dirrm share/horde/imp/templates/contacts
+@dirrm share/horde/imp/templates/compose
+@dirrm share/horde/imp/templates/acl
+@dirrm share/horde/imp/templates
+@dirrm share/horde/imp/scripts
+@dirrm share/horde/imp/po
+@dirrm share/horde/imp/locale/zh_TW/LC_MESSAGES
+@dirrm share/horde/imp/locale/zh_TW
+@dirrm share/horde/imp/locale/zh_CN/LC_MESSAGES
+@dirrm share/horde/imp/locale/zh_CN
+@dirrm share/horde/imp/locale/uk_UA/LC_MESSAGES
+@dirrm share/horde/imp/locale/uk_UA
+@dirrm share/horde/imp/locale/tr_TR/LC_MESSAGES
+@dirrm share/horde/imp/locale/tr_TR
+@dirrm share/horde/imp/locale/th_TH/LC_MESSAGES
+@dirrm share/horde/imp/locale/th_TH
+@dirrm share/horde/imp/locale/sv_SE/LC_MESSAGES
+@dirrm share/horde/imp/locale/sv_SE
+@dirrm share/horde/imp/locale/sl_SI/LC_MESSAGES
+@dirrm share/horde/imp/locale/sl_SI
+@dirrm share/horde/imp/locale/sk_SK/LC_MESSAGES
+@dirrm share/horde/imp/locale/sk_SK
+@dirrm share/horde/imp/locale/ru_RU/LC_MESSAGES
+@dirrm share/horde/imp/locale/ru_RU
+@dirrm share/horde/imp/locale/ro_RO/LC_MESSAGES
+@dirrm share/horde/imp/locale/ro_RO
+@dirrm share/horde/imp/locale/pt_PT/LC_MESSAGES
+@dirrm share/horde/imp/locale/pt_PT
+@dirrm share/horde/imp/locale/pt_BR/LC_MESSAGES
+@dirrm share/horde/imp/locale/pt_BR
+@dirrm share/horde/imp/locale/pl_PL/LC_MESSAGES
+@dirrm share/horde/imp/locale/pl_PL
+@dirrm share/horde/imp/locale/nn_NO/LC_MESSAGES
+@dirrm share/horde/imp/locale/nn_NO
+@dirrm share/horde/imp/locale/nl_NL/LC_MESSAGES
+@dirrm share/horde/imp/locale/nl_NL
+@dirrm share/horde/imp/locale/nb_NO/LC_MESSAGES
+@dirrm share/horde/imp/locale/nb_NO
+@dirrm share/horde/imp/locale/mk_MK/LC_MESSAGES
+@dirrm share/horde/imp/locale/mk_MK
+@dirrm share/horde/imp/locale/lv_LV/LC_MESSAGES
+@dirrm share/horde/imp/locale/lv_LV
+@dirrm share/horde/imp/locale/lt_LT/LC_MESSAGES
+@dirrm share/horde/imp/locale/lt_LT
+@dirrm share/horde/imp/locale/ko_KR/LC_MESSAGES
+@dirrm share/horde/imp/locale/ko_KR
+@dirrm share/horde/imp/locale/ja_JP/LC_MESSAGES
+@dirrm share/horde/imp/locale/ja_JP
+@dirrm share/horde/imp/locale/it_IT/LC_MESSAGES
+@dirrm share/horde/imp/locale/it_IT
+@dirrm share/horde/imp/locale/is_IS/LC_MESSAGES
+@dirrm share/horde/imp/locale/is_IS
+@dirrm share/horde/imp/locale/id_ID/LC_MESSAGES
+@dirrm share/horde/imp/locale/id_ID
+@dirrm share/horde/imp/locale/hu_HU/LC_MESSAGES
+@dirrm share/horde/imp/locale/hu_HU
+@dirrm share/horde/imp/locale/gl_ES/LC_MESSAGES
+@dirrm share/horde/imp/locale/gl_ES
+@dirrm share/horde/imp/locale/fr_FR/LC_MESSAGES
+@dirrm share/horde/imp/locale/fr_FR
+@dirrm share/horde/imp/locale/fi_FI/LC_MESSAGES
+@dirrm share/horde/imp/locale/fi_FI
+@dirrm share/horde/imp/locale/fa_IR/LC_MESSAGES
+@dirrm share/horde/imp/locale/fa_IR
+@dirrm share/horde/imp/locale/et_EE/LC_MESSAGES
+@dirrm share/horde/imp/locale/et_EE
+@dirrm share/horde/imp/locale/es_ES/LC_MESSAGES
+@dirrm share/horde/imp/locale/es_ES
+@dirrm share/horde/imp/locale/en_US
+@dirrm share/horde/imp/locale/el_GR/LC_MESSAGES
+@dirrm share/horde/imp/locale/el_GR
+@dirrm share/horde/imp/locale/de_DE/LC_MESSAGES
+@dirrm share/horde/imp/locale/de_DE
+@dirrm share/horde/imp/locale/da_DK/LC_MESSAGES
+@dirrm share/horde/imp/locale/da_DK
+@dirrm share/horde/imp/locale/cs_CZ/LC_MESSAGES
+@dirrm share/horde/imp/locale/cs_CZ
+@dirrm share/horde/imp/locale/ca_ES/LC_MESSAGES
+@dirrm share/horde/imp/locale/ca_ES
+@dirrm share/horde/imp/locale/bg_BG/LC_MESSAGES
+@dirrm share/horde/imp/locale/bg_BG
+@dirrm share/horde/imp/locale/ar_SY/LC_MESSAGES
+@dirrm share/horde/imp/locale/ar_SY
+@dirrm share/horde/imp/locale/ar_OM/LC_MESSAGES
+@dirrm share/horde/imp/locale/ar_OM
+@dirrm share/horde/imp/locale
+@dirrm share/horde/imp/lib/Quota
+@dirrm share/horde/imp/lib/Notification/Listener
+@dirrm share/horde/imp/lib/Notification
+@dirrm share/horde/imp/lib/Maintenance/Task
+@dirrm share/horde/imp/lib/Maintenance
+@dirrm share/horde/imp/lib/MIME/Viewer
+@dirrm share/horde/imp/lib/MIME
+@dirrm share/horde/imp/lib/Identity
+@dirrm share/horde/imp/lib/IMAP
+@dirrm share/horde/imp/lib/Fetchmail
+@dirrm share/horde/imp/lib/Crypt
+@dirrm share/horde/imp/lib/Block
+@dirrm share/horde/imp/lib/Auth
+@dirrm share/horde/imp/lib
+@dirrm share/horde/imp/config
+@dirrm share/horde/imp
+@dirrm share/doc/imp
diff --git a/mail/imp4/distinfo b/mail/imp4/distinfo
new file mode 100644
index 00000000000..b590dcef2fe
--- /dev/null
+++ b/mail/imp4/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/01/16 21:36:28 adrianp Exp $
+
+SHA1 (imp-h3-4.0.1.tar.gz) = 5e008a7fb014b4b5b2104e71a29d5f6dbda7e626
+Size (imp-h3-4.0.1.tar.gz) = 2889169 bytes
diff --git a/mail/imp4/files/imp.conf.dist b/mail/imp4/files/imp.conf.dist
new file mode 100644
index 00000000000..af4441b2317
--- /dev/null
+++ b/mail/imp4/files/imp.conf.dist
@@ -0,0 +1,43 @@
+# $NetBSD: imp.conf.dist,v 1.1.1.1 2005/01/16 21:36:28 adrianp Exp $
+#
+# IMP configuration file fragment for Apache
+
+<IfModule mod_alias.c>
+ Alias /imp/ "/usr/pkg/share/horde/imp/"
+</IfModule>
+
+<Directory "/usr/pkg/share/horde">
+ DirectoryIndex index.php
+ <IfModule mod_php4.c>
+ php_flag file_uploads On
+ php_flag upload_max_filesize 5M
+ </IfModule>
+</Directory>
+
+# For security, don't serve pages from the IMP configuration and library
+# directories.
+#
+<Directory "@IMPDIR@/config">
+ Order deny,allow
+ Deny from all
+</Directory>
+<Directory "@IMPDIR@/lib">
+ Order deny,allow
+ Deny from all
+</Directory>
+<Directory "@IMPDIR@/locale">
+ Order deny,allow
+ Deny from all
+</Directory>
+<Directory "@IMPDIR@/po">
+ Order deny,allow
+ Deny from all
+</Directory>
+<Directory "@IMPDIR@/scripts">
+ Order deny,allow
+ Deny from all
+</Directory>
+<Directory "@IMPDIR@/templates">
+ Order deny,allow
+ Deny from all
+</Directory>
diff --git a/mail/imp4/options.mk b/mail/imp4/options.mk
new file mode 100644
index 00000000000..c53ed9fd620
--- /dev/null
+++ b/mail/imp4/options.mk
@@ -0,0 +1,27 @@
+# $NetBSD: options.mk,v 1.1.1.1 2005/01/16 21:36:28 adrianp Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.imp
+PKG_SUPPORTED_OPTIONS= ispell aspell gnupg
+
+.include "../../mk/bsd.options.mk"
+
+###
+### Use aspell with IMP
+###
+.if !empty(PKG_OPTIONS:Maspell)
+DEPENDS+= aspell-[0-9]*:../../textproc/aspell
+.endif
+
+###
+### Use ispell with IMP
+###
+.if !empty(PKG_OPTIONS:Mispell)
+DEPENDS+= ispell-base-[0-9]*:../../textproc/ispell-base
+.endif
+
+###
+### Use gnupg with IMP
+###
+.if !empty(PKG_OPTIONS:Mgnupg)
+DEPENDS+= gnupg-[0-9]*:../../security/gnupg
+.endif