Currently we use the iniparse library but it is too limited. We need to find a betetr replacemente with the right license.
We need to have multi-line options later in the process. Also we would need options like:
option = name=value
Ding-libs ini parser library pretty much covers all we need. Had an very good intro by dpal into that lib. Now Simo made me aware of the licence problems we have in that. Can we resolve this ? Can the ding -libs iniparser library be LGPLed ? Would that be sufficient lincense-wise ?
http://fedorapeople.org/cgit/gd/public_git/gss-proxy.git/log/?h=master-dinglibs
In this branch there is a modular way to move to another configuration library. Currently there is only an iniparser backend, soon a ding-libs backend also.
Dinglibs support is working now, need to make it build if recent enough version of ding libs is found.
Patch is ready to be added to the repo.
In order to support the current format of inifiles (which leading tabs or spaces before options), we depend on this ding-libs ticket:
https://fedorahosted.org/sssd/ticket/1607
Metadata Update from @simo: - Issue assigned to gd - Issue set to the milestone: 2012 November
Commit 633ae661 fixes this issue
Commit 9b4d96a5 fixes this issue