retitle 603427 "unblock: ipplan/4.92a-2" thanks On Thursday 09 December 2010 11:10:09 Alexander Reichle-Schmehl wrote: > While surely not being small, it addresses the core issue of the > problem, and is as elegant as possible. I guess, if I would have needed > to address this issue, I would have done it similar. > > I also tested various upgrad szenarios to verify, that the patch solves > the issue. And didnt found any problems; all problems I could think of > during upgrades seem to be addressed.
I uploaded the package some minutes ago, please unblock it.
* Implement proper configuration handling (Closes: #603427)
- Add ucf to Depends
- Write database settings from old config file into /etc/ipplan/db.php
- Register /etc/ipplan/db.php via ucf in postinst
- Deregister /etc/ipplan/db.php via ucf and remove variants in postrm on
purge
- Migrate /etc/ipplan/config.php to /etc/ipplan/local_conf.php, if user
has modified the file
- Adjust README.Debian related to our new way to configure ipplan
* Add 11_user_config.dpatch to patch shipped config to also read our config
files
* Add 05_fix_config_syntax.dpatch to fix broken default config
* Only call postinst and config if we install the package or on
dpkg-reconfigure
* Copy template of local_conf.php to /etc/ipplan/ via postinst if there
isn't
one yet
* Remove /etc/ipplan/local_conf.php on purge
-- Jan Wagner <[email protected]> Thu, 09 Dec 2010 11:56:13 +0100
Thanks in advance.
unblock: ipplan/4.92a-2
--
Never write mail to <[email protected]>, you have been warned!
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT d-- s+: a C+++ UL++++ P+ L+++ E--- W+++ N+++ o++ K++ w--- O M V- PS PE Y++
PGP++ t-- 5 X R tv- b+ DI D+ G++ e++ h---- r+++ y++++
------END GEEK CODE BLOCK------
signature.asc
Description: This is a digitally signed message part.

