aboutsummaryrefslogtreecommitdiff
path: root/net/glusterfs
diff options
context:
space:
mode:
Diffstat (limited to 'net/glusterfs')
-rw-r--r--net/glusterfs/Makefile88
-rw-r--r--net/glusterfs/distinfo3
-rw-r--r--net/glusterfs/files/glusterd.in26
-rw-r--r--net/glusterfs/files/patch-configure.ac53
-rw-r--r--net/glusterfs/files/patch-contrib_fuse-lib_mount.c10
-rw-r--r--net/glusterfs/files/patch-libglusterfs_src_Makefile.am12
-rw-r--r--net/glusterfs/files/patch-libglusterfs_src_common-utils.c34
-rw-r--r--net/glusterfs/files/patch-libglusterfs_src_glusterfs_syscall.h16
-rw-r--r--net/glusterfs/files/patch-libglusterfs_src_libglusterfs.sym11
-rw-r--r--net/glusterfs/files/patch-libglusterfs_src_syscall.c70
-rw-r--r--net/glusterfs/files/patch-mount_glusterfs.in57
-rw-r--r--net/glusterfs/files/patch-xlators_mgmt_glusterd_src_Makefile.am29
-rw-r--r--net/glusterfs/files/patch-xlators_mgmt_glusterd_src_glusterd-utils.c115
-rw-r--r--net/glusterfs/pkg-descr7
-rw-r--r--net/glusterfs/pkg-message15
-rw-r--r--net/glusterfs/pkg-plist340
16 files changed, 0 insertions, 886 deletions
diff --git a/net/glusterfs/Makefile b/net/glusterfs/Makefile
deleted file mode 100644
index a793e791f720..000000000000
--- a/net/glusterfs/Makefile
+++ /dev/null
@@ -1,88 +0,0 @@
-PORTNAME= glusterfs
-PORTVERSION= 8.4
-PORTREVISION= 4
-CATEGORIES= net
-MASTER_SITES= http://bits.gluster.org/pub/gluster/glusterfs/src/
-
-MAINTAINER= daniel@morante.net
-COMMENT= GlusterFS distributed file system
-WWW= https://www.gluster.org
-
-LICENSE= GPLv2 LGPL3+
-LICENSE_COMB= dual
-LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING-GPLV2
-LICENSE_FILE_LGPL3+ = ${WRKSRC}/COPYING-LGPLV3
-
-BROKEN= Fails to build, ld: error: version script assignment of 'global' to symbol 'client_dump' failed: symbol not defined
-DEPRECATED= Outdated and unsupported upstream, current version in tree was released in 2021 while upstream is still active and is at 10.x
-EXPIRATION_DATE=2025-01-31
-#BROKEN_SSL= libressl
-
-BUILD_DEPENDS= bash:shells/bash
-RUN_DEPENDS= bash:shells/bash
-LIB_DEPENDS= libargp.so:devel/argp-standalone \
- libcurl.so:ftp/curl \
- liburcu-bp.so:sysutils/liburcu \
- libuuid.so:misc/libuuid
-
-USES= autoreconf bison compiler:c11 cpe gettext gnome libtool pkgconfig python \
- readline shebangfix sqlite ssl
-CPE_VENDOR= gluster
-
-SHEBANG_FILES= build-aux/pkg-version \
- events/src/glustereventsd.py events/src/peer_eventsapi.py \
- events/tools/eventsdash.py extras/ganesha/ocf/ganesha_grace \
- extras/ganesha/ocf/ganesha_mon extras/ganesha/ocf/ganesha_nfsd \
- extras/ganesha/scripts/create-export-ganesha.sh \
- extras/ganesha/scripts/dbus-send.sh \
- extras/ganesha/scripts/ganesha-ha.sh \
- extras/ganesha/scripts/generate-epoch.py \
- extras/peer_add_secret_pub.in \
- extras/hook-scripts/start/post/S29CTDBsetup.sh \
- extras/hook-scripts/start/post/S30samba-start.sh \
- extras/hook-scripts/start/post/S31ganesha-start.sh \
- extras/post-upgrade-script-for-quota.sh \
- extras/pre-upgrade-script-for-quota.sh \
- extras/snap_scheduler/gcron.py \
- extras/snap_scheduler/snap_scheduler.py \
- extras/stop-all-gluster-processes.sh \
- extras/thin-arbiter/setup-thin-arbiter.sh \
- tools/gfind_missing_files/gfid_to_path.py \
- tools/glusterfind/glusterfind.in \
- tools/glusterfind/S57glusterfind-delete-post.py \
- tools/glusterfind/src/brickfind.py \
- tools/glusterfind/src/changelog.py \
- tools/glusterfind/src/nodeagent.py
-
-USE_GNOME= glib20 libxml2
-USE_LDCONFIG= yes
-USE_PYTHON= py3kplist
-USE_RC_SUBR= glusterd
-GNU_CONFIGURE= yes
-GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
-CONFIGURE_ARGS= --disable-epoll \
- --disable-georeplication \
- --localstatedir=/var \
- --with-mountutildir=${PREFIX}/sbin \
- --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig \
- ac_cv_func_fallocate=no \
- ac_cv_func_fdatasync=no \
- ac_cv_func_llistxattr=no \
- ac_cv_func_malloc_stats=no \
- ac_cv_func_setfsuid=no \
- ac_cv_lib_aio_io_setup=no
-CPPFLAGS+= -I"${LOCALBASE}/include"
-LDFLAGS+= -L"${LOCALBASE}/lib" -largp
-INSTALL_TARGET= install-strip
-PLIST_SUB= GLUSTERLIBDIR="lib/${PORTNAME}" \
- PORTVERSION="${PORTVERSION}"
-
-OPTIONS_DEFINE= DOCS
-
-post-install:
- ${LN} -nfs ${PREFIX}/libexec/glusterfs/glusterfind/S57glusterfind-delete-post.py ${STAGEDIR}/var/db/glusterd/hooks/1/delete/post/S57glusterfind-delete-post
- ${LN} -nfs ../libexec/glusterfs/peer_eventsapi.py ${STAGEDIR}${PREFIX}/sbin/gluster-eventsapi
- ${LN} -nfs ../libexec/glusterfs/gfevents/glustereventsd.py ${STAGEDIR}${PREFIX}/sbin/glustereventsd
- ${LN} -nfs ../libexec/glusterfs/gfind_missing_files/gfind_missing_files.sh ${STAGEDIR}${PREFIX}/sbin/gfind_missing_files
-
-.include <bsd.port.mk>
diff --git a/net/glusterfs/distinfo b/net/glusterfs/distinfo
deleted file mode 100644
index 3cf7adc95da4..000000000000
--- a/net/glusterfs/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1617918166
-SHA256 (glusterfs-8.4.tar.gz) = 5e0430fabce44c2b461e1d3460d723a746f2b398292282a9095406fa4f6306df
-SIZE (glusterfs-8.4.tar.gz) = 7833014
diff --git a/net/glusterfs/files/glusterd.in b/net/glusterfs/files/glusterd.in
deleted file mode 100644
index a74e8c51ba62..000000000000
--- a/net/glusterfs/files/glusterd.in
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-
-# PROVIDE: glusterd
-# BEFORE: mountlate
-# REQUIRE: NETWORKING
-# KEYWORD: shutdown
-
-. /etc/rc.subr
-
-name="glusterd"
-rcvar="${name}_enable"
-start_precmd="glusterd_prestart"
-
-glusterd_prestart()
-{
-
- mkdir -p /var/db/glusterd /var/log/glusterfs
-}
-
-load_rc_config $name
-: ${glusterd_program:="%%PREFIX%%/sbin/$name"}
-: ${glusterd_pidfile:="/var/run/${name}.pid"}
-pidfile="$glusterd_pidfile"
-glusterd_flags="--pid-file=\"${glusterd_pidfile}\" ${glusterd_flags}"
-
-run_rc_command "$1"
diff --git a/net/glusterfs/files/patch-configure.ac b/net/glusterfs/files/patch-configure.ac
deleted file mode 100644
index 4335283808e1..000000000000
--- a/net/glusterfs/files/patch-configure.ac
+++ /dev/null
@@ -1,53 +0,0 @@
---- configure.ac.orig 2020-07-06 01:22:37 UTC
-+++ configure.ac
-@@ -351,7 +351,14 @@ if test "x$ac_cv_file__etc_centos_release" = "xyes"; t
- fi
-
- dnl On some distributions '-ldl' isn't automatically added to LIBS
--AC_CHECK_LIB([dl], [dlopen], [LIB_DL=-ldl])
-+case $host_os in
-+ *freebsd*)
-+ #do nothing
-+ ;;
-+ *)
-+ AC_CHECK_LIB([dl], [dlopen], [LIB_DL=-ldl])
-+ ;;
-+esac
- AC_SUBST(LIB_DL)
-
- AC_ARG_ENABLE([privport_tracking],
-@@ -731,6 +738,9 @@ AC_ARG_ENABLE([georeplication],
-
- BUILD_SYNCDAEMON=no
- case $host_os in
-+ freebsd*)
-+#do nothing
-+ ;;
- linux*)
- #do nothing
- ;;
-@@ -1207,10 +1217,6 @@ case $host_os in
- ;;
- *freebsd*)
- GF_HOST_OS="GF_BSD_HOST_OS"
-- GF_CFLAGS="${GF_CFLAGS} -O0"
-- GF_CFLAGS="${GF_CFLAGS} -DTHREAD_UNSAFE_BASENAME"
-- GF_CFLAGS="${GF_CFLAGS} -DTHREAD_UNSAFE_DIRNAME"
-- GF_CFLAGS="${GF_CFLAGS} -D_LIBGEN_H_"
- GF_CFLAGS="${GF_CFLAGS} -DO_DSYNC=0"
- GF_CFLAGS="${GF_CFLAGS} -Dxdr_quad_t=xdr_longlong_t"
- GF_CFLAGS="${GF_CFLAGS} -Dxdr_u_quad_t=xdr_u_longlong_t"
-@@ -1508,6 +1514,13 @@ AC_SUBST(AM_LIBTOOLFLAGS)
- AC_SUBST(GF_NO_UNDEFINED)
- AC_SUBST(GF_XLATOR_DEFAULT_LDFLAGS)
- AC_SUBST(GF_XLATOR_LDFLAGS)
-+AC_SUBST(GF_XLATOR_MGNT_LIBADD)
-+
-+case $host_os in
-+ *freebsd*)
-+ GF_XLATOR_MGNT_LIBADD="-lutil -lprocstat"
-+ ;;
-+esac
-
- CONTRIBDIR='$(top_srcdir)/contrib'
- AC_SUBST(CONTRIBDIR)
diff --git a/net/glusterfs/files/patch-contrib_fuse-lib_mount.c b/net/glusterfs/files/patch-contrib_fuse-lib_mount.c
deleted file mode 100644
index ac27edd4a418..000000000000
--- a/net/glusterfs/files/patch-contrib_fuse-lib_mount.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- contrib/fuse-lib/mount.c.orig 2020-07-06 01:22:37 UTC
-+++ contrib/fuse-lib/mount.c
-@@ -390,6 +390,7 @@ fuse_mount_sys (const char *mountpoint, char *fsname,
- build_iovec (&iov, &iovlen, "from", "/dev/fuse", -1);
- build_iovec (&iov, &iovlen, "volname", source, -1);
- build_iovec (&iov, &iovlen, "fd", fdstr, -1);
-+ build_iovec (&iov, &iovlen, "allow_other", NULL, -1);
- ret = nmount (iov, iovlen, mountflags);
- #else
- ret = mount (source, mountpoint, fstype, mountflags,
diff --git a/net/glusterfs/files/patch-libglusterfs_src_Makefile.am b/net/glusterfs/files/patch-libglusterfs_src_Makefile.am
deleted file mode 100644
index 6f0c52dfc98f..000000000000
--- a/net/glusterfs/files/patch-libglusterfs_src_Makefile.am
+++ /dev/null
@@ -1,12 +0,0 @@
---- libglusterfs/src/Makefile.am.orig 2020-07-06 01:22:37 UTC
-+++ libglusterfs/src/Makefile.am
-@@ -12,7 +12,8 @@ libglusterfs_la_CPPFLAGS = $(GF_CPPFLAGS) -D__USE_FILE
- -DSBIN_DIR=\"$(sbindir)\" -I$(CONTRIBDIR)/timer-wheel \
- -I$(CONTRIBDIR)/xxhash
-
--libglusterfs_la_LIBADD = $(ZLIB_LIBS) $(MATH_LIB) $(UUID_LIBS)
-+libglusterfs_la_LIBADD = $(ZLIB_LIBS) $(MATH_LIB) $(UUID_LIBS) $(LIB_DL) \
-+ $(URCU_LIBS) $(URCU_CDS_LIBS)
- libglusterfs_la_LDFLAGS = -version-info $(LIBGLUSTERFS_LT_VERSION) $(GF_LDFLAGS) \
- -export-symbols $(top_srcdir)/libglusterfs/src/libglusterfs.sym
-
diff --git a/net/glusterfs/files/patch-libglusterfs_src_common-utils.c b/net/glusterfs/files/patch-libglusterfs_src_common-utils.c
deleted file mode 100644
index 9220c8eb3b7c..000000000000
--- a/net/glusterfs/files/patch-libglusterfs_src_common-utils.c
+++ /dev/null
@@ -1,34 +0,0 @@
---- libglusterfs/src/common-utils.c.orig 2020-07-06 01:22:37 UTC
-+++ libglusterfs/src/common-utils.c
-@@ -3113,7 +3113,7 @@ get_mem_size()
- memsize = page_size * num_pages;
- #endif
-
--#if defined GF_DARWIN_HOST_OS
-+#if defined GF_DARWIN_HOST_OS || defined __FreeBSD__
-
- size_t len = sizeof(memsize);
- int name[] = {CTL_HW, HW_PHYSMEM};
-@@ -4127,6 +4127,14 @@ gf_skip_header_section(int fd, int header_len)
- gf_boolean_t
- gf_is_pid_running(int pid)
- {
-+#ifdef __FreeBSD__
-+ int ret = -1;
-+
-+ ret = sys_kill(pid, 0);
-+ if (ret < 0) {
-+ return _gf_false;
-+ }
-+#else
- char fname[32] = {
- 0,
- };
-@@ -4140,6 +4148,7 @@ gf_is_pid_running(int pid)
- }
-
- sys_close(fd);
-+#endif
- return _gf_true;
- }
-
diff --git a/net/glusterfs/files/patch-libglusterfs_src_glusterfs_syscall.h b/net/glusterfs/files/patch-libglusterfs_src_glusterfs_syscall.h
deleted file mode 100644
index 481cda04338d..000000000000
--- a/net/glusterfs/files/patch-libglusterfs_src_glusterfs_syscall.h
+++ /dev/null
@@ -1,16 +0,0 @@
---- libglusterfs/src/glusterfs/syscall.h.orig 2020-08-04 12:41:32 UTC
-+++ libglusterfs/src/glusterfs/syscall.h
-@@ -266,4 +266,13 @@ ssize_t
- sys_copy_file_range(int fd_in, off64_t *off_in, int fd_out, off64_t *off_out,
- size_t len, unsigned int flags);
-
-+int
-+sys_kill(pid_t pid, int sig);
-+
-+#ifdef __FreeBSD__
-+int
-+sys_sysctl(const int *name, u_int namelen, void *oldp, size_t *oldlenp,
-+ const void *newp, size_t newlen);
-+#endif
-+
- #endif /* __SYSCALL_H__ */
diff --git a/net/glusterfs/files/patch-libglusterfs_src_libglusterfs.sym b/net/glusterfs/files/patch-libglusterfs_src_libglusterfs.sym
deleted file mode 100644
index 84a38f1a3e7f..000000000000
--- a/net/glusterfs/files/patch-libglusterfs_src_libglusterfs.sym
+++ /dev/null
@@ -1,11 +0,0 @@
---- libglusterfs/src/libglusterfs.sym.orig 2020-08-04 12:41:32 UTC
-+++ libglusterfs/src/libglusterfs.sym
-@@ -1080,6 +1080,8 @@ sys_write
- sys_writev
- sys_socket
- sys_accept
-+sys_kill
-+sys_sysctl
- tbf_init
- tbf_throttle
- timespec_now
diff --git a/net/glusterfs/files/patch-libglusterfs_src_syscall.c b/net/glusterfs/files/patch-libglusterfs_src_syscall.c
deleted file mode 100644
index ad4c70893dbd..000000000000
--- a/net/glusterfs/files/patch-libglusterfs_src_syscall.c
+++ /dev/null
@@ -1,70 +0,0 @@
---- libglusterfs/src/syscall.c.orig 2020-08-04 12:41:32 UTC
-+++ libglusterfs/src/syscall.c
-@@ -13,6 +13,10 @@
- #include "glusterfs/mem-pool.h"
- #include "glusterfs/libglusterfs-messages.h"
-
-+#ifdef __FreeBSD__
-+#include <sys/sysctl.h>
-+#include <signal.h>
-+#endif
- #include <sys/types.h>
- #include <utime.h>
- #include <sys/time.h>
-@@ -506,9 +510,17 @@ sys_lsetxattr(const char *path, const char *name, cons
- #endif
-
- #ifdef GF_BSD_HOST_OS
-- return FS_RET_CHECK0(
-+ ssize_t ret = FS_RET_CHECK(
- extattr_set_link(path, EXTATTR_NAMESPACE_USER, name, value, size),
- errno);
-+ /* On BSD extattr_set_link returns the number of bytes written/read on
-+ * success. Force this to be 0 if it was successful so the result remains
-+ * compatible with other platform expectations.
-+ */
-+ if(ret > 0) {
-+ ret = 0;
-+ }
-+ return ret;
- #endif
-
- #ifdef GF_SOLARIS_HOST_OS
-@@ -624,9 +636,17 @@ sys_fsetxattr(int filedes, const char *name, const voi
- #endif
-
- #ifdef GF_BSD_HOST_OS
-- return FS_RET_CHECK0(
-+ ssize_t ret = FS_RET_CHECK(
- extattr_set_fd(filedes, EXTATTR_NAMESPACE_USER, name, value, size),
- errno);
-+ /* On BSD extattr_set_fd returns the number of bytes written/read on
-+ * success. Force this to be 0 if it was successful so the result remains
-+ * compatible with other platform expectations.
-+ */
-+ if(ret > 0) {
-+ ret = 0;
-+ }
-+ return ret;
- #endif
-
- #ifdef GF_SOLARIS_HOST_OS
-@@ -854,3 +874,18 @@ sys_copy_file_range(int fd_in, off64_t *off_in, int fd
- #endif /* HAVE_COPY_FILE_RANGE_SYS */
- #endif /* HAVE_COPY_FILE_RANGE */
- }
-+
-+#ifdef __FreeBSD__
-+int
-+sys_kill(pid_t pid, int sig)
-+{
-+ return FS_RET_CHECK0(kill(pid, sig), errno);
-+}
-+
-+int
-+sys_sysctl(const int *name, u_int namelen, void *oldp, size_t *oldlenp,
-+ const void *newp, size_t newlen)
-+{
-+ return FS_RET_CHECK0(sysctl(name, namelen, oldp, oldlenp, newp, newlen), errno);
-+}
-+#endif
diff --git a/net/glusterfs/files/patch-mount_glusterfs.in b/net/glusterfs/files/patch-mount_glusterfs.in
deleted file mode 100644
index c3b7abcaf8a1..000000000000
--- a/net/glusterfs/files/patch-mount_glusterfs.in
+++ /dev/null
@@ -1,57 +0,0 @@
---- xlators/mount/fuse/utils/mount_glusterfs.in.orig 2017-06-28 05:25:12 UTC
-+++ xlators/mount/fuse/utils/mount_glusterfs.in
-@@ -463,50 +463,44 @@ parse_options()
- if [ "$key" = "$value" ]; then
- without_options $pair;
- else
- with_options $key $value;
- fi
- done
- }
-
- main ()
- {
-- ## `mount` on OSX specifies options as first argument
-- echo $1|grep -q -- "-o"
-- if [ $? -eq 0 ]; then
-- volfile_loc=$3
-- mount_point=$4
-- else
-- volfile_loc=$1
-- mount_point=$2
-- fi
--
- while getopts "Vo:h" opt; do
- case "${opt}" in
- o)
- parse_options ${OPTARG};
- ;;
- V)
- ${cmd_line} -V;
- exit 0;
- ;;
- h)
- print_usage;
- exit 0;
- ;;
- ?)
- print_usage;
- exit 0;
- ;;
- esac
- done
-
-+ shift $((OPTIND - 1))
-+ volfile_loc="$1"
-+ mount_point="$2"
-+
- [ -r "$volfile_loc" ] || {
- # '%' included to support ipv6 link local addresses
- server_ip=$(echo "$volfile_loc" | sed -n 's/\([a-zA-Z0-9:%.\-]*\):.*/\1/p');
- volume_str=$(echo "$volfile_loc" | sed -n 's/.*:\([^ ]*\).*/\1/p');
- [ -n "$volume_str" ] && {
- volume_id="$volume_str";
- }
- volfile_loc="";
- }
-
diff --git a/net/glusterfs/files/patch-xlators_mgmt_glusterd_src_Makefile.am b/net/glusterfs/files/patch-xlators_mgmt_glusterd_src_Makefile.am
deleted file mode 100644
index b7237c2cff98..000000000000
--- a/net/glusterfs/files/patch-xlators_mgmt_glusterd_src_Makefile.am
+++ /dev/null
@@ -1,29 +0,0 @@
---- xlators/mgmt/glusterd/src/Makefile.am.orig 2020-07-16 17:28:50 UTC
-+++ xlators/mgmt/glusterd/src/Makefile.am
-@@ -25,13 +25,14 @@ glusterd_la_SOURCES = glusterd.c glusterd-handler.c gl
- glusterd-conn-helper.c glusterd-snapd-svc.c glusterd-snapd-svc-helper.c \
- glusterd-bitd-svc.c glusterd-scrub-svc.c glusterd-server-quorum.c \
- glusterd-reset-brick.c glusterd-shd-svc.c glusterd-shd-svc-helper.c \
-- glusterd-gfproxyd-svc.c glusterd-gfproxyd-svc-helper.c glusterd-ganesha.c
-+ glusterd-gfproxyd-svc.c glusterd-gfproxyd-svc-helper.c glusterd-ganesha.c \
-+ $(CONTRIBDIR)/mount/mntent.c
-
- glusterd_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la \
- $(top_builddir)/libglusterd/src/libglusterd.la \
- $(top_builddir)/rpc/xdr/src/libgfxdr.la \
- $(top_builddir)/rpc/rpc-lib/src/libgfrpc.la \
-- $(XML_LIBS) -lcrypto $(URCU_LIBS) $(URCU_CDS_LIBS) $(LIB_DL)
-+ $(XML_LIBS) -lcrypto $(URCU_LIBS) $(URCU_CDS_LIBS) $(LIB_DL) $(GF_XLATOR_MGNT_LIBADD)
-
- noinst_HEADERS = glusterd.h glusterd-utils.h glusterd-op-sm.h \
- glusterd-sm.h glusterd-store.h glusterd-mem-types.h \
-@@ -46,7 +47,8 @@ noinst_HEADERS = glusterd.h glusterd-utils.h glusterd-
- glusterd-scrub-svc.h glusterd-server-quorum.h glusterd-errno.h \
- glusterd-shd-svc.h glusterd-shd-svc-helper.h \
- glusterd-gfproxyd-svc.h glusterd-gfproxyd-svc-helper.h \
-- $(CONTRIBDIR)/userspace-rcu/rculist-extra.h
-+ $(CONTRIBDIR)/userspace-rcu/rculist-extra.h \
-+ $(CONTRIBDIR)/mount/mntent_compat.h
-
- AM_CPPFLAGS = $(GF_CPPFLAGS) -I$(top_srcdir)/libglusterfs/src \
- -I$(top_srcdir)/rpc/xdr/src -I$(top_builddir)/rpc/xdr/src \
diff --git a/net/glusterfs/files/patch-xlators_mgmt_glusterd_src_glusterd-utils.c b/net/glusterfs/files/patch-xlators_mgmt_glusterd_src_glusterd-utils.c
deleted file mode 100644
index 64177ca734f2..000000000000
--- a/net/glusterfs/files/patch-xlators_mgmt_glusterd_src_glusterd-utils.c
+++ /dev/null
@@ -1,115 +0,0 @@
---- xlators/mgmt/glusterd/src/glusterd-utils.c.orig 2020-07-06 01:22:37 UTC
-+++ xlators/mgmt/glusterd/src/glusterd-utils.c
-@@ -79,6 +79,14 @@
- #include <sys/sockio.h>
- #endif
-
-+#ifdef __FreeBSD__
-+#include <sys/sysctl.h>
-+#include <sys/param.h>
-+#include <sys/queue.h>
-+#include <libprocstat.h>
-+#include <libutil.h>
-+#endif
-+
- #define NFS_PROGRAM 100003
- #define NFSV3_VERSION 3
-
-@@ -6270,7 +6278,6 @@ find_compatible_brick(glusterd_conf_t *conf, glusterd_
- int
- glusterd_get_sock_from_brick_pid(int pid, char *sockpath, size_t len)
- {
-- char fname[128] = "";
- char buf[1024] = "";
- char cmdline[2048] = "";
- xlator_t *this = NULL;
-@@ -6285,6 +6292,22 @@ glusterd_get_sock_from_brick_pid(int pid, char *sockpa
- this = THIS;
- GF_ASSERT(this);
-
-+#ifdef __FreeBSD__
-+ blen = sizeof(buf);
-+ int mib[4];
-+
-+ mib[0] = CTL_KERN;
-+ mib[1] = KERN_PROC;
-+ mib[2] = KERN_PROC_ARGS;
-+ mib[3] = pid;
-+
-+ if (sys_sysctl(mib, 4, buf, &blen, NULL, blen) != 0) {
-+ gf_log(this->name, GF_LOG_ERROR, "brick process %d is not running",
-+ pid);
-+ return ret;
-+ }
-+#else
-+ char fname[128] = "";
- snprintf(fname, sizeof(fname), "/proc/%d/cmdline", pid);
-
- if (sys_access(fname, R_OK) != 0) {
-@@ -6301,6 +6324,7 @@ glusterd_get_sock_from_brick_pid(int pid, char *sockpa
- strerror(errno), fname);
- return ret;
- }
-+#endif
-
- /* convert cmdline to single string */
- for (i = 0, j = 0; i < blen; i++) {
-@@ -6349,6 +6373,42 @@ glusterd_get_sock_from_brick_pid(int pid, char *sockpa
- char *
- search_brick_path_from_proc(pid_t brick_pid, char *brickpath)
- {
-+ char *brick_path = NULL;
-+#ifdef __FreeBSD__
-+ struct filestat *fst;
-+ struct procstat *ps;
-+ struct kinfo_proc *kp;
-+ struct filestat_list *head;
-+
-+ ps = procstat_open_sysctl();
-+ if (ps == NULL)
-+ goto out;
-+
-+ kp = kinfo_getproc(brick_pid);
-+ if (kp == NULL)
-+ goto out;
-+
-+ head = procstat_getfiles(ps, (void *)kp, 0);
-+ if (head == NULL)
-+ goto out;
-+
-+ STAILQ_FOREACH(fst, head, next) {
-+ if(fst->fs_fd < 0)
-+ continue;
-+
-+ if (!strcmp(fst->fs_path, brickpath)) {
-+ brick_path = gf_strdup(fst->fs_path);
-+ break;
-+ }
-+ }
-+
-+out:
-+ if (head != NULL)
-+ procstat_freefiles(ps, head);
-+ if (kp != NULL)
-+ free(kp);
-+ procstat_close(ps);
-+#else
- struct dirent *dp = NULL;
- DIR *dirp = NULL;
- size_t len = 0;
-@@ -6359,7 +6419,6 @@ search_brick_path_from_proc(pid_t brick_pid, char *bri
- 0,
- },
- };
-- char *brick_path = NULL;
-
- if (!brickpath)
- goto out;
-@@ -6396,6 +6455,7 @@ search_brick_path_from_proc(pid_t brick_pid, char *bri
- }
- out:
- sys_closedir(dirp);
-+#endif
- return brick_path;
- }
-
diff --git a/net/glusterfs/pkg-descr b/net/glusterfs/pkg-descr
deleted file mode 100644
index dd9636fa7c7f..000000000000
--- a/net/glusterfs/pkg-descr
+++ /dev/null
@@ -1,7 +0,0 @@
-GlusterFS is an open source, distributed file system capable of
-scaling to several petabytes and handling thousands of
-clients. GlusterFS clusters together storage building blocks over
-Infiniband RDMA or TCP/IP interconnect, aggregating disk and memory
-resources and managing data in a single global namespace. GlusterFS
-is based on a stackable user space design and can deliver exceptional
-performance for diverse workloads.
diff --git a/net/glusterfs/pkg-message b/net/glusterfs/pkg-message
deleted file mode 100644
index 9bcaebc8a40f..000000000000
--- a/net/glusterfs/pkg-message
+++ /dev/null
@@ -1,15 +0,0 @@
-[
-{ type: install
- message: <<EOM
-Glusterfs needs procfs(5) mounted on /proc for some features.
-
-If you have not done it yet, please do the following:
-
- mount -t procfs proc /proc
-
-To make it permanent, you need the following lines in /etc/fstab:
-
- proc /proc procfs rw 0 0
-EOM
-}
-]
diff --git a/net/glusterfs/pkg-plist b/net/glusterfs/pkg-plist
deleted file mode 100644
index 7809964642fa..000000000000
--- a/net/glusterfs/pkg-plist
+++ /dev/null
@@ -1,340 +0,0 @@
-bin/glusterfind
-%%ETCDIR%%/eventsconfig.json
-%%ETCDIR%%/gluster-rsyslog-5.8.conf
-%%ETCDIR%%/gluster-rsyslog-7.2.conf
-%%ETCDIR%%/glusterd.vol
-%%ETCDIR%%/glusterfs-georep-logrotate
-%%ETCDIR%%/glusterfs-logrotate
-%%ETCDIR%%/group-db-workload
-%%ETCDIR%%/group-distributed-virt
-%%ETCDIR%%/group-gluster-block
-%%ETCDIR%%/group-metadata-cache
-%%ETCDIR%%/group-nl-cache
-%%ETCDIR%%/group-samba
-%%ETCDIR%%/group-virt.example
-@sample %%ETCDIR%%/logger.conf.example %%ETCDIR%%/logger.conf
-@sample etc/ganesha/ganesha-ha.conf.sample
-%%ETCDIR%%/thin-arbiter.vol
-include/glusterfs/api/glfs-handles.h
-include/glusterfs/api/glfs.h
-include/glusterfs/async.h
-include/glusterfs/atomic.h
-include/glusterfs/byte-order.h
-include/glusterfs/call-stub.h
-include/glusterfs/checksum.h
-include/glusterfs/circ-buff.h
-include/glusterfs/client_t.h
-include/glusterfs/cluster-syncop.h
-include/glusterfs/common-utils.h
-include/glusterfs/compat-errno.h
-include/glusterfs/compat-uuid.h
-include/glusterfs/compat.h
-include/glusterfs/daemon.h
-include/glusterfs/default-args.h
-include/glusterfs/defaults.h
-include/glusterfs/dict.h
-include/glusterfs/event-history.h
-include/glusterfs/events.h
-include/glusterfs/fd-lk.h
-include/glusterfs/fd.h
-include/glusterfs/gd-common-utils.h
-include/glusterfs/gf-dirent.h
-include/glusterfs/gf-event.h
-include/glusterfs/gfchangelog/changelog.h
-include/glusterfs/gidcache.h
-include/glusterfs/glfs-message-id.h
-include/glusterfs/globals.h
-include/glusterfs/glusterfs-acl.h
-include/glusterfs/glusterfs-fops.h
-include/glusterfs/glusterfs.h
-include/glusterfs/graph-utils.h
-include/glusterfs/hashfn.h
-include/glusterfs/iatt.h
-include/glusterfs/inode.h
-include/glusterfs/iobuf.h
-include/glusterfs/latency.h
-include/glusterfs/libglusterfs-messages.h
-include/glusterfs/list.h
-include/glusterfs/lkowner.h
-include/glusterfs/locking.h
-include/glusterfs/logging.h
-include/glusterfs/lvm-defaults.h
-include/glusterfs/mem-pool.h
-include/glusterfs/mem-types.h
-include/glusterfs/monitoring.h
-include/glusterfs/options.h
-include/glusterfs/parse-utils.h
-include/glusterfs/quota-common-utils.h
-include/glusterfs/rbthash.h
-include/glusterfs/refcount.h
-include/glusterfs/revision.h
-include/glusterfs/rot-buffs.h
-include/glusterfs/rpc/changelog-xdr.h
-include/glusterfs/rpc/cli1-xdr.h
-include/glusterfs/rpc/glusterd1-xdr.h
-include/glusterfs/rpc/glusterfs3-xdr.h
-include/glusterfs/rpc/glusterfs3.h
-include/glusterfs/rpc/glusterfs4-xdr.h
-include/glusterfs/rpc/portmap-xdr.h
-include/glusterfs/rpc/protocol-common.h
-include/glusterfs/rpc/rpc-clnt-ping.h
-include/glusterfs/rpc/rpc-clnt.h
-include/glusterfs/rpc/rpc-common-xdr.h
-include/glusterfs/rpc/rpc-drc.h
-include/glusterfs/rpc/rpc-lib-messages.h
-include/glusterfs/rpc/rpc-pragmas.h
-include/glusterfs/rpc/rpc-transport.h
-include/glusterfs/rpc/rpcsvc-common.h
-include/glusterfs/rpc/rpcsvc.h
-include/glusterfs/rpc/xdr-common.h
-include/glusterfs/rpc/xdr-generic.h
-include/glusterfs/rpc/xdr-rpc.h
-include/glusterfs/rpc/xdr-rpcclnt.h
-include/glusterfs/run.h
-include/glusterfs/server/authenticate.h
-include/glusterfs/server/server-common.h
-include/glusterfs/server/server-helpers.h
-include/glusterfs/server/server-mem-types.h
-include/glusterfs/server/server-messages.h
-include/glusterfs/server/server.h
-include/glusterfs/stack.h
-include/glusterfs/statedump.h
-include/glusterfs/store.h
-include/glusterfs/strfd.h
-include/glusterfs/syncop-utils.h
-include/glusterfs/syncop.h
-include/glusterfs/syscall.h
-include/glusterfs/template-component-messages.h
-include/glusterfs/throttle-tbf.h
-include/glusterfs/timer.h
-include/glusterfs/timespec.h
-include/glusterfs/trie.h
-include/glusterfs/upcall-utils.h
-include/glusterfs/xlator.h
-include/glusterfs/y.tab.h
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/auth/addr.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/auth/login.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/cloudsync-plugins/cloudsyncs3.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/rpc-transport/socket.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/cluster/afr.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/cluster/dht.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/cluster/disperse.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/cluster/distribute.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/cluster/ec.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/cluster/nufa.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/cluster/replicate.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/cluster/switch.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/debug/delay-gen.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/debug/error-gen.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/debug/io-stats.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/debug/sink.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/debug/trace.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/features/access-control.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/features/arbiter.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/features/barrier.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/features/bit-rot.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/features/bitrot-stub.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/features/cdc.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/features/changelog.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/features/cloudsync.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/features/gfid-access.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/features/index.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/features/leases.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/features/locks.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/features/marker.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/features/namespace.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/features/posix-locks.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/features/quiesce.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/features/quota.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/features/quotad.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/features/read-only.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/features/sdfs.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/features/selinux.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/features/shard.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/features/snapview-client.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/features/snapview-server.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/features/thin-arbiter.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/features/trash.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/features/upcall.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/features/utime.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/features/worm.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/meta.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/mgmt/glusterd.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/mount/api.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/mount/fuse.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/performance/io-cache.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/performance/io-threads.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/performance/md-cache.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/performance/nl-cache.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/performance/open-behind.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/performance/quick-read.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/performance/read-ahead.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/performance/readdir-ahead.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/performance/stat-prefetch.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/performance/write-behind.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/playground/template.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/protocol/client.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/protocol/server.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/storage/posix.so
-%%GLUSTERLIBDIR%%/%%PORTVERSION%%/xlator/system/posix-acl.so
-lib/libgfapi.so
-lib/libgfapi.so.0
-lib/libgfapi.so.0.0.0
-lib/libgfchangelog.so
-lib/libgfchangelog.so.0
-lib/libgfchangelog.so.0.0.1
-lib/libgfrpc.so
-lib/libgfrpc.so.0
-lib/libgfrpc.so.0.0.1
-lib/libgfxdr.so
-lib/libgfxdr.so.0
-lib/libgfxdr.so.0.0.1
-lib/libglusterd.so
-lib/libglusterd.so.0
-lib/libglusterd.so.0.0.1
-lib/libglusterfs.so
-lib/libglusterfs.so.0
-lib/libglusterfs.so.0.0.1
-lib/ocf/resource.d/glusterfs/glusterd
-lib/ocf/resource.d/glusterfs/volume
-lib/ocf/resource.d/heartbeat/ganesha_grace
-lib/ocf/resource.d/heartbeat/ganesha_mon
-lib/ocf/resource.d/heartbeat/ganesha_nfsd
-%%PYTHON_SITELIBDIR%%/gluster/__init__.py
-%%PYTHON_SITELIBDIR%%/gluster/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-%%PYTHON_SITELIBDIR%%/gluster/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/gluster/cliutils/__init__.py
-%%PYTHON_SITELIBDIR%%/gluster/cliutils/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-%%PYTHON_SITELIBDIR%%/gluster/cliutils/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/gluster/cliutils/__pycache__/cliutils.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-%%PYTHON_SITELIBDIR%%/gluster/cliutils/__pycache__/cliutils.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/gluster/cliutils/cliutils.py
-libdata/pkgconfig/glusterfs-api.pc
-libdata/pkgconfig/libgfchangelog.pc
-libexec/ganesha/create-export-ganesha.sh
-libexec/ganesha/dbus-send.sh
-libexec/ganesha/ganesha-ha.sh
-libexec/ganesha/generate-epoch.py
-libexec/glusterfs/gfevents/__init__.py
-libexec/glusterfs/gfevents/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-libexec/glusterfs/gfevents/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
-libexec/glusterfs/gfevents/__pycache__/eventsapiconf.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-libexec/glusterfs/gfevents/__pycache__/eventsapiconf.cpython-%%PYTHON_SUFFIX%%.pyc
-libexec/glusterfs/gfevents/__pycache__/eventtypes.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-libexec/glusterfs/gfevents/__pycache__/eventtypes.cpython-%%PYTHON_SUFFIX%%.pyc
-libexec/glusterfs/gfevents/__pycache__/gf_event.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-libexec/glusterfs/gfevents/__pycache__/gf_event.cpython-%%PYTHON_SUFFIX%%.pyc
-libexec/glusterfs/gfevents/__pycache__/handlers.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-libexec/glusterfs/gfevents/__pycache__/handlers.cpython-%%PYTHON_SUFFIX%%.pyc
-libexec/glusterfs/gfevents/__pycache__/utils.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-libexec/glusterfs/gfevents/__pycache__/utils.cpython-%%PYTHON_SUFFIX%%.pyc
-libexec/glusterfs/gfevents/eventsapiconf.py
-libexec/glusterfs/gfevents/eventtypes.py
-libexec/glusterfs/gfevents/gf_event.py
-libexec/glusterfs/gfevents/glustereventsd.py
-libexec/glusterfs/gfevents/handlers.py
-libexec/glusterfs/gfevents/utils.py
-libexec/glusterfs/gfind_missing_files/gcrawler
-libexec/glusterfs/gfind_missing_files/gfid_to_path.py
-libexec/glusterfs/gfind_missing_files/gfid_to_path.sh
-libexec/glusterfs/gfind_missing_files/gfind_missing_files.sh
-libexec/glusterfs/glfsheal
-libexec/glusterfs/glusterfind/__init__.py
-libexec/glusterfs/glusterfind/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-libexec/glusterfs/glusterfind/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
-libexec/glusterfs/glusterfind/__pycache__/changelogdata.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-libexec/glusterfs/glusterfind/__pycache__/changelogdata.cpython-%%PYTHON_SUFFIX%%.pyc
-libexec/glusterfs/glusterfind/__pycache__/conf.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-libexec/glusterfs/glusterfind/__pycache__/conf.cpython-%%PYTHON_SUFFIX%%.pyc
-libexec/glusterfs/glusterfind/__pycache__/gfind_py2py3.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-libexec/glusterfs/glusterfind/__pycache__/gfind_py2py3.cpython-%%PYTHON_SUFFIX%%.pyc
-libexec/glusterfs/glusterfind/__pycache__/libgfchangelog.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-libexec/glusterfs/glusterfind/__pycache__/libgfchangelog.cpython-%%PYTHON_SUFFIX%%.pyc
-libexec/glusterfs/glusterfind/__pycache__/main.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-libexec/glusterfs/glusterfind/__pycache__/main.cpython-%%PYTHON_SUFFIX%%.pyc
-libexec/glusterfs/glusterfind/__pycache__/utils.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-libexec/glusterfs/glusterfind/__pycache__/utils.cpython-%%PYTHON_SUFFIX%%.pyc
-libexec/glusterfs/glusterfind/brickfind.py
-libexec/glusterfs/glusterfind/changelog.py
-libexec/glusterfs/glusterfind/changelogdata.py
-libexec/glusterfs/glusterfind/conf.py
-libexec/glusterfs/glusterfind/gfind_py2py3.py
-libexec/glusterfs/glusterfind/libgfchangelog.py
-libexec/glusterfs/glusterfind/main.py
-libexec/glusterfs/glusterfind/nodeagent.py
-libexec/glusterfs/glusterfind/S57glusterfind-delete-post.py
-libexec/glusterfs/glusterfind/tool.conf
-libexec/glusterfs/glusterfind/utils.py
-libexec/glusterfs/peer_add_secret_pub
-libexec/glusterfs/peer_eventsapi.py
-share/man/man8/gluster-setgfid2path.8.gz
-share/man/man8/gluster.8.gz
-share/man/man8/glusterd.8.gz
-share/man/man8/glusterfs.8.gz
-share/man/man8/glusterfsd.8.gz
-share/man/man8/mount.glusterfs.8.gz
-sbin/conf.py
-sbin/gcron.py
-sbin/gf_attach
-sbin/gfind_missing_files
-sbin/gluster
-sbin/gluster-eventsapi
-sbin/gluster-setgfid2path
-sbin/glusterd
-sbin/glustereventsd
-sbin/glusterfs
-sbin/glusterfsd
-sbin/mount_glusterfs
-sbin/snap_scheduler.py
-sbin/umountd
-%%PORTDOCS%%%%DOCSDIR%%/benchmarking/README
-%%PORTDOCS%%%%DOCSDIR%%/benchmarking/glfs-bm.c
-%%PORTDOCS%%%%DOCSDIR%%/benchmarking/launch-script.sh
-%%PORTDOCS%%%%DOCSDIR%%/benchmarking/local-script.sh
-%%PORTDOCS%%%%DOCSDIR%%/benchmarking/rdd.c
-%%PORTDOCS%%%%DOCSDIR%%/glusterfs-mode.el
-%%PORTDOCS%%%%DOCSDIR%%/glusterfs.vim
-%%DATADIR%%/scripts/eventsdash.py
-%%DATADIR%%/scripts/post-upgrade-script-for-quota.sh
-%%DATADIR%%/scripts/pre-upgrade-script-for-quota.sh
-%%DATADIR%%/scripts/setup-thin-arbiter.sh
-%%DATADIR%%/scripts/stop-all-gluster-processes.sh
-/var/db/glusterd/groups/db-workload
-/var/db/glusterd/groups/distributed-virt
-/var/db/glusterd/groups/gluster-block
-/var/db/glusterd/groups/metadata-cache
-/var/db/glusterd/groups/nl-cache
-/var/db/glusterd/groups/samba
-/var/db/glusterd/groups/virt
-/var/db/glusterd/hooks/1/add-brick/post/S10selinux-label-brick.sh
-/var/db/glusterd/hooks/1/add-brick/post/S13create-subdir-mounts.sh
-/var/db/glusterd/hooks/1/add-brick/post/disabled-quota-root-xattr-heal.sh
-/var/db/glusterd/hooks/1/add-brick/pre/S28Quota-enable-root-xattr-heal.sh
-/var/db/glusterd/hooks/1/delete/post/S57glusterfind-delete-post
-/var/db/glusterd/hooks/1/set/post/S30samba-set.sh
-/var/db/glusterd/hooks/1/set/post/S32gluster_enable_shared_storage.sh
-/var/db/glusterd/hooks/1/start/post/S29CTDBsetup.sh
-/var/db/glusterd/hooks/1/start/post/S30samba-start.sh
-/var/db/glusterd/hooks/1/start/post/S31ganesha-start.sh
-/var/db/glusterd/hooks/1/stop/pre/S29CTDB-teardown.sh
-/var/db/glusterd/hooks/1/stop/pre/S30samba-stop.sh
-@dir /var/db/glusterd/events
-@dir /var/db/glusterd/glusterfind/.keys
-@dir /var/db/glusterd/glusterfind
-@dir /var/db/glusterd/groups
-@dir /var/db/glusterd/hooks/1/add-brick/post
-@dir /var/db/glusterd/hooks/1/add-brick/pre
-@dir /var/db/glusterd/hooks/1/add-brick
-@dir /var/db/glusterd/hooks/1/delete/post
-@dir /var/db/glusterd/hooks/1/delete
-@dir /var/db/glusterd/hooks/1/set/post
-@dir /var/db/glusterd/hooks/1/set
-@dir /var/db/glusterd/hooks/1/start/post
-@dir /var/db/glusterd/hooks/1/start
-@dir /var/db/glusterd/hooks/1/stop/pre
-@dir /var/db/glusterd/hooks/1/stop
-@dir /var/db/glusterd/hooks/1
-@dir /var/db/glusterd/hooks
-@dir /var/db/glusterd
-@dir /var/log/glusterfs
-@dir /var/run/gluster