[22805] trunk/dports/fuse

source_changes at macosforge.org source_changes at macosforge.org
Wed Mar 14 17:08:23 PDT 2007


Revision: 22805
          http://trac.macosforge.org/projects/macports/changeset/22805
Author:   eridius at macports.org
Date:     2007-03-14 17:08:23 -0700 (Wed, 14 Mar 2007)

Log Message:
-----------
New: encfs 1.3.2 (Fixes #11481)

Added Paths:
-----------
    trunk/dports/fuse/encfs/
    trunk/dports/fuse/encfs/Portfile
    trunk/dports/fuse/encfs/files/
    trunk/dports/fuse/encfs/files/patch-config.h
    trunk/dports/fuse/encfs/files/patch-encfs.cpp

Added: trunk/dports/fuse/encfs/Portfile
===================================================================
--- trunk/dports/fuse/encfs/Portfile	                        (rev 0)
+++ trunk/dports/fuse/encfs/Portfile	2007-03-15 00:08:23 UTC (rev 22805)
@@ -0,0 +1,35 @@
+# $Id$
+
+PortSystem 1.0
+
+name                encfs
+version             1.3.2
+categories          fuse
+platforms           darwin
+maintainers         eridius at macports.org
+description         An encrypted pass-through FUSE filesystem
+
+long_description    EncFS is an encrypted pass-through filesystem which \
+                    runs in userspace, using the FUSE kernel module.  \
+                    Similar in design to CFS and other pass-through \
+                    filesystems, all data is encrypted and stored in the \
+                    underlying filesystem.  Unlike loopback filesystems, \
+                    there is no predetermined or pre-allocated filesystem size.
+
+homepage            http://arg0.net/encfs
+
+distname            ${name}-${version}-1
+master_sites        http://arg0.net/vgough/download
+extract.suffix      .tgz
+worksrcdir          ${name}-${version}
+checksums           md5 71482dbe0e158ee9ba522ae637337230 \
+                    sha1 6b200c9f7e0118e974384a5daa6c9b3301df076e
+
+depends_lib         port:rlog port:openssl port:libfuse port:pkgconfig port:gettext
+
+platform darwin {
+    depends_run     port:fusefs
+    patchfiles      patch-config.h patch-encfs.cpp
+}
+
+configure.env       CPPFLAGS="-D__FreeBSD__=10" LDFLAGS="-L${prefix}/lib"


Property changes on: trunk/dports/fuse/encfs/Portfile
___________________________________________________________________
Name: svn:keywords
   + id
Name: svn:eol-style
   + native

Added: trunk/dports/fuse/encfs/files/patch-config.h
===================================================================
--- trunk/dports/fuse/encfs/files/patch-config.h	                        (rev 0)
+++ trunk/dports/fuse/encfs/files/patch-config.h	2007-03-15 00:08:23 UTC (rev 22805)
@@ -0,0 +1,10 @@
+--- encfs/config.h.old	2007-03-14 19:32:37.000000000 -0400
++++ encfs/config.h	2007-03-14 19:32:50.000000000 -0400
+@@ -18,6 +18,7 @@
+ #ifndef _Config_incl_
+ #define _Config_incl_
+ 
++#include "../config.h"
+ #include <string>
+ #include <map>
+ 

Added: trunk/dports/fuse/encfs/files/patch-encfs.cpp
===================================================================
--- trunk/dports/fuse/encfs/files/patch-encfs.cpp	                        (rev 0)
+++ trunk/dports/fuse/encfs/files/patch-encfs.cpp	2007-03-15 00:08:23 UTC (rev 22805)
@@ -0,0 +1,38 @@
+--- encfs/encfs.cpp.old	2007-03-14 19:34:49.000000000 -0400
++++ encfs/encfs.cpp	2007-03-14 19:35:34.000000000 -0400
+@@ -609,7 +609,7 @@
+ 
+ 	rLog(Info, "setxattr %s", cyName.c_str());
+ 
+-	res = ::setxattr( cyName.c_str(), name, value, size, flags );
++	res = ::setxattr( cyName.c_str(), name, value, size, flags, 0 );
+ 	if(res == -1)
+ 	    res = -errno;
+     } catch( rlog::Error &err )
+@@ -630,7 +630,7 @@
+ 
+ 	rLog(Info, "getxattr %s", cyName.c_str());
+ 
+-	res = ::getxattr( cyName.c_str(), name, value, size );
++	res = ::getxattr( cyName.c_str(), name, value, size, 0, 0 );
+ 	if(res == -1)
+ 	    res = -errno;
+     } catch( rlog::Error &err )
+@@ -650,7 +650,7 @@
+ 
+ 	rLog(Info, "listxattr %s", cyName.c_str());
+ 
+-	res = ::listxattr( cyName.c_str(), list, size );
++	res = ::listxattr( cyName.c_str(), list, size, 0 );
+ 	if(res == -1)
+ 	    res = -errno;
+     } catch( rlog::Error &err )
+@@ -670,7 +670,7 @@
+ 
+ 	rLog(Info, "removexattr %s", cyName.c_str());
+ 
+-	res = ::removexattr( cyName.c_str(), name );
++	res = ::removexattr( cyName.c_str(), name, 0 );
+ 	if(res == -1)
+ 	    res = -errno;
+     } catch( rlog::Error &err )

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070314/68d9b3e7/attachment.html


More information about the macports-changes mailing list