Skip to content

Commit

Permalink
sysutils/fusefs-sshfs: Improve FreeBSD support
Browse files Browse the repository at this point in the history
- include posix_openpt() usage patch
- add workaround for readdir() issue: #211
- fix few warnings
- Add DOCS option
- remove gettext dep

Upstream patches:
libfuse/sshfs#212
libfuse/sshfs#211

PR:		246325
Submitted by:	rozhuk.im@gmail.com


git-svn-id: svn+ssh://svn.freebsd.org/ports/head@538024 35697150-7ecd-e111-bb59-0022644237b5
  • Loading branch information
bofh committed Jun 5, 2020
1 parent 6cf16f5 commit 70d1b70
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 17 deletions.
17 changes: 12 additions & 5 deletions sysutils/fusefs-sshfs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,33 @@
PORTNAME= sshfs
PORTVERSION= 3.7.0
DISTVERSIONPREFIX= ${PORTNAME}-
PORTREVISION= 1
CATEGORIES= sysutils
PKGNAMEPREFIX= fusefs-

PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES+= 952a9c3fda977bce61303ae3311a3adca3d338bf.patch:-p1 # https://github.com/libfuse/sshfs/pull/212

MAINTAINER= bofh@FreeBSD.org
COMMENT= Mount remote directories over ssh

LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING

BUILD_DEPENDS= rst2man:textproc/py-docutils

USES= compiler:c11 fuse:3 gettext gnome meson pkgconfig
USES= compiler:c11 fuse:3 gnome meson pkgconfig
USE_GNOME= glib20

USE_GITHUB= yes
GH_ACCOUNT= libfuse

USE_GNOME= glib20
CFLAGS+= -DNDEBUG

PLIST_FILES= bin/sshfs \
man/man1/sshfs.1.gz
PLIST_FILES= bin/sshfs

OPTIONS_DEFINE= DOCS

DOCS_BUILD_DEPENDS= rst2man:textproc/py-docutils
DOCS_PLIST_FILES= man/man1/sshfs.1.gz

.include <bsd.port.mk>
4 changes: 3 additions & 1 deletion sysutils/fusefs-sshfs/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
TIMESTAMP = 1580925910
TIMESTAMP = 1589058688
SHA256 (libfuse-sshfs-sshfs-3.7.0_GH0.tar.gz) = 4037add37cfcd9bb4386c28d1eeed89b56ef5001bcbc3f001f73f38f41a40b73
SIZE (libfuse-sshfs-sshfs-3.7.0_GH0.tar.gz) = 62912
SHA256 (952a9c3fda977bce61303ae3311a3adca3d338bf.patch) = 9b55c00a9b63715eeb836c253683240d78e23f824cbf07c07570e74ec2c6b507
SIZE (952a9c3fda977bce61303ae3311a3adca3d338bf.patch) = 6826
11 changes: 0 additions & 11 deletions sysutils/fusefs-sshfs/files/patch-sshfs.c

This file was deleted.

0 comments on commit 70d1b70

Please sign in to comment.