netatalk
netatalk copied to clipboard
Reimplement afp.conf include directive
Previously, we relied on a local iniparser hack to realize the include = /path/to/file feature for in-place substitution of this line with an external ini file.
Now when using stock iniparser, another solution is required.
What I want to attempt to do is:
Introduce pre-processing of afp.conf that reads afp.conf, does a global regex search for include =[.*]\n grabs the path to read, does some validation on the data, injects it into afp.conf, then passes the stream to iniparser.