Does anyone who uses sshfs-fuse want to test this? It seems like an
interesting tool and I'm planning on trying it, but I haven't previously
and therefore might not notice regressions.


Index: Makefile
===================================================================
RCS file: /cvs/ports/sysutils/sshfs-fuse/Makefile,v
retrieving revision 1.5
diff -u -p -r1.5 Makefile
--- Makefile    25 Sep 2015 07:17:57 -0000      1.5
+++ Makefile    15 Apr 2016 16:57:32 -0000
@@ -2,11 +2,13 @@
 
 COMMENT =      mount remote directories over ssh
 
-DISTNAME =     sshfs-fuse-2.5
+V =            2.7
+DISTNAME =     sshfs-fuse-${V}
 CATEGORIES =   sysutils
 
-HOMEPAGE =     http://fuse.sourceforge.net/sshfs.html
-MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=fuse/}
+GH_ACCOUNT =   libfuse
+GH_PROJECT =   sshfs
+GH_TAGNAME =   sshfs-${V}
 
 MAINTAINER =   Gallon Sylvestre <ccna....@gmail.com>
 
@@ -17,8 +19,16 @@ WANTLIB += c fuse glib-2.0 gthread-2.0 p
 
 MODULES=       devel/gettext
 
-CONFIGURE_STYLE =      gnu
+CONFIGURE_STYLE =      autoconf automake
 
 LIB_DEPENDS =  devel/glib2
+BUILD_DEPENDS =        devel/libtool
+
+post-patch:
+       @cd ${WRKSRC}; AUTOMAKE_VERSION=${AUTOMAKE_VERSION} aclocal
+
+pre-configure:
+       @cd ${WRKSRC}; AUTOMAKE_VERSION=${AUTOMAKE_VERSION} automake \
+               --foreign --add-missing --copy
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/sysutils/sshfs-fuse/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo    25 Sep 2015 07:17:57 -0000      1.2
+++ distinfo    15 Apr 2016 16:57:32 -0000
@@ -1,2 +1,2 @@
-SHA256 (sshfs-fuse-2.5.tar.gz) = 6RcUUuXQFQucaiFY/S4tzvtdXQO6TSCJSeAKOkbG5j4=
-SIZE (sshfs-fuse-2.5.tar.gz) = 136378
+SHA256 (sshfs-fuse-2.7.tar.gz) = aoKxw352v3DviKUCTVvyTebo2YNi2bv18By+3WPVMwc=
+SIZE (sshfs-fuse-2.7.tar.gz) = 50642
Index: patches/patch-sshfs_c
===================================================================
RCS file: /cvs/ports/sysutils/sshfs-fuse/patches/patch-sshfs_c,v
retrieving revision 1.3
diff -u -p -r1.3 patch-sshfs_c
--- patches/patch-sshfs_c       25 Sep 2015 07:17:57 -0000      1.3
+++ patches/patch-sshfs_c       15 Apr 2016 16:57:32 -0000
@@ -1,15 +1,15 @@
 $OpenBSD: patch-sshfs_c,v 1.3 2015/09/25 07:17:57 landry Exp $
---- sshfs.c.orig       Wed Jan  8 16:34:52 2014
-+++ sshfs.c    Fri Sep 25 09:16:48 2015
+--- sshfs.c.orig       Tue Mar  1 11:49:53 2016
++++ sshfs.c    Fri Apr 15 12:51:26 2016
 @@ -11,7 +11,6 @@
  
  #include <fuse.h>
  #include <fuse_opt.h>
 -#include <fuse_lowlevel.h>
- #include <assert.h>
- #include <stdio.h>
- #include <stdlib.h>
-@@ -32,6 +31,7 @@
+ #ifdef __APPLE__
+ #  include <fuse_darwin.h>
+ #endif
+@@ -37,6 +36,7 @@
  #include <sys/utsname.h>
  #include <sys/mman.h>
  #include <sys/poll.h>
@@ -17,7 +17,7 @@ $OpenBSD: patch-sshfs_c,v 1.3 2015/09/25
  #include <netinet/in.h>
  #include <netinet/tcp.h>
  #include <glib.h>
-@@ -1552,7 +1552,7 @@ static int sftp_error_to_errno(uint32_t error)
+@@ -1615,7 +1615,7 @@ static int sftp_error_to_errno(uint32_t error)
        case SSH_FX_NO_SUCH_FILE:      return ENOENT;
        case SSH_FX_PERMISSION_DENIED: return EACCES;
        case SSH_FX_FAILURE:           return EPERM;

Reply via email to