Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 45070

Summary: new ebuild for encfs-1.0.2 encrypted filesystem
Product: Gentoo Linux Reporter: Vaclav Slavik <vslavik>
Component: New packagesAssignee: Crypto team [DISABLED] <crypto+disabled>
Status: RESOLVED FIXED    
Severity: enhancement CC: genstef, johnm, latexer, radek, rockoo
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://arg0.net/users/vgough/encfs.html
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 45069, 59733    
Bug Blocks:    
Attachments: sys-fs/encfs-1.0.2.ebuild
encfs-1.1.9.ebuild
encfs-1.1.9.ebuild
files/PtrImpl.patch
encfs-1.1.10.ebuild

Description Vaclav Slavik 2004-03-18 14:57:36 UTC
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:
Comment 1 Vaclav Slavik 2004-03-18 14:58:42 UTC
Created attachment 27576 [details]
sys-fs/encfs-1.0.2.ebuild
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2004-03-18 15:28:30 UTC
hardened people, are y'all interested in this?
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2004-03-18 15:29:42 UTC
adding john and peter coz they're lufs oriented
Comment 4 solar (RETIRED) gentoo-dev 2004-03-29 14:38:15 UTC
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.
Comment 5 solar (RETIRED) gentoo-dev 2004-10-01 13:56:05 UTC
crypto herd exists. Reassiging bug now.
Comment 6 Abraham Smith 2004-10-12 05:16:28 UTC
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
Comment 7 solar (RETIRED) gentoo-dev 2004-10-12 09:56:21 UTC
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.
Comment 8 Daniel Webert 2004-10-15 18:32:43 UTC
Created attachment 41927 [details]
encfs-1.1.9.ebuild

the updated ebuild for encfs-1.1.9
Comment 9 Daniel Webert 2004-10-15 18:52:27 UTC
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>

Comment 10 Stefan Schweizer (RETIRED) gentoo-dev 2004-10-16 03:07:01 UTC
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/?
Comment 11 Stefan Schweizer (RETIRED) gentoo-dev 2004-10-16 03:07:37 UTC
Created attachment 41946 [details]
files/PtrImpl.patch
Comment 12 Stefan Schweizer (RETIRED) gentoo-dev 2004-10-16 03:08:56 UTC
Does anybody know, why HAVE_BITS_ATOMICITY_H is not detected in the correct way and how to solve that issue?
Comment 13 Stefan Schweizer (RETIRED) gentoo-dev 2004-11-09 09:50:10 UTC
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.
Comment 14 Stefan Schweizer (RETIRED) gentoo-dev 2004-11-16 13:17:56 UTC
crypto: Can I solve this by adding it to portage?
Comment 15 Stefan Schweizer (RETIRED) gentoo-dev 2004-11-20 11:45:31 UTC
in portage now. thanks