Upstream tagged v0.9 at Tue, 22 Sep 2009 21:17:44, but the front page <http://suspend.sourceforge.net/> was never updated. Using suspend-0.8, I have been getting warnings from the kernel during hibernation because the hibernation ioctl used by suspend-0.8 was deprecated some time ago and scheduled to be removed for 2.6.36. Switching to suspend-0.9 got rid of the warnings and suspend works fine for me on a mostly stable amd64 2.6.35.x. The only issue I encountered is that you must match the suspend/resume versions. I initially tried to hibernate with an s2disk from suspend-0.9 and resume with an initramfs that carried an /sbin/resume from suspend-0.8. That failed. Once the initramfs was updated to use a resume from suspend-0.9, I have had no further problems with the new version. Renaming the ebuild is not quite sufficient on its own, since upstream incorporated a patch that 0.8-r1 applies. Also, since I had to manually export a tarball from the git tag, it came out without configure/Makefile.in, so an eautoreconf was needed to generate the build system files. I will attach a patch showing my changes between 0.8-r1 and my 0.9. See $URL for the page from which the snapshot was grabbed.
Created attachment 249369 [details, diff] Patch to convert suspend-0.8-r1.ebuild to proposed suspend-0.9.ebuild You will probably need to fix up the SRC_URI mirror line before committing to Portage. Since I downloaded the tarball by hand and placed it in $DISTDIR, I only needed to adjust the filename for my purposes. Changes since 0.8-r1: - Changed tarball name since gitweb-generated tarball includes part of the commit ID. - Changed $S to reflect directory name picked by gitweb. - Dropped epatch from 0.8-r1, no longer needed. - Changed configure.ac line so that version information reports the tool as being from a 0.9 tag. - Added eautoreconf to generate build system files, since upstream does not keep them committed.
*suspend-0.9_pre0 (03 Oct 2010) 03 Oct 2010; Michael Weber <xmw@gentoo.org> +suspend-0.9_pre0.ebuild: Version bump to git tag, thanks to Kevin Pyle on bug 339521