ports/112346: [UPDATE] sysutils/fusefs-curlftpfs 0.9 -> 0.9.1
Martin Matuska
mm at FreeBSD.org
Wed May 2 09:40:06 UTC 2007
>Number: 112346
>Category: ports
>Synopsis: [UPDATE] sysutils/fusefs-curlftpfs 0.9 -> 0.9.1
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Wed May 02 09:40:05 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Martin Matuska
>Release: FreeBSD 6.2-RELEASE i386 amd64
>Organization:
>Environment:
System: FreeBSD 6.2-RELEASE i386 amd64
>Description:
- update of curlftpfs from 0.9 to 0.9.1
- removed patch (everything already in source)
- added NO_INSTALL_MANPAGES knob
Tinderbox output:
http://i386.vx.sk/logs/6.2-FreeBSD-i386/fusefs-curlftpfs-0.9.1.log
http://i386.vx.sk/logs/7-FreeBSD-i386/fusefs-curlftpfs-0.9.1.log
http://amd64.vx.sk/logs/6.2-FreeBSD-amd64/fusefs-curlftpfs-0.9.1.log
http://amd64.vx.sk/logs/7-FreeBSD-amd64/fusefs-curlftpfs-0.9.1.log
>How-To-Repeat:
>Fix:
Index: ports/sysutils/fusefs-curlftpfs/Makefile
===================================================================
RCS file: /home/pcvs/ports/sysutils/fusefs-curlftpfs/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- ports/sysutils/fusefs-curlftpfs/Makefile 15 Dec 2006 22:08:00 -0000 1.6
+++ ports/sysutils/fusefs-curlftpfs/Makefile 2 May 2007 09:11:58 -0000
@@ -6,7 +6,7 @@
#
PORTNAME= curlftpfs
-PORTVERSION= 0.9
+PORTVERSION= 0.9.1
CATEGORIES= sysutils
MASTER_SITES= SF
PKGNAMEPREFIX= fusefs-
@@ -20,13 +20,23 @@
GNU_CONFIGURE= yes
USE_GNOME= glib20
-MAN1= ${PORTNAME}.1
PLIST_FILES= bin/curlftpfs
+INSTALL_TARGET= install-exec
+.if !defined(NO_INSTALL_MANPAGES)
+MAN1= ${PORTNAME}.1
+.endif
.include <bsd.port.pre.mk>
+CONFIGURE_ARGS+= --mandir="${MANPREFIX}/man"
+
.if ${OSVERSION} < 600000
IGNORE= depends on kernel module that requires FreeBSD 6 or later
.endif
+post-install:
+.if !defined(NO_INSTALL_MANPAGES)
+ @cd ${WRKSRC}/doc && ${MAKE} install-man
+.endif
+
.include <bsd.port.post.mk>
Index: ports/sysutils/fusefs-curlftpfs/distinfo
===================================================================
RCS file: /home/pcvs/ports/sysutils/fusefs-curlftpfs/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- ports/sysutils/fusefs-curlftpfs/distinfo 15 Dec 2006 22:08:00 -0000 1.2
+++ ports/sysutils/fusefs-curlftpfs/distinfo 2 May 2007 09:11:58 -0000
@@ -1,3 +1,3 @@
-MD5 (curlftpfs-0.9.tar.gz) = 7e29eb1963d4023bb7ea530a1b4274c4
-SHA256 (curlftpfs-0.9.tar.gz) = b49e17152d9f782309bf0f42c4ef1f90911294861e4323d418cdcadfa28450cc
-SIZE (curlftpfs-0.9.tar.gz) = 347657
+MD5 (curlftpfs-0.9.1.tar.gz) = 969998e9cf1663824f44739e94c703a1
+SHA256 (curlftpfs-0.9.1.tar.gz) = 9f50cdf02c0dc31ef148410345b2374d294d8853d2dae11775e36b0268ad227d
+SIZE (curlftpfs-0.9.1.tar.gz) = 362542
Index: ports/sysutils/fusefs-curlftpfs/files/patch-ftpfs-ls.c
===================================================================
RCS file: ports/sysutils/fusefs-curlftpfs/files/patch-ftpfs-ls.c
diff -N ports/sysutils/fusefs-curlftpfs/files/patch-ftpfs-ls.c
--- ports/sysutils/fusefs-curlftpfs/files/patch-ftpfs-ls.c 15 Dec 2006 22:08:00 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,65 +0,0 @@
---- 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) {
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list