Tue Apr 21 13:56:26 2020 UTC ()
fuse-curlftpfs: Update to 0.9.2

- new helper function cancel_previous_multi() which checks for errors.
- patch by Miklos Szeredi: fixes 'du' for files >= 4GB.
- remove buffered writes completely and handle O_RDWR
- Fix "hang" when curl_easy_perform(fh->write_conn) in the write thread fails; Detect write errors in the write thread; Synchronize writing with the new semaphore "data_written" to be able to report write errors earlier; Fix that ftpfs_truncate created empty files with no permissions set (caused problems with gedit and others)
- Patch from Miklos Szeredi to support streaming writes (includes changes from Robson Braga Araujo)
- Added option to use a custom command to list files.
- Add ftp_method option to make it faster to browse directories.
- Fix broken header dependencies.
- Put the FTP server name in fsname by default. Upgraded FUSE_USE_VERSION to 26.
- Disable EPSV by default because it can cause the program to hang.


(nia)
diff -r1.32 -r1.33 pkgsrc/filesystems/fuse-curlftpfs/Makefile
diff -r1.7 -r1.8 pkgsrc/filesystems/fuse-curlftpfs/distinfo
diff -r1.1.1.1 -r0 pkgsrc/filesystems/fuse-curlftpfs/patches/patch-aa
diff -r1.3 -r0 pkgsrc/filesystems/fuse-curlftpfs/patches/patch-ab
diff -r0 -r1.1 pkgsrc/filesystems/fuse-curlftpfs/patches/patch-ftpfs.h
diff -r0 -r1.1 pkgsrc/filesystems/fuse-curlftpfs/patches/patch-tests_run__tests.sh

cvs diff -r1.32 -r1.33 pkgsrc/filesystems/fuse-curlftpfs/Makefile (expand / switch to unified diff)

--- pkgsrc/filesystems/fuse-curlftpfs/Makefile 2020/03/20 11:57:37 1.32
+++ pkgsrc/filesystems/fuse-curlftpfs/Makefile 2020/04/21 13:56:25 1.33
@@ -1,24 +1,26 @@ @@ -1,24 +1,26 @@
1# $NetBSD: Makefile,v 1.32 2020/03/20 11:57:37 nia Exp $ 1# $NetBSD: Makefile,v 1.33 2020/04/21 13:56:25 nia Exp $
2# 2#
3 3
4DISTNAME= curlftpfs-0.9.1 4DISTNAME= curlftpfs-0.9.2
5PKGNAME= fuse-${DISTNAME} 5PKGNAME= fuse-${DISTNAME}
6PKGREVISION= 23 
7CATEGORIES= filesystems 6CATEGORIES= filesystems
8MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=curlftpfs/} 7MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=curlftpfs/}
9 8
10MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
11HOMEPAGE= http://curlftpfs.sourceforge.net/ 10HOMEPAGE= http://curlftpfs.sourceforge.net/
12COMMENT= FUSE filesystem for acessing FTP hosts 11COMMENT= FUSE filesystem for acessing FTP hosts
 12LICENSE= gnu-gpl-v2
13 13
14GNU_CONFIGURE= yes 14GNU_CONFIGURE= yes
15USE_LIBTOOL= yes 15USE_LIBTOOL= yes
16USE_TOOLS+= gmake pkg-config 16USE_TOOLS+= gmake pkg-config
17 17
18CFLAGS.NetBSD+= -D_NETBSD_SOURCE 18CFLAGS.NetBSD+= -D_NETBSD_SOURCE
19CFLAGS.SunOS+= --std=c99 -D__EXTENSIONS__ 19CFLAGS.SunOS+= --std=c99 -D__EXTENSIONS__
20 20
 21CONFIGURE_ENV+= ac_cv_func_working_mktime=yes
 22
21.include "../../devel/glib2/buildlink3.mk" 23.include "../../devel/glib2/buildlink3.mk"
22.include "../../www/curl/buildlink3.mk" 24.include "../../www/curl/buildlink3.mk"
23.include "../../mk/fuse.buildlink3.mk" 25.include "../../mk/fuse.buildlink3.mk"
24.include "../../mk/bsd.pkg.mk" 26.include "../../mk/bsd.pkg.mk"

