Hi, I've taken the liberty of updating the Aegis 4.4 ebuild to version 4.6. Nothing spectacular, but one minor change: The /etc/profile.d files are now left in place, see the ebuild for the rationale for this. If you disagree with this (or if it's against Gentoo policy), you could instead just cp aegis-4.4.ebuild aegiis-4.6.ebuild :) The modified ebuild is attached.
Created attachment 2700 [details] aegis-4.6.ebuild
We have /etc/env.d, which works slightly differently. I have not looked at the actual environment files that are installed into /etc/profile.d. Is it possible to rework them so that they fit nicely into /etc/env.d and are Gentoo-friendly ?
> We have /etc/env.d, which works slightly differently. > I have not looked at the actual environment files that > are installed into /etc/profile.d. Is it possible > to rework them so that they fit nicely into /etc/env.d > and are Gentoo-friendly ? I'm quite aware of /etc/env.d, but unfortunately, the env files are real shell scripts consisting of shell functions and aliases. Therefore they cannot be integrated into /etc/env.d. (See bug#4854 for a bit of discussion related to this. I didn't mention Aegis explicitly, but its one the packages needing the discussed functionality). I *do* think that a subset of the functionality of the files (scripts) could be split into separate files (ie. next-to-trivial shell scripts), but it would mean that a lot more package maintenance would be needed. (This would be pure duplication of effort on the package maintainers part, since the profile.d files are already maintained the official package).
Just noticed that there is a 4.7. The 4.6 ebuild works fine for that too.
Available for testing as dev-util/aegis-4.7 I've not added your scripts, as /etc/profile.d hasn't been sanctioned yet, see #4854 for details. I guess we'll open this one again (or make out a new for a newer aegis) once #4854 is fixed.
db fix