diff options
author | manu <manu@pkgsrc.org> | 2010-08-25 07:34:11 +0000 |
---|---|---|
committer | manu <manu@pkgsrc.org> | 2010-08-25 07:34:11 +0000 |
commit | 5c9c0012b7825a5361e071c4442949a13051ef17 (patch) | |
tree | f8be90ecfb2d8616ad527062ca4d26e6a0eca375 /filesystems/perfuse | |
parent | 293f68386bf52814205243834e88db09caba172f (diff) | |
download | pkgsrc-5c9c0012b7825a5361e071c4442949a13051ef17.tar.gz |
perfuse brings full FUSE support to NetBSD It has two components:
- a daemon that creates a /dev/fuse socket and that performs PUFFS
relay to FUSE.
- a library and a header file to use in filesystems and libraries that
open /dev/fuse, so that they are directed to the socket.
Diffstat (limited to 'filesystems/perfuse')
-rw-r--r-- | filesystems/perfuse/DESCR | 7 | ||||
-rw-r--r-- | filesystems/perfuse/Makefile | 35 | ||||
-rw-r--r-- | filesystems/perfuse/PLIST | 4 | ||||
-rw-r--r-- | filesystems/perfuse/buildlink3.mk | 12 | ||||
-rw-r--r-- | filesystems/perfuse/distinfo | 6 | ||||
-rw-r--r-- | filesystems/perfuse/patches/patch-aa | 12 |
6 files changed, 76 insertions, 0 deletions
diff --git a/filesystems/perfuse/DESCR b/filesystems/perfuse/DESCR new file mode 100644 index 00000000000..121d9a2a911 --- /dev/null +++ b/filesystems/perfuse/DESCR @@ -0,0 +1,7 @@ +$NetBSD: DESCR,v 1.1.1.1 2010/08/25 07:34:11 manu Exp $ + +perfuse brings full FUSE support to NetBSD It has two components: +- a daemon that creates a /dev/fuse socket and that performs PUFFS +relay to FUSE. +- a library and a header file to use in filesystems and libraries that +open /dev/fuse, so that they are directed to the socket. diff --git a/filesystems/perfuse/Makefile b/filesystems/perfuse/Makefile new file mode 100644 index 00000000000..9123f9359eb --- /dev/null +++ b/filesystems/perfuse/Makefile @@ -0,0 +1,35 @@ +# $NetBSD: Makefile,v 1.1.1.1 2010/08/25 07:34:11 manu Exp $ +# + +DISTNAME= perfuse-20100825 +CATEGORIES= filesystems +MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/perfuse/ +EXTRACT_SUFX= .tgz + +MAINTAINER= manu@NetBSD.org +COMMENT= PUFFS Enabled Relay to FUSE +LICENSE= 2-clause-bsd + +PKG_DESTDIR_SUPPORT= user-destdir + +WRKSRC= ${WRKDIR}/src/ +BUILD_DIRS= lib/libperfuse usr.sbin/perfused + +pre-build: + ${LN} -s ${WRKSRC}/lib/libperfuse/perfuse.h ${BUILDLINK_DIR}/include/ + ${LN} -s ${WRKSRC}/lib/libperfuse/libperfuse.so ${BUILDLINK_DIR}/lib + +do-install: + ${INSTALL_DATA_DIR} ${DESTDIR}/${PREFIX}/include + ${INSTALL_DATA} ${WRKSRC}/lib/libperfuse/perfuse.h \ + ${DESTDIR}/${PREFIX}/include/ + + ${INSTALL_LIB_DIR} ${DESTDIR}/${PREFIX}/lib + ${INSTALL_LIB} ${WRKSRC}/lib/libperfuse/libperfuse.so \ + ${DESTDIR}/${PREFIX}/lib/ + + ${INSTALL_PROGRAM_DIR} ${DESTDIR}/${PREFIX}/sbin + ${INSTALL_PROGRAM} ${WRKSRC}/usr.sbin/perfused/perfused \ + ${DESTDIR}/${PREFIX}/sbin + +.include "../../mk/bsd.pkg.mk" diff --git a/filesystems/perfuse/PLIST b/filesystems/perfuse/PLIST new file mode 100644 index 00000000000..e9dffffb361 --- /dev/null +++ b/filesystems/perfuse/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2010/08/25 07:34:11 manu Exp $ +include/perfuse.h +lib/libperfuse.so +sbin/perfused diff --git a/filesystems/perfuse/buildlink3.mk b/filesystems/perfuse/buildlink3.mk new file mode 100644 index 00000000000..3e4c74cc625 --- /dev/null +++ b/filesystems/perfuse/buildlink3.mk @@ -0,0 +1,12 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2010/08/25 07:34:11 manu Exp $ + +BUILDLINK_TREE+= perfuse + +.if !defined(PERFUSE_BUILDLINK3_MK) +PERFUSE_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.perfuse+= perfuse>=10100822 +BUILDLINK_PKGSRCDIR.perfuse?= ../../filesystems/perfuse +.endif # PERFUSE_BUILDLINK3_MK + +BUILDLINK_TREE+= -perfuse diff --git a/filesystems/perfuse/distinfo b/filesystems/perfuse/distinfo new file mode 100644 index 00000000000..ec96f1b0fff --- /dev/null +++ b/filesystems/perfuse/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2010/08/25 07:34:11 manu Exp $ + +SHA1 (perfuse-20100825.tgz) = 824baad4cc4e04436913177f550513bb1055d0d3 +RMD160 (perfuse-20100825.tgz) = 8e9e7df5887c21b31092e0ff4920e05378f92eee +Size (perfuse-20100825.tgz) = 29513 bytes +SHA1 (patch-aa) = 2c043fa53fdf00c530299b3af8b3db0e192a67cc diff --git a/filesystems/perfuse/patches/patch-aa b/filesystems/perfuse/patches/patch-aa new file mode 100644 index 00000000000..013f6bde4f8 --- /dev/null +++ b/filesystems/perfuse/patches/patch-aa @@ -0,0 +1,12 @@ +$NetBSD: patch-aa,v 1.1.1.1 2010/08/25 07:34:11 manu Exp $ +Do not require libpuffs from src, as we may not have the sources +--- lib/libperfuse/Makefile.orig 2010-08-23 14:44:21.000000000 +0200 ++++ lib/libperfuse/Makefile 2010-08-23 14:44:28.000000000 +0200 +@@ -1,6 +1,6 @@ + LIB= perfuse +-LIBDPLIBS+= puffs /usr/src/lib/libpuffs ++#LIBDPLIBS+= puffs /usr/src/lib/libpuffs + + + PERFUSE_OPT_DEBUG_FLAGS= -g -DPERFUSE_DEBUG + |