diff options
author | sat <sat@FreeBSD.org> | 2006-12-16 06:08:00 +0800 |
---|---|---|
committer | sat <sat@FreeBSD.org> | 2006-12-16 06:08:00 +0800 |
commit | ef2b155b373ec84567107ff0b6a0204c0101de42 (patch) | |
tree | 52f43ac2330b87bf222a111c7837c054afccafda /sysutils | |
parent | 093e767b0768a61af52e00114f102060a8a4d0cd (diff) | |
download | freebsd-ports-gnome-ef2b155b373ec84567107ff0b6a0204c0101de42.tar.gz freebsd-ports-gnome-ef2b155b373ec84567107ff0b6a0204c0101de42.tar.zst freebsd-ports-gnome-ef2b155b373ec84567107ff0b6a0204c0101de42.zip |
- Update to 0.9
PR: ports/106638
Submitted by: Martin Matuska <martin@matuska.org>
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/fusefs-curlftpfs/Makefile | 3 | ||||
-rw-r--r-- | sysutils/fusefs-curlftpfs/distinfo | 6 | ||||
-rw-r--r-- | sysutils/fusefs-curlftpfs/files/patch-ftpfs-ls.c | 65 |
3 files changed, 69 insertions, 5 deletions
diff --git a/sysutils/fusefs-curlftpfs/Makefile b/sysutils/fusefs-curlftpfs/Makefile index 7cfa525ac727..250e6bc90792 100644 --- a/sysutils/fusefs-curlftpfs/Makefile +++ b/sysutils/fusefs-curlftpfs/Makefile @@ -6,8 +6,7 @@ # PORTNAME= curlftpfs -PORTVERSION= 0.8 -PORTREVISION= 1 +PORTVERSION= 0.9 CATEGORIES= sysutils MASTER_SITES= SF PKGNAMEPREFIX= fusefs- diff --git a/sysutils/fusefs-curlftpfs/distinfo b/sysutils/fusefs-curlftpfs/distinfo index 4cc7d4ff9115..4bfc44a2c61b 100644 --- a/sysutils/fusefs-curlftpfs/distinfo +++ b/sysutils/fusefs-curlftpfs/distinfo @@ -1,3 +1,3 @@ -MD5 (curlftpfs-0.8.tar.gz) = 5322877611319397319ca0012ccc61c9 -SHA256 (curlftpfs-0.8.tar.gz) = 610c5e769f23632ff2d14067880b377797228151b661b1da78fea50651ec12d1 -SIZE (curlftpfs-0.8.tar.gz) = 345187 +MD5 (curlftpfs-0.9.tar.gz) = 7e29eb1963d4023bb7ea530a1b4274c4 +SHA256 (curlftpfs-0.9.tar.gz) = b49e17152d9f782309bf0f42c4ef1f90911294861e4323d418cdcadfa28450cc +SIZE (curlftpfs-0.9.tar.gz) = 347657 diff --git a/sysutils/fusefs-curlftpfs/files/patch-ftpfs-ls.c b/sysutils/fusefs-curlftpfs/files/patch-ftpfs-ls.c new file mode 100644 index 000000000000..86e9deecba72 --- /dev/null +++ b/sysutils/fusefs-curlftpfs/files/patch-ftpfs-ls.c @@ -0,0 +1,65 @@ +--- ftpfs-ls.c.orig Tue Dec 12 11:09:37 2006 ++++ ftpfs-ls.c Tue Dec 12 11:09:42 2006 +@@ -6,7 +6,12 @@ + See the file COPYING. + */ + ++#ifndef __FreeBSD__ + #define _XOPEN_SOURCE 600 ++#else ++#define _XOPEN_SOURCE ++#endif ++ + #include <time.h> + #include <string.h> + #include <sys/types.h> +@@ -27,7 +32,7 @@ + long nlink = 1; + char user[33]; + char group[33]; +- long size; ++ unsigned long long size; + char month[4]; + char day[3]; + char year[6]; +@@ -42,25 +47,25 @@ + + #define SPACES "%*[ \t]" + res = sscanf(line, +- "%11s" SPACES ++ "%11s" + "%lu" SPACES + "%32s" SPACES + "%32s" SPACES +- "%lu" SPACES ++ "%llu" SPACES + "%3s" SPACES + "%2s" SPACES +- "%5s" SPACES ++ "%5s" "%*c" + "%1023c", + mode, &nlink, user, group, &size, month, day, year, file); + if (res < 9) { + res = sscanf(line, +- "%11s" SPACES ++ "%11s" + "%32s" SPACES + "%32s" SPACES +- "%lu" SPACES ++ "%llu" SPACES + "%3s" SPACES + "%2s" SPACES +- "%5s" SPACES ++ "%5s" "%*c" + "%1023c", + mode, user, group, &size, month, day, year, file); + if (res < 8) { +@@ -156,7 +161,7 @@ + if (!strcmp(size, "<DIR>")) { + sbuf->st_mode |= S_IFDIR; + } else { +- int nsize = strtol(size, NULL, 0); ++ unsigned long long nsize = strtoull(size, NULL, 0); + sbuf->st_mode |= S_IFREG; + sbuf->st_size = nsize; + if (ftpfs.blksize) { |