pkgsrc-Changes archive

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

CVS commit: pkgsrc/mail/roundcube



Module Name:    pkgsrc
Committed By:   taca
Date:           Fri Aug 19 13:09:38 UTC 2022

Modified Files:
        pkgsrc/mail/roundcube: Makefile distinfo
Added Files:
        pkgsrc/mail/roundcube/patches: patch-config_config.inc.php.sample
            patch-program_include_iniset.php
            patch-program_lib_Roundcube_rcube__mime.php

Log Message:
mail/roundcube: restore patches

Restore patches accidently removed by me.

Noted by tnn@ and thanks much.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.95 -r1.96 pkgsrc/mail/roundcube/Makefile
cvs rdiff -u -r1.81 -r1.82 pkgsrc/mail/roundcube/distinfo
cvs rdiff -u -r0 -r1.4 \
    pkgsrc/mail/roundcube/patches/patch-config_config.inc.php.sample
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/mail/roundcube/patches/patch-program_include_iniset.php
cvs rdiff -u -r0 -r1.5 \
    pkgsrc/mail/roundcube/patches/patch-program_lib_Roundcube_rcube__mime.php

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mail/roundcube/Makefile
diff -u pkgsrc/mail/roundcube/Makefile:1.95 pkgsrc/mail/roundcube/Makefile:1.96
--- pkgsrc/mail/roundcube/Makefile:1.95 Sat Nov 20 15:13:32 2021
+++ pkgsrc/mail/roundcube/Makefile      Fri Aug 19 13:09:38 2022
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.95 2021/11/20 15:13:32 taca Exp $
+# $NetBSD: Makefile,v 1.96 2022/08/19 13:09:38 taca Exp $
 
 DISTNAME=      roundcubemail-${RC_VERS}
 PKGNAME=       ${PHP_PKG_PREFIX}-${DISTNAME:S/mail-/-/:S/-complete//}
+PKGREVISION=   1
 
 MAINTAINER=    taca%NetBSD.org@localhost
 COMMENT=       Browser-based multilingual IMAP client

Index: pkgsrc/mail/roundcube/distinfo
diff -u pkgsrc/mail/roundcube/distinfo:1.81 pkgsrc/mail/roundcube/distinfo:1.82
--- pkgsrc/mail/roundcube/distinfo:1.81 Wed Aug 17 15:41:43 2022
+++ pkgsrc/mail/roundcube/distinfo      Fri Aug 19 13:09:38 2022
@@ -1,5 +1,8 @@
-$NetBSD: distinfo,v 1.81 2022/08/17 15:41:43 taca Exp $
+$NetBSD: distinfo,v 1.82 2022/08/19 13:09:38 taca Exp $
 
-BLAKE2s (classic-1.6.0.tar.gz) = 5b0ecdf30b398b2bb0f8e12b6c661d7cb7832c6b513efc51f841ffaeaa12a51d
-SHA512 (classic-1.6.0.tar.gz) = cbf6271800bcafb8d7205d4761e1a3a91b200c8ee5e2afb8e7c3a728de5fb020a7f73ee8991f4705bd496e5d19acdf61d69f8cc610fec41d3dbc4689813b12c1
-Size (classic-1.6.0.tar.gz) = 3858784 bytes
+BLAKE2s (roundcubemail-1.6.0-complete.tar.gz) = 938e0473405e052a6d6d0ada492ebcce842125c0ef1055d7b59bf50bf5382387
+SHA512 (roundcubemail-1.6.0-complete.tar.gz) = 821733778085c670caeed6bed515e542841920dccc21e2ca97088e1f77a302b6961234d6ee5bcfbda797470889747a3be2c6d13cc5016615c8919c7ea064108c
+Size (roundcubemail-1.6.0-complete.tar.gz) = 5970153 bytes
+SHA1 (patch-config_config.inc.php.sample) = 92a48a97b16fe3f5f4b9441fce762a559d8daca7
+SHA1 (patch-program_include_iniset.php) = 8a6c13c0c87d583ed60e43c01a4173d9d802a6a1
+SHA1 (patch-program_lib_Roundcube_rcube__mime.php) = b1e9479d575b7fd61c413e2b76ee36c06ece7a5c

Added files:

Index: pkgsrc/mail/roundcube/patches/patch-config_config.inc.php.sample
diff -u /dev/null pkgsrc/mail/roundcube/patches/patch-config_config.inc.php.sample:1.4
--- /dev/null   Fri Aug 19 13:09:38 2022
+++ pkgsrc/mail/roundcube/patches/patch-config_config.inc.php.sample    Fri Aug 19 13:09:38 2022
@@ -0,0 +1,17 @@
+$NetBSD: patch-config_config.inc.php.sample,v 1.4 2022/08/19 13:09:38 taca Exp $
+
+Add default paths for log, tmp and MIME types.
+
+--- config/config.inc.php.sample.orig  2020-01-01 19:58:53.000000000 +0000
++++ config/config.inc.php.sample
+@@ -84,3 +84,10 @@ $config['plugins'] = array(
+ 
+ // skin name: folder from skins/
+ $config['skin'] = 'elastic';
++
++// use this folder to store log files (must be writeable for apache user)
++// This is used by the 'file' log driver.
++$config['log_dir'] = '@VARBASE@/log/roundcube/';
++
++// use this folder to store temp files (must be writeable for apache user)
++$config['temp_dir'] = '@VARBASE@/tmp/roundcube/';

Index: pkgsrc/mail/roundcube/patches/patch-program_include_iniset.php
diff -u /dev/null pkgsrc/mail/roundcube/patches/patch-program_include_iniset.php:1.1
--- /dev/null   Fri Aug 19 13:09:38 2022
+++ pkgsrc/mail/roundcube/patches/patch-program_include_iniset.php      Fri Aug 19 13:09:38 2022
@@ -0,0 +1,15 @@
+$NetBSD: patch-program_include_iniset.php,v 1.1 2022/08/19 13:09:38 taca Exp $
+
+Honor PKG_SYSCONFDIR.
+
+--- program/include/iniset.php.orig    2022-07-23 20:17:14.000000000 +0000
++++ program/include/iniset.php
+@@ -32,7 +32,7 @@ if (!defined('INSTALL_PATH')) {
+ }
+ 
+ if (!defined('RCMAIL_CONFIG_DIR')) {
+-    define('RCMAIL_CONFIG_DIR', getenv('ROUNDCUBE_CONFIG_DIR') ?: (INSTALL_PATH . 'config'));
++    define('RCMAIL_CONFIG_DIR', getenv('ROUNDCUBE_CONFIG_DIR') ?: '@PKG_SYSCONFDIR@');
+ }
+ 
+ if (!defined('RCUBE_LOCALIZATION_DIR')) {

Index: pkgsrc/mail/roundcube/patches/patch-program_lib_Roundcube_rcube__mime.php
diff -u /dev/null pkgsrc/mail/roundcube/patches/patch-program_lib_Roundcube_rcube__mime.php:1.5
--- /dev/null   Fri Aug 19 13:09:38 2022
+++ pkgsrc/mail/roundcube/patches/patch-program_lib_Roundcube_rcube__mime.php   Fri Aug 19 13:09:38 2022
@@ -0,0 +1,25 @@
+$NetBSD: patch-program_lib_Roundcube_rcube__mime.php,v 1.5 2022/08/19 13:09:38 taca Exp $
+
+Fix path to /etc/.
+
+--- program/lib/Roundcube/rcube_mime.php.orig  2018-04-11 11:06:18.000000000 +0000
++++ program/lib/Roundcube/rcube_mime.php
+@@ -790,12 +790,12 @@ class rcube_mime
+             $file_paths[] = 'C:/xampp/apache/conf/mime.types.';
+         }
+         else {
+-            $file_paths[] = '/etc/mime.types';
+-            $file_paths[] = '/etc/httpd/mime.types';
+-            $file_paths[] = '/etc/httpd2/mime.types';
+-            $file_paths[] = '/etc/apache/mime.types';
+-            $file_paths[] = '/etc/apache2/mime.types';
+-            $file_paths[] = '/etc/nginx/mime.types';
++            $file_paths[] = '@PKG_SYSCONFBASE@/mime.types';
++            $file_paths[] = '@PKG_SYSCONFBASE@/httpd/mime.types';
++            $file_paths[] = '@PKG_SYSCONFBASE@/httpd2/mime.types';
++            $file_paths[] = '@PKG_SYSCONFBASE@/apache/mime.types';
++            $file_paths[] = '@PKG_SYSCONFBASE@/apache2/mime.types';
++            $file_paths[] = '@PKG_SYSCONFBASE@/nginx/mime.types';
+             $file_paths[] = '/usr/local/etc/httpd/conf/mime.types';
+             $file_paths[] = '/usr/local/etc/apache/conf/mime.types';
+             $file_paths[] = '/usr/local/etc/apache24/mime.types';



Home | Main Index | Thread Index | Old Index