View | Details | Raw Unified | Return to bug 217880
Collapse All | Expand All

(-)Makefile (-2 / +2 lines)
Lines 4-9 Link Here
4
PORTNAME=	sshfs
4
PORTNAME=	sshfs
5
PORTVERSION=	2.8
5
PORTVERSION=	2.8
6
DISTVERSIONPREFIX=	${PORTNAME}_
6
DISTVERSIONPREFIX=	${PORTNAME}_
7
PORTREVISION=	1
7
CATEGORIES=	sysutils
8
CATEGORIES=	sysutils
8
PKGNAMEPREFIX=	fusefs-
9
PKGNAMEPREFIX=	fusefs-
9
10
Lines 11-19 Link Here
11
COMMENT=	Mount remote directories over ssh
12
COMMENT=	Mount remote directories over ssh
12
13
13
LICENSE=	GPLv2
14
LICENSE=	GPLv2
15
LICENSE_FILE=	${WRKSRC}/COPYING
14
16
15
KMODDIR?=	${LOCALBASE}/modules
16
17
USE_GITHUB=	yes
17
USE_GITHUB=	yes
18
GH_ACCOUNT=	libfuse
18
GH_ACCOUNT=	libfuse
19
19
(-)files/patch-sshfs.c (+11 lines)
Line 0 Link Here
1
--- sshfs.c.orig	2017-03-17 21:07:50 UTC
2
+++ sshfs.c
3
@@ -1027,7 +1027,7 @@ static int pty_master(char **name)
4
 {
5
 	int mfd;
6
 
7
-	mfd = open("/dev/ptmx", O_RDWR | O_NOCTTY);
8
+	mfd = posix_openpt(O_RDWR | O_NOCTTY);
9
 	if (mfd == -1) {
10
 		perror("failed to open pty");
11
 		return -1;
(-)pkg-message (-7 lines)
Lines 1-13 Link Here
1
Basic Instructions:
1
Basic Instructions:
2
There are three ways to do this:
2
There are three ways to do this:
3
3
4
From version 2.7 it makes use of the legacy /dev/ptmx. For version 10.0+
5
please load the kernel module pty:
6
7
% kldload pty
8
9
Daemon initiated
10
11
1)
4
1)
12
% sshfs -o idmap=user username@example.org: /path/to/mount/point
5
% sshfs -o idmap=user username@example.org: /path/to/mount/point
13
6

Return to bug 217880