mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
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. djmount is written in C for the Linux operating system. It is free software, licensed under the terms of the GNU General Public License (GNU GPL). WWW: http://djmount.sourceforge.net/ PR: ports/128112 Submitted by: Eric L. Chen <d9364104 at mail.nchu.edu.tw>
This commit is contained in:
parent
0fdde35172
commit
07f64d0350
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=222304
@ -149,6 +149,7 @@
|
||||
SUBDIR += diskscrub
|
||||
SUBDIR += disktool
|
||||
SUBDIR += disktype
|
||||
SUBDIR += djmount
|
||||
SUBDIR += dmidecode
|
||||
SUBDIR += dolly
|
||||
SUBDIR += dolly+
|
||||
|
42
sysutils/djmount/Makefile
Normal file
42
sysutils/djmount/Makefile
Normal file
@ -0,0 +1,42 @@
|
||||
# New ports collection makefile for: djmount
|
||||
# Date created: 15 October 2008
|
||||
# Whom: Eric L. Chen <d9364104@mail.nchu.edu.tw>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= djmount
|
||||
PORTVERSION= 0.71
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= SF
|
||||
|
||||
MAINTAINER= d9364104@mail.nchu.edu.tw
|
||||
COMMENT= Mount UPnP A/V Media
|
||||
|
||||
LIB_DEPENDS= fuse.2:${PORTSDIR}/sysutils/fusefs-libs \
|
||||
upnp.3:${PORTSDIR}/devel/upnp
|
||||
BUILD_DEPENDS= iconv:${PORTSDIR}/converters/libiconv
|
||||
RUN_DEPENDS= ${LOCALBASE}/modules/fuse.ko:${PORTSDIR}/sysutils/fusefs-kmod
|
||||
|
||||
PLIST_FILES= bin/${PORTNAME}
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GNOME= pkgconfig
|
||||
CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} \
|
||||
--with-fuse-prefix=${LOCALBASE} \
|
||||
--with-external-libupnp --with-libupnp-prefix=${LOCALBASE}
|
||||
|
||||
PORTDOCS= AUTHORS ChangeLog NEWS README TODO
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 600000
|
||||
IGNORE= depends on kernel module that requires FreeBSD 6 or later
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
.ifndef NOPORTDOCS
|
||||
@${INSTALL} -d ${DOCSDIR}/
|
||||
@cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
3
sysutils/djmount/distinfo
Normal file
3
sysutils/djmount/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (djmount-0.71.tar.gz) = c922753e706c194bf82a8b6ca77e6a9a
|
||||
SHA256 (djmount-0.71.tar.gz) = aa5bb482af4cbd42695a7e396043d47b53d075ac2f6aa18a8f8e11383c030e4f
|
||||
SIZE (djmount-0.71.tar.gz) = 1159653
|
63
sysutils/djmount/files/patch-djmount
Normal file
63
sysutils/djmount/files/patch-djmount
Normal file
@ -0,0 +1,63 @@
|
||||
--- configure.ac 2006-08-28 04:12:33.000000000 +0800
|
||||
+++ configure.ac 2008-10-15 10:46:23.000000000 +0800
|
||||
@@ -240,7 +240,7 @@ RT_PACKAGE_FIND([fuse], [-D_FILE_OFFSET_
|
||||
** $FUSE_MSG_ERRORS
|
||||
])])
|
||||
|
||||
-FUSE_CFLAGS="$FUSE_CFLAGS -DFUSE_USE_VERSION=22"
|
||||
+FUSE_CFLAGS="$FUSE_CFLAGS -DFUSE_USE_VERSION=25"
|
||||
|
||||
|
||||
#
|
||||
--- configure 2006-08-28 04:13:13.000000000 +0800
|
||||
+++ configure 2008-10-15 10:46:23.000000000 +0800
|
||||
@@ -26489,7 +26489,7 @@ fi
|
||||
|
||||
|
||||
|
||||
-FUSE_CFLAGS="$FUSE_CFLAGS -DFUSE_USE_VERSION=22"
|
||||
+FUSE_CFLAGS="$FUSE_CFLAGS -DFUSE_USE_VERSION=25"
|
||||
|
||||
|
||||
#
|
||||
diff -purN djmount/cache.h djmount/cache.h
|
||||
--- djmount/cache.h 2006-08-28 04:12:20.000000000 +0800
|
||||
+++ djmount/cache.h 2008-10-15 11:12:35.000000000 +0800
|
||||
@@ -25,6 +25,9 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdbool.h>
|
||||
+#ifdef __FreeBSD__
|
||||
+#include <time.h>
|
||||
+#endif
|
||||
|
||||
|
||||
/******************************************************************************
|
||||
diff -purN djmount/fuse_main.c djmount/fuse_main.c
|
||||
--- djmount/fuse_main.c 2006-08-28 04:12:20.000000000 +0800
|
||||
+++ djmount/fuse_main.c 2008-10-15 11:12:21.000000000 +0800
|
||||
@@ -32,7 +32,9 @@
|
||||
#include <fcntl.h>
|
||||
#include <dirent.h>
|
||||
#include <errno.h>
|
||||
+#ifdef __linux__
|
||||
#include <sys/statfs.h>
|
||||
+#endif
|
||||
#ifdef HAVE_SETXATTR
|
||||
# include <sys/xattr.h>
|
||||
#endif
|
||||
diff -purN djmount/string_util.c djmount/string_util.c
|
||||
--- djmount/string_util.c 2006-08-28 04:12:20.000000000 +0800
|
||||
+++ djmount/string_util.c 2008-10-15 11:12:03.000000000 +0800
|
||||
@@ -251,7 +251,11 @@ StringStream_GetSnapshot (StringStream*
|
||||
if (res && slen)
|
||||
*slen = ss->size;
|
||||
#else
|
||||
+#ifdef __linux__
|
||||
off_t const size = ftello (ss->file);
|
||||
+#else
|
||||
+ size_t const size = ftello (ss->file);
|
||||
+#endif
|
||||
res = talloc_size (result_context, size+1);
|
||||
if (res) {
|
||||
rewind (ss->file);
|
12
sysutils/djmount/pkg-descr
Normal file
12
sysutils/djmount/pkg-descr
Normal file
@ -0,0 +1,12 @@
|
||||
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.
|
||||
|
||||
djmount is written in C for the Linux operating system.
|
||||
It is free software, licensed under the terms of the GNU General Public
|
||||
License (GNU GPL).
|
||||
|
||||
WWW: http://djmount.sourceforge.net/
|
Loading…
Reference in New Issue
Block a user