EncFS is an encrypted pass-through filesystem which runs in userspace on Linux (using the FUSE kernel module). Similarly to CFS and other pass-through filesystems, all data is encrypted and stored in the underlying filesystem. Unlike loopback filesystems, this does not have any predetermined filesystem size. This ebuild depends on rlog and fuse ebuilds. Reproducible: Always Steps to Reproduce:
Created attachment 27576 [details] sys-fs/encfs-1.0.2.ebuild
hardened people, are y'all interested in this?
adding john and peter coz they're lufs oriented
Re #2 I don't think we are at this time. It's also might be time to start forming a crypto-herd@gentoo that can focus on these types of ebuilds vs giving them to an existing understaffed base-system.
crypto herd exists. Reassiging bug now.
This ebuild is sorely needed, but is now out of date. Note that the current encfs version is 1.1.9-1, so the ebuild has to be changed for this bizarre version number. Here is my account of using it: http://forums.gentoo.org/viewtopic.php?p=1640079#1640079
Removing hardened from alias as crypto@ herd now exists. For those of you that think you really need this ebuild I'd suggest poking at tigger on irc.
Created attachment 41927 [details] encfs-1.1.9.ebuild the updated ebuild for encfs-1.1.9
anyone compiled 1.1.9 w/ gcc-3.4.1, glibc-2.3.4.20041006 already? <snip> config.status: creating makedist2.sh config.status: creating config.h config.status: executing depfiles commands make all-recursive make[1]: Entering directory `/mnt/home/var/tmp/portage/encfs-1.1.9/work/encfs-1 1.9' Making all in encfs make[2]: Entering directory `/mnt/home/var/tmp/portage/encfs-1.1.9/work/encfs-1 1.9/encfs' if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -D_FILE_OFFSET_BITS=64 D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DRLOG_COMPONENT="encfs -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversio -Wchar-subscripts -O2 -march=pentium4 -O2 -pipe -fomit-frame-pointer -fforce-m m -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -ffast-math -Wformat- ecurity -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common - exceptions -MT Ptr.o -MD -MP -MF ".deps/Ptr.Tpo" -c -o Ptr.o Ptr.cpp; \ then mv -f ".deps/Ptr.Tpo" ".deps/Ptr.Po"; else rm -f ".deps/Ptr.Tpo"; exit 1; i if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -D_FILE_OFFSET_BITS=64 D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DRLOG_COMPONENT="encfs -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversio -Wchar-subscripts -O2 -march=pentium4 -O2 -pipe -fomit-frame-pointer -fforce-m m -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -ffast-math -Wformat- ecurity -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common - exceptions -MT PtrImpl.o -MD -MP -MF ".deps/PtrImpl.Tpo" -c -o PtrImpl.o PtrImp .cpp; \ then mv -f ".deps/PtrImpl.Tpo" ".deps/PtrImpl.Po"; else rm -f ".deps/PtrImpl.Tp "; exit 1; fi if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -D_FILE_OFFSET_BITS=64 D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DRLOG_COMPONENT="encfs -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversio -Wchar-subscripts -O2 -march=pentium4 -O2 -pipe -fomit-frame-pointer -fforce-m m -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -ffast-math -Wformat- ecurity -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common - exceptions -MT OpaqueValue.o -MD -MP -MF ".deps/OpaqueValue.Tpo" -c -o OpaqueVa ue.o OpaqueValue.cpp; \ then mv -f ".deps/OpaqueValue.Tpo" ".deps/OpaqueValue.Po"; else rm -f ".deps/Op queValue.Tpo"; exit 1; fi if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -D_FILE_OFFSET_BITS=64 D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DRLOG_COMPONENT="encfs -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversio -Wchar-subscripts -O2 -march=pentium4 -O2 -pipe -fomit-frame-pointer -fforce-m m -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -ffast-math -Wformat- ecurity -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common - exceptions -MT readpassphrase.o -MD -MP -MF ".deps/readpassphrase.Tpo" -c -o re dpassphrase.o readpassphrase.cpp; \ then mv -f ".deps/readpassphrase.Tpo" ".deps/readpassphrase.Po"; else rm -f ".d ps/readpassphrase.Tpo"; exit 1; fi PtrImpl.cpp: In member function `virtual void rel::OVDRefCounted::retain()': PtrImpl.cpp:49: error: `__atomic_add' undeclared (first use this function) PtrImpl.cpp:49: error: (Each undeclared identifier is reported only once for ea h function it appears in.) PtrImpl.cpp: In member function `virtual bool rel::OVDRefCounted::release()': PtrImpl.cpp:59: error: `__exchange_and_add' undeclared (first use this function make[2]: *** [PtrImpl.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/mnt/home/var/tmp/portage/encfs-1.1.9/work/encfs-1. .9/encfs' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/home/var/tmp/portage/encfs-1.1.9/work/encfs-1. .9' make: *** [all] Error 2 !!! ERROR: sys-fs/encfs-1.1.9 failed. !!! Function src_compile, Line 510, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. </snip>
Created attachment 41945 [details] encfs-1.1.9.ebuild updated to get it working ;) maybe someone wants to contribute a botan ebuild? http://botan.randombit.net/?
Created attachment 41946 [details] files/PtrImpl.patch
Does anybody know, why HAVE_BITS_ATOMICITY_H is not detected in the correct way and how to solve that issue?
Created attachment 43614 [details] encfs-1.1.10.ebuild Can you please test if this updated ebuild works for you? It works without the patch for me.
crypto: Can I solve this by adding it to portage?
in portage now. thanks