Hello, On Sat, Jul 25, 2015 at 8:13 PM, Virgile Andreani < virgile.andreani@anbuco.fr> wrote:
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.
One option is to use the git driver for your ports (/usr/ports/drivers/git after installing opt/git). As far as I know it's not officially supported by CRUX, but once you have your ports stored as a git repository, you could theoretically keep a local branch with your patches to the official ports. After a ports -u, you could then merge your local branch with the upstream repo. Disclaimer: I don't do this. Ryan