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.diff -r1.32 -r1.33 pkgsrc/filesystems/fuse-curlftpfs/Makefile
(nia)
@@ -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 | |||
4 | DISTNAME= curlftpfs-0.9.1 | 4 | DISTNAME= curlftpfs-0.9.2 | |
5 | PKGNAME= fuse-${DISTNAME} | 5 | PKGNAME= fuse-${DISTNAME} | |
6 | PKGREVISION= 23 | |||
7 | CATEGORIES= filesystems | 6 | CATEGORIES= filesystems | |
8 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=curlftpfs/} | 7 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=curlftpfs/} | |
9 | 8 | |||
10 | MAINTAINER= pkgsrc-users@NetBSD.org | 9 | MAINTAINER= pkgsrc-users@NetBSD.org | |
11 | HOMEPAGE= http://curlftpfs.sourceforge.net/ | 10 | HOMEPAGE= http://curlftpfs.sourceforge.net/ | |
12 | COMMENT= FUSE filesystem for acessing FTP hosts | 11 | COMMENT= FUSE filesystem for acessing FTP hosts | |
12 | LICENSE= gnu-gpl-v2 | |||
13 | 13 | |||
14 | GNU_CONFIGURE= yes | 14 | GNU_CONFIGURE= yes | |
15 | USE_LIBTOOL= yes | 15 | USE_LIBTOOL= yes | |
16 | USE_TOOLS+= gmake pkg-config | 16 | USE_TOOLS+= gmake pkg-config | |
17 | 17 | |||
18 | CFLAGS.NetBSD+= -D_NETBSD_SOURCE | 18 | CFLAGS.NetBSD+= -D_NETBSD_SOURCE | |
19 | CFLAGS.SunOS+= --std=c99 -D__EXTENSIONS__ | 19 | CFLAGS.SunOS+= --std=c99 -D__EXTENSIONS__ | |
20 | 20 | |||
21 | CONFIGURE_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" |
@@ -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 | |||
3 | SHA1 (curlftpfs-0.9.1.tar.gz) = 768385f68f7e128ec9e852bbf7860a632e8e3c46 | 3 | SHA1 (curlftpfs-0.9.2.tar.gz) = 83f148afe6bd4d44c9790790f1c30986c8b9ea56 | |
4 | RMD160 (curlftpfs-0.9.1.tar.gz) = bb1a156160ff4bd517410f872f68ba77c8085b11 | 4 | RMD160 (curlftpfs-0.9.2.tar.gz) = 16740731fc75b4249a8fddcae355ad1a9d408061 | |
5 | SHA512 (curlftpfs-0.9.1.tar.gz) = 4714860e18707b04e96c9fc934ec348977ade8c41ab9804ab27433a3fc763d7f0638fbe7720cb043742c292764e7170a44a2d832884366d3e1d832e38bbeae94 | 5 | SHA512 (curlftpfs-0.9.2.tar.gz) = df07c418d175f766c89525017fc56e79726061eee0c3a6607ded0e1bf24f64f1475ba0e546157b65892194e3c4414c120822bf8fb175437e68366f82de216067 | |
6 | Size (curlftpfs-0.9.1.tar.gz) = 362542 bytes | 6 | Size (curlftpfs-0.9.2.tar.gz) = 365503 bytes | |
7 | SHA1 (patch-aa) = bfa05b8930560ffe25c3a2b12ff9497c0c5d37c4 | 7 | SHA1 (patch-ftpfs.h) = e658fe0e9fffa47e69fe35c9f1a8f465aa5c45e6 | |
8 | SHA1 (patch-ab) = 32f21df67c043bd8fb60f9a217fc00767ad36b10 | 8 | SHA1 (patch-tests_run__tests.sh) = 2b7b20f3490b8fc0026c148b2a9d7dbac2a33362 |
$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;
$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"