Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 364529

Summary: mail-client/roundcube config/db.inc.php is overwritten while updating
Product: Gentoo Linux Reporter: Marcin Mirosław <bug>
Component: Current packagesAssignee: Gentoo Web Application Packages Maintainers <web-apps>
Status: RESOLVED DUPLICATE    
Severity: normal CC: gentoobugs
Priority: Lowest    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Marcin Mirosław 2011-04-22 22:36:17 UTC
It looks file config/db.inc.php is overwritten with dist version after upgrade. FIle config/main.inc.php isn't overwritten, i don't know why there is such diffrence. They are copied in ebuild in the same way.


Reproducible: Always
Comment 1 Marcin Mirosław 2011-06-03 10:23:12 UTC
I've just upgraded roundcube to version 0.5.3 and it happened again.
I'm using bzr to tracking changes in config files:
$ bzr  diff config/db.inc.php
=== modified file 'config/db.inc.php'
--- config/db.inc.php   2011-04-22 21:46:53 +0000
+++ config/db.inc.php   2011-06-03 10:15:34 +0000
@@ -19,7 +19,7 @@
 // For examples see http://pear.php.net/manual/en/package.database.mdb2.intro-dsn.php
 // currently supported db_providers: mysql, mysqli, pgsql, sqlite, mssql or sqlsrv
 
-$rcmail_config['db_dsnw'] = 'sqlite:////dane/xxxxx/sqlite.db?mode=0660';
+$rcmail_config['db_dsnw'] = 'mysql://roundcube:pass@localhost/roundcubemail';
 // postgres example: 'pgsql://roundcube:pass@localhost/roundcubemail';
 // Warning: for SQLite use absolute path in DSN:
 // sqlite example: 'sqlite:////full/path/to/sqlite.db?mode=0646';

Main.inc.php wasn't overwritten.
Comment 2 Jorrit Schippers 2011-08-05 21:11:37 UTC
This is a specific instance of bug #243260 .
Comment 3 Peter Volkov (RETIRED) gentoo-dev 2011-08-05 21:21:30 UTC
Thank you Marcin!
Thank you Jorrit!

*** This bug has been marked as a duplicate of bug 243260 ***