]> the.earth.li Git - onak.git/commit
Change config format to a cleaner .ini style
authorJonathan McDowell <noodles@earth.li>
Tue, 7 Jun 2016 11:23:18 +0000 (12:23 +0100)
committerJonathan McDowell <noodles@earth.li>
Tue, 7 Jun 2016 14:19:21 +0000 (15:19 +0100)
commitd4aa4e6ee07db203ef2a456a2afb9be52da8067c
tree5b2a9fe3c61df65ca519b67fb8f8105c1152eeab
parent2e969db9d32b8fba8a22125fe5b66323b6d1f71e
Change config format to a cleaner .ini style

onak's config file format grew from the pksd config style. pksd is long
obsolete and there are a number of features it would be nice to support
in onak which this config format makes hard to support cleanly. Move to
a .ini style config file, with [section] and name=value definitions. The
old format is still supported and at present an old style config is
searched for first to ensure smooth upgrades, but any new config options
will only be supported by the new style.

Additionally add tests against both old + new config styles for all
backends.
13 files changed:
.gitignore
Makefile.in
README
keyd.8
keydctl.8
onak-conf.c
onak-mail.pl.8
onak-mail.pl.in
onak.1
onak.conf.in [deleted file]
onak.ini.in [new file with mode: 0644]
runtests
t/test-in.ini [new file with mode: 0644]