It would be nice if someone could bump the dev-util/plan9port ebuild to a current snapshot. http://hg.pdos.csail.mit.edu/hg/plan9/shortlog shows there happened a lot of work upstream, including lots of bugfixes. Reproducible: Always
Yes, a snapshot that is more than a year old is a shame.
Patches are welcome
Created attachment 207114 [details] Live ebuild using plan9port.tgz I wrote a live ebuild that uses the most recent plan9port.tgz http://swtch.com/plan9port/plan9port.tgz. It could easily be adapted for a specific version, and unlike the previous ebuilds it uses sed instead of relying on a `repacked' tarball and a huge patch. A few other differences are: - Depend on `x11-apps/xauth' for headless machines (same as openssh) - Add PORTAGE_COMPRESS="" so 9 man works I've used this for probably about a year or so and its seem to work pretty well.
Created attachment 223533 [details] plan9port-99999999.ebuild using mercurial This updates the previous ebuild to use mercurial directly instead of pulling the tarball. It also cleans up a few things suggested by people on the sunrise overlay.
Created attachment 223535 [details] updated date stamped ebuild following previous suggestions for people on the sunrise overlay
Created attachment 268183 [details] Version bump for 2011-03-10 This improves upon the previous two builds and should work with the lastest tarball from http://swtch.com/plan9port/ (see http://swtch.com/cgi-bin/info.cgi?file=/plan9port/plan9port.tgz for the version number). It compiles cleanly for me on ~x86 and ~amd64 using the following patches
Created attachment 268185 [details, diff] Fix TLS errno mismatch Fix error by including <errno.h> instead of defining it manually http://code.swtch.com/plan9port/issue/39/build-failed-errno-issue-in-9660srv
Created attachment 268189 [details, diff] Fix W|X sections Fix Writing/Executable sections issues. Plan9port uses some assembly files which get an executable stack by default. Update the build script to use --noexecstack to prevent this.
Created attachment 268191 [details, diff] Disable lex based utilities Plan9port's lex causes some build errors. Disable the lex based utilities until a better solution is provided by upstream.
Package removed from tree.
Created attachment 272565 [details, diff] cleanup errno patch
Created attachment 272567 [details, diff] cleanup W|X patch
Created attachment 272569 [details, diff] cleanup lex patch
Created attachment 272571 [details] Version bump and improve ebuild Changes since 2011-03-10 - Improve description - Use docompress -x instead of PORTAGE_DOCOMPRESS=() - Move prefix fix to src_prepare - Remove die message