From john@pcbsd.divinix.org  Fri Jul 20 07:46:54 2007
Return-Path: <john@pcbsd.divinix.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 5DEE516A418
	for <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <john@pcbsd.divinix.org>
Reply-To: John Hixson <john@pcbsd.divinix.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: jhixson@gmail.com
Subject: New port: sysutils/mtpfs MTP device filesystem (Correction) 
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         114762
>Category:       ports
>Synopsis:       New port: sysutils/mtpfs MTP device filesystem
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 20 07:50:01 GMT 2007
>Closed-Date:    Sat Sep 08 05:10:02 GMT 2007
>Last-Modified:  Sat Sep  8 05:20:01 GMT 2007
>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 <john@divinix.org>
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 <bsd.port.mk>
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 <fcntl.h>
X #include <dirent.h>
X #include <errno.h>
X-#include <sys/statfs.h>
X+#include <sys/param.h>
X+#include <sys/mount.h>
X+#include <sys/statvfs.h>
X 
X #include <libmtp.h>
X #include <glib.h>
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:
State-Changed-From-To: open->closed 
State-Changed-By: edwin 
State-Changed-When: Sat Sep 8 05:09:56 UTC 2007 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=114762 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/114762: commit references a PR
Date: Sat,  8 Sep 2007 05:11:33 +0000 (UTC)

 edwin       2007-09-08 05:11:27 UTC
 
   FreeBSD ports repository
 
   Modified files:
     sysutils/mtpfs       Makefile Makefile.bak distinfo pkg-descr 
   Log:
   PR:             ports/114762
   Submitted by:   John Hixson <john@pcbsd.divinix.org>
   
   Revision  Changes    Path
   1.2       +0 -0      ports/sysutils/mtpfs/Makefile
   1.2       +1 -1      ports/sysutils/mtpfs/Makefile.bak
   1.2       +0 -0      ports/sysutils/mtpfs/distinfo
   1.2       +1 -1      ports/sysutils/mtpfs/pkg-descr
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
