Conversation
Notices
-
winter (velartrill@pleroma.site)'s status on Thursday, 25-Jul-2019 13:15:52 CEST winter
alright, i am exhausted to announce the first alpha release of nkvd.so, my utility to force *nix software to store its config files in the right place even when it really really wants to pollute your homedir with dotfiles. it's a simple C binary with no external dependencies, and it works by wrapping libc and forcibly redirecting open, stat, and unlink calls to the proper location. it works on glibc and may also work on other libc impls so long as you pass the -D_NO_GNU flag, though i can't test this myself. it is highly configurable via environment variables and only 421 lines long with no non-system includes, so you can audit it yourself to make sure it's not doing anything nefarious to your system (always important with LD_PRELOAD hacks). i hope it is useful to someone. merge requests, as always, are welcome.
the code can be found at
https://c.hale.su/lexi/util/artifact/1b974917835e9b5b
i am going to bed
@lachs0r
絵.png