summaryrefslogtreecommitdiff
path: root/filesystems/fuse-djmount
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2008-04-11 14:55:45 +0000
committeragc <agc@pkgsrc.org>2008-04-11 14:55:45 +0000
commit5aab256bf7c5cab5478e1b4d413daf1b06ad8dd9 (patch)
tree3a21654af9dd223a1bfe25d320ac08b07928176f /filesystems/fuse-djmount
parent4d103733b6aeea7934088af89dbd4de358f0e4a1 (diff)
downloadpkgsrc-5aab256bf7c5cab5478e1b4d413daf1b06ad8dd9.tar.gz
Initial import of djmount-0.71 into the packages collection.
djmount is a UPnP AV client. It mounts the media content of compatible UPnP AV devices as a Unix filesystem. Djmount automatically discovers all UPnP AV Media Servers on the network, and makes 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. [15:53:42] agc@inspiron1300 ~ 190 > df /mnt Filesystem 1K-blocks Used Avail %Cap Mounted on /dev/puffs 28101396 20741466 5954862 77% /mnt [15:53:44] agc@inspiron1300 ~ 191 > l /mnt total 5 dr-xr-xr-x 5 root wheel 512 Jan 1 2000 . drwxr-xr-x 37 root wheel 1536 Mar 15 13:22 .. dr-xr-xr-x 5 root wheel 512 Jan 1 2000 .debug dr-xr-xr-x 8 root wheel 512 Jan 1 2000 INSPIRON1300: Alistair Crooks: dr-xr-xr-x 7 root wheel 512 Jan 1 2000 MediaTomb -r--r--r-- 1 root wheel 41 Jan 1 2000 devices [15:54:23] agc@inspiron1300 ~ 192 >
Diffstat (limited to 'filesystems/fuse-djmount')
-rw-r--r--filesystems/fuse-djmount/DESCR7
-rw-r--r--filesystems/fuse-djmount/Makefile30
-rw-r--r--filesystems/fuse-djmount/PLIST4
-rw-r--r--filesystems/fuse-djmount/distinfo6
-rw-r--r--filesystems/fuse-djmount/patches/patch-aa32
5 files changed, 79 insertions, 0 deletions
diff --git a/filesystems/fuse-djmount/DESCR b/filesystems/fuse-djmount/DESCR
new file mode 100644
index 00000000000..1136e9b2e6f
--- /dev/null
+++ b/filesystems/fuse-djmount/DESCR
@@ -0,0 +1,7 @@
+djmount is a UPnP AV client. It mounts the media content of
+compatible UPnP AV devices as a Unix filesystem.
+
+Djmount automatically discovers all UPnP AV Media Servers on the
+network, and makes 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.
diff --git a/filesystems/fuse-djmount/Makefile b/filesystems/fuse-djmount/Makefile
new file mode 100644
index 00000000000..20f5b94340b
--- /dev/null
+++ b/filesystems/fuse-djmount/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/04/11 14:55:45 agc Exp $
+
+DISTNAME= djmount-0.71
+PKGNAME= fuse-${DISTNAME}
+CATEGORIES= filesystems
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=djmount/}
+
+MAINTAINER= agc-users@NetBSD.org
+HOMEPAGE= http://djmount.sourceforge.net/
+COMMENT= FUSE filesystem for accessing Media Server content via UPnP
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= gmake
+
+PREFER.readline= pkgsrc
+
+CONFIGURE_ARGS+= --with-external-libupnp
+CONFIGURE_ARGS+= --with-libupnp-prefix=${PREFIX}
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/djmount
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/djmount
+
+.include "../../devel/readline/buildlink3.mk"
+.include "../../net/libupnp/buildlink3.mk"
+
+.include "../../mk/fuse.buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/filesystems/fuse-djmount/PLIST b/filesystems/fuse-djmount/PLIST
new file mode 100644
index 00000000000..b6cdff9f3e2
--- /dev/null
+++ b/filesystems/fuse-djmount/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/04/11 14:55:45 agc Exp $
+bin/djmount
+share/doc/djmount/README
+@dirrm share/doc/djmount
diff --git a/filesystems/fuse-djmount/distinfo b/filesystems/fuse-djmount/distinfo
new file mode 100644
index 00000000000..c973a90664f
--- /dev/null
+++ b/filesystems/fuse-djmount/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/04/11 14:55:45 agc Exp $
+
+SHA1 (djmount-0.71.tar.gz) = 527d4603d85b7fb86dc97d326b78c97bdcc4d687
+RMD160 (djmount-0.71.tar.gz) = 695e2ea0cd3fe654339f82c5101eb74da739d3f7
+Size (djmount-0.71.tar.gz) = 1159653 bytes
+SHA1 (patch-aa) = 5cc9d72ee0035f51ff968862a54adad055fae7b9
diff --git a/filesystems/fuse-djmount/patches/patch-aa b/filesystems/fuse-djmount/patches/patch-aa
new file mode 100644
index 00000000000..dc8cd1bf06b
--- /dev/null
+++ b/filesystems/fuse-djmount/patches/patch-aa
@@ -0,0 +1,32 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/04/11 14:55:45 agc Exp $
+
+--- djmount/fuse_main.c 2008/04/11 12:27:48 1.1
++++ djmount/fuse_main.c 2008/04/11 12:28:51
+@@ -32,7 +32,11 @@
+ #include <fcntl.h>
+ #include <dirent.h>
+ #include <errno.h>
++#ifdef __NetBSD__
++#include <sys/statvfs.h>
++#else
+ #include <sys/statfs.h>
++#endif
+ #ifdef HAVE_SETXATTR
+ # include <sys/xattr.h>
+ #endif
+@@ -734,6 +738,7 @@
+ // Force Read-only (write operations not implemented yet)
+ FUSE_ARG ("-r");
+
++#if !defined(__NetBSD__)
+ #if HAVE_FUSE_O_READDIR_INO
+ // try to fill in d_ino in readdir
+ FUSE_ARG ("-o");
+@@ -746,6 +751,7 @@
+ FUSE_ARG ("-o");
+ FUSE_ARG ("direct_io");
+ #endif
++#endif /* !NetBSD */
+
+ /*
+ * Set charset encoding