I've written up a new ebuild for the userspace utilities of compcache.
This is now in the sunrise overlay. You can find it at:
*** This bug has been marked as a duplicate of bug 252987 ***
This bug isn't a duplicate. It's an ebuild for only the userspace utilities provided by the compcache project. It's for people who run a kernel which includes compcache (zen-sources is an example).
This bug is a duplicate. The compcache-tools in the sunrise overlay only builds the userspace utilizes on recent kernels.
Created attachment 253479 [details]
ebuild for zramconfig utility
Just in case this is useful to anyone else, I'll attach this zramconfig ebuild here. I've tested it with the drivers/stagin/zram module that's in linux-2.6.36, and it seems to work. Note that zramconfig no longer exists in the tip of the upstream repository, since the latest version (not in mainline kernel) uses a sysfs interface for zram configuration. Anyway, with linux-2.6.36 I'm using something like this in /etc/conf.d/local.start:
zramconfig /dev/zram0 --init
The new sysfs interface is merged in linux-2.6.37, and documented in zram.txt:
It seems that at least one ebuild related to this bug exists in the Sunrise overlay at the moment. However, I have to regretfully announce that after a long inactivity period the Sunrise project has been discontinued and the related overlay will be eventually removed. For this reason, I'd like to ask you to reevaluate the ebuilds and consider moving them. If you'd like to maintain a package from Sunrise in Gentoo, please take a look at our Proxy Maintainers  project.
Please make sure to take ebuilds from the unreviewed developer Sunrise repository  rather than the -reviewed one, since the latter has not been updated for over a year. While at it, please note that:
1. Adding a package to Gentoo requires declaring yourself as an active maintainer for it. All bugs regarding the package will be assigned to you, and you will be expected to maintain it.
2. Some packages may not be suitable for addition anymore. While there's no strong rules that would prevent you from adding a package, it may be a bad idea to add old-unmaintained packages that will shortly result in a large number of bugs reported with no solution. If that is the case, please close the bug as RESOLVED/OBSOLETE to make it easier to find packages worth adding.
3. Some of the bugs were already closed as WONTFIX/OBSOLETE/... while the relevant ebuild was kept in Sunrise. If you disagree with the original decision, you still can add the ebuild via proxy-maint.
4. Pleaes note that many of the Sunrise ebuilds are old and may be buggy. If you decide to move them, please make sure to update/clean them up. The proxy-maint team will also review your ebuilds, therefore making sure they land in Gentoo in good quality.
Once again, thank you for your contribution. We hope that you will still want to contribute to Gentoo, through proxy-maint or otherwise.