Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 364529 - mail-client/roundcube config/db.inc.php is overwritten while updating
Summary: mail-client/roundcube config/db.inc.php is overwritten while updating
Status: RESOLVED DUPLICATE of bug 243260
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Lowest normal (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-22 22:36 UTC by Marcin Mirosław
Modified: 2011-08-05 21:21 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***