summaryrefslogtreecommitdiff
path: root/filesystems/fuse
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2007-02-20 23:48:30 +0000
committerxtraeme <xtraeme>2007-02-20 23:48:30 +0000
commitaaec454187e34c2716c52c5a91a9743aa34f63ed (patch)
tree3f01c65bef75f4007bc2f1f5409824a1775b52d6 /filesystems/fuse
parent7a3849282b98f5c1a0bbdef91405ee9ef3a661d9 (diff)
downloadpkgsrc-aaec454187e34c2716c52c5a91a9743aa34f63ed.tar.gz
Initial import of fuse-2.5.2 from pkgsrc-wip, packaged by
pancake. With FUSE it is possible to implement a fully functional filesystem in a userspace program. Features include: * Simple library API * Simple installation (no need to patch or recompile the kernel) * Secure implementation * Userspace - kernel interface is very efficient * Usable by non privileged users * Runs on Linux kernels 2.4.X and 2.6.X * Has proven very stable over time This package is enabled only for linux and FreeBSD, NetBSD uses its own compatible library.
Diffstat (limited to 'filesystems/fuse')
-rw-r--r--filesystems/fuse/DESCR10
-rw-r--r--filesystems/fuse/MESSAGE7
-rw-r--r--filesystems/fuse/Makefile17
-rw-r--r--filesystems/fuse/PLIST12
-rw-r--r--filesystems/fuse/buildlink3.mk19
-rw-r--r--filesystems/fuse/distinfo6
-rw-r--r--filesystems/fuse/patches/patch-aa13
7 files changed, 84 insertions, 0 deletions
diff --git a/filesystems/fuse/DESCR b/filesystems/fuse/DESCR
new file mode 100644
index 00000000000..1bea18dd397
--- /dev/null
+++ b/filesystems/fuse/DESCR
@@ -0,0 +1,10 @@
+With FUSE it is possible to implement a fully functional filesystem in a
+userspace program. Features include:
+
+* Simple library API
+* Simple installation (no need to patch or recompile the kernel)
+* Secure implementation
+* Userspace - kernel interface is very efficient
+* Usable by non privileged users
+* Runs on Linux kernels 2.4.X and 2.6.X
+* Has proven very stable over time
diff --git a/filesystems/fuse/MESSAGE b/filesystems/fuse/MESSAGE
new file mode 100644
index 00000000000..0dc8d4b4cd3
--- /dev/null
+++ b/filesystems/fuse/MESSAGE
@@ -0,0 +1,7 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2007/02/20 23:48:30 xtraeme Exp $
+
+You must create the device by typing:
+ $ mknod /dev/fuse -m 0666 c 10 229
+
+===========================================================================
diff --git a/filesystems/fuse/Makefile b/filesystems/fuse/Makefile
new file mode 100644
index 00000000000..5a308a6e477
--- /dev/null
+++ b/filesystems/fuse/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/02/20 23:48:30 xtraeme Exp $
+#
+
+DISTNAME= fuse-2.5.2
+CATEGORIES= sysutils
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=fuse/}
+
+MAINTAINER= pancake@phreaker.net
+HOMEPAGE= http://fuse.sourceforge.net/
+COMMENT= Filesystem in Userspace
+
+GNU_CONFIGURE= yes
+ONLY_FOR_PLATFORM= Linux-*-* FreeBSD-*-*
+USE_TOOLS+= gmake pkg-config
+USE_LIBTOOL= yes
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/filesystems/fuse/PLIST b/filesystems/fuse/PLIST
new file mode 100644
index 00000000000..c98d2c962e7
--- /dev/null
+++ b/filesystems/fuse/PLIST
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/02/20 23:48:30 xtraeme Exp $
+bin/fusermount
+include/fuse.h
+include/fuse/fuse.h
+include/fuse/fuse_common.h
+include/fuse/fuse_compat.h
+include/fuse/fuse_lowlevel.h
+include/fuse/fuse_lowlevel_compat.h
+include/fuse/fuse_opt.h
+lib/libfuse.la
+lib/pkgconfig/fuse.pc
+@dirrm include/fuse
diff --git a/filesystems/fuse/buildlink3.mk b/filesystems/fuse/buildlink3.mk
new file mode 100644
index 00000000000..893a4347c9f
--- /dev/null
+++ b/filesystems/fuse/buildlink3.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2007/02/20 23:48:30 xtraeme Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+FUSEFS_BUILDLINK3_MK:= ${FUSEFS_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= fusefs
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nfusefs}
+BUILDLINK_PACKAGES+= fusefs
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}fusefs
+
+.if ${FUSEFS_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.fusefs+= fusefs>=2.5.2
+BUILDLINK_PKGSRCDIR.fusefs?= ../../filesystems/fuse
+.endif # FUSEFS_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/filesystems/fuse/distinfo b/filesystems/fuse/distinfo
new file mode 100644
index 00000000000..dcae8b68968
--- /dev/null
+++ b/filesystems/fuse/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/02/20 23:48:30 xtraeme Exp $
+
+SHA1 (fuse-2.5.2.tar.gz) = b353237dc7964c7337a837470b1f7d5ebc71aa0e
+RMD160 (fuse-2.5.2.tar.gz) = 840f0f13d9d493b1c2969471cfb9414a5368780e
+Size (fuse-2.5.2.tar.gz) = 407845 bytes
+SHA1 (patch-aa) = 2bed299164f56d72623b79eb69b011bcf5f97fed
diff --git a/filesystems/fuse/patches/patch-aa b/filesystems/fuse/patches/patch-aa
new file mode 100644
index 00000000000..2b14f2efc46
--- /dev/null
+++ b/filesystems/fuse/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2007/02/20 23:48:30 xtraeme Exp $
+
+--- util/Makefile.in.orig 2006-02-11 00:41:46.000000000 +0100
++++ util/Makefile.in 2006-02-11 01:01:48.000000000 +0100
+@@ -461,7 +461,7 @@
+
+ install-exec-local:
+ $(mkdir_p) $(DESTDIR)$(MOUNT_FUSE_PATH)
+- $(INSTALL_PROGRAM) $(srcdir)/mount.fuse $(DESTDIR)$(MOUNT_FUSE_PATH)/mount.fuse
++ $(INSTALL_SCRIPT) $(srcdir)/mount.fuse $(DESTDIR)$(MOUNT_FUSE_PATH)/mount.fuse
+
+ install-data-local:
+ $(mkdir_p) $(DESTDIR)$(UDEV_RULES_PATH)