Skip to content
Browse files

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
  • Loading branch information...
1 parent 61e7ba8 commit 2ae2d359900485a6b791971ae8004fdf0c8cde2c abs committed Dec 31, 2009
Showing with 8 additions and 2 deletions.
  1. +6 −1 mail/roundcube/Makefile
  2. +2 −1 mail/roundcube/PLIST
View
7 mail/roundcube/Makefile
@@ -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 @@ OWN_DIRS_PERMS+= ${VARBASE}/tmp/roundcube \
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 @@ do-install:
${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 \
View
3 mail/roundcube/PLIST
@@ -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.initial.sql
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

0 comments on commit 2ae2d35

Please sign in to comment.
Something went wrong with that request. Please try again.