Michael McConville wrote: > Stuart Henderson wrote: > > On 2016/04/15 12:58, Michael McConville wrote: > > > +GH_ACCOUNT = libfuse > > > +GH_PROJECT = sshfs > > > +GH_TAGNAME = sshfs-${V} > > > > Please use the proper uploaded release tarball > > > > DISTNAME = sshfs-2.7 > > MASTER_SITES = > > https://github.com/libfuse/sshfs/releases/download/${DISTNAME}/ > > > > and get rid of the roll-your-own-autoconf mess. > > Thanks for the input. Does this look better?
I got a chance to test this, and it works for me. > Index: Makefile > =================================================================== > RCS file: /cvs/ports/sysutils/sshfs-fuse/Makefile,v > retrieving revision 1.5 > diff -u -p -u -r1.5 Makefile > --- Makefile 25 Sep 2015 07:17:57 -0000 1.5 > +++ Makefile 16 Apr 2016 04:55:12 -0000 > @@ -2,11 +2,13 @@ > > COMMENT = mount remote directories over ssh > > -DISTNAME = sshfs-fuse-2.5 > +DISTNAME = sshfs-2.7 > CATEGORIES = sysutils > > -HOMEPAGE = http://fuse.sourceforge.net/sshfs.html > -MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=fuse/} > +GH_ACCOUNT = libfuse > +GH_PROJECT = sshfs > + > +MASTER_SITES = > https://github.com/libfuse/sshfs/releases/download/${DISTNAME}/ > > MAINTAINER = Gallon Sylvestre <ccna....@gmail.com> > > @@ -17,7 +19,8 @@ WANTLIB += c fuse glib-2.0 gthread-2.0 p > > MODULES= devel/gettext > > -CONFIGURE_STYLE = gnu > +CONFIGURE_STYLE = autoconf automake > +AUTOCONF_VERSION = 2.69 > > LIB_DEPENDS = devel/glib2 > > Index: distinfo > =================================================================== > RCS file: /cvs/ports/sysutils/sshfs-fuse/distinfo,v > retrieving revision 1.2 > diff -u -p -u -r1.2 distinfo > --- distinfo 25 Sep 2015 07:17:57 -0000 1.2 > +++ distinfo 16 Apr 2016 04:55:12 -0000 > @@ -1,2 +1,2 @@ > -SHA256 (sshfs-fuse-2.5.tar.gz) = 6RcUUuXQFQucaiFY/S4tzvtdXQO6TSCJSeAKOkbG5j4= > -SIZE (sshfs-fuse-2.5.tar.gz) = 136378 > +SHA256 (sshfs-2.7.tar.gz) = zl+dOQk0/IjCh92TejnRXCtAy+ppZ7okrZPtkOACcSg= > +SIZE (sshfs-2.7.tar.gz) = 153014 > Index: patches/patch-sshfs_c > =================================================================== > RCS file: /cvs/ports/sysutils/sshfs-fuse/patches/patch-sshfs_c,v > retrieving revision 1.3 > diff -u -p -u -r1.3 patch-sshfs_c > --- patches/patch-sshfs_c 25 Sep 2015 07:17:57 -0000 1.3 > +++ patches/patch-sshfs_c 16 Apr 2016 04:55:12 -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; >