diff options
author | bjs <bjs@pkgsrc.org> | 2007-12-13 07:00:16 +0000 |
---|---|---|
committer | bjs <bjs@pkgsrc.org> | 2007-12-13 07:00:16 +0000 |
commit | 607a6fd4d8bc7376b3a4e7ef395a17fbec10a905 (patch) | |
tree | e7b6d29589bd4792a167d39edb85e67d4d22474c | |
parent | 1daa94d58b548c1b2155dcbf47d1a54c34f45866 (diff) | |
download | pkgsrc-607a6fd4d8bc7376b3a4e7ef395a17fbec10a905.tar.gz |
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.
-rw-r--r-- | filesystems/fuse-svnfs/DESCR | 3 | ||||
-rw-r--r-- | filesystems/fuse-svnfs/Makefile | 30 | ||||
-rw-r--r-- | filesystems/fuse-svnfs/PLIST | 2 | ||||
-rw-r--r-- | filesystems/fuse-svnfs/distinfo | 6 | ||||
-rw-r--r-- | filesystems/fuse-svnfs/patches/patch-aa | 19 |
5 files changed, 60 insertions, 0 deletions
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 <http://www.jmadden.eu> 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( <IN> ) { + chomp(); + $out_includes = $out_includes."-I".$_." "; |