Here is the last patch. It does not differ from last time.

You only need to install sysutils/sshfs and if you have done all the last
tasks well. it will works like that : 

root # sshfs user@domainname:/path/to/file /mnt/

Cheers,

Index: sysutils/Makefile
===================================================================
RCS file: /cvs/ports/sysutils/Makefile,v
retrieving revision 1.290
diff -u -p -u -p -r1.290 Makefile
--- sysutils/Makefile   22 Apr 2013 06:48:58 -0000      1.290
+++ sysutils/Makefile   29 Apr 2013 13:50:36 -0000
@@ -188,6 +188,7 @@
      SUBDIR += snapdl
      SUBDIR += socket
      SUBDIR += socklog
+     SUBDIR += sshfs-fuse
      SUBDIR += stan
      SUBDIR += stow
      SUBDIR += stress
Index: sysutils/sshfs-fuse/Makefile
===================================================================
RCS file: sysutils/sshfs-fuse/Makefile
diff -N sysutils/sshfs-fuse/Makefile
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ sysutils/sshfs-fuse/Makefile        29 Apr 2013 13:50:37 -0000
@@ -0,0 +1,24 @@
+# $OpenBSD: Makefile,v 1.33 2013/01/09 00:02:15 brad Exp $
+
+COMMENT=       Mount remote directories over ssh
+
+VERSION=       2.4
+DISTNAME=      sshfs-fuse-${VERSION}
+CATEGORIES=    sysutils
+
+HOMEPAGE=      http://sshfs.sourceforge.net/
+MASTER_SITES=  
http://sourceforge.net/projects/fuse/files/sshfs-fuse/${VERSION}/
+
+MAINTAINER=    Gallon Sylvestre <ccna....@gmail.com>
+
+# LGPL
+PERMIT_PACKAGE_CDROM=  Yes
+PERMIT_PACKAGE_FTP=    Yes
+PERMIT_DISTFILES_FTP=  Yes
+
+CONFIGURE_STYLE=gnu
+CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
+WANTLIB=       c pthread glib-2.0
+LIB_DEPENDS+=  devel/glib2
+
+.include <bsd.port.mk>
Index: sysutils/sshfs-fuse/distinfo
===================================================================
RCS file: sysutils/sshfs-fuse/distinfo
diff -N sysutils/sshfs-fuse/distinfo
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ sysutils/sshfs-fuse/distinfo        29 Apr 2013 13:50:37 -0000
@@ -0,0 +1,2 @@
+SHA256 (sshfs-fuse-2.4.tar.gz) = PJO6hSJWgJPJT/nFo3Y5KTgN0ik2XZBXaf+CR113TdE=
+SIZE (sshfs-fuse-2.4.tar.gz) = 132930
Index: sysutils/sshfs-fuse/patches/patch-sshfs_c
===================================================================
RCS file: sysutils/sshfs-fuse/patches/patch-sshfs_c
diff -N sysutils/sshfs-fuse/patches/patch-sshfs_c
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ sysutils/sshfs-fuse/patches/patch-sshfs_c   29 Apr 2013 13:50:37 -0000
@@ -0,0 +1,27 @@
+--- sshfs.c.orig       Thu Mar  8 10:34:39 2012
++++ sshfs.c    Fri Mar 29 10:37:09 2013
+@@ -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 @@
+ #include <sys/utsname.h>
+ #include <sys/mman.h>
+ #include <sys/poll.h>
++#include <sys/mount.h>
+ #include <netinet/in.h>
+ #include <netinet/tcp.h>
+ #include <glib.h>
+@@ -1543,7 +1543,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;
+-      case SSH_FX_BAD_MESSAGE:       return EBADMSG;
++      case SSH_FX_BAD_MESSAGE:       return ENOMSG;
+       case SSH_FX_NO_CONNECTION:     return ENOTCONN;
+       case SSH_FX_CONNECTION_LOST:   return ECONNABORTED;
+       case SSH_FX_OP_UNSUPPORTED:    return EOPNOTSUPP;
Index: sysutils/sshfs-fuse/pkg/DESCR
===================================================================
RCS file: sysutils/sshfs-fuse/pkg/DESCR
diff -N sysutils/sshfs-fuse/pkg/DESCR
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ sysutils/sshfs-fuse/pkg/DESCR       29 Apr 2013 13:50:37 -0000
@@ -0,0 +1 @@
+SSHFS allows you to mount a remote directory over a normal ssh connection.
Index: sysutils/sshfs-fuse/pkg/PLIST
===================================================================
RCS file: sysutils/sshfs-fuse/pkg/PLIST
diff -N sysutils/sshfs-fuse/pkg/PLIST
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ sysutils/sshfs-fuse/pkg/PLIST       29 Apr 2013 13:50:37 -0000
@@ -0,0 +1,3 @@
+@comment $OpenBSD$
+@bin bin/sshfs
+@man man/man1/sshfs.1

Reply via email to