pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/roundcube Install missing config/mimetypes.php file.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a4e515df45a4
branches:  trunk
changeset: 568980:a4e515df45a4
user:      abs <abs%pkgsrc.org@localhost>
date:      Thu Dec 31 16:56:18 2009 +0000

description:
Install missing config/mimetypes.php file.

Fixes mime type when attaching an Office (MS or Open*.org) file.
Prior to this commit would always be tagged as application/octet-stream.

Bump pkgrevision

diffstat:

 mail/roundcube/Makefile |  7 ++++++-
 mail/roundcube/PLIST    |  3 ++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diffs (48 lines):

diff -r d534f4c26faa -r a4e515df45a4 mail/roundcube/Makefile
--- a/mail/roundcube/Makefile   Thu Dec 31 11:01:54 2009 +0000
+++ b/mail/roundcube/Makefile   Thu Dec 31 16:56:18 2009 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.22 2009/11/23 09:37:45 ghen Exp $
+# $NetBSD: Makefile,v 1.23 2009/12/31 16:56:18 abs Exp $
 #
 
 DISTNAME=      roundcubemail-${RCVERSION}-dep
+PKGREVISION=   1
 PKGNAME=       ${DISTNAME:S/mail-${RCVERSION}-dep/-${VERSION}/}
 CATEGORIES=    mail
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=roundcubemail/}
@@ -61,6 +62,8 @@
 
 CONF_FILES=            ${EGDIR}/roundcube.conf \
                        ${PKG_SYSCONFDIR}/roundcube.conf
+CONF_FILES+=           ${EGDIR}/mimetypes.php \
+                       ${PKG_SYSCONFDIR}/mimetypes.php
 CONF_FILES_PERMS+=     ${EGDIR}/db.inc.php.dist \
                        ${PKG_SYSCONFDIR}/db.inc.php \
                        ${WWW_USER} ${WWW_GROUP} 0640
@@ -107,6 +110,8 @@
        ${INSTALL_DATA} ${WRKSRC}/index.php ${DESTDIR}${RCDIR}/
        ${INSTALL_DATA} ${WRKSRC}/robots.txt ${DESTDIR}${RCDIR}/
 
+       ${INSTALL_DATA} ${WRKSRC}/config/mimetypes.php \
+               ${DESTDIR}${EGDIR}/mimetypes.php
        ${INSTALL_DATA} ${WRKSRC}/config/db.inc.php.dist \
                ${DESTDIR}${EGDIR}/db.inc.php.dist
        ${INSTALL_DATA} ${WRKSRC}/config/main.inc.php.dist \
diff -r d534f4c26faa -r a4e515df45a4 mail/roundcube/PLIST
--- a/mail/roundcube/PLIST      Thu Dec 31 11:01:54 2009 +0000
+++ b/mail/roundcube/PLIST      Thu Dec 31 16:56:18 2009 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.15 2009/11/23 09:37:46 ghen Exp $
+@comment $NetBSD: PLIST,v 1.16 2009/12/31 16:56:18 abs Exp $
 share/doc/roundcube/INSTALL
 share/doc/roundcube/LICENSE
 share/doc/roundcube/README
@@ -12,6 +12,7 @@
 share/examples/roundcube/SQL/sqlite.update.sql
 share/examples/roundcube/db.inc.php.dist
 share/examples/roundcube/main.inc.php.dist
+share/examples/roundcube/mimetypes.php
 share/examples/roundcube/roundcube.conf
 share/roundcube/.htaccess
 share/roundcube/bin/decrypt.php



Home | Main Index | Thread Index | Old Index