As per:
https://mailman.boum.org/pipermail/tails-dev/2017-January/011172.html
TODO:
- take (and review) https://git-tails.immerda.ch/tails/plain/config/chroot_local-includes/usr/local/lib/tor-controlport-filter?h=feature/12173-end-whonix-controlport-filter-fork
- replace https://github.com/Whonix/control-port-filter-python/blob/master/usr/lib/tor-controlport-filter with above
- invent /usr/lib/tor-controlport-filter-merger
- parse
- /etc/tor-controlport-filter-merger.d and
- /usr/local/etc/tor-controlport-filter-merger.d (for Qubes-Whonix)
- auto generate /etc/tor-controlport-filter.d/30_autogenerated.yml
- parse
Bonus:
- if possible and easy code wise, add some comments on top of 30_autogenerated.yml such as "Manual edits will be lost! This file has been auto generated by..."
- each merged key gets a comment from which source file it is coming from