Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
wdfs is a webdav filesystem with special features for accessing subversion
repositories. it is based on fuse v2.5+ and neon v0.24.7+.
features:
- generic webdav filesystem
- http redirect support
- https support
- file locking support (different modes)
- access to all revisions of a webdav exported subversion repository
- versioning filesystem for autoversioning enabled subversion repositories
+27
View File
@@ -0,0 +1,27 @@
# $NetBSD: Makefile,v 1.13 2013/02/06 23:22:17 jperkin Exp $
#
DISTNAME= wdfs-1.4.2
PKGNAME= fuse-${DISTNAME}
PKGREVISION= 8
CATEGORIES= filesystems
MASTER_SITES= http://noedler.de/projekte/wdfs/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://noedler.de/projekte/wdfs/
COMMENT= FUSE-based webdav filesystem
GNU_CONFIGURE= yes
USE_TOOLS+= pkg-config
PTHREAD_AUTO_VARS= yes
.if exists(/usr/include/stdbool.h)
CPPFLAGS+= -DHAVE_STDBOOL_H
.endif
.include "../../devel/glib2/buildlink3.mk"
.include "../../www/neon/buildlink3.mk"
.include "../../mk/fuse.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
+2
View File
@@ -0,0 +1,2 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2007/05/16 19:56:37 agc Exp $
bin/wdfs
+7
View File
@@ -0,0 +1,7 @@
$NetBSD: distinfo,v 1.4 2008/02/16 01:24:39 bjs Exp $
SHA1 (wdfs-1.4.2.tar.gz) = 71ae2e355d00bc1fbe7093b0a3b15ddc76a74516
RMD160 (wdfs-1.4.2.tar.gz) = 101702c0aaf66c2d2b24ae768a5e910756432c1a
Size (wdfs-1.4.2.tar.gz) = 109315 bytes
SHA1 (patch-aa) = 050b27b342e28419eeb63115ed90f16b246bc1e5
SHA1 (patch-ab) = 1237cdd4baf150899b4d9ea1073d399ffe925a64
+51
View File
@@ -0,0 +1,51 @@
$NetBSD: patch-aa,v 1.3 2008/02/16 01:24:39 bjs Exp $
If refuse(3) ever supports -ho in option_list, the #ifndef __NetBSD__
should be removed.
--- src/wdfs-main.c.orig 2007-04-12 04:30:08.000000000 -0400
+++ src/wdfs-main.c
@@ -131,14 +131,24 @@ static struct fuse_opt wdfs_opts[] = {
FUSE_OPT_END
};
+#ifndef FUSE_USE_VERSION
+#define FUSE_USE_VERSION FUSE_VERSION
+#endif
+
static int wdfs_opt_proc(
void *data, const char *option, int key, struct fuse_args *option_list)
{
switch (key) {
case KEY_HELP:
print_help();
+#ifndef __NetBSD__
+/*
+ * XXX Using refuse(3), this results in abnormal program termination
+ * with SIG_SEGV.
+ */
fuse_opt_add_arg(option_list, "-ho");
call_fuse_main(option_list);
+#endif
exit(1);
case KEY_VERSION:
@@ -1213,7 +1223,8 @@ static int wdfs_statfs(const char *local
/* just say hello when fuse takes over control. */
-#if FUSE_VERSION >= 26
+
+#if FUSE_USE_VERSION >= 26
static void* wdfs_init(struct fuse_conn_info *conn)
#else
static void* wdfs_init()
@@ -1308,7 +1319,7 @@ static void print_help()
/* just a simple wrapper for fuse_main(), because the interface changed... */
static int call_fuse_main(struct fuse_args *args)
{
-#if FUSE_VERSION >= 26
+#if FUSE_USE_VERSION >= 26
return fuse_main(args->argc, args->argv, &wdfs_operations, NULL);
#else
return fuse_main(args->argc, args->argv, &wdfs_operations);
+21
View File
@@ -0,0 +1,21 @@
$NetBSD: patch-ab,v 1.2 2008/01/28 02:56:46 bjs Exp $
--- src/wdfs-main.h.orig 2007-03-28 16:53:21.000000000 -0400
+++ src/wdfs-main.h
@@ -29,10 +29,16 @@
esac
*/
+#if defined(HAVE_STDBOOL_H)
+#include <stdbool.h>
+typedef bool bool_t;
+#else
typedef enum {
true = 1,
false = 0
} bool_t;
+#endif
+
/* used as mode for unify_path() */
enum {