[php-maint] Fw: Removing of php modules (.ini file problem)

ivan ivan1986 at list.ru
Mon Jul 20 18:45:31 UTC 2009


On 20 июля 2009 22:12:12 you wrote:
> Your trick is good but is a « policy violation » in a sense that the
> package modify the config file:
>
> http://lists.alioth.debian.org/pipermail/pkg-php-maint/2009-July/005859.html
>
> That's right. I will try to push those changes a couple of weeks after
> debconf.
>
> Regarding using sed to modify the configuration, as a matter of fact it
> is a policy violation, since the package should not modify the config
> file without the user allowing the change.
>
Hmm, another variant - split exist files:
in file not control ucf put
for example (memcache.ini)
extension=memcache.so

in file on control ucf put config
for example (memcache_conf.ini)

[memcache]
memcache.dbpath="/var/lib/memcache"
memcache.maxreclevel=0
memcache.maxfiles=0
memcache.archivememlim=0
memcache.maxfilesize=0
memcache.maxratio=0

for example in imagic - not have config options 
- not used ucf and file imagic_conf.ini not need

---
Иван Борзенков <ivan1986 at list.ru>

I am the "ILOVEGNU" signature virus. Just copy me to your signature.
This email was infected under the terms of the GNU General Public
License.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20090720/c8a72c34/attachment.pgp>


More information about the pkg-php-maint mailing list