cvs diff -r1.7 -r1.8 pkgsrc/filesystems/fuse-curlftpfs/distinfo (expand / switch to unified diff)

--- pkgsrc/filesystems/fuse-curlftpfs/distinfo 2015/11/03 00:15:00 1.7
+++ pkgsrc/filesystems/fuse-curlftpfs/distinfo 2020/04/21 13:56:25 1.8
@@ -1,8 +1,8 @@ @@ -1,8 +1,8 @@
1$NetBSD: distinfo,v 1.7 2015/11/03 00:15:00 agc Exp $ 1$NetBSD: distinfo,v 1.8 2020/04/21 13:56:25 nia Exp $
2 2
3SHA1 (curlftpfs-0.9.1.tar.gz) = 768385f68f7e128ec9e852bbf7860a632e8e3c46 3SHA1 (curlftpfs-0.9.2.tar.gz) = 83f148afe6bd4d44c9790790f1c30986c8b9ea56
4RMD160 (curlftpfs-0.9.1.tar.gz) = bb1a156160ff4bd517410f872f68ba77c8085b11 4RMD160 (curlftpfs-0.9.2.tar.gz) = 16740731fc75b4249a8fddcae355ad1a9d408061
5SHA512 (curlftpfs-0.9.1.tar.gz) = 4714860e18707b04e96c9fc934ec348977ade8c41ab9804ab27433a3fc763d7f0638fbe7720cb043742c292764e7170a44a2d832884366d3e1d832e38bbeae94 5SHA512 (curlftpfs-0.9.2.tar.gz) = df07c418d175f766c89525017fc56e79726061eee0c3a6607ded0e1bf24f64f1475ba0e546157b65892194e3c4414c120822bf8fb175437e68366f82de216067
6Size (curlftpfs-0.9.1.tar.gz) = 362542 bytes 6Size (curlftpfs-0.9.2.tar.gz) = 365503 bytes
7SHA1 (patch-aa) = bfa05b8930560ffe25c3a2b12ff9497c0c5d37c4 7SHA1 (patch-ftpfs.h) = e658fe0e9fffa47e69fe35c9f1a8f465aa5c45e6
8SHA1 (patch-ab) = 32f21df67c043bd8fb60f9a217fc00767ad36b10 8SHA1 (patch-tests_run__tests.sh) = 2b7b20f3490b8fc0026c148b2a9d7dbac2a33362

File Deleted: pkgsrc/filesystems/fuse-curlftpfs/patches/Attic/patch-aa

File Deleted: pkgsrc/filesystems/fuse-curlftpfs/patches/Attic/patch-ab

File Added: pkgsrc/filesystems/fuse-curlftpfs/patches/patch-ftpfs.h
$NetBSD: patch-ftpfs.h,v 1.1 2020/04/21 13:56:26 nia Exp $

Include limits.h for PATH_MAX.

--- ftpfs.h.orig	2008-04-25 10:32:30.000000000 +0000
+++ ftpfs.h
@@ -12,7 +12,7 @@
 #include <curl/curl.h>
 #include <curl/easy.h>
 #include <pthread.h>
-#include <pthread.h>
+#include <limits.h>
 
 struct ftpfs {
   char* host;

File Added: pkgsrc/filesystems/fuse-curlftpfs/patches/patch-tests_run__tests.sh
$NetBSD: patch-tests_run__tests.sh,v 1.1 2020/04/21 13:56:26 nia Exp $

Shell portability.

--- tests/run_tests.sh.orig	2007-11-20 19:27:57.000000000 +0000
+++ tests/run_tests.sh
@@ -6,7 +6,7 @@ failed=0
 for i in *_unittest; do
   echo -n "$i... "
   `./$i > /dev/null 2>&1`
-  if [ $? == 0 ]; then
+  if [ $? = 0 ]; then
     echo "PASS"
   else
     echo "FAILED"