From owner-svn-ports-all@freebsd.org Mon Apr 3 15:37:23 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 196FAD2B83E; Mon, 3 Apr 2017 15:37:23 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B7ED9B3B; Mon, 3 Apr 2017 15:37:22 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v33FbLx6050641; Mon, 3 Apr 2017 15:37:21 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v33FbLp0050638; Mon, 3 Apr 2017 15:37:21 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201704031537.v33FbLp0050638@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Mon, 3 Apr 2017 15:37:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r437664 - in head/sysutils/fusefs-sshfs: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Apr 2017 15:37:23 -0000 Author: tobik Date: Mon Apr 3 15:37:21 2017 New Revision: 437664 URL: https://svnweb.freebsd.org/changeset/ports/437664 Log: - Use posix_openpt(2) instead of opening /dev/ptmx which requires loading an extra kernel module on FreeBSD 10.0+ - Add LICENSE_FILE - Remove the unnecessary KMODDIR knob PR: 217880 Approved by: mat (mentor), maintainer timeout (2 weeks+) Differential Revision: https://reviews.freebsd.org/D10243 Added: head/sysutils/fusefs-sshfs/files/ head/sysutils/fusefs-sshfs/files/patch-sshfs.c (contents, props changed) Modified: head/sysutils/fusefs-sshfs/Makefile head/sysutils/fusefs-sshfs/pkg-message Modified: head/sysutils/fusefs-sshfs/Makefile ============================================================================== --- head/sysutils/fusefs-sshfs/Makefile Mon Apr 3 15:11:06 2017 (r437663) +++ head/sysutils/fusefs-sshfs/Makefile Mon Apr 3 15:37:21 2017 (r437664) @@ -4,6 +4,7 @@ PORTNAME= sshfs PORTVERSION= 2.8 DISTVERSIONPREFIX= ${PORTNAME}_ +PORTREVISION= 1 CATEGORIES= sysutils PKGNAMEPREFIX= fusefs- @@ -11,8 +12,7 @@ MAINTAINER= bofh@FreeBSD.org COMMENT= Mount remote directories over ssh LICENSE= GPLv2 - -KMODDIR?= ${LOCALBASE}/modules +LICENSE_FILE= ${WRKSRC}/COPYING USE_GITHUB= yes GH_ACCOUNT= libfuse Added: head/sysutils/fusefs-sshfs/files/patch-sshfs.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/fusefs-sshfs/files/patch-sshfs.c Mon Apr 3 15:37:21 2017 (r437664) @@ -0,0 +1,11 @@ +--- sshfs.c.orig 2017-03-17 21:07:50 UTC ++++ sshfs.c +@@ -1027,7 +1027,7 @@ static int pty_master(char **name) + { + int mfd; + +- mfd = open("/dev/ptmx", O_RDWR | O_NOCTTY); ++ mfd = posix_openpt(O_RDWR | O_NOCTTY); + if (mfd == -1) { + perror("failed to open pty"); + return -1; Modified: head/sysutils/fusefs-sshfs/pkg-message ============================================================================== --- head/sysutils/fusefs-sshfs/pkg-message Mon Apr 3 15:11:06 2017 (r437663) +++ head/sysutils/fusefs-sshfs/pkg-message Mon Apr 3 15:37:21 2017 (r437664) @@ -1,13 +1,6 @@ Basic Instructions: There are three ways to do this: -From version 2.7 it makes use of the legacy /dev/ptmx. For version 10.0+ -please load the kernel module pty: - -% kldload pty - -Daemon initiated - 1) % sshfs -o idmap=user username@example.org: /path/to/mount/point