[InterNetNews/inn] 7fd6ea: innconfval: Parse inn-secrets.conf, add -f and -F ...

Julien ÉLIE noreply at github.com
Thu Apr 7 20:45:09 UTC 2022


  Branch: refs/heads/main
  Home:   https://github.com/InterNetNews/inn
  Commit: 7fd6ea3a4ff50b60e914aabefb5fc725ab7b2d19
      https://github.com/InterNetNews/inn/commit/7fd6ea3a4ff50b60e914aabefb5fc725ab7b2d19
  Author: Julien ÉLIE <Julien-Elie at users.noreply.github.com>
  Date:   2022-04-07 (Thu, 07 Apr 2022)

  Changed paths:
    M doc/pod/innconfval.pod
    M doc/pod/news.pod
    M frontends/innconfval.c
    M include/inn/confparse.h
    M include/inn/innconf.h
    M include/inn/secrets.h
    M lib/confparse.c
    M lib/innconf.c
    M lib/secrets.c

  Log Message:
  -----------
  innconfval: Parse inn-secrets.conf, add -f and -F flags

Move the code used to print values from lib/innconf.c to lib/confparse.c
so that it can be shared with other files like lib/secrets.c.  This way,
innconfval can now also print values from inn-secrets.conf.

Add -F to specify which file innconfval should dump (by default, it is
inn.conf).  Also add -f to indicate a specific file path (-i is reserved
for a specific inn.conf file).

close #224




More information about the inn-committers mailing list