From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jul 20 07:50:02 2007 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ECCA616A41B for ; Fri, 20 Jul 2007 07:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C9CC213C45B for ; Fri, 20 Jul 2007 07:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l6K7o1l3078833 for ; Fri, 20 Jul 2007 07:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l6K7o1bt078832; Fri, 20 Jul 2007 07:50:01 GMT (envelope-from gnats) Resent-Date: Fri, 20 Jul 2007 07:50:01 GMT Resent-Message-Id: <200707200750.l6K7o1bt078832@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, John Hixson Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5DEE516A418 for ; Fri, 20 Jul 2007 07:46:54 +0000 (UTC) (envelope-from john@pcbsd.divinix.org) Received: from pcbsd.divinix.org (c-67-187-146-2.hsd1.ca.comcast.net [67.187.146.2]) by mx1.freebsd.org (Postfix) with ESMTP id 35E2C13C442 for ; Fri, 20 Jul 2007 07:46:54 +0000 (UTC) (envelope-from john@pcbsd.divinix.org) Received: from pcbsd.divinix.org (localhost [127.0.0.1]) by pcbsd.divinix.org (8.13.8/8.13.8) with ESMTP id l66EXMAg025311; Fri, 6 Jul 2007 07:33:22 -0700 (PDT) (envelope-from john@pcbsd.divinix.org) Received: (from root@localhost) by pcbsd.divinix.org (8.13.8/8.13.8/Submit) id l66EXM4e025310; Fri, 6 Jul 2007 07:33:22 -0700 (PDT) (envelope-from john) Message-Id: <200707061433.l66EXM4e025310@pcbsd.divinix.org> Date: Fri, 6 Jul 2007 07:33:22 -0700 (PDT) From: John Hixson To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: jhixson@gmail.com Subject: ports/114762: New port: sysutils/mtpfs MTP device filesystem (Correction) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John Hixson List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jul 2007 07:50:02 -0000 >Number: 114762 >Category: ports >Synopsis: New port: sysutils/mtpfs MTP device filesystem (Correction) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Jul 20 07:50:01 GMT 2007 >Closed-Date: >Last-Modified: >Originator: John Hixson >Release: FreeBSD 6.2-RELEASE-p5 i386 >Organization: Divinix >Environment: System: FreeBSD pcbsd.divinix.org 6.2-RELEASE-p5 FreeBSD 6.2-RELEASE-p5 #34: Tue Jun 12 13:07:04 PDT 2007 root@pcbsd:/usr/obj/usr/src/sys/PCBSD i386 >Description: >How-To-Repeat: >Fix: --- mtpfs.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # mtpfs # mtpfs/Makefile # mtpfs/pkg-descr # mtpfs/distinfo # mtpfs/files # mtpfs/files/patch-Makefile.in # mtpfs/files/patch-mtpfs.h # mtpfs/files/patch-mtpfs.c # echo c - mtpfs mkdir -p mtpfs > /dev/null 2>&1 echo x - mtpfs/Makefile sed 's/^X//' >mtpfs/Makefile << 'END-of-mtpfs/Makefile' X# New ports collection makefile for: mtpfs X# Date created: 1 July 2007 X# Whom: John Hixson X# X# $FreeBSD$ X# X XPORTNAME= mtpfs XPORTVERSION= 0.6 XCATEGORIES= sysutils XMASTER_SITES= http://www.adebenham.com/mtpfs/ X XMAINTAINER= john@pcbsd.org XCOMMENT= MTP device filesystem X XRUN_DEPENDS= ${LOCALBASE}/modules/fuse.ko:${PORTSDIR}/sysutils/fusefs-kmod XLIB_DEPENDS= mtp:${PORTSDIR}/audio/libmtp \ X fuse:${PORTSDIR}/sysutils/fusefs-libs \ X id3-3.8:${PORTSDIR}/audio/id3lib X XGNU_CONFIGURE= yes XPLIST_FILES= bin/mtpfs X X.include END-of-mtpfs/Makefile echo x - mtpfs/pkg-descr sed 's/^X//' >mtpfs/pkg-descr << 'END-of-mtpfs/pkg-descr' XMTPFS is a FUSE filesystem that supports reading aand writing from any XMTP device (as supported by libmtp) X XWWW: http://www.adebenham.com/mtpfs/ END-of-mtpfs/pkg-descr echo x - mtpfs/distinfo sed 's/^X//' >mtpfs/distinfo << 'END-of-mtpfs/distinfo' XMD5 (mtpfs-0.6.tar.gz) = d81202b04b621334952d42527ee1c8e7 XSHA256 (mtpfs-0.6.tar.gz) = be5245d779aaa8dbec6844ae3f62dfa236957c3444607f7387528ad5125a61a3 XSIZE (mtpfs-0.6.tar.gz) = 91014 END-of-mtpfs/distinfo echo c - mtpfs/files mkdir -p mtpfs/files > /dev/null 2>&1 echo x - mtpfs/files/patch-Makefile.in sed 's/^X//' >mtpfs/files/patch-Makefile.in << 'END-of-mtpfs/files/patch-Makefile.in' X--- Makefile.in.orig Sun Jul 1 11:45:44 2007 X+++ Makefile.in Sun Jul 1 11:46:00 2007 X@@ -157,7 +157,7 @@ X top_builddir = @top_builddir@ X top_srcdir = @top_srcdir@ X mtpfs_SOURCES = id3read.c mtpfs.c mtpfs.h id3read.h X-mtpfs_CPPFLAGS = -DFUSE_USE_VERSION=22 $(FUSE_CFLAGS) X+mtpfs_CPPFLAGS = -DFUSE_USE_VERSION=25 $(FUSE_CFLAGS) X mtpfs_LDADD = $(FUSE_LIBS) X all: all-am X END-of-mtpfs/files/patch-Makefile.in echo x - mtpfs/files/patch-mtpfs.h sed 's/^X//' >mtpfs/files/patch-mtpfs.h << 'END-of-mtpfs/files/patch-mtpfs.h' X--- mtpfs.h.orig Sun Jul 1 11:45:49 2007 X+++ mtpfs.h Sun Jul 1 11:46:22 2007 X@@ -18,7 +18,9 @@ X #include X #include X #include X-#include X+#include X+#include X+#include X X #include X #include X@@ -48,7 +50,7 @@ X static int mtpfs_unlink (const gchar * path); X static int mtpfs_mkdir (const char *path, mode_t mode); X static int mtpfs_rmdir (const char *path); X-static int mtpfs_statfs (const char *path, struct statfs *stbuf); X+static int mtpfs_statfs (const char *path, struct statvfs *stbuf); X X X static LIBMTP_mtpdevice_t *device; END-of-mtpfs/files/patch-mtpfs.h echo x - mtpfs/files/patch-mtpfs.c sed 's/^X//' >mtpfs/files/patch-mtpfs.c << 'END-of-mtpfs/files/patch-mtpfs.c' X--- mtpfs.c.orig Sun Jul 1 11:45:55 2007 X+++ mtpfs.c Sun Jul 1 11:46:30 2007 X@@ -921,7 +921,7 @@ X */ X X static int X-mtpfs_statfs (const char *path, struct statfs *stbuf) X+mtpfs_statfs (const char *path, struct statvfs *stbuf) X { X if (DEBUG) g_debug ("mtpfs_statfs"); X stbuf->f_bsize=1024; END-of-mtpfs/files/patch-mtpfs.c exit --- mtpfs.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: