1 | # $Id: $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name encfs |
---|
6 | version 1.3.2 |
---|
7 | revision 1 |
---|
8 | categories fuse |
---|
9 | platforms darwin |
---|
10 | maintainers nomaintainer@macports.org |
---|
11 | description An encrypted pass-through FUSE filesystem |
---|
12 | |
---|
13 | long_description EncFS is an encrypted pass-through filesystem which \ |
---|
14 | runs in userspace, using the FUSE kernel module. \ |
---|
15 | Similar in design to CFS and other pass-through \ |
---|
16 | filesystems, all data is encrypted and stored in the \ |
---|
17 | underlying filesystem. Unlike loopback filesystems, \ |
---|
18 | there is no predetermined or pre-allocated filesystem size. |
---|
19 | |
---|
20 | homepage http://arg0.net/encfs |
---|
21 | |
---|
22 | distname ${name}-${version}-${revision} |
---|
23 | master_sites http://arg0.net/vgough/download |
---|
24 | extract.suffix .tgz |
---|
25 | worksrcdir ${name}-${version} |
---|
26 | checksums md5 71482dbe0e158ee9ba522ae637337230 \ |
---|
27 | sha1 6b200c9f7e0118e974384a5daa6c9b3301df076e |
---|
28 | |
---|
29 | depends_lib port:rlog \ |
---|
30 | port:openssl |
---|
31 | depends_run port:fusefs |
---|
32 | |
---|
33 | configure.env CPPFLAGS="-${prefix}/include -DHAVE_SSL -D__FreeBSD__=10" \ |
---|
34 | LDFLAGS="-L${prefix}/lib -lcrypto -lfuse" |
---|
35 | |
---|
36 | post-configure { |
---|
37 | reinplace "s|^\\(#define _Config_incl_$\\)|\\1\\\n#include \"../config.h\"|g" \ |
---|
38 | ${worksrcpath}/encfs/config.h |
---|
39 | reinplace "s|\\(::getxattr.*\\)\);|\\1, 0, 0);|g" ${worksrcpath}/encfs/encfs.cpp |
---|
40 | reinplace "s|\\(::listxattr.*\\)\);|\\1, 0);|g" ${worksrcpath}/encfs/encfs.cpp |
---|
41 | reinplace "s|\\(::removexattr.*\\)\);|\\1, 0);|g" ${worksrcpath}/encfs/encfs.cpp |
---|
42 | reinplace "s|\\(::setxattr.*\\)\);|\\1, 0);|g" ${worksrcpath}/encfs/encfs.cpp |
---|
43 | } |
---|