Fellow CRUX users, On 17/06, David L. Craig wrote:
Are there any good approaches to maintaining one's localized package tweaks across prt-get sysup and release upgrades?
As a CRUX novice, I too would be interested in what people do in this situation. Most (if not all) configuration of some packages that I use (dwm, st, surf...) is done at compile time, in the config.h file. Unfortunately any modification is silently erased at every upgrade. I would probably fork the port, possibly include personal patches, customise the Pkgfile at will, and install the forked port instead. This, however, makes the upgrade process more cumbersome than it was since one does now not only have to `prt-get sysup` but also to pull the potential updates of the official ports into all of its personal ones and also upgrade them. I feel like a smart(er) package manager could have a construct to try applying custom patches to official ports (and require an intervention if that fails). On the one hand I realize the extra complexity layer that this would represent, but on the other it seems to me that forking every port that I want to patch is not the optimal solution. That's why I would really like to know in which way you deal with this problem yourselves. Best regards, Virgile Andreani