dbconfig-common (1.8.44ubuntu1-lliurex) UNRELEASED; urgency=low * NOT RELEASED YET -- Angel Berlanas Vicente Tue, 31 Jan 2012 10:17:19 +0100 dbconfig-common (1.8.44ubuntu1-lliurex4) unstable; urgency=low * Uploaders Fixed * To Nemo" -- Angel Berlanas Vicente Tue, 31 Jan 2012 10:14:10 +0100 dbconfig-common (1.8.44ubuntu1-lliurex3) lucid; urgency=low * add patch for upgrades -- Ignacio Vidal Hurtado Tue, 21 Sep 2010 13:44:28 +0200 dbconfig-common (1.8.44ubuntu1-lliurex2) lucid; urgency=low * update translation -- Ignacio Vidal Hurtado Tue, 15 Jun 2010 13:38:28 +0200 dbconfig-common (1.8.44ubuntu1-lliurex1) lucid; urgency=low * first upload for Lliurex 10.09 -- Ignacio Vidal Hurtado Tue, 15 Jun 2010 13:24:33 +0200 dbconfig-common (1.8.44ubuntu1) lucid; urgency=low * Fix pgsql createdb code to use template0 when encoding is specified, patch from Sean Finney cherrypicked from debian's 1.8.46 (LP: #563084) -- Thierry Carrez Fri, 16 Apr 2010 15:37:49 +0200 dbconfig-common (1.8.44) unstable; urgency=high * Fix bashism in dpkg/config. (Closes: #567402) - thanks to Sylvain Le Gall * Bashism causes install failures, so urgency bumped. -- Sean Finney Mon, 15 Feb 2010 22:09:21 +0100 dbconfig-common (1.8.43) unstable; urgency=low * Pass --debconf-ok to ucf call for global config file. (Closes: #513142, #566570) -- Sean Finney Sun, 24 Jan 2010 02:22:46 +0100 dbconfig-common (1.8.42) unstable; urgency=low * Register all internal ucf-managed files with ucfr (Closes: #514346) * Manage global config file /etc/dbconfig-common/config with ucf * Fix an incorrect bug reference in the previous upload's changelog entry * New Japanese debconf translations. (Closes: #525201, #561937) - thanks to "Hideki Yamane (Debian-JP)" * Updated spanish debconf translations (Closes: #525548) - thanks to Javier Fernández-Sanguino Peña * Prevent remove/reinstall from seeming to be an upgrade (Closes: #529365) - thanks to Florian Grandel * Clarify documentation regarding paths for update code (Closes: #529963) - thanks to Kiss Gabor * Fix documented path for removal SQL (Closes: #563907) - thanks to Thijs Kinkhorst * Fix for "fails to install" in noninteractive mode (Closes: #542381) - thanks to Thijs Kinkhorst * Fix "french translation for deconfiguration dialog really unclear" (Closes: #529316) - thanks to Olivier Berger -- Sean Finney Sat, 23 Jan 2010 20:00:11 +0100 dbconfig-common (1.8.41) unstable; urgency=low * Fix for a location in the code where ucf was not being called with the now requisite --debconf-ok (closes: #513753). * New postinst maintainer variable: dbc_dgi_on_manual. Allows the packager to disable creation of the d-g-i generated files when the admin opts for manual installation (closes: #514347). * Incorporate suggested rewrite of package description and debconf templates from Christian Perrier and the debian-l10n-english contributors (closes: #513909). * new/updated debconf translations: - Basque, thanks to Piarres Beobide (closes: #516118). - Czech, thanks to Miroslav Kure (closes: #514441). - Finnish, thanks to Esko Arajärvi (closes: #516623). - French, thanks to Christian Perrier (closes: #515932). - German, thanks to Helge Kreutzmann (Closes: #514783). - Italian, thanks to Giuseppe Sacco (closes: #514574). - Korean, thanks to Changwoo Ryu (closes: #514354). - Norwegian Bokmål, thanks to Bjørn Steensrud and Christian Perrier (closes: #514368). - Portuguese, thanks to Miguel Figueiredo (closes: #516643). - Russian, thanks to Yuri Kozlov and Christian Perrier (closes: #514896). - Slovak, thanks to helix84 (closes: #514357). - Swedish, thanks to Daniel Nylander (closes: #516606). - Vietnamese, thanks to Clytie Siddall and Christian Perrier (closes: #514503) * dbconfig-common is now maintained in git. Update control info accordingly, and introduce a gbp.conf in the debian subdir for git-buildpackage. * Misc lintian fixes: - update Standards-Version to 3.8.1 (no changes needed). - fix Build-Depends for gs -> ghostscript - remove Build-Depends alternatives on packages that were only needed for etch (tetex-bin, tetex-extra). -- Sean Finney Sun, 15 Mar 2009 11:08:39 +0100 dbconfig-common (1.8.40) unstable; urgency=low * Fixes from Thijs Kinkhorst: - fix for spelling error in debian/po/nl.po - fix for typo in internal/common - update documentation and examples to be more explicit about dependencies, recommends, and suggests (closes: #498226). - add Vcs-* headers to control file (closes: #498226). -- Sean Finney Mon, 08 Sep 2008 18:36:54 +0200 dbconfig-common (1.8.39) unstable; urgency=high * fix for package failing to purge, thanks to Michael Tautschnig for reporting this (closes: #476949). * rc bugfix, high urgency upload. * a few more more bugs/fixes from Niko Tyni: - fix for empty substitution in dbc_upgrade_error (closes: #473028). - ensure TODO gets installed, since the docs reference it (closes: #472946). -- Sean Finney Sat, 05 Jul 2008 01:07:31 +0200 dbconfig-common (1.8.38) unstable; urgency=low * the "TLC" release * ACK NMU from Stephen Gran, thanks! * slight changes to the NMU diff, namely using local variables and a fix for a corner case where the umask might not be reset. * more bugs/fixes from Niko Tyni (thanks!) - fix for malformed log messages (closes: #472993). - fix for catching upgrade errors when calling dbc_dump (closes: #473026). - fix for empty dumps from postgres upgrades (closes: #473013). - fix for ucf/debconf/stdout redirection problems (closes: #435143). - fix for db server/client installed status differences (closes: #448804). - allow specifying preferred order in dbtype selection (closes: #469832). - find with -xtype instead of -type to allow symlinks (closes: #472944). - fix for allowing users to opt-in again to our help (closes: #475068). * update documentation wrt dbtype selection * centralize definition of dbc.log location * a test suite! now using shunit2 for unit tests, implemented some basic tests for logging as a proof-of-concept. * various fixes found from new unit tests * new/updated debconf translations: - Basque, from Piarres Beobide (closes: #472266). - Finnish, from Esko Arajärvi (closes: #472949). * lintian fixes: - bump standards version to 3.7.3 - swap binary-arch and binary-indep target build scripts - spelling fixes in description - add ignore for empty directory where we instruct packages to place install/upgrade files and scripts - remove .Xc from manpages as it seems an unsupported extension. -- Sean Finney Fri, 11 Apr 2008 19:44:58 +0200 dbconfig-common (1.8.37-0.1) unstable; urgency=low * Non-maintainer upload. * Set umask before dump creation (closes: #473131) -- Stephen Gran Sat, 05 Apr 2008 00:53:49 +0100 dbconfig-common (1.8.37) unstable; urgency=low * Fix from Niko Tyni for dpkg-reconfigure failures due to missing database admin password. Thanks! (closes: #439081). * Fix from Niko Tyni for problems with opting out in preconfiguration scenarios (closes: #469728). * Fix from Niko Tyni for choosing a more sane default for authmethod with remote questions in pgsql installations (closes: #443985). * Remove default logfile path/dir on purge (closes: #455018). -- Sean Finney Thu, 06 Mar 2008 23:37:03 +0100 dbconfig-common (1.8.36) unstable; urgency=low * added documentation and support for removal logic, to allow the packager to have arbitrary sql/scripts run when the package is being removed. thanks to Stefano Zacchiroli for the suggestion and testing (closes: #429722). * another internal change or two needed for webapps-common. * modified build-dependencies related to tetex/texlive. * new Slovak debconf translations thanks to Ivan Masár (closes: #437671). -- sean finney Sun, 02 Sep 2007 13:30:50 +0200 dbconfig-common (1.8.35) unstable; urgency=low * New Mayalalam debconf translations from Praveen A (closes: #426220). * Updated Vietnamese debconf translations from Clytie Siddall (closes: #426841). * initial attempt at handling more gracefully situations where a database was not installed before the package was installed. The text is not yet marked translatable since i don't think it's final yet. * do some more under-the-hood stuff for multi-instance support in the up and coming webapps-common package. * make sure the _DBC_DBSERVER_ substitution in d-g-i does not result in an empty string, as is done elsewhere. thanks to Stefano Zacchiroli for the patch (closes: #429841). * clean up an extra tmpfile that wasn't being deleted by d-g-i, thanks again to Stefano for the patch (closes: #429854). -- sean finney Mon, 18 Jun 2007 18:15:29 +0100 dbconfig-common (1.8.34) unstable; urgency=low * new support for sqlite3, thanks to the patch from Vincent Bernat! (closes: #425262). * create leading elements of purge-time data dump, if necessary. -- sean finney Sun, 20 May 2007 23:13:33 +0200 dbconfig-common (1.8.33) unstable; urgency=low * include a long-neglected fix from Adam Lebsack, which seems to fix the problems prevents dbconfig-common from working with dash (closes: #406127). this was also likely the cause of dbconfig appearing to attempt creating the database/user in the wrong order (closes: #418479). * remove some extra straggler bashisms, and use printf instead of echo for the dbc_log functions. * change function names for some internal debugging/logging functions. * now dbc defaults to logging to /var/log/dbconfig-common/dbc.log, which can perhaps make it a bit easier to get debugging info from folks who experience bugs. -- sean finney Sun, 13 May 2007 15:06:01 +0200 dbconfig-common (1.8.32) unstable; urgency=low * incorporated the suggested grammatical corrections to debconf templates, doing my best to avoid fuzzying current translations. thanks to Helge Kreutzmann for finding these (closes: #400784). * fixed random password generating code so that passwords are always 12 characters long. previously a newline character from /dev/urandom could cause it to be truncated. * correction version number in sample sql script for the db-test-mysql-2.1 example package. thanks to Niko Tyni (closes: #421009). * fixed typo in french debconf translations, thanks to Frédéric Bothamy for pointing this out (closes: #422196). * small fix for created nested subdirectories, which will be used by the soon-coming webapps-common package. -- sean finney Sat, 12 May 2007 14:41:27 +0200 dbconfig-common (1.8.31) unstable; urgency=low * tons of new/updated translations: * Swedish, thanks to Andreas Henriksson and Daniel Nylander (closes: #407852, #412012). * Galician, thanks to Jacobo Tarrio (closes: #412025). * Portuguese, thanks to Miguel Figueiredo (closes: #412177). * Norwegian Bokmål, thanks to Bjørn Steensrud (closes: #412308). * Italian, thanks to Giuseppe Sacco (closes: #412172). * Korean, thanks to Sunjae Park (closes: #412780). * Russian, thanks to Yuriy Talakan' (closes: #412788). * German, thanks to Helge Kreutzmann (closes: #400799). -- sean finney Sun, 04 Mar 2007 12:59:08 +0100 dbconfig-common (1.8.30) unstable; urgency=medium * remove some "-a" and "-o" bashisms. * dbconfig-load-include now returns the exit status of the "exec" format (where the output is based on running a script), if appropriate. thanks to Matt Brown for the patch (closes: #397089). * single-quote settings in /etc/dbconfig-common/package.conf instead of double-quoting them, and make sure any single quotes in the settings are properly escaped when written. * escape SQL-sensitive character sequences in passwords for user creation SQL snippits. * escape shell/sed sensitive character sequences that are used in dbconfig-generate-include (closes: #405598). * another dpkg order-of-operations corner case: if unpacked but not (pre-)configured, our debconf templates aren't registered yet, so if some dependant package tries to use us in such a state (i.e. its config is run before ours), fail gracefully and let its postinst script pick up the work with a second config run. -- sean finney Sun, 21 Jan 2007 20:14:36 +0100 dbconfig-common (1.8.29) unstable; urgency=medium * Fabio Tranchitella discovered that in some environments passwords could be generated with illegal UTF8 characters. the fix was simple enough, anyway, thanks. Closes: #397288. -- sean finney Sat, 11 Nov 2006 17:58:57 +0100 dbconfig-common (1.8.28) unstable; urgency=low * update package decscription to include mention of sqlite support. * preseeding values were still being dropped if debconf priority was set to >= high. should be fixed now. thanks to Finn Smith for his continued vigilance :) -- sean finney Mon, 30 Oct 2006 14:05:46 +0100 dbconfig-common (1.8.27) unstable; urgency=high * the "patch to fix the patch to fix the patch to fix the bug" release * unregistered pgsql questions were being asked even in mysql packages, causing confusion, breakage, chaos, riots, etc. fixed. closes: #393124. -- sean finney Sun, 15 Oct 2006 18:42:24 +0200 dbconfig-common (1.8.26) unstable; urgency=high * the previous upload included a changelog entry that closed the wrong bug. it should have read "(closes: #391960)". * preseeding for apt-preconfigured packages was broken, at the very least for multidbtype packages but i suspect it was completely broken. should be fixed now. (closes: #392681). * previous version hasn't made it to testing, and these are all nasty bugs we want out of etch <=> urgency stays high. * Updated Catalan debconf template -- sean finney Fri, 13 Oct 2006 10:29:34 +0200 dbconfig-common (1.8.25) unstable; urgency=high * fixed bugs found by Finn Smith: - multidbtype packages would fail to install if the admin declined our help (closes: #391160). - preseed values for dbc_authmethod_foo were being ignored for multidbtype packages (closes: #391997). - don't bother offering our assistance at purge time if the admin never opted for our help in the first place. * previous version hasn't made it to testing, <=> urgency stays high. -- sean finney Tue, 10 Oct 2006 11:30:34 +0200 dbconfig-common (1.8.24) unstable; urgency=high * updated spanish debconf translations from Javier Fernández-Sanguino Peña (closes: #391557) * don't try to chown a non-existant file in _dbc_pg_dump(). thanks to Torsten Werner for finding this (closes: #391379). * rc bugfix <=> high priority. -- sean finney Sat, 07 Oct 2006 14:37:48 +0200 dbconfig-common (1.8.23) unstable; urgency=low * Thijs Kinkhorst noticed a discrepancy in the documenation about the config file later on in the documenation. also, since dbconfig-common depends on debconf, it's not necessary for the package in question to depend on debconf if it doesn't explicitly need it (closes: #388249). -- sean finney Tue, 19 Sep 2006 14:33:55 +0200 dbconfig-common (1.8.22) unstable; urgency=low [ sean finney ] * added note about needing to check for dbconfig-common in the config script before sourcing the shell library (for situations where apt or similar utilities preconfigure the package before dependencies are unpacked). * updated examples as well. * updated build-depends to include po-debconf * updated danish translations by Claus Hindsgaul (closes: #385688). * updated czech translations by Miroslav Kure (closes: #386022). translations * Updated Dutch translations by Bart Cornelis -- sean finney Mon, 18 Sep 2006 21:12:08 +0200 dbconfig-common (1.8.21) unstable; urgency=low [sean finney] * fix sourcing incorrect shell library in sqlite example, and make check for ucf in purge section. * make sure all sh references to /dev/stderr go to &2 instead. thanks to Aidas Kasparas for finding this (closes: #383988). [Matt Brown] * Default the basepath for creating sqlite databases to /var/lib/dbconfig-common/sqlite/ * Set the permissions on the basepath to match those of the dbfile. -- sean finney Mon, 21 Aug 2006 23:30:03 +0200 dbconfig-common (1.8.20) unstable; urgency=low [ sean finney ] * added more information about what needs to be done by packagers wrt the postrm script hooks. * added some additional overrides for the new sample packages. [ Matt Brown ] * Added support for SQLite databases. closes: #379796. translations * Updated Dutch translation by Bart Cornelis. -- sean finney Sat, 19 Aug 2006 00:37:25 +0200 dbconfig-common (1.8.19) unstable; urgency=high [ sean finney ] * dbconfig-common and the documentation/examples were not policy complaint wrt the postrm script hooks. thanks to Anthony DeRobertis for catching this before it was too late. this fixes an RC bug report with dbconfig-common, so urgency=high. bugs may need to be filed seperately against packages that used the examples verbatim. * incorporate the "frontend" feature for read-only packages, where someone may want to ask the questions but not take the actions. see docs for details. thanks to Thomas Huriaux and Michael Ablassmeier for the prompting on this one. closes: #373188. * when doing upgrades, only ask for the administrative password if there are upgrades to be applied. thanks to Michael Ablassmeier for pointing this out. closes: #379730. * merge debian/TODO and TODO into just TODO. * dbconfig-generate-include was using tempfiles without removing them afterwards. thanks to Thijs Kinkhorst for pointing this out. * change dbconfig-generate-include to respect permissions that are locally modified via dpkg-statoverride. thanks to Thijs Kinkhorst and Matt Brown for realizing this. * no longer depend on pwgen(1) for generating random passwords, and instead use sed and cut from /dev/urandom. * new spanish debconf translation from Javier Fernández-Sanguino Peña closes: #382969. -- sean finney Tue, 15 Aug 2006 08:27:04 +0200 dbconfig-common (1.8.18) unstable; urgency=low [ sean finney ] * no longer end php-style generated files with a ?>, as it's superfluous and can reportedly cause problems (closes: #379979). thanks to Thijs Kinkhorst for pointing this out. * other changes/fixes from Thijs Kinkhorst: - utf8 fix in changelog - update standards version to 3.7.2 - lintian overrides for false-positives due to the example packages closes: #380353 * updated danish debconf translations from Claus Hindsgaul, thanks. closes: #378769 * fixed/improved pgsql authentication method autodetection. * new db-test-pgsql-migration-{1.9,2.0} packages to both show and test how to migrate from previous non-dbc packaging. * fix for sh-format include files from dbconfig-load-include. thanks to Torsten Werner for finding this problem. * remove import-oldsettings template, i don't think the need merits having it. * packages that migrate to dbconfig-common no longer get the confusing installation question. * remove date from the d-g-i generated config files, to reduce any ucf noise. [ Bart Cornelis (cobaco) ] * Updated Dutch translation -- sean finney Wed, 02 Aug 2006 17:08:29 -0700 dbconfig-common (1.8.17) unstable; urgency=low [ sean finney ] * now provide a global configuration option which affects the priority of questions related to remote database configuration. * updated spanish debconf translations, thanks to Javier Fernández-Sanguino Peña (closes: #372650). * provide a fix for over-zealous sanity-checking breakage with packages that support multiple database types. this should remove the need for any ugly workarounds. thanks to David Gil (closes: #372948). * dbconfig-common was not respecting manual changes to its global config file. whoops, fixed. [ Bart Cornelis (cobaco) ] * Updated Dutch translation -- sean finney Tue, 13 Jun 2006 19:34:53 +0200 dbconfig-common (1.8.16) unstable; urgency=low * when determining the local user as which to interact with postgres, additionally check that the account exists before attempting to su/chown stuff to it. this should make postgres work "out of the box" for both applications that use a system account and those that don't. thanks to stephen gran for the suggestion. closes: #368854 * updated the pgsql password prommpt question to mention this. * when reconfiguring a package, change the "install with dbconfig-common?" question to "reinstall with dbconfig-common?", and default to false. this should make dbconfig-common packages' maintainer scripts idempotent, which could otherwise be considered a policy bug. * bugfix in sql dumping logic (upgrades and purges) for both mysql and pgsql. -- sean finney Fri, 09 Jun 2006 02:31:09 +0200 dbconfig-common (1.8.15) unstable; urgency=low [sean finney] * Michael Ablassmeier noticed the the various upgrade files were not being applied in "version" sorted order (and were instead in "sort -n" sorted order). fixed with an O(n^2) chunk of code that would make any computer scientist cry, if only it were used for sorting more than a small number of files :) closes: #370252. -- sean finney Sun, 04 Jun 2006 19:03:00 +0200 dbconfig-common (1.8.14) unstable; urgency=low [sean finney] * provide a new hint option dbc_sql_substitutions, which will pipe all provided sql files through the template-based substitution filter of dbconfig-generate-include before being processed (closes: #366761). * andrew mcmillan found a spelling error, so i ran aspell over all the documentation :) * provide a new hint option dbc_authmethod_user for the packager to provide the "sane default" for how the application's database user should authenticate for pgsql applications (closes: #368219). we'll soon provide a better (automagic) detection, but it shouldn't break things if you start using this feature before then. * extra sanity check for a glob that might not expand in some circumstances, from matt brown (closes: #368714). * more code consolidation, configfile-vs-debconf fixes, removal of some obsolete code/templates. -- sean finney Tue, 30 May 2006 23:15:35 +0200 dbconfig-common (1.8.13) unstable; urgency=low [sean finney] * now support a dbc_pgsql_createdb_encoding hint option in the postinst for supporting specific encodings (closes: #366758). * updated czech translation from Miroslav Kure (closes: #366261). * a third fix for GRANT command construction hiding in the prerm support script. thanks again to Radu (closes: #362571). * added a check for the version of createuser to prevent the createuser cmd from stopping the install question with a prompt about roles (defaulting to not giving users the role granting privs). * change the authmethod-user question to medium priority, but we really need a way to let the maintainers specify the default authentication method. * fix typo in postinst support code that always logs "administrative sql" even when it's doing normal sql. * error checking when dumping the database in prerm. needs a bit more work still as we end up going back through the postinst/configure code again which isn't smart enough to realize what's going on sometimes. * fix some internal pgsql code where $extra was tossed around too much in the wrong scope. * support for postgresql-8.1. -- sean finney Fri, 12 May 2006 19:21:48 +0200 dbconfig-common (1.8.12) unstable; urgency=low [sean finney] * dbconfig-common is now migrated to svn.debian.org. * two fixes for GRANT command construction from Radu Spineanu: - if dbc_dbserver is localhost, then dbc_dballow should also be set to localhost (currently it's set to the output of `hostname`, just like with remote connections) - if connecting to a remote host, use the fqdn (`hostname -f`) instead of the node name. (closes: #362571). * the source package in ./examples is now split into several smaller source packages, one per binary. this should hopefully make things much easier to understand for developers interested in using dbconfig-common. thanks to Jelle Boomstra for the suggestion (closes: #350588). * fix a documentation bug on where installation files should be placed. thanks to Uwe Steinmann for pointing this out (closes: #348720). * Cameron Dale noticed that a mix of script/sql/admin sql upgrades would not necessarily be applied in sorted order with respect to each other. this *should* be fixed now, but i'm sure i'll hear if it isn't. * added missing build-depend on gs. * added a debugging and logging function, and started using it in various places as i add more code. to get a little more info on what goes on, export dbc_debug=1 before installing a dbc-using package. * logic fix for install/upgrades in postinst that would otherwise result in installation code being run when it shouldn't, which can be really annoying. now everything *should* work the way it ought to... -- sean finney Mon, 24 Apr 2006 01:26:02 +0200 dbconfig-common (1.8.11) unstable; urgency=low [sean finney] * arrgh. mysql 5.0 has changed the output from SHOW GRANTS, so we need to have a slightly more liberal grep statement in dbc_mysql_check_user(). the positive side of this is that this also gives the local admin to restrict the privileges of the db user, i guess.... [ Bart Cornelis (cobaco) ] * Updated Dutch translation -- Bart Cornelis (cobaco) Sun, 19 Feb 2006 19:12:42 +0100 dbconfig-common (1.8.10) unstable; urgency=high [sean finney] * dbc was not telling dbconfig-generate-include to register output files with ucf, and thus bad things could happen for people who wanted to configure their systems manually, or otherwise customize such files. this causes rc behavior in packages that use dbc, so the urgency is thus set to high (closes: #343691). * updated Danish debconf translations from Claus Hindsgaul (closes: #343609). [christian perrier] * corrected typo in French translation -- sean finney Tue, 20 Dec 2005 01:03:07 +0100 dbconfig-common (1.8.9) unstable; urgency=low [sean finney] * unregister questions at dpkg purge time. * provide a new -C option for d-g-i to "comment out" unset options. [translations] * updated swedish translations from daniel nylander (closes: #341631). * updated vietnamese translations from clytie siddall (closes: #341947). -- sean finney Mon, 05 Dec 2005 11:00:59 +0100 dbconfig-common (1.8.8) unstable; urgency=low [Sean Finney] * import documentation into debiandoc format, and update build-depends accordingly. * new swedish debconf translations from daniel nylander (closes: #339784). * dbconfig-generate-include was accidentally bailing out when -U was invoked. fixed thanks to Matthijs Mohlmann (closes: #339881). * Thijs Kinkhorst pointed out that the manpages/help output would recommend calling d-g-i and d-l-i with optional arguments like "-t [varname]", when in fact it will not work unless invoked "-t[varname]" (closes: #341028). * also from Thijs: mandate that a format is chosen with d-l-i. [Christian Perrier] * Make Choices translatable in debconf templates Closes: #338342 -- sean finney Sat, 19 Nov 2005 21:12:03 +0100 dbconfig-common (1.8.7) unstable; urgency=low * Tobias Grimm noticed that internal/mysql/dbc_mysql_exec_file() didn't properly catch/return error values. fixed. * dbconfig-generate-include and dbconfig-load-include didn't actually implement --dbname. fixed. * don't flash the message about importing old settings if a program is being installed for the first time. * initial support for an "ignore" option during installation, to give the admin a way to bludgeon us into submission if we cause the package to get into some kind of uninstallable/unremovable wedge state, or if the admin tries to install the same version twice. thanks to craig small for the suggestion (closes: #333611). * an "improvement" to the upgrade logic, so dbc won't get clever and try and do stuff it shouldn't during an upgrade. -- sean finney Mon, 07 Nov 2005 20:17:40 +0100 dbconfig-common (1.8.6) unstable; urgency=low [ sean finney ] * with multidb support, subsequent installs would override the chosen dbtype and default to what the autodetection found. thanks to Craig Small for pointing this out (closes: #333109). * similar to above, dbc_authmethod_user was being overridden by a "default" value. fixed. * in pgsql, if dbc_authmethod_admin is ident and dbc_authmethod_user is set to password, the admin would be prompted on the terminal for the dbuser's password because of a bug in internal/pgsql. * removed duplicate and unneccesary call to mktemp in _dbc_psql. * Translations: - updated Czech translations from Miroslav Kure. - updated Portuguese translations from Miguel Figueiredo. - updated Vietnamese translations from Clytie Siddall. - updated Dutch translation from Bart Cornelis [ Christian Perrier ] * Translations: - updated French translations by the French team. Closes: #331616 -- sean finney Tue, 11 Oct 2005 08:32:57 +0200 dbconfig-common (1.8.5) unstable; urgency=low * Sean Finney: - make sure *all* cvs directories are removed from the final package. thanks to Tim Olsen for pointing a few had slipped through (closes: #325745). - the postgres user now defaults to /bin/false as a shell, so we explicitly add '-s /bin/sh' when su'ing to postgres. thanks to Craig Small for finding this. - added "-c" option to credit-xlators for my own convenience. - debconf template updates. - there was some leakage/spillage of the dbc_dbname environment variable that messed things up for postgres users. this should fix that issue. thanks to Craig Small for all the help (closes: #329730). * Bart Cornelis: - Spelling fixes and some translations for new strings sent in by Thijs Kinkhorst. * Translations: - updated Danish translation by Claus Hindsgaul. - updated German translation by Andreas Tille. -- sean finney Tue, 27 Sep 2005 15:18:55 +0200 dbconfig-common (1.8.4) unstable; urgency=low * Sean Finney: - add support for 'template' output format in dbc_generate_include. - dbc no longer provides preinst hooks, as we can't promise dbconfig-common will be there without pre-depends. turns out there was a more graceful way to handle what we wanted to do in there anyway. also updated example packages accordingly. thanks to Miguel (as well as Marc 'HE' Brockschmidt) for finding this (closes: #323620). - updated vi.po fro clytie siddall (closes: #322281). -- sean finney Thu, 25 Aug 2005 15:41:02 +0200 dbconfig-common (1.8.3) unstable; urgency=low * Miguel Gea Milvaques: - Correct typo in dbconfig-load-include man page (closes: #320659) - changed populating order in internal/pgsql (1.scripts, 2.admin 3.user) - add support for an "upgrade-dbadmin" data directory, which functions like the "upgrade" directory except it guarantees to be run as the database administrator). * Sean Finney: - updated Standards-Version to 3.6.2 - typo in control, Suggests postgresl-client should be postgresql-client. - updated documentation for debugging. - don't use login shells for su in internal/pgsql. thanks to andreas for pointing this out. - now providing the source packages for the db-test family of packages underneath /usr/share/doc/dbconfig-common/examples. * Translations: - updated German debconf translations from andreas tille. - updated Czech debconf translations from miroslav kure (closes: #318321). - updated French translation by Christian Perrier - updated Danish translation by Claus Hindsgaul (closes: #319030). - updated italian translation by Giuseppe Sacco -- sean finney Wed, 03 Aug 2005 04:12:30 -0400 dbconfig-common (1.8.2) unstable; urgency=low * First release targeted at unstable. w00t! * Sean Finney - Initial Support for importing configurations from packages that may have had pre-existing configs before using dbc, via the dbconfig-load-include script. - removed a bunch of duplicated pgsql code in internal/common. - su to $dbc_dbadmin if connecting to localhost via ident authentication, instead of postgres. for all other methods, don't change userid (stay as root). - add support for an "install-dbadmin" data directory, which functions like the "install" directory except it guarantees to be run as the database administrator (only really applicable for some pgsql applications currently). - various updates to documentation and "best-practices" policy draft. - removed unused empty directories from the list of directories to install. - added the note about random password generation to the postgres app-pass template too. - updated TODO a bit. - include a manpage for dbconfig-load-include. - other cosmetic lintian-discovered fixes. * Miguel Gea Milvaques: - Support for an abort/retry option when something goes wrong in the install, upgrade, or remove operations. * Translations: - typographical fix in one of the templates, thanks to Clytie Siddall (closes: #308423). - updated german translation from tobias grimm. - French updated - Danish debconf updated by Claus Hindsgaul -- sean finney Mon, 11 Jul 2005 14:16:33 -0400 dbconfig-common (1.8.1) experimental; urgency=low * the mysql verify user/db functions were broken in 1.8 thanks to my "better error notification" fix. * changed a couple references of upgrade_error to dbc_upgraded error, as pointed out by tobias. there was also an remove_error that should be dbc_remove_error * various fixes for postgresql remote connections * don't allow empty admin passwords in pgsql, since they don't work anyway. * don't repeat asking for the admin password. * use the return status of the execute sql/script functions, not the value of dbc_status, which is not consistant and probably on its way out. thanks to tobias for pointing this out. * return 0, not exit 0 in dbc_go functions, as it will otherwise halt the entire maintainer script. * added three new maintainer-specifiable variables: - dbc_generate_include_owner - dbc_generate_include_perms - dbc_generate_include_args which are passed to dbconfig-generate-include and do just what you'd expect. Thanks to Miguel Gea Milvaques for the idea and initial patch. * updated THANKS. * Translations: - Catalan translations from Miguel Gea Milvaques. - New Czech translations from Miroslav Kure (closes: #307160). - New Vietnamese translations from Clytie Siddall (closes: #307635). -- sean finney Wed, 04 May 2005 14:06:17 -0400 dbconfig-common (1.8) experimental; urgency=low * dbconfig-common now defaults to blank passwords implying the admin wants a random password (this makes automatic installations even easier) thanks to Tobias Grimm for the inspiration. * the admin is prompted only once if the app. password is blank. thanks to tobias for the idea. * added dependency on pwgen for generating passwords. * the manpage for dbconfig-generate-include was never built into the binary. d'oh! * character encoding fix in the changelog to make lintian happy. * limit mysql usernames to 16 characters long, as that's a built in limit. * the dbc_log functions now always produce output, as it's actually helpful to see what's going on. * dbconfig-generate-include has changed behavior. -P/--dbport is now for port and -m/--mode is for mode (was -P/--perms, but i can't think of a good name for port otherwise!). * forget the host/port responses if reconfigured to use a local connection. otherwise that causes confusion. * better error notification in the internal mysql code. * if something goes wrong in the install process, forget that we've seen the relevant debconf questions (so they will be asked again). -- sean finney Wed, 27 Apr 2005 19:42:01 -0400 dbconfig-common (1.7) experimental; urgency=low * dbconfig-generate-include now honors the owner/perms arguments. * fixes for more breakage from shrinking the similar debconf questions. thanks to Tobias Grimm for pointing these out. * Translations: - French updated by Steve Petruzzello -- sean finney Sun, 24 Apr 2005 18:03:33 -0400 dbconfig-common (1.6) experimental; urgency=low * added a substitutable ${dbvendor} variable in the questions, which allows me to drastically shrink a number of similar mysql/pgsql questions. * drastically shrank a number of similar mysql/pgsql questions :) * added a neat little script to credit the translators. * spanish translation from Javier Fernández-Sanguino Peña . * french translation from Steve (closes: #303005). * Danish translation by Claus Hindsgaul * minor typographical corrections from Javier. * updated german translations from Andreas Tille . * the consolidation in 1.5.1 missed a question or two it seems. fixed. thanks to Miguel Gea Milvaques (closes: #305092). * better error detection/notification for mysql database creation. * better error detection/notification and misc bug fixes for pgsql code -- sean finney Sun, 17 Apr 2005 23:23:18 -0400 dbconfig-common (1.5.1) experimental; urgency=low * add a depends on ucf, and a suggests for mysql-client or postgresql-client. thanks to Miguel Gea Milvaques for pointing this out (closes: #301497). * many, many debconf style corrections and suggestions from Christian Perrier . thanks! * consolidation of some more or less duplicated debconf questions to make translators' jobs a little easier. -- sean finney Wed, 30 Mar 2005 22:50:59 -0500 dbconfig-common (1.5) experimental; urgency=low * debconf config questions support "back". * provide dbc_config_include to scripts for convenience * handle the app db pass a little more effectively * ucf now purges config files when package is purged. -- sean finney Tue, 08 Mar 2005 23:25:59 -0500 dbconfig-common (1.4) experimental; urgency=low * this should be the feature-complete-now-fix-bugs release. * full support for installs/upgrades via the script method -- sean finney Fri, 04 Mar 2005 00:27:49 -0500 dbconfig-common (1.3) experimental; urgency=low * pgsql now supports ssl, modified README.pgsql to reflect this. * random incoherent updates to TODO. * updated german translation from andreas tille. * dbconfig-generate-include is now a functional script, complete with ucf support. * dbconfig-generate-include support now included in maintainer hook scripts. * updates to documentation, though parts are still incomplete. * simplified some error checking in postinst hook. -- sean finney Wed, 09 Feb 2005 22:17:29 -0500 dbconfig-common (1.2) experimental; urgency=low * config file / debconf interaction fixes * additional support for different postgres authentication methods * debconf template updates -- sean finney Wed, 02 Feb 2005 23:56:09 -0500 dbconfig-common (1.1) experimental; urgency=low * huge re-write of internal db management code. this fixes a lot of things from the TODO that couldn't be done with dbconfig-common, as well as addressing some security concerns presented (passing passwords and other data on the cmdline). * api change, so the major version number does as well. * updated documentation for api changes * german debconf translations, thanks to andreas tille. -- sean finney Wed, 19 Jan 2005 18:16:33 -0500 dbconfig-common (0.9) experimental; urgency=low * we now support for packages that support multiple underlying database types, such as webapps that use db-independant code. see documentation for details. * postgres support upgraded from "initial" to "basic". all the basic operations (install, upgrade, remove) work on a default debian postgres installation running on the same machine. pretty much everything else still doesn't * error code is now more consolidated, providing more information to the user, and generally more robust. there's still plenty of room for improvement. * we no longer default to keeping admin and app passwords stored in debconf. by default they're removed after they're no longer needed by the postinst. this can be overridden via a global config setting, though they're never stored in a config file. * the dbpass setting is no longer stored in the per-package config. * prompting for the admin and user passwords is now consolidated into two functions, which should help prevent code duplication in future situations where we need to ask for the information again (errors, include-file generators). * initial version of dbconfig-generate-include, for taking db configuration to generate code scriptlets (php, perl, et c) with the db configuration needed to use the database. * documentation updated to reflect changes -- sean finney Fri, 24 Dec 2004 01:25:58 -0800 dbconfig-common (0.8) experimental; urgency=low * intial code abstraction for multiple database types. * initial support for postgresql. -- sean finney Sat, 04 Dec 2004 20:43:42 -0500 dbconfig-common (0.7) experimental; urgency=low * slight change to the api. see updated docs. * incorporated debconf related suggestions from andreas tille * updated policy and documentation about "opting out" by the local administrator for install, upgrade, and remove operations. * debconf responses were being overrided by contents of config files instead of being pre-seeded with them. fixed. * support for install, upgrade, and removal in mysql nearly complete. * support for (cleartext) tcp/ip nearly complete. * misc debconf template changes * misc lintian fixes. -- sean finney Tue, 23 Nov 2004 21:02:12 -0500 dbconfig-common (0.6) experimental; urgency=low * package has been renamed dbconfig-common * added/modified debconf templates * now shipping with much needed documentation * now managed within alioth -- sean finney Sun, 21 Nov 2004 19:14:38 -0500 dbconfig-common (0.5) experimental; urgency=low * reworked how this package interacts with maintainer scripts. now there's a /usr/share/dbconfig-common/dpkg/postinst.mysql, etc. * added mysql script helpers for config, preinst, postinst, and prerm. not yet complete, but more or less designed. * intial support for mysql upgrades and removal -- sean finney Tue, 02 Nov 2004 00:08:40 -0500 dbconfig-common (0.4) experimental; urgency=low * for the time being, database "driver" scripts are going in /usr/share/dbconfig-common/db.d/$dbtype/. this might change. * starting off with a mysql adduser and createdb script * also, for the time being, we're going to depend on wwwconfig-common's pre-existing scripts for the dirty work :) * added additional debconf templates -- sean finney Mon, 25 Oct 2004 18:07:20 -0400 dbconfig-common (0.3) experimental; urgency=low * added an "upgrade-backup" template * added "method", "host" and "newhost" templates, making "location" and "location_new" obsolete. * changed */app_password and */admin_pw to a common *_pass * postrm set to include debhelper stuff -- sean finney Mon, 18 Oct 2004 00:38:10 -0400 dbconfig-common (0.2) experimental; urgency=low * incorporated postgresql-specific debconf templates, along with other changes and suggestions from oliver elphick * changed the wording in for "host" to "location". -- sean finney Mon, 18 Oct 2004 00:38:10 -0400 dbconfig-common (0.1) experimental; urgency=low * initial release. -- sean finney Mon, 11 Oct 2004 20:31:10 -0400