ports/128112: Add sysutils/djmount

Eric L. Chen d9364104 at mail.nchu.edu.tw
Wed Oct 15 05:00:09 UTC 2008


>Number:         128112
>Category:       ports
>Synopsis:       Add sysutils/djmount
>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:   Wed Oct 15 05:00:07 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Eric L. Chen
>Release:        7-STABLE
>Organization:
National Chung Hsing University
>Environment:
FreeBSD lihong-nb.local 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #17: Mon Oct 13 10:36:53 CST 2008     root at lihong-nb.local:/usr/obj/usr/src/sys/lihong-nb  i386
>Description:
Add djmount into ports.

djmount is a UPnP AV client. It mounts as a Linux filesystem the media content of compatible UPnP AV devices. 
Djmount discovers automatically all UPnP AV Media Servers on the network, and make the content available in a directory tree. All shared files (e.g. Audio or Video files) are directly visible and can be played using your favorite media player.
>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:
#
#	sysutils/djmount
#	sysutils/djmount/Makefile
#	sysutils/djmount/distinfo
#	sysutils/djmount/pkg-descr
#	sysutils/djmount/files
#	sysutils/djmount/files/patch-djmount
#
echo c - sysutils/djmount
mkdir -p sysutils/djmount > /dev/null 2>&1
echo x - sysutils/djmount/Makefile
sed 's/^X//' >sysutils/djmount/Makefile << '8793c7bef62f4a4629f0db0608722f07'
X# New ports collection makefile for:	djmount
X# Date created:		15 October 2008
X# Whom:			Eric L. Chen <d9364104 at mail.nchu.edu.tw>
X#
X# $Id$
X#
X
XPORTNAME=	djmount
XPORTVERSION=	0.71
XCATEGORIES=	sysutils
XMASTER_SITES=	SF
X
XMAINTAINER=	ports at FreeBSD.org
XCOMMENT=	Mount UPnP A/V Media
X
XLIB_DEPENDS=	fuse.2:${PORTSDIR}/sysutils/fusefs-libs \
X		upnp.3:${PORTSDIR}/devel/upnp
XBUILD_DEPENDS=  iconv:${PORTSDIR}/converters/libiconv
XRUN_DEPENDS=	${LOCALBASE}/modules/fuse.ko:${PORTSDIR}/sysutils/fusefs-kmod
X
XPLIST_FILES=    bin/${PORTNAME}
XGNU_CONFIGURE=	yes
XUSE_GNOME=      pkgconfig
XCONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} \
X		--with-fuse-prefix=${LOCALBASE} \
X		--with-external-libupnp --with-libupnp-prefix=${LOCALBASE}
X
XPORTDOCS=	AUTHORS ChangeLog NEWS README TODO
X
X.include <bsd.port.pre.mk>
X
X.if ${OSVERSION} < 600000
XIGNORE=		depends on kernel module that requires FreeBSD 6 or later
X.endif
X
Xpost-install:
X.ifndef NOPORTDOCS
X	@${INSTALL} -d ${DOCSDIR}/
X	@cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
X.endif
X
X.include <bsd.port.post.mk>
8793c7bef62f4a4629f0db0608722f07
echo x - sysutils/djmount/distinfo
sed 's/^X//' >sysutils/djmount/distinfo << '575253ac519f1be9d964480c1a449ce0'
XMD5 (djmount-0.71.tar.gz) = c922753e706c194bf82a8b6ca77e6a9a
XSHA256 (djmount-0.71.tar.gz) = aa5bb482af4cbd42695a7e396043d47b53d075ac2f6aa18a8f8e11383c030e4f
XSIZE (djmount-0.71.tar.gz) = 1159653
575253ac519f1be9d964480c1a449ce0
echo x - sysutils/djmount/pkg-descr
sed 's/^X//' >sysutils/djmount/pkg-descr << '314f958b5a1610559a7162b6d995abde'
Xdjmount is a UPnP AV client. It mounts as a Linux filesystem the media
Xcontent of compatible UPnP AV devices.
XDjmount discovers automatically all UPnP AV Media Servers on the network,
Xand make the content available in a directory tree. All shared files
X(e.g. Audio or Video files) are directly visible and can be played using
Xyour favorite media player.
X
Xdjmount is written in C for the Linux operating system.
XIt is free software, licensed under the terms of the GNU General Public
XLicense (GNU GPL).
X
XWWW: http://djmount.sourceforge.net/
314f958b5a1610559a7162b6d995abde
echo c - sysutils/djmount/files
mkdir -p sysutils/djmount/files > /dev/null 2>&1
echo x - sysutils/djmount/files/patch-djmount
sed 's/^X//' >sysutils/djmount/files/patch-djmount << '3f6bd3f9468e5a640674c6e940e5e7f9'
X--- configure.ac	2006-08-28 04:12:33.000000000 +0800
X+++ configure.ac	2008-10-15 10:46:23.000000000 +0800
X@@ -240,7 +240,7 @@ RT_PACKAGE_FIND([fuse], [-D_FILE_OFFSET_
X ** $FUSE_MSG_ERRORS
X 	])])
X 
X-FUSE_CFLAGS="$FUSE_CFLAGS -DFUSE_USE_VERSION=22"
X+FUSE_CFLAGS="$FUSE_CFLAGS -DFUSE_USE_VERSION=25"
X 
X 
X #
X--- configure	2006-08-28 04:13:13.000000000 +0800
X+++ configure	2008-10-15 10:46:23.000000000 +0800
X@@ -26489,7 +26489,7 @@ fi
X 
X 
X 
X-FUSE_CFLAGS="$FUSE_CFLAGS -DFUSE_USE_VERSION=22"
X+FUSE_CFLAGS="$FUSE_CFLAGS -DFUSE_USE_VERSION=25"
X 
X 
X #
Xdiff -purN djmount/cache.h djmount/cache.h
X--- djmount/cache.h	2006-08-28 04:12:20.000000000 +0800
X+++ djmount/cache.h	2008-10-15 11:12:35.000000000 +0800
X@@ -25,6 +25,9 @@
X 
X #include <stdlib.h>
X #include <stdbool.h>
X+#ifdef __FreeBSD__
X+#include <time.h>
X+#endif
X 
X 
X /******************************************************************************
Xdiff -purN djmount/fuse_main.c djmount/fuse_main.c
X--- djmount/fuse_main.c	2006-08-28 04:12:20.000000000 +0800
X+++ djmount/fuse_main.c	2008-10-15 11:12:21.000000000 +0800
X@@ -32,7 +32,9 @@
X #include <fcntl.h>
X #include <dirent.h>
X #include <errno.h>
X+#ifdef __linux__
X #include <sys/statfs.h>
X+#endif
X #ifdef HAVE_SETXATTR
X #	include <sys/xattr.h>
X #endif
Xdiff -purN djmount/string_util.c djmount/string_util.c
X--- djmount/string_util.c	2006-08-28 04:12:20.000000000 +0800
X+++ djmount/string_util.c	2008-10-15 11:12:03.000000000 +0800
X@@ -251,7 +251,11 @@ StringStream_GetSnapshot (StringStream* 
X 		if (res && slen)
X 			*slen = ss->size;
X #else
X+#ifdef __linux__
X 		off_t const size = ftello (ss->file);
X+#else
X+		size_t const size = ftello (ss->file);
X+#endif
X 		res = talloc_size (result_context, size+1);
X 		if (res) {
X 			rewind (ss->file);
3f6bd3f9468e5a640674c6e940e5e7f9
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list