Please find sfs.tar.b2 attached, containing an ebuild for sfs-0.6 and RC scripts for the SFS client and server daemons. From the Web page: SFS is a secure, global network file system with completely decentralized control. SFS lets you access your files from anywhere and share them with anyone, anywhere. Anyone can set up an SFS server, and any user can access any server from any client. SFS lets you share files across administrative realms without involving administrators or certification authorities. It seems that net-fs/sfs would be a convenient place to put it.
Created attachment 5538 [details] sfs-0.6 ebuild and init scripts
I get the following when I try to compile: c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../async -I../arpc -I../ crypt -I../sfsmisc -I../sfsrodb -I../adb -I../svc -I../svc -DEXECD IR=\"//lib/sfs-0.6\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/share/ sfs\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -march=i686 -O3 -pipe -Wall -Werror -c parse.cc flex scan.ll && mv lex.yy.c scan.cc c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../async -I../arpc -I../ crypt -I../sfsmisc -I../sfsrodb -I../adb -I../svc -I../svc -DEXECD IR=\"//lib/sfs-0.6\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/share/ sfs\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -march=i686 -O3 -pipe -Wall -Werror -Wno-error -c scan.cc lex.yy.c:1342: arguments given to macro `yywrap' lex.yy.c:1690: arguments given to macro `yywrap' make[2]: *** [scan.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/sfs-0.6/work/sfs-0.6/ rpcc' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/sfs-0.6/work/sfs-0.6' make: *** [all-recursive-am] Error 2 Quite honestly, I'm not sure what it means at the moment. I do notice that version 0.7.1 is available now. Could I talk you into taking one more look at it and maybe updating to the current version?
Created attachment 6725 [details] sfs-0.7.2 ebuild and foo New ebuild for sfs-0.7.2... I have no idea what caused the problem you found. Maybe it's now gone? Wouldn't that be nice ;-)
Since I need it, and it's a very nice ebuild, and it built just fine, and it works, too, I committed it with some minor cosmetic changes. It does have a section that I think is obsolete, pkg_config, but since that doesn't get executed, there is no harm in keeping it. Setting up an sfs server entails more than just building the key, so nothing is lost. Very good ebuild, I wish all submitted ebuilds were of this quality :)