Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

4
mail/mimp/DESCR Normal file
View File

@@ -0,0 +1,4 @@
MIMP is a project to create a version of IMP suitable for small mobile devices
such as WAP phones or PDAs. Basic IMP functionality is implemented including
mailbox viewing and paging, viewing messages, deleting, replying, forwarding,
and composing new messages.

21
mail/mimp/MESSAGE Normal file
View File

@@ -0,0 +1,21 @@
===========================================================================
$NetBSD: MESSAGE,v 1.1.1.1 2013/01/27 16:35:06 bouyer Exp $
Please refer to the file:
${PREFIX}/share/doc/mimp/INSTALL
on how to setup your MIMP installation. You need to at least edit
${PREFIX}/share/horde/config/registry.php
to enable MIMP in the horde framework. You will also need to configure MIMP
by using the Horde administrative interface.
Finally you will also need to make MIMP 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}/mimp.conf
===========================================================================

94
mail/mimp/Makefile Normal file
View File

@@ -0,0 +1,94 @@
# $NetBSD: Makefile,v 1.2 2013/03/16 07:21:21 obache Exp $
DISTNAME= mimp-h3-${MIMPVER}
PKGNAME= mimp-${MIMPVER}
PKGREVISION= 1
CATEGORIES= mail www
MASTER_SITES= http://ftp.horde.org/pub/mimp/ \
ftp://ftp.horde.org/pub/mimp/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.horde.org/apps/mimp/
COMMENT= Internet Messaging Program for mobile devices
LICENSE= gnu-gpl-v2
DEPENDS+= imp>=4.2:../../mail/imp
USE_TOOLS+= pax
PKG_DESTDIR_SUPPORT= destdir
DOCDIR= ${PREFIX}/share/doc/mimp
EGDIR= ${PREFIX}/share/examples/mimp
HORDEDIR= ${PREFIX}/share/horde
MIMPDIR= ${HORDEDIR}/mimp
MIMPVER= 1.1.4
PAXDIRS= lib locale po templates themes
WRKSRC= ${WRKDIR}/${DISTNAME}
PKG_USERS_VARS+= APACHE_USER
BUILD_DEFS+= APACHE_USER
MESSAGE_SUBST+= MIMPDIR=${MIMPDIR}
MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR}
PKG_SYSCONFSUBDIR?= httpd
CONF_FILES= ${EGDIR}/mimp.conf ${PKG_SYSCONFDIR}/mimp.conf
CONF_FILES_PERMS+= ${MIMPDIR}/config/conf.xml.dist \
${MIMPDIR}/config/conf.xml \
${APACHE_USER} ${ROOT_GROUP} 0440
CONF_FILES_PERMS+= ${MIMPDIR}/config/menu.php.dist \
${MIMPDIR}/config/menu.php \
${APACHE_USER} ${ROOT_GROUP} 0440
CONF_FILES_PERMS+= ${MIMPDIR}/config/mime_drivers.php.dist \
${MIMPDIR}/config/mime_drivers.php \
${APACHE_USER} ${ROOT_GROUP} 0440
CONF_FILES_PERMS+= ${MIMPDIR}/config/prefs.php.dist \
${MIMPDIR}/config/prefs.php \
${APACHE_USER} ${ROOT_GROUP} 0440
SUBST_CLASSES+= files
SUBST_STAGE.files= post-build
SUBST_FILES.files= mimp.conf.dist
SUBST_SED.files= -e "s|@MIMPDIR@|${MIMPDIR}|g"
SUBST_MESSAGE.files= Fixing configuration files.
REPLACE_INTERPRETER+= php
REPLACE.php.old= .*/bin/php
REPLACE.php.new= ${PREFIX}/bin/php
REPLACE_FILES.php= scripts/bounce_spam.php \
scripts/upgrades/convert_vfolders.php
do-build:
${CP} ${FILESDIR}/mimp.conf.dist ${WRKSRC}/mimp.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} ${DESTDIR}${DOCDIR}
${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
${INSTALL_DATA_DIR} ${DESTDIR}${MIMPDIR}
${INSTALL_DATA_DIR} ${DESTDIR}${MIMPDIR}/config
${INSTALL_DATA} ${WRKSRC}/mimp.conf.dist ${DESTDIR}${EGDIR}/mimp.conf
${INSTALL_DATA} ${WRKSRC}/COPYING ${DESTDIR}${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/docs/* ${DESTDIR}${DOCDIR}
.for d in ${PAXDIRS}
${INSTALL_DATA_DIR} ${DESTDIR}${MIMPDIR}/${d}
.endfor
.for d in ${PAXDIRS}
cd ${WRKSRC}/${d} && pax -rwpam . ${DESTDIR}${MIMPDIR}/${d}
.endfor
${INSTALL_DATA} ${WRKSRC}/config/*.dist ${DESTDIR}${MIMPDIR}/config
${INSTALL_DATA} ${WRKSRC}/*.php ${DESTDIR}${MIMPDIR}
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DESTDIR}${MIMPDIR}
${FIND} ${DESTDIR}${MIMPDIR} -type d -print | \
${XARGS} ${CHMOD} ${PKGDIRMODE}
${FIND} ${DESTDIR}${MIMPDIR} -type f -print | \
${XARGS} ${CHMOD} ${SHAREMODE}
${CHOWN} ${APACHE_USER}:${ROOT_GROUP} ${DESTDIR}${MIMPDIR}/config
${CHMOD} 0750 ${DESTDIR}${MIMPDIR}/config
.include "../../lang/php/phpversion.mk"
.include "../../mk/bsd.pkg.mk"

83
mail/mimp/PLIST Normal file
View File

@@ -0,0 +1,83 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2013/01/27 16:35:06 bouyer Exp $
share/doc/mimp/CHANGES
share/doc/mimp/COPYING
share/doc/mimp/CREDITS
share/doc/mimp/INSTALL
share/doc/mimp/README
share/doc/mimp/RELEASE_NOTES
share/doc/mimp/UPGRADING
share/examples/mimp/mimp.conf
share/horde/mimp/compose.php
share/horde/mimp/config/conf.xml.dist
share/horde/mimp/config/menu.php.dist
share/horde/mimp/config/mime_drivers.php.dist
share/horde/mimp/config/prefs.php.dist
share/horde/mimp/folders.php
share/horde/mimp/index.php
share/horde/mimp/lib/MIMP.php
share/horde/mimp/lib/MIME/Contents.php
share/horde/mimp/lib/MIME/Viewer/alternative.php
share/horde/mimp/lib/MIME/Viewer/html.php
share/horde/mimp/lib/MIME/Viewer/multipart.php
share/horde/mimp/lib/MIME/Viewer/plain.php
share/horde/mimp/lib/MIME/Viewer/related.php
share/horde/mimp/lib/MIME/Viewer/status.php
share/horde/mimp/lib/api.php
share/horde/mimp/lib/base.php
share/horde/mimp/lib/version.php
share/horde/mimp/locale/ca_ES/LC_MESSAGES/mimp.mo
share/horde/mimp/locale/cs_CZ/LC_MESSAGES/mimp.mo
share/horde/mimp/locale/da_DK/LC_MESSAGES/mimp.mo
share/horde/mimp/locale/de_DE/LC_MESSAGES/mimp.mo
share/horde/mimp/locale/es_ES/LC_MESSAGES/mimp.mo
share/horde/mimp/locale/eu_ES/LC_MESSAGES/mimp.mo
share/horde/mimp/locale/fi_FI/LC_MESSAGES/mimp.mo
share/horde/mimp/locale/fr_FR/LC_MESSAGES/mimp.mo
share/horde/mimp/locale/hr_HR/LC_MESSAGES/mimp.mo
share/horde/mimp/locale/hu_HU/LC_MESSAGES/mimp.mo
share/horde/mimp/locale/it_IT/LC_MESSAGES/mimp.mo
share/horde/mimp/locale/ja_JP/LC_MESSAGES/mimp.mo
share/horde/mimp/locale/lt_LT/LC_MESSAGES/mimp.mo
share/horde/mimp/locale/nl_NL/LC_MESSAGES/mimp.mo
share/horde/mimp/locale/pl_PL/LC_MESSAGES/mimp.mo
share/horde/mimp/locale/pt_BR/LC_MESSAGES/mimp.mo
share/horde/mimp/locale/pt_PT/LC_MESSAGES/mimp.mo
share/horde/mimp/locale/ro_RO/LC_MESSAGES/mimp.mo
share/horde/mimp/locale/ru_RU/LC_MESSAGES/mimp.mo
share/horde/mimp/locale/sk_SK/LC_MESSAGES/mimp.mo
share/horde/mimp/locale/zh_CN/LC_MESSAGES/mimp.mo
share/horde/mimp/mailbox.php
share/horde/mimp/message.php
share/horde/mimp/po/README
share/horde/mimp/po/ca_ES.po
share/horde/mimp/po/cs_CZ.po
share/horde/mimp/po/da_DK.po
share/horde/mimp/po/de_DE.po
share/horde/mimp/po/es_ES.po
share/horde/mimp/po/eu_ES.po
share/horde/mimp/po/fi_FI.po
share/horde/mimp/po/fr_FR.po
share/horde/mimp/po/hr_HR.po
share/horde/mimp/po/hu_HU.po
share/horde/mimp/po/mimp.pot
share/horde/mimp/po/it_IT.po
share/horde/mimp/po/ja_JP.po
share/horde/mimp/po/lt_LT.po
share/horde/mimp/po/nl_NL.po
share/horde/mimp/po/pl_PL.po
share/horde/mimp/po/pt_BR.po
share/horde/mimp/po/pt_PT.po
share/horde/mimp/po/ro_RO.po
share/horde/mimp/po/ru_RU.po
share/horde/mimp/po/sk_SK.po
share/horde/mimp/po/zh_CN.po
share/horde/mimp/templates/common-header.inc
share/horde/mimp/templates/compose/compose.inc
share/horde/mimp/templates/compose/redirect.inc
share/horde/mimp/templates/folders/folders.inc
share/horde/mimp/templates/index/notconfigured.inc
share/horde/mimp/templates/mailbox/mailbox.inc
share/horde/mimp/themes/graphics/favicon.ico
share/horde/mimp/themes/graphics/horde-power2.png
share/horde/mimp/themes/graphics/horde-power2.wbmp
share/horde/mimp/themes/graphics/mimp.png

5
mail/mimp/distinfo Normal file
View File

@@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1.1.1 2013/01/27 16:35:06 bouyer Exp $
SHA1 (mimp-h3-1.1.4.tar.gz) = a1cd9242e4b692e948a777cbb20636de5cb9ff76
RMD160 (mimp-h3-1.1.4.tar.gz) = 226499d7b407254036c30d3b00d9783dbc68cce9
Size (mimp-h3-1.1.4.tar.gz) = 1249671 bytes

View File

@@ -0,0 +1,43 @@
# $NetBSD: mimp.conf.dist,v 1.1.1.1 2013/01/27 16:35:06 bouyer Exp $
#
# MIMP configuration file fragment for Apache
<IfModule mod_alias.c>
Alias /mimp/ "@MIMPDIR@/"
</IfModule>
<Directory "@MIMPDIR@">
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 MIMP configuration and library
# directories.
#
<Directory "@MIMPDIR@/config">
Order deny,allow
Deny from all
</Directory>
<Directory "@MIMPDIR@/lib">
Order deny,allow
Deny from all
</Directory>
<Directory "@MIMPDIR@/locale">
Order deny,allow
Deny from all
</Directory>
<Directory "@MIMPDIR@/po">
Order deny,allow
Deny from all
</Directory>
<Directory "@MIMPDIR@/scripts">
Order deny,allow
Deny from all
</Directory>
<Directory "@MIMPDIR@/templates">
Order deny,allow
Deny from all
</Directory>