From 4f6969739c30b050c52e7fc8cae4fb8f5b7330f1 Mon Sep 17 00:00:00 2001 From: bjs Date: Thu, 13 Dec 2007 07:00:16 +0000 Subject: Import svnfs-0.4, a fuse filesystem for mounting subversion repositories. While I can find little documentation out there, it seems to work quite well for me (Subversion 1.4.4 + apr1). Thusfar it's seemed quite speedy and useful. I'm thinking that fuse might be an interesting way to get distfiles (curlftpfs) or source snapshots into pkgsrc. --- filesystems/fuse-svnfs/DESCR | 3 +++ filesystems/fuse-svnfs/Makefile | 30 ++++++++++++++++++++++++++++++ filesystems/fuse-svnfs/PLIST | 2 ++ filesystems/fuse-svnfs/distinfo | 6 ++++++ filesystems/fuse-svnfs/patches/patch-aa | 19 +++++++++++++++++++ 5 files changed, 60 insertions(+) create mode 100644 filesystems/fuse-svnfs/DESCR create mode 100644 filesystems/fuse-svnfs/Makefile create mode 100644 filesystems/fuse-svnfs/PLIST create mode 100644 filesystems/fuse-svnfs/distinfo create mode 100644 filesystems/fuse-svnfs/patches/patch-aa (limited to 'filesystems/fuse-svnfs') diff --git a/filesystems/fuse-svnfs/DESCR b/filesystems/fuse-svnfs/DESCR new file mode 100644 index 00000000000..133043413f5 --- /dev/null +++ b/filesystems/fuse-svnfs/DESCR @@ -0,0 +1,3 @@ +SvnFs is a filesystem written using FUSE for accessing Subversion +repositories. Please see for search google +for more information, as it comes with no documentation. diff --git a/filesystems/fuse-svnfs/Makefile b/filesystems/fuse-svnfs/Makefile new file mode 100644 index 00000000000..e05235ef4c8 --- /dev/null +++ b/filesystems/fuse-svnfs/Makefile @@ -0,0 +1,30 @@ +# $NetBSD: Makefile,v 1.1.1.1 2007/12/13 07:00:16 bjs Exp $ +# + +DISTNAME= svnfs-0.4 +CATEGORIES= filesystems +MASTER_SITES= http://www.jmadden.eu/wp-content/uploads/svnfs/ + +MAINTAINER= bjs@NetBSD.org +HOMEPAGE= http://www.jmadden.eu/ +COMMENT= FUSE filesystem for accessing SVN repositories +EXTRACT_SUFX= .tgz + +PKG_DESTDIR_SUPPORT= user-destdir + +GNU_CONFIGURE= yes +USE_TOOLS+= perl + +REPLACE_PERL= svn-config.pl + +SUBST_CLASSES+= svn +SUBST_FILES.svn= svn-config.pl +SUBST_MESSAGE.svn= Fixing subversion pathnames in ${SUBST_FILES.svn} +SUBST_STAGE.svn= post-patch +SUBST_VARS.svn= LOCALBASE + +BUILDLINK_ABI_DEPENDS.subversion-base+= subversion-base>=1.4.3nb2 + +.include "../../devel/subversion-base/buildlink3.mk" +.include "../../mk/fuse.buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/filesystems/fuse-svnfs/PLIST b/filesystems/fuse-svnfs/PLIST new file mode 100644 index 00000000000..b95523b13ab --- /dev/null +++ b/filesystems/fuse-svnfs/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2007/12/13 07:00:16 bjs Exp $ +bin/svnfs diff --git a/filesystems/fuse-svnfs/distinfo b/filesystems/fuse-svnfs/distinfo new file mode 100644 index 00000000000..60a075977d8 --- /dev/null +++ b/filesystems/fuse-svnfs/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2007/12/13 07:00:16 bjs Exp $ + +SHA1 (svnfs-0.4.tgz) = edc8584c08ab58a321c8b93a237528b162ea3a08 +RMD160 (svnfs-0.4.tgz) = 6df496b4a66705407526c7881f8f8ace7f09a3d0 +Size (svnfs-0.4.tgz) = 206594 bytes +SHA1 (patch-aa) = 01670a8d9e88a7be3356b5a3c3408d565080860d diff --git a/filesystems/fuse-svnfs/patches/patch-aa b/filesystems/fuse-svnfs/patches/patch-aa new file mode 100644 index 00000000000..9eaa41eefe1 --- /dev/null +++ b/filesystems/fuse-svnfs/patches/patch-aa @@ -0,0 +1,19 @@ +$NetBSD: patch-aa,v 1.1.1.1 2007/12/13 07:00:16 bjs Exp $ + +--- svn-config.pl.orig 2007-06-11 04:50:03.000000000 -0400 ++++ svn-config.pl +@@ -1,4 +1,4 @@ +-#!/usr/bin/perl ++#!/usr/pkg/bin/perl + # + # Hacky replacement for (non-existant) svn-config to find the libraries, + # the library path and the include file path. +@@ -47,7 +47,7 @@ if( $libs ) { + } + + if( $includes ) { +- open(IN, "ls -d /usr/include/subversion* 2>/dev/null |"); ++ open(IN, "ls -d @LOCALBASE@/include/subversion-* 2>/dev/null |"); + while( ) { + chomp(); + $out_includes = $out_includes."-I".$_." "; -- cgit v1.2.3