From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Dec 19 04:30:07 2009 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 EFADA106566C for ; Sat, 19 Dec 2009 04:30:07 +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 CC0578FC14 for ; Sat, 19 Dec 2009 04:30:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nBJ4U730050240 for ; Sat, 19 Dec 2009 04:30:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nBJ4U7Kr050237; Sat, 19 Dec 2009 04:30:07 GMT (envelope-from gnats) Resent-Date: Sat, 19 Dec 2009 04:30:07 GMT Resent-Message-Id: <200912190430.nBJ4U7Kr050237@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, Raymond Wagner Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB5CC1065676 for ; Sat, 19 Dec 2009 04:29:40 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id B9CB18FC0C for ; Sat, 19 Dec 2009 04:29:40 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id nBJ4TdEV074189 for ; Sat, 19 Dec 2009 04:29:40 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id nBJ4Tdwk074188; Sat, 19 Dec 2009 04:29:39 GMT (envelope-from nobody) Message-Id: <200912190429.nBJ4Tdwk074188@www.freebsd.org> Date: Sat, 19 Dec 2009 04:29:39 GMT From: Raymond Wagner To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/141768: Port submission for audio/mp3fs X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Dec 2009 04:30:08 -0000 >Number: 141768 >Category: ports >Synopsis: Port submission for audio/mp3fs >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: Sat Dec 19 04:30:07 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Raymond Wagner >Release: 8.0-RELEASE >Organization: >Environment: FreeBSD fserve.wagnerrp.com 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Submission of port for audio/mp3fs, a fusefs program to transcode FLAC to mp3 on-demand. http://sourceforge.net/projects/mp3fs/ >How-To-Repeat: >Fix: Patch attached with submission follows: # 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: # # mp3fs # mp3fs/distinfo # mp3fs/pkg-descr # mp3fs/pkg-message # mp3fs/Makefile # mp3fs/files # mp3fs/files/patch-mp3fs # mp3fs/files/patch-transcode # echo c - mp3fs mkdir -p mp3fs > /dev/null 2>&1 echo x - mp3fs/distinfo sed 's/^X//' >mp3fs/distinfo << '7fc39e6327569e3a4a97d6d62387aff3' XMD5 (mp3fs-0.13.tar.gz) = fb9b5eb4fb6f69f35430ff7e93a84e0b XSHA256 (mp3fs-0.13.tar.gz) = 68e9c4ec0a346889ddf2c39e4ae2e04a6409fc26bf5cd3963f450092bb54cf48 XSIZE (mp3fs-0.13.tar.gz) = 301642 7fc39e6327569e3a4a97d6d62387aff3 echo x - mp3fs/pkg-descr sed 's/^X//' >mp3fs/pkg-descr << '69333dd3e3c93ae7a3ad3b5cc0172139' XMP3FS allows you store files as lossless FLAC and access them through the Xfilesystem seamlessly as mp3s. X XWWW: http://sourceforge.net/projects/mp3fs/ 69333dd3e3c93ae7a3ad3b5cc0172139 echo x - mp3fs/pkg-message sed 's/^X//' >mp3fs/pkg-message << '53a19234fa8501abcc7f7080671fd22c' XBasic Instructions: XThere are three ways to do this: X XDaemon initiated X X1) X% mp3fs /path/to/files, /path/to/mount/point X Xor X X2) X% mount_fusefs auto /path/to/mount/point sshfs /path/to/files, X Xor X X3) X% env FUSE_DEV_NAME=/dev/fuse0 mp3fs /path/to/files, X% mount_fusefs /dev/fuse0 /path/to/mount/point X XFor further options see ``mp3fs -h''. 53a19234fa8501abcc7f7080671fd22c echo x - mp3fs/Makefile sed 's/^X//' >mp3fs/Makefile << 'a8b4dce720238aa5f65955bdef62ad7b' X# New ports collection makefile for: mp3fs X# Date created: 18 December 2009 X# Whom: wagnerrp X# X# $FreeBSD$ X# X XPORTNAME= mp3fs XPORTVERSION= 0.13 XCATEGORIES= audio XMASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION} X XMAINTAINER= raymond@wagnerrp.com XCOMMENT= FUSE filesystem for accessing FLAC files as reduced bitrate mp3s X XLIB_DEPENDS= ogg.6:${PORTSDIR}/audio/libogg \ X FLAC.10:${PORTSDIR}/audio/flac \ X mp3lame.0:${PORTSDIR}/audio/lame \ X fuse.2:${PORTSDIR}/sysutils/fusefs-libs \ X id3tag.0:${PORTSDIR}/audio/libid3tag XRUN_DEPENDS= ${KMODDIR}/fuse.ko:${PORTSDIR}/sysutils/fusefs-kmod XBUILD_DEPENDS= fusefs-libs>2.4.1:${PORTSDIR}/sysutils/fusefs-libs X XGNU_CONFIGURE= yes XCONFIGURE_ARGS= --prefix=${PREFIX} \ X CFLAGS="-I${PREFIX}/include" \ X LDFLAGS="-L${PREFIX}/lib" X XPLIST_FILES= bin/mp3fs X X.include a8b4dce720238aa5f65955bdef62ad7b echo c - mp3fs/files mkdir -p mp3fs/files > /dev/null 2>&1 echo x - mp3fs/files/patch-mp3fs sed 's/^X//' >mp3fs/files/patch-mp3fs << '487d35eea3e1e9655ff4c1a59792391b' X--- src/mp3fs.c 2009-12-18 18:01:30.238840501 -0500 X+++ src/mp3fs.c 2009-06-10 02:31:34.636087031 -0400 X@@ -20,7 +20,7 @@ X Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. X */ X X-#define FUSE_USE_VERSION 22 X+#define FUSE_USE_VERSION 25 X X #include X #include X@@ -30,8 +30,7 @@ X #include X #include X #include X-#include X- X+#include X #include "transcode.h" X #include "talloc.h" X X@@ -195,16 +194,16 @@ X return f->Read(f, buf, offset, size); X } X X-static int mp3fs_statfs(const char *path, struct statfs *stbuf) { X+static int mp3fs_statvfs(const char *path, struct statvfs *stbuf) { X int res; X char name[256]; X X- DEBUG(logfd, "%s: statfs\n", path); X+ DEBUG(logfd, "%s: statvfs\n", path); X X strncpy(name, basepath, sizeof(name)); X strncat(name, path, sizeof(name) - strlen(name)); X X- res = statfs(name, stbuf); X+ res = statvfs(name, stbuf); X if(res == -1) X return -errno; X X@@ -231,7 +230,7 @@ X .readdir = mp3fs_readdir, X .open = mp3fs_open, X .read = mp3fs_read, X- .statfs = mp3fs_statfs, X+ .statfs = mp3fs_statvfs, X .release = mp3fs_release, X }; X 487d35eea3e1e9655ff4c1a59792391b echo x - mp3fs/files/patch-transcode sed 's/^X//' >mp3fs/files/patch-transcode << 'cbb648015d6e369bd305251ad71508a5' X$FreeBSD: ports/audio/mp3fs/files/patch-transcode 2008-12-14 00:24:21.000000000 -0500 $ X X--- src/transcode.c.orig X+++ src/transcode.c X@@ -24,7 +24,7 @@ X #include X #include X #include X-#include X+#include X X #include X #ifdef LEGACY_FLAC cbb648015d6e369bd305251ad71508a5 exit >Release-Note: >Audit-Trail: >Unformatted: