head 1.8; access; symbols pkgsrc-2013Q2:1.8.0.4 pkgsrc-2013Q2-base:1.8 pkgsrc-2012Q4:1.8.0.2 pkgsrc-2012Q4-base:1.8 pkgsrc-2012Q3:1.7.0.10 pkgsrc-2012Q3-base:1.7 pkgsrc-2012Q2:1.7.0.8 pkgsrc-2012Q2-base:1.7 pkgsrc-2012Q1:1.7.0.6 pkgsrc-2012Q1-base:1.7 pkgsrc-2011Q4:1.7.0.4 pkgsrc-2011Q4-base:1.7 pkgsrc-2011Q3:1.7.0.2 pkgsrc-2011Q3-base:1.7 pkgsrc-2011Q2:1.3.0.2 pkgsrc-2011Q2-base:1.3 pkgsrc-2011Q1:1.1.1.1.0.6 pkgsrc-2011Q1-base:1.1.1.1 pkgsrc-2010Q4:1.1.1.1.0.4 pkgsrc-2010Q4-base:1.1.1.1 pkgsrc-2010Q3:1.1.1.1.0.2 pkgsrc-2010Q3-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.8 date 2012.10.19.04.15.21; author manu; state dead; branches; next 1.7; 1.7 date 2011.09.18.01.36.06; author manu; state Exp; branches; next 1.6; 1.6 date 2011.07.23.01.14.44; author manu; state Exp; branches; next 1.5; 1.5 date 2011.07.19.07.54.31; author manu; state Exp; branches; next 1.4; 1.4 date 2011.07.08.08.02.57; author manu; state Exp; branches; next 1.3; 1.3 date 2011.05.19.14.54.23; author manu; state Exp; branches; next 1.2; 1.2 date 2011.04.18.16.19.48; author manu; state Exp; branches; next 1.1; 1.1 date 2010.08.26.14.26.19; author manu; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2010.08.26.14.26.19; author manu; state Exp; branches; next ; desc @@ 1.8 log @Bump to glusterfs-3.3.1, which brings - unified file and object storage - storage for Hadoop (not tested here) - proactive self-healing - much better performance @ text @$NetBSD: patch-bf,v 1.7 2011/09/18 01:36:06 manu Exp $ basename() and dirname() are not supposed to be thread-safe, and NetBSD's implementation is not. glusterfs assume the functions are thread-safe. Borrow basename() and rdirname() form glibc and make NetBSD use them. --- libglusterfs/src/compat.h.orig 2011-08-23 14:31:37.000000000 +0200 +++ libglusterfs/src/compat.h 2011-09-17 15:45:29.000000000 +0200 @@@@ -57,26 +57,31 @@@@ #endif /* HAVE_LLISTXATTR */ #endif /* GF_LINUX_HOST_OS */ #ifdef GF_BSD_HOST_OS -/* In case of FreeBSD */ +/* In case of FreeBSD and NetBSD */ #define UNIX_PATH_MAX 104 #include #include #include #include +#ifdef HAVE_SYS_XATTR_H +#include +#endif /* HAVE_SYS_XATTR_H */ #include #include +#ifndef XATTR_CREATE enum { ATTR_CREATE = 1, #define XATTR_CREATE ATTR_CREATE ATTR_REPLACE = 2 #define XATTR_REPLACE ATTR_REPLACE }; +#endif /* XATTR_CREATE */ #ifndef sighandler_t #define sighandler_t sig_t @@@@ -110,8 +115,15 @@@@ #define F_GETLK64 F_GETLK #define F_SETLK64 F_SETLK #define F_SETLKW64 F_SETLKW +#ifdef __NetBSD__ +char *basename_r(const char *); +char *dirname_r(char *); + +#define basename(path) basename_r(path) +#define dirname(path) dirname_r(path) +#endif /* __NetBSD__ */ #endif /* GF_BSD_HOST_OS */ #ifdef GF_DARWIN_HOST_OS @ 1.7 log @Update glusterfs to 3.2.3 This maintenance release with no new features. Majot bug fixes are: Bug 2464 Fixed all the issues caused by GFID mismatch during distribute rename. Bug 2988 Fixed the issue of high CPU usage when Directory Quota is enabled. Bug 3122 Enhanced the volume set interface to support io-threads on the client. Bug 3210 Fixed the issue of modified mtime/atime of the files after rebalance operation. Bug 3191 Fixed the issue with symlinks during rebalance operation. @ text @d1 1 a1 1 $NetBSD: patch-bf,v 1.6 2011/07/23 01:14:44 manu Exp $ @ 1.6 log @Update to glusterfs 3.2.2 (maintenance release for bug fixes) @ text @d1 1 a1 1 $NetBSD: patch-bf,v 1.1.1.1 2010/08/26 14:26:19 manu Exp $ d7 2 a8 2 --- libglusterfs/src/compat.h.orig 2011-07-14 14:21:10.000000000 +0200 +++ libglusterfs/src/compat.h 2011-07-22 09:00:17.000000000 +0200 @ 1.5 log @Enable georeplication @ text @d7 2 a8 2 --- libglusterfs/src/compat.h.orig 2011-06-10 18:59:04.000000000 +0200 +++ libglusterfs/src/compat.h 2011-07-07 18:30:56.000000000 +0200 @ 1.4 log @Upgrade to glusterfs-3.2.1 This release is mostly about bug fixes, and we also fix bugs in the NetBSD port. @ text @@ 1.3 log @Update glusterfs to 3.2. According to http://www.gluster.org, news are: * Geo-Replication * Easily Accessible Usage Quotas * Advanced Monitoring Tools @ text @d7 3 a9 3 --- libglusterfs/src/compat.h.orig 2011-04-22 19:37:28.000000000 +0200 +++ libglusterfs/src/compat.h 2011-05-19 12:45:53.000000000 +0200 @@@@ -57,9 +57,9 @@@@ d20 23 a42 1 @@@@ -110,8 +110,15 @@@@ @ 1.2 log @Update glusterfs to 3.1.4. Major new features according to http://www.gluster.org/ - Elastic Volume Management - New Gluster Console Manager - Dynamic Storage for the data center and cloud @ text @d7 2 a8 2 --- libglusterfs/src/compat.h.orig 2011-04-09 10:09:02.000000000 +0200 +++ libglusterfs/src/compat.h 2011-04-14 15:27:54.000000000 +0200 d13 1 a13 1 #ifdef GF_BSD_HOST_OS @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ d7 2 a8 2 --- libglusterfs/src/compat.h.orig 2010-08-25 10:18:27.000000000 +0200 +++ libglusterfs/src/compat.h 2010-08-25 10:23:19.000000000 +0200 d20 1 a20 1 @@@@ -110,8 +110,12 @@@@ d26 3 @ 1.1.1.1 log @This is an experimental port of glusterfs on NetBSD. Don't do this at home! @ text @@