SHFS stays for SHell File System. It is a simple Linux kernel module partially based on Florin Malita's ftpfs. Using this module, you can connect remote filesystems into your local filesystem tree. $ shfsmount user@host /local/path user@host password: $ cd /local/path ------------- I think that that's a great solution: no more samba, no more nfs, and secure connections... an ebuild would be useful :)
Created attachment 12647 [details] Ebuild for shfs This is my first ebuild so please forgive its amateur style. I welcome any fixes, rewrites, etc. with open arms. Some problems I came up with were determining the dependencies. Since it uses ssh and rsh but requires neither I wasn't sure how to accomplish that. I just put ssh as a dep for this ebuild. Plus, I made a patch for the Makefile so it installs right.
Created attachment 12648 [details] Ebuild for shfs This is my first ebuild so please forgive its amateur style. I welcome any fixes, rewrites, etc. with open arms. Some problems I came up with were determining the dependencies. Since it uses ssh and rsh but requires neither I wasn't sure how to accomplish that. I just put ssh as a dep for this ebuild. Plus, I made a patch for the Makefile so it installs right.
Created attachment 12649 [details, diff] Patch for the Makefile Patch for the source that makes the Makefile install it in the right location and comments out automounter support (I'm not sure how to implement this either)
Created attachment 12655 [details, diff] Patch to Jesse's ebuild that makes compiling on ppc work
Created attachment 12656 [details, diff] Patch to shfs/Makefile that allows for compile on ppc
Wouldn't it be better to break the steps up a bit, and use dobin, dohtml, etc? And to depmod afterwards? I don't know. Maybe the simple way is fine? I'm attaching my ebuild anyway, which I wrote before I checked whether somebody else had written one (doh). Mine also depends on virtual/linux-sources, and doesn't demand a later version of ssh, by the way.
Created attachment 12671 [details] Ebuild for shfs My attempt at an ebuild - runs depmod afterwards, uses dobin, dodoc, etc.
Comment on attachment 12648 [details] Ebuild for shfs Replaced by Jonathan's Ebuild.
Created attachment 12725 [details, diff] Changes made to ebuild I added am-utils configuration to the ebuild. Also I added Matt's PPC changes to the new ebuild.
Created attachment 12726 [details] am-utils configs Extract to files/ dir if you wish to use am-utils.
Cleaned up and committed. Needs testing of course, and sparc/alpha support to be added. Cheers.