[119877] trunk/dports/fuse/encfs
mf2k at macports.org
mf2k at macports.org
Thu May 8 14:44:04 PDT 2014
Revision: 119877
https://trac.macports.org/changeset/119877
Author: mf2k at macports.org
Date: 2014-05-08 14:44:04 -0700 (Thu, 08 May 2014)
Log Message:
-----------
encfs: Fix unmount bug in darwin. (#41130)
Modified Paths:
--------------
trunk/dports/fuse/encfs/Portfile
Added Paths:
-----------
trunk/dports/fuse/encfs/files/patch-encfs-encfssh.diff
Modified: trunk/dports/fuse/encfs/Portfile
===================================================================
--- trunk/dports/fuse/encfs/Portfile 2014-05-08 21:38:34 UTC (rev 119876)
+++ trunk/dports/fuse/encfs/Portfile 2014-05-08 21:44:04 UTC (rev 119877)
@@ -10,7 +10,7 @@
svn.revision 135
version 1.7.5-${svn.revision}
-revision 1
+revision 2
worksrcdir 1.x
categories fuse
@@ -32,6 +32,11 @@
depends_lib port:rlog port:openssl port:osxfuse port:gettext port:boost
patchfiles patch-configure.ac.diff
+
+platform darwin {
+ patchfiles-append patch-encfs-encfssh.diff
+}
+
post-patch {
reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/configure.ac
}
Added: trunk/dports/fuse/encfs/files/patch-encfs-encfssh.diff
===================================================================
--- trunk/dports/fuse/encfs/files/patch-encfs-encfssh.diff (rev 0)
+++ trunk/dports/fuse/encfs/files/patch-encfs-encfssh.diff 2014-05-08 21:44:04 UTC (rev 119877)
@@ -0,0 +1,9 @@
+--- encfs/encfssh.orig 2013-11-02 23:30:01.000000000 +0100
++++ encfs/encfssh 2013-11-02 23:30:23.000000000 +0100
+@@ -63,5 +63,5 @@
+ cd $unenc_dir
+
+ # Set the shell up
+-exec /bin/sh -c "$SHELL ; cd $orig_dir ; fusermount -u $unenc_dir ; if ! $unenc_dir_given; then rmdir $unenc_dir; fi"
++exec /bin/sh -c "$SHELL ; cd $orig_dir ; umount $unenc_dir ; if ! $unenc_dir_given; then rmdir $unenc_dir; fi"
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140508/0983aee8/attachment-0001.html>
More information about the macports-changes
mailing list