Fri Apr 11 14:55:45 2008 UTC ()
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 >

Status:

Vendor Tag:	TNF
Release Tags:	pkgsrc-base


(agc)
diff -r0 -r1.1.1.1 pkgsrc/filesystems/fuse-djmount/Makefile
diff -r0 -r1.1.1.1 pkgsrc/filesystems/fuse-djmount/PLIST
diff -r0 -r1.1.1.1 pkgsrc/filesystems/fuse-djmount/DESCR
diff -r0 -r1.1.1.1 pkgsrc/filesystems/fuse-djmount/distinfo
diff -r0 -r1.1.1.1 pkgsrc/filesystems/fuse-djmount/patches/patch-aa

File Added: pkgsrc/filesystems/fuse-djmount/Attic/Makefile
# $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"

File Added: pkgsrc/filesystems/fuse-djmount/Attic/PLIST
@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

File Added: pkgsrc/filesystems/fuse-djmount/Attic/DESCR
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.

File Added: pkgsrc/filesystems/fuse-djmount/Attic/distinfo
$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

File Added: pkgsrc/filesystems/fuse-djmount/patches/Attic/patch-aa
$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