diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-09-02 05:23:45 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-09-02 05:23:45 +0200 |
commit | 576b6208d6defe240bfa2477d6dd19f1ed83bfaf (patch) | |
tree | 7d54883f16cccc4cbd414398d7fec3c437b36b49 /sys-cluster/glusterfs/files | |
parent | fdd6b67a78a966f6a2131de8fe0e539316511083 (diff) | |
download | darklin4-576b6208d6defe240bfa2477d6dd19f1ed83bfaf.tar.gz darklin4-576b6208d6defe240bfa2477d6dd19f1ed83bfaf.tar.bz2 darklin4-576b6208d6defe240bfa2477d6dd19f1ed83bfaf.tar.xz darklin4-576b6208d6defe240bfa2477d6dd19f1ed83bfaf.zip |
Cleaned most of outdated stuff
Diffstat (limited to 'sys-cluster/glusterfs/files')
10 files changed, 0 insertions, 1408 deletions
diff --git a/sys-cluster/glusterfs/files/50glusterfs-mode-gentoo.el b/sys-cluster/glusterfs/files/50glusterfs-mode-gentoo.el deleted file mode 100644 index c14b0d8..0000000 --- a/sys-cluster/glusterfs/files/50glusterfs-mode-gentoo.el +++ /dev/null @@ -1,5 +0,0 @@ - -;;; puppet-mode site-lisp configuration - -(add-to-list 'load-path "@SITELISP@") -(autoload 'glusterfs-mode "glusterfs-mode" "Major mode for editing glusterfs manifests") diff --git a/sys-cluster/glusterfs/files/glusterd-r2.initd b/sys-cluster/glusterfs/files/glusterd-r2.initd deleted file mode 100644 index bd33651..0000000 --- a/sys-cluster/glusterfs/files/glusterd-r2.initd +++ /dev/null @@ -1,33 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -description="Gluster elastic volume management daemon" -command="/usr/sbin/glusterd" -pidfile="/var/run/${SVCNAME}.pid" -command_args="-N" - -command_background="yes" - -depend() { - need net - before netmount -} - -start_pre() { - # Ensure that the GlusterFS auxiliary mount parent directory exists - checkpath --directory --owner root:root --mode 0700 /var/run/gluster -} - -start_post() { - local c=0 - ebegin "Waiting for glusterd to start up" - while ! /usr/sbin/gluster volume list &>/dev/null && [ "${c}" -lt "${glusterd_max_wait_start-60}" ]; do - (( ++c )) - done - [ "${c}" -lt "${glusterd_max_wait_start-60}" ] - eend $? - - return 0 -} diff --git a/sys-cluster/glusterfs/files/glusterfs-3.4.0-silent_rules.patch b/sys-cluster/glusterfs/files/glusterfs-3.4.0-silent_rules.patch deleted file mode 100644 index 1b79e0d..0000000 --- a/sys-cluster/glusterfs/files/glusterfs-3.4.0-silent_rules.patch +++ /dev/null @@ -1,23 +0,0 @@ ---- configure.ac 2013-07-12 19:43:26.000000000 +0200 -+++ configure.ac2 2013-07-25 13:58:48.294091861 +0200 -@@ -10,20 +10,6 @@ - - AM_INIT_AUTOMAKE - --m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES(yes)]) -- --if make --help 2>&1 | grep -q no-print-directory; then -- AM_MAKEFLAGS="$AM_MAKEFLAGS --no-print-directory"; --fi -- --if make --help 2>&1 | grep -q quiet; then -- AM_MAKEFLAGS="$AM_MAKEFLAGS --quiet" --fi -- --if libtool --help 2>&1 | grep -q quiet; then -- AM_LIBTOOLFLAGS="--quiet"; --fi -- - AC_CONFIG_HEADERS([config.h]) - - AC_CONFIG_FILES([Makefile diff --git a/sys-cluster/glusterfs/files/glusterfs-3.5.1-Add-libraries-using-LIBADD-instead-of-LDFLAGS.patch b/sys-cluster/glusterfs/files/glusterfs-3.5.1-Add-libraries-using-LIBADD-instead-of-LDFLAGS.patch deleted file mode 100644 index 5c4df0c..0000000 --- a/sys-cluster/glusterfs/files/glusterfs-3.5.1-Add-libraries-using-LIBADD-instead-of-LDFLAGS.patch +++ /dev/null @@ -1,54 +0,0 @@ -From 8bfe3752c3a0a4db49a879048cdd089da6c45ed0 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Tiziano=20M=C3=BCller?= <tm@dev-zero.ch> -Date: Thu, 26 Jun 2014 19:04:54 +0200 -Subject: [PATCH] Add libraries using LIBADD instead of LDFLAGS - ---- - xlators/encryption/crypt/src/Makefile.am | 6 +++--- - xlators/features/compress/src/Makefile.am | 4 ++-- - 2 files changed, 5 insertions(+), 5 deletions(-) - -diff --git a/xlators/encryption/crypt/src/Makefile.am b/xlators/encryption/crypt/src/Makefile.am -index b13f650..d7ebac6 100644 ---- a/xlators/encryption/crypt/src/Makefile.am -+++ b/xlators/encryption/crypt/src/Makefile.am -@@ -3,10 +3,10 @@ if ENABLE_CRYPT_XLATOR - xlator_LTLIBRARIES = crypt.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/encryption - --crypt_la_LDFLAGS = -module -avoid-version -lssl -lcrypto -+crypt_la_LDFLAGS = -module -avoid-version - - crypt_la_SOURCES = keys.c data.c metadata.c atom.c crypt.c --crypt_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -+crypt_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -lssl -lcrypto - - noinst_HEADERS = crypt-common.h crypt-mem-types.h crypt.h metadata.h - -@@ -21,4 +21,4 @@ else - noinst_DIST = keys.c data.c metadata.c atom.c crypt.c - noinst_HEADERS = crypt-common.h crypt-mem-types.h crypt.h metadata.h - --endif -\ No newline at end of file -+endif -diff --git a/xlators/features/compress/src/Makefile.am b/xlators/features/compress/src/Makefile.am -index 0bf757c..d3abe03 100644 ---- a/xlators/features/compress/src/Makefile.am -+++ b/xlators/features/compress/src/Makefile.am -@@ -4,10 +4,10 @@ xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features - - noinst_HEADERS = cdc.h cdc-mem-types.h - --cdc_la_LDFLAGS = -module -avoid-version $(LIBZ_LIBS) -+cdc_la_LDFLAGS = -module -avoid-version - - cdc_la_SOURCES = cdc.c cdc-helper.c --cdc_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -+cdc_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la $(LIBZ_LIBS) - - AM_CPPFLAGS = $(GF_CPPFLAGS) -I$(top_srcdir)/libglusterfs/src -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D$(GF_HOST_OS) \ - -shared -nostartfiles $(LIBZ_CFLAGS) --- -1.9.2 - diff --git a/sys-cluster/glusterfs/files/glusterfs-3.5.1-build-shared-only.patch b/sys-cluster/glusterfs/files/glusterfs-3.5.1-build-shared-only.patch deleted file mode 100644 index 9acf0d7..0000000 --- a/sys-cluster/glusterfs/files/glusterfs-3.5.1-build-shared-only.patch +++ /dev/null @@ -1,576 +0,0 @@ -diff --git a/rpc/rpc-transport/rdma/src/Makefile.am b/rpc/rpc-transport/rdma/src/Makefile.am -index 2bf7cf2..8e52d70 100644 ---- a/rpc/rpc-transport/rdma/src/Makefile.am -+++ b/rpc/rpc-transport/rdma/src/Makefile.am -@@ -3,7 +3,7 @@ - transport_LTLIBRARIES = rdma.la - transportdir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/rpc-transport - --rdma_la_LDFLAGS = -module -avoid-version -+rdma_la_LDFLAGS = -module -avoid-version -shared - - rdma_la_SOURCES = rdma.c name.c - rdma_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la \ -diff --git a/rpc/rpc-transport/socket/src/Makefile.am b/rpc/rpc-transport/socket/src/Makefile.am -index 71e6ed6..b481fe9 100644 ---- a/rpc/rpc-transport/socket/src/Makefile.am -+++ b/rpc/rpc-transport/socket/src/Makefile.am -@@ -3,7 +3,7 @@ noinst_HEADERS = socket.h name.h - rpctransport_LTLIBRARIES = socket.la - rpctransportdir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/rpc-transport - --socket_la_LDFLAGS = -module -avoid-version -+socket_la_LDFLAGS = -module -avoid-version -shared - - socket_la_SOURCES = socket.c name.c - socket_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -lssl -diff --git a/xlators/cluster/afr/src/Makefile.am b/xlators/cluster/afr/src/Makefile.am -index 35d18a6..959fea8 100644 ---- a/xlators/cluster/afr/src/Makefile.am -+++ b/xlators/cluster/afr/src/Makefile.am -@@ -7,11 +7,11 @@ afr_common_source = afr-dir-read.c afr-dir-write.c afr-inode-read.c \ - afr-self-heal-algorithm.c afr-lk-common.c afr-self-heald.c \ - $(top_builddir)/xlators/lib/src/libxlator.c - --afr_la_LDFLAGS = -module -avoid-version -+afr_la_LDFLAGS = -module -avoid-version -shared - afr_la_SOURCES = $(afr_common_source) afr.c - afr_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la - --pump_la_LDFLAGS = -module -avoid-version -+pump_la_LDFLAGS = -module -avoid-version -shared - pump_la_SOURCES = $(afr_common_source) pump.c - pump_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la - -diff --git a/xlators/cluster/dht/src/Makefile.am b/xlators/cluster/dht/src/Makefile.am -index 174bea8..cab9993 100644 ---- a/xlators/cluster/dht/src/Makefile.am -+++ b/xlators/cluster/dht/src/Makefile.am -@@ -12,13 +12,13 @@ dht_la_SOURCES = $(dht_common_source) dht.c - nufa_la_SOURCES = $(dht_common_source) nufa.c - switch_la_SOURCES = $(dht_common_source) switch.c - --dht_la_LDFLAGS = -module -avoid-version -+dht_la_LDFLAGS = -module -avoid-version -shared - dht_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la - --nufa_la_LDFLAGS = -module -avoid-version -+nufa_la_LDFLAGS = -module -avoid-version -shared - nufa_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la - --switch_la_LDFLAGS = -module -avoid-version -+switch_la_LDFLAGS = -module -avoid-version -shared - switch_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la - - noinst_HEADERS = dht-common.h dht-mem-types.h \ -diff --git a/xlators/cluster/stripe/src/Makefile.am b/xlators/cluster/stripe/src/Makefile.am -index 2d15142..6989de9 100644 ---- a/xlators/cluster/stripe/src/Makefile.am -+++ b/xlators/cluster/stripe/src/Makefile.am -@@ -2,7 +2,7 @@ - xlator_LTLIBRARIES = stripe.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/cluster - --stripe_la_LDFLAGS = -module -avoid-version -+stripe_la_LDFLAGS = -module -avoid-version -shared - - stripe_la_SOURCES = stripe.c stripe-helpers.c \ - $(top_builddir)/xlators/lib/src/libxlator.c -diff --git a/xlators/debug/error-gen/src/Makefile.am b/xlators/debug/error-gen/src/Makefile.am -index 5075c59..a7681c4 100644 ---- a/xlators/debug/error-gen/src/Makefile.am -+++ b/xlators/debug/error-gen/src/Makefile.am -@@ -2,7 +2,7 @@ - xlator_LTLIBRARIES = error-gen.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/debug - --error_gen_la_LDFLAGS = -module -avoid-version -+error_gen_la_LDFLAGS = -module -avoid-version -shared - - error_gen_la_SOURCES = error-gen.c - error_gen_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -diff --git a/xlators/debug/io-stats/src/Makefile.am b/xlators/debug/io-stats/src/Makefile.am -index 332d790..bf62017 100644 ---- a/xlators/debug/io-stats/src/Makefile.am -+++ b/xlators/debug/io-stats/src/Makefile.am -@@ -2,7 +2,7 @@ - xlator_LTLIBRARIES = io-stats.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/debug - --io_stats_la_LDFLAGS = -module -avoid-version -+io_stats_la_LDFLAGS = -module -avoid-version -shared - - io_stats_la_SOURCES = io-stats.c - io_stats_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -diff --git a/xlators/debug/trace/src/Makefile.am b/xlators/debug/trace/src/Makefile.am -index 7b2597b..2030ed4 100644 ---- a/xlators/debug/trace/src/Makefile.am -+++ b/xlators/debug/trace/src/Makefile.am -@@ -2,7 +2,7 @@ - xlator_LTLIBRARIES = trace.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/debug - --trace_la_LDFLAGS = -module -avoid-version -+trace_la_LDFLAGS = -module -avoid-version -shared - - trace_la_SOURCES = trace.c - trace_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -diff --git a/xlators/encryption/crypt/src/Makefile.am b/xlators/encryption/crypt/src/Makefile.am -index d7ebac6..66ae6f5 100644 ---- a/xlators/encryption/crypt/src/Makefile.am -+++ b/xlators/encryption/crypt/src/Makefile.am -@@ -3,7 +3,7 @@ if ENABLE_CRYPT_XLATOR - xlator_LTLIBRARIES = crypt.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/encryption - --crypt_la_LDFLAGS = -module -avoid-version -+crypt_la_LDFLAGS = -module -avoid-version -shared - - crypt_la_SOURCES = keys.c data.c metadata.c atom.c crypt.c - crypt_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -lssl -lcrypto -diff --git a/xlators/encryption/rot-13/src/Makefile.am b/xlators/encryption/rot-13/src/Makefile.am -index 94e8d18..d13894e 100644 ---- a/xlators/encryption/rot-13/src/Makefile.am -+++ b/xlators/encryption/rot-13/src/Makefile.am -@@ -1,7 +1,7 @@ - xlator_LTLIBRARIES = rot-13.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/encryption - --rot_13_la_LDFLAGS = -module -avoid-version -+rot_13_la_LDFLAGS = -module -avoid-version -shared - - rot_13_la_SOURCES = rot-13.c - rot_13_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -diff --git a/xlators/features/changelog/src/Makefile.am b/xlators/features/changelog/src/Makefile.am -index 54c21ac..d98f43f 100644 ---- a/xlators/features/changelog/src/Makefile.am -+++ b/xlators/features/changelog/src/Makefile.am -@@ -5,7 +5,7 @@ xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features - noinst_HEADERS = changelog-helpers.h changelog-mem-types.h changelog-rt.h \ - changelog-misc.h changelog-encoders.h changelog-notifier.h - --changelog_la_LDFLAGS = -module -avoid-version -+changelog_la_LDFLAGS = -module -avoid-version -shared - - changelog_la_SOURCES = changelog.c changelog-rt.c changelog-helpers.c \ - changelog-encoders.c changelog-notifier.c -diff --git a/xlators/features/compress/src/Makefile.am b/xlators/features/compress/src/Makefile.am -index d3abe03..659cd49 100644 ---- a/xlators/features/compress/src/Makefile.am -+++ b/xlators/features/compress/src/Makefile.am -@@ -4,7 +4,7 @@ xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features - - noinst_HEADERS = cdc.h cdc-mem-types.h - --cdc_la_LDFLAGS = -module -avoid-version -+cdc_la_LDFLAGS = -module -avoid-version -shared - - cdc_la_SOURCES = cdc.c cdc-helper.c - cdc_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la $(LIBZ_LIBS) -diff --git a/xlators/features/gfid-access/src/Makefile.am b/xlators/features/gfid-access/src/Makefile.am -index db53aff..4eeaa4f 100644 ---- a/xlators/features/gfid-access/src/Makefile.am -+++ b/xlators/features/gfid-access/src/Makefile.am -@@ -1,7 +1,7 @@ - xlator_LTLIBRARIES = gfid-access.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features - --gfid_access_la_LDFLAGS = -module -avoid-version -+gfid_access_la_LDFLAGS = -module -avoid-version -shared - - gfid_access_la_SOURCES = gfid-access.c - gfid_access_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -diff --git a/xlators/features/index/src/Makefile.am b/xlators/features/index/src/Makefile.am -index 73bb897..5519798 100644 ---- a/xlators/features/index/src/Makefile.am -+++ b/xlators/features/index/src/Makefile.am -@@ -1,7 +1,7 @@ - xlator_LTLIBRARIES = index.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features - --index_la_LDFLAGS = -module -avoid-version -+index_la_LDFLAGS = -module -avoid-version -shared - - index_la_SOURCES = index.c - index_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -diff --git a/xlators/features/locks/src/Makefile.am b/xlators/features/locks/src/Makefile.am -index 0f79731..eda6a05 100644 ---- a/xlators/features/locks/src/Makefile.am -+++ b/xlators/features/locks/src/Makefile.am -@@ -1,7 +1,7 @@ - xlator_LTLIBRARIES = locks.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features - --locks_la_LDFLAGS = -module -avoid-version -+locks_la_LDFLAGS = -module -avoid-version -shared - - locks_la_SOURCES = common.c posix.c entrylk.c inodelk.c reservelk.c \ - clear.c -diff --git a/xlators/features/mac-compat/src/Makefile.am b/xlators/features/mac-compat/src/Makefile.am -index f8567ed..a283eb0 100644 ---- a/xlators/features/mac-compat/src/Makefile.am -+++ b/xlators/features/mac-compat/src/Makefile.am -@@ -1,7 +1,7 @@ - xlator_LTLIBRARIES = mac-compat.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features - --mac_compat_la_LDFLAGS = -module -avoid-version -+mac_compat_la_LDFLAGS = -module -avoid-version -shared - - mac_compat_la_SOURCES = mac-compat.c - mac_compat_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -diff --git a/xlators/features/marker/src/Makefile.am b/xlators/features/marker/src/Makefile.am -index a7c6764..477fe0f 100644 ---- a/xlators/features/marker/src/Makefile.am -+++ b/xlators/features/marker/src/Makefile.am -@@ -1,7 +1,7 @@ - xlator_LTLIBRARIES = marker.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features - --marker_la_LDFLAGS = -module -avoid-version -+marker_la_LDFLAGS = -module -avoid-version -shared - - marker_la_SOURCES = marker.c marker-quota.c marker-quota-helper.c marker-common.c - marker_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -diff --git a/xlators/features/protect/src/Makefile.am b/xlators/features/protect/src/Makefile.am -index 968e88c..84ceec2 100644 ---- a/xlators/features/protect/src/Makefile.am -+++ b/xlators/features/protect/src/Makefile.am -@@ -2,15 +2,15 @@ xlator_LTLIBRARIES = prot_dht.la prot_client.la prot_server.la - - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features - --prot_dht_la_LDFLAGS = -module -avoid-version -+prot_dht_la_LDFLAGS = -module -avoid-version -shared - prot_dht_la_SOURCES = prot_dht.c - prot_dht_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la - --prot_client_la_LDFLAGS = -module -avoid-version -+prot_client_la_LDFLAGS = -module -avoid-version -shared - prot_client_la_SOURCES = prot_client.c - prot_client_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la - --prot_server_la_LDFLAGS = -module -avoid-version -+prot_server_la_LDFLAGS = -module -avoid-version -shared - prot_server_la_SOURCES = prot_server.c - prot_server_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la - -diff --git a/xlators/features/qemu-block/src/Makefile.am b/xlators/features/qemu-block/src/Makefile.am -index 08a7b62..30639e0 100644 ---- a/xlators/features/qemu-block/src/Makefile.am -+++ b/xlators/features/qemu-block/src/Makefile.am -@@ -2,7 +2,7 @@ if ENABLE_QEMU_BLOCK - xlator_LTLIBRARIES = qemu-block.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features - --qemu_block_la_LDFLAGS = -module -avoid-version -+qemu_block_la_LDFLAGS = -module -avoid-version -shared - qemu_block_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la $(GLIB_LIBS) -lz -lrt - - qemu_block_la_SOURCES_qemu = \ -diff --git a/xlators/features/quiesce/src/Makefile.am b/xlators/features/quiesce/src/Makefile.am -index 15e4662..b3cd9d1 100644 ---- a/xlators/features/quiesce/src/Makefile.am -+++ b/xlators/features/quiesce/src/Makefile.am -@@ -1,7 +1,7 @@ - xlator_LTLIBRARIES = quiesce.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features - --quiesce_la_LDFLAGS = -module -avoid-version -+quiesce_la_LDFLAGS = -module -avoid-version -shared - - quiesce_la_SOURCES = quiesce.c - quiesce_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -diff --git a/xlators/features/quota/src/Makefile.am b/xlators/features/quota/src/Makefile.am -index 7165adc..06905f3 100644 ---- a/xlators/features/quota/src/Makefile.am -+++ b/xlators/features/quota/src/Makefile.am -@@ -1,8 +1,8 @@ - xlator_LTLIBRARIES = quota.la quotad.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features - --quota_la_LDFLAGS = -module -avoid-version --quotad_la_LDFLAGS = -module -avoid-version -+quota_la_LDFLAGS = -module -avoid-version -shared -+quotad_la_LDFLAGS = -module -avoid-version -shared - - quota_la_SOURCES = quota.c quota-enforcer-client.c - quota_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -diff --git a/xlators/features/read-only/src/Makefile.am b/xlators/features/read-only/src/Makefile.am -index 4c14621..a3f79fa 100644 ---- a/xlators/features/read-only/src/Makefile.am -+++ b/xlators/features/read-only/src/Makefile.am -@@ -4,12 +4,12 @@ xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features - - noinst_HEADERS = read-only-common.h - --read_only_la_LDFLAGS = -module -avoid-version -+read_only_la_LDFLAGS = -module -avoid-version -shared - - read_only_la_SOURCES = read-only.c read-only-common.c - read_only_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la - --worm_la_LDFLAGS = -module -avoid-version -+worm_la_LDFLAGS = -module -avoid-version -shared - - worm_la_SOURCES = read-only-common.c worm.c - worm_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -diff --git a/xlators/mgmt/glusterd/src/Makefile.am b/xlators/mgmt/glusterd/src/Makefile.am -index a6f49ae..b071280 100644 ---- a/xlators/mgmt/glusterd/src/Makefile.am -+++ b/xlators/mgmt/glusterd/src/Makefile.am -@@ -1,7 +1,7 @@ - xlator_LTLIBRARIES = glusterd.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/mgmt - glusterd_la_CPPFLAGS = $(AM_CPPFLAGS) "-DFILTERDIR=\"$(libdir)/glusterfs/$(PACKAGE_VERSION)/filter\"" --glusterd_la_LDFLAGS = -module -avoid-version -+glusterd_la_LDFLAGS = -module -avoid-version -shared - if ENABLE_BD_XLATOR - glusterd_la_LDFLAGS += -llvm2app - endif -diff --git a/xlators/mount/fuse/src/Makefile.am b/xlators/mount/fuse/src/Makefile.am -index 653121d..3f221d8 100644 ---- a/xlators/mount/fuse/src/Makefile.am -+++ b/xlators/mount/fuse/src/Makefile.am -@@ -24,7 +24,7 @@ endif - fuse_la_SOURCES = fuse-helpers.c fuse-resolve.c fuse-bridge.c \ - $(CONTRIBDIR)/fuse-lib/misc.c $(mount_source) - --fuse_la_LDFLAGS = -module -avoid-version -+fuse_la_LDFLAGS = -module -avoid-version -shared - fuse_la_LIBADD = @GF_FUSE_LDADD@ - - AM_CPPFLAGS = $(GF_CPPFLAGS) \ -diff --git a/xlators/nfs/server/src/Makefile.am b/xlators/nfs/server/src/Makefile.am -index 62fbf65..1995f67 100644 ---- a/xlators/nfs/server/src/Makefile.am -+++ b/xlators/nfs/server/src/Makefile.am -@@ -1,7 +1,7 @@ - xlator_LTLIBRARIES = server.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/nfs - nfsrpclibdir = $(top_srcdir)/rpc/rpc-lib/src --server_la_LDFLAGS = -module -avoid-version -+server_la_LDFLAGS = -module -avoid-version -shared - server_la_SOURCES = nfs.c nfs-common.c nfs-fops.c nfs-inodes.c \ - nfs-generics.c mount3.c nfs3-fh.c nfs3.c nfs3-helpers.c nlm4.c \ - nlmcbk_svc.c mount3udp_svc.c acl3.c -diff --git a/xlators/performance/io-cache/src/Makefile.am b/xlators/performance/io-cache/src/Makefile.am -index 155be99..ba0738c 100644 ---- a/xlators/performance/io-cache/src/Makefile.am -+++ b/xlators/performance/io-cache/src/Makefile.am -@@ -1,7 +1,7 @@ - xlator_LTLIBRARIES = io-cache.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/performance - --io_cache_la_LDFLAGS = -module -avoid-version -+io_cache_la_LDFLAGS = -module -avoid-version -shared - - io_cache_la_SOURCES = io-cache.c page.c ioc-inode.c - io_cache_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -diff --git a/xlators/performance/io-threads/src/Makefile.am b/xlators/performance/io-threads/src/Makefile.am -index d63042e..aba1fdb 100644 ---- a/xlators/performance/io-threads/src/Makefile.am -+++ b/xlators/performance/io-threads/src/Makefile.am -@@ -1,7 +1,7 @@ - xlator_LTLIBRARIES = io-threads.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/performance - --io_threads_la_LDFLAGS = -module -avoid-version -+io_threads_la_LDFLAGS = -module -avoid-version -shared - - io_threads_la_SOURCES = io-threads.c - io_threads_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -diff --git a/xlators/performance/md-cache/src/Makefile.am b/xlators/performance/md-cache/src/Makefile.am -index 8c9f5a8..4d714fa 100644 ---- a/xlators/performance/md-cache/src/Makefile.am -+++ b/xlators/performance/md-cache/src/Makefile.am -@@ -1,7 +1,7 @@ - xlator_LTLIBRARIES = md-cache.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/performance - --md_cache_la_LDFLAGS = -module -avoid-version -+md_cache_la_LDFLAGS = -module -avoid-version -shared - - md_cache_la_SOURCES = md-cache.c - md_cache_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -diff --git a/xlators/performance/open-behind/src/Makefile.am b/xlators/performance/open-behind/src/Makefile.am -index 1252857..568434a 100644 ---- a/xlators/performance/open-behind/src/Makefile.am -+++ b/xlators/performance/open-behind/src/Makefile.am -@@ -1,7 +1,7 @@ - xlator_LTLIBRARIES = open-behind.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/performance - --open_behind_la_LDFLAGS = -module -avoid-version -+open_behind_la_LDFLAGS = -module -avoid-version -shared - - open_behind_la_SOURCES = open-behind.c - open_behind_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -diff --git a/xlators/performance/quick-read/src/Makefile.am b/xlators/performance/quick-read/src/Makefile.am -index 4906f40..8d42116 100644 ---- a/xlators/performance/quick-read/src/Makefile.am -+++ b/xlators/performance/quick-read/src/Makefile.am -@@ -1,7 +1,7 @@ - xlator_LTLIBRARIES = quick-read.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/performance - --quick_read_la_LDFLAGS = -module -avoid-version -+quick_read_la_LDFLAGS = -module -avoid-version -shared - - quick_read_la_SOURCES = quick-read.c - quick_read_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -diff --git a/xlators/performance/read-ahead/src/Makefile.am b/xlators/performance/read-ahead/src/Makefile.am -index be80ae7..eae0540 100644 ---- a/xlators/performance/read-ahead/src/Makefile.am -+++ b/xlators/performance/read-ahead/src/Makefile.am -@@ -1,7 +1,7 @@ - xlator_LTLIBRARIES = read-ahead.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/performance - --read_ahead_la_LDFLAGS = -module -avoid-version -+read_ahead_la_LDFLAGS = -module -avoid-version -shared - - read_ahead_la_SOURCES = read-ahead.c page.c - read_ahead_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -diff --git a/xlators/performance/readdir-ahead/src/Makefile.am b/xlators/performance/readdir-ahead/src/Makefile.am -index 539d6ed..020b670 100644 ---- a/xlators/performance/readdir-ahead/src/Makefile.am -+++ b/xlators/performance/readdir-ahead/src/Makefile.am -@@ -1,7 +1,7 @@ - xlator_LTLIBRARIES = readdir-ahead.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/performance - --readdir_ahead_la_LDFLAGS = -module -avoid-version -+readdir_ahead_la_LDFLAGS = -module -avoid-version -shared - - readdir_ahead_la_SOURCES = readdir-ahead.c - readdir_ahead_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -diff --git a/xlators/performance/symlink-cache/src/Makefile.am b/xlators/performance/symlink-cache/src/Makefile.am -index 4091c32..0d600d6 100644 ---- a/xlators/performance/symlink-cache/src/Makefile.am -+++ b/xlators/performance/symlink-cache/src/Makefile.am -@@ -1,7 +1,7 @@ - xlator_LTLIBRARIES = symlink-cache.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/testing/performance - --symlink_cache_la_LDFLAGS = -module -avoid-version -+symlink_cache_la_LDFLAGS = -module -avoid-version -shared - - symlink_cache_la_SOURCES = symlink-cache.c - symlink_cache_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -diff --git a/xlators/performance/write-behind/src/Makefile.am b/xlators/performance/write-behind/src/Makefile.am -index 6c829d8..746e5c1 100644 ---- a/xlators/performance/write-behind/src/Makefile.am -+++ b/xlators/performance/write-behind/src/Makefile.am -@@ -1,7 +1,7 @@ - xlator_LTLIBRARIES = write-behind.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/performance - --write_behind_la_LDFLAGS = -module -avoid-version -+write_behind_la_LDFLAGS = -module -avoid-version -shared - - write_behind_la_SOURCES = write-behind.c - write_behind_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -diff --git a/xlators/playground/template/src/Makefile.am b/xlators/playground/template/src/Makefile.am -index 21f1c5f..3161bc8 100644 ---- a/xlators/playground/template/src/Makefile.am -+++ b/xlators/playground/template/src/Makefile.am -@@ -1,7 +1,7 @@ - xlator_LTLIBRARIES = template.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/testing/features - --template_la_LDFLAGS = -module -avoid-version -+template_la_LDFLAGS = -module -avoid-version -shared - - template_la_SOURCES = template.c - template_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -diff --git a/xlators/protocol/auth/addr/src/Makefile.am b/xlators/protocol/auth/addr/src/Makefile.am -index 426e7c2..fa7234d 100644 ---- a/xlators/protocol/auth/addr/src/Makefile.am -+++ b/xlators/protocol/auth/addr/src/Makefile.am -@@ -1,7 +1,7 @@ - auth_LTLIBRARIES = addr.la - authdir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/auth - --addr_la_LDFLAGS = -module -avoid-version -+addr_la_LDFLAGS = -module -avoid-version -shared - - addr_la_SOURCES = addr.c - addr_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -diff --git a/xlators/protocol/auth/login/src/Makefile.am b/xlators/protocol/auth/login/src/Makefile.am -index d84db91..022739d 100644 ---- a/xlators/protocol/auth/login/src/Makefile.am -+++ b/xlators/protocol/auth/login/src/Makefile.am -@@ -1,7 +1,7 @@ - auth_LTLIBRARIES = login.la - authdir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/auth - --login_la_LDFLAGS = -module -avoid-version -+login_la_LDFLAGS = -module -avoid-version -shared - - login_la_SOURCES = login.c - login_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -diff --git a/xlators/protocol/client/src/Makefile.am b/xlators/protocol/client/src/Makefile.am -index cf89d42..8f2612c 100644 ---- a/xlators/protocol/client/src/Makefile.am -+++ b/xlators/protocol/client/src/Makefile.am -@@ -2,7 +2,7 @@ - xlator_LTLIBRARIES = client.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/protocol - --client_la_LDFLAGS = -module -avoid-version -+client_la_LDFLAGS = -module -avoid-version -shared - - client_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la \ - $(top_builddir)/rpc/rpc-lib/src/libgfrpc.la \ -diff --git a/xlators/protocol/server/src/Makefile.am b/xlators/protocol/server/src/Makefile.am -index 6a18bf0..9a0393f 100644 ---- a/xlators/protocol/server/src/Makefile.am -+++ b/xlators/protocol/server/src/Makefile.am -@@ -1,7 +1,7 @@ - xlator_LTLIBRARIES = server.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/protocol - --server_la_LDFLAGS = -module -avoid-version -+server_la_LDFLAGS = -module -avoid-version -shared - - server_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la \ - $(top_builddir)/rpc/rpc-lib/src/libgfrpc.la \ -diff --git a/xlators/storage/bd/src/Makefile.am b/xlators/storage/bd/src/Makefile.am -index 3d93f74..589185d 100644 ---- a/xlators/storage/bd/src/Makefile.am -+++ b/xlators/storage/bd/src/Makefile.am -@@ -2,7 +2,7 @@ if ENABLE_BD_XLATOR - xlator_LTLIBRARIES = bd.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/storage - --bd_la_LDFLAGS = -module -avoid-version -+bd_la_LDFLAGS = -module -avoid-version -shared - LIBBD = -llvm2app -lrt - bd_la_SOURCES = bd.c bd-helper.c bd-aio.c - bd_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la $(LIBBD) $(LIBAIO) -diff --git a/xlators/storage/posix/src/Makefile.am b/xlators/storage/posix/src/Makefile.am -index 88efcc7..79ca903 100644 ---- a/xlators/storage/posix/src/Makefile.am -+++ b/xlators/storage/posix/src/Makefile.am -@@ -2,7 +2,7 @@ - xlator_LTLIBRARIES = posix.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/storage - --posix_la_LDFLAGS = -module -avoid-version -+posix_la_LDFLAGS = -module -avoid-version -shared - - posix_la_SOURCES = posix.c posix-helpers.c posix-handle.c posix-aio.c - posix_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la $(LIBAIO) -diff --git a/xlators/system/posix-acl/src/Makefile.am b/xlators/system/posix-acl/src/Makefile.am -index 11c939f..561c52d 100644 ---- a/xlators/system/posix-acl/src/Makefile.am -+++ b/xlators/system/posix-acl/src/Makefile.am -@@ -1,6 +1,6 @@ - xlator_LTLIBRARIES = posix-acl.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/system --posix_acl_la_LDFLAGS = -module -avoid-version -+posix_acl_la_LDFLAGS = -module -avoid-version -shared - posix_acl_la_SOURCES = posix-acl.c posix-acl-xattr.c - posix_acl_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la - diff --git a/sys-cluster/glusterfs/files/glusterfs-3.6.5-build-shared-only.patch b/sys-cluster/glusterfs/files/glusterfs-3.6.5-build-shared-only.patch deleted file mode 100644 index af5332b..0000000 --- a/sys-cluster/glusterfs/files/glusterfs-3.6.5-build-shared-only.patch +++ /dev/null @@ -1,547 +0,0 @@ -diff -ur a/rpc/rpc-transport/rdma/src/Makefile.am b/rpc/rpc-transport/rdma/src/Makefile.am ---- a/rpc/rpc-transport/rdma/src/Makefile.am 2015-08-28 10:56:17.750192744 +0200 -+++ b/rpc/rpc-transport/rdma/src/Makefile.am 2015-08-28 11:00:36.322686236 +0200 -@@ -3,7 +3,7 @@ - transport_LTLIBRARIES = rdma.la - transportdir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/rpc-transport - --rdma_la_LDFLAGS = -module -avoid-version -nostartfiles -+rdma_la_LDFLAGS = -module -avoid-version -nostartfiles -shared - - rdma_la_SOURCES = rdma.c name.c - rdma_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la \ -Only in b/rpc/rpc-transport/rdma/src: Makefile.am.orig -Only in b/rpc/rpc-transport/rdma/src: Makefile.am.rej -diff -ur a/rpc/rpc-transport/socket/src/Makefile.am b/rpc/rpc-transport/socket/src/Makefile.am ---- a/rpc/rpc-transport/socket/src/Makefile.am 2015-08-28 10:56:17.750192744 +0200 -+++ b/rpc/rpc-transport/socket/src/Makefile.am 2015-08-28 10:59:35.752102136 +0200 -@@ -3,7 +3,7 @@ - rpctransport_LTLIBRARIES = socket.la - rpctransportdir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/rpc-transport - --socket_la_LDFLAGS = -module -avoid-version -+socket_la_LDFLAGS = -module -avoid-version -shared - - socket_la_SOURCES = socket.c name.c - socket_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -lssl -diff -ur a/xlators/cluster/afr/src/Makefile.am b/xlators/cluster/afr/src/Makefile.am ---- a/xlators/cluster/afr/src/Makefile.am 2015-08-28 10:56:17.740192649 +0200 -+++ b/xlators/cluster/afr/src/Makefile.am 2015-08-28 11:01:31.603219323 +0200 -@@ -10,11 +10,11 @@ - afr-self-heal-entry.c afr-self-heal-metadata.c afr-self-heald.c \ - afr-self-heal-name.c - --afr_la_LDFLAGS = -module -avoid-version -+afr_la_LDFLAGS = -module -avoid-version -shared - afr_la_SOURCES = $(afr_common_source) $(AFR_SELFHEAL_SOURCES) afr.c - afr_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la - --pump_la_LDFLAGS = -module -avoid-version -+pump_la_LDFLAGS = -module -avoid-version -shared - pump_la_SOURCES = $(afr_common_source) $(AFR_SELFHEAL_SOURCES) pump.c - pump_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la - -Only in b/xlators/cluster/afr/src: Makefile.am.orig -Only in b/xlators/cluster/afr/src: Makefile.am.rej -diff -ur a/xlators/cluster/dht/src/Makefile.am b/xlators/cluster/dht/src/Makefile.am ---- a/xlators/cluster/dht/src/Makefile.am 2015-08-28 10:56:17.740192649 +0200 -+++ b/xlators/cluster/dht/src/Makefile.am 2015-08-28 10:59:35.752102136 +0200 -@@ -11,13 +11,13 @@ - nufa_la_SOURCES = $(dht_common_source) nufa.c - switch_la_SOURCES = $(dht_common_source) switch.c - --dht_la_LDFLAGS = -module -avoid-version -+dht_la_LDFLAGS = -module -avoid-version -shared - dht_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la - --nufa_la_LDFLAGS = -module -avoid-version -+nufa_la_LDFLAGS = -module -avoid-version -shared - nufa_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la - --switch_la_LDFLAGS = -module -avoid-version -+switch_la_LDFLAGS = -module -avoid-version -shared - switch_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la - - noinst_HEADERS = dht-common.h dht-mem-types.h dht-messages.h dht-helper.h \ -Only in b/xlators/cluster/dht/src: Makefile.am.orig -diff -ur a/xlators/cluster/stripe/src/Makefile.am b/xlators/cluster/stripe/src/Makefile.am ---- a/xlators/cluster/stripe/src/Makefile.am 2015-08-28 10:56:17.740192649 +0200 -+++ b/xlators/cluster/stripe/src/Makefile.am 2015-08-28 10:59:35.752102136 +0200 -@@ -1,7 +1,7 @@ - xlator_LTLIBRARIES = stripe.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/cluster - --stripe_la_LDFLAGS = -module -avoid-version -+stripe_la_LDFLAGS = -module -avoid-version -shared - - stripe_la_SOURCES = stripe.c stripe-helpers.c \ - $(top_builddir)/xlators/lib/src/libxlator.c -Only in b/xlators/cluster/stripe/src: Makefile.am.orig -diff -ur a/xlators/debug/error-gen/src/Makefile.am b/xlators/debug/error-gen/src/Makefile.am ---- a/xlators/debug/error-gen/src/Makefile.am 2015-08-28 10:56:17.720192456 +0200 -+++ b/xlators/debug/error-gen/src/Makefile.am 2015-08-28 10:59:35.752102136 +0200 -@@ -2,7 +2,7 @@ - xlator_LTLIBRARIES = error-gen.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/debug - --error_gen_la_LDFLAGS = -module -avoid-version -+error_gen_la_LDFLAGS = -module -avoid-version -shared - - error_gen_la_SOURCES = error-gen.c - error_gen_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -diff -ur a/xlators/debug/io-stats/src/Makefile.am b/xlators/debug/io-stats/src/Makefile.am ---- a/xlators/debug/io-stats/src/Makefile.am 2015-08-28 10:56:17.720192456 +0200 -+++ b/xlators/debug/io-stats/src/Makefile.am 2015-08-28 10:59:35.752102136 +0200 -@@ -2,7 +2,7 @@ - xlator_LTLIBRARIES = io-stats.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/debug - --io_stats_la_LDFLAGS = -module -avoid-version -+io_stats_la_LDFLAGS = -module -avoid-version -shared - - io_stats_la_SOURCES = io-stats.c - io_stats_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -diff -ur a/xlators/debug/trace/src/Makefile.am b/xlators/debug/trace/src/Makefile.am ---- a/xlators/debug/trace/src/Makefile.am 2015-08-28 10:56:17.720192456 +0200 -+++ b/xlators/debug/trace/src/Makefile.am 2015-08-28 10:59:35.752102136 +0200 -@@ -2,7 +2,7 @@ - xlator_LTLIBRARIES = trace.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/debug - --trace_la_LDFLAGS = -module -avoid-version -+trace_la_LDFLAGS = -module -avoid-version -shared - - trace_la_SOURCES = trace.c - trace_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -diff -ur a/xlators/encryption/crypt/src/Makefile.am b/xlators/encryption/crypt/src/Makefile.am ---- a/xlators/encryption/crypt/src/Makefile.am 2015-08-28 11:18:28.073021439 +0200 -+++ b/xlators/encryption/crypt/src/Makefile.am 2015-08-28 11:16:28.051864039 +0200 -@@ -3,7 +3,7 @@ - xlator_LTLIBRARIES = crypt.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/encryption - --crypt_la_LDFLAGS = -module -avoid-version -+crypt_la_LDFLAGS = -module -avoid-version -shared - - crypt_la_SOURCES = keys.c data.c metadata.c atom.c crypt.c - crypt_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -lssl -lcrypto -Only in b/xlators/encryption/crypt/src: Makefile.am.orig -Only in b/xlators/encryption/crypt/src: Makefile.am.rej -diff -ur a/xlators/encryption/rot-13/src/Makefile.am b/xlators/encryption/rot-13/src/Makefile.am ---- a/xlators/encryption/rot-13/src/Makefile.am 2015-08-28 10:56:17.720192456 +0200 -+++ b/xlators/encryption/rot-13/src/Makefile.am 2015-08-28 10:59:35.752102136 +0200 -@@ -1,7 +1,7 @@ - xlator_LTLIBRARIES = rot-13.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/encryption - --rot_13_la_LDFLAGS = -module -avoid-version -+rot_13_la_LDFLAGS = -module -avoid-version -shared - - rot_13_la_SOURCES = rot-13.c - rot_13_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -diff -ur a/xlators/features/changelog/src/Makefile.am b/xlators/features/changelog/src/Makefile.am ---- a/xlators/features/changelog/src/Makefile.am 2015-08-28 10:56:17.730192551 +0200 -+++ b/xlators/features/changelog/src/Makefile.am 2015-08-28 10:59:35.752102136 +0200 -@@ -5,7 +5,7 @@ - noinst_HEADERS = changelog-helpers.h changelog-mem-types.h changelog-rt.h \ - changelog-misc.h changelog-encoders.h changelog-notifier.h - --changelog_la_LDFLAGS = -module -avoid-version -+changelog_la_LDFLAGS = -module -avoid-version -shared - - changelog_la_SOURCES = changelog.c changelog-rt.c changelog-helpers.c \ - changelog-encoders.c changelog-notifier.c changelog-barrier.c -Only in b/xlators/features/changelog/src: Makefile.am.orig -diff -ur a/xlators/features/compress/src/Makefile.am b/xlators/features/compress/src/Makefile.am ---- a/xlators/features/compress/src/Makefile.am 2015-08-28 11:18:28.073021439 +0200 -+++ b/xlators/features/compress/src/Makefile.am 2015-08-28 11:17:19.492360095 +0200 -@@ -4,7 +4,7 @@ - - noinst_HEADERS = cdc.h cdc-mem-types.h - --cdc_la_LDFLAGS = -module -avoid-version -+cdc_la_LDFLAGS = -module -avoid-version -shared - - cdc_la_SOURCES = cdc.c cdc-helper.c - cdc_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la $(LIBZ_LIBS) -Only in b/xlators/features/compress/src: Makefile.am.rej -diff -ur a/xlators/features/gfid-access/src/Makefile.am b/xlators/features/gfid-access/src/Makefile.am ---- a/xlators/features/gfid-access/src/Makefile.am 2015-08-28 10:56:17.730192551 +0200 -+++ b/xlators/features/gfid-access/src/Makefile.am 2015-08-28 10:59:35.752102136 +0200 -@@ -1,7 +1,7 @@ - xlator_LTLIBRARIES = gfid-access.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features - --gfid_access_la_LDFLAGS = -module -avoid-version -+gfid_access_la_LDFLAGS = -module -avoid-version -shared - - gfid_access_la_SOURCES = gfid-access.c - gfid_access_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -diff -ur a/xlators/features/index/src/Makefile.am b/xlators/features/index/src/Makefile.am ---- a/xlators/features/index/src/Makefile.am 2015-08-28 10:56:17.730192551 +0200 -+++ b/xlators/features/index/src/Makefile.am 2015-08-28 10:59:35.752102136 +0200 -@@ -1,7 +1,7 @@ - xlator_LTLIBRARIES = index.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features - --index_la_LDFLAGS = -module -avoid-version -+index_la_LDFLAGS = -module -avoid-version -shared - - index_la_SOURCES = index.c - index_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -diff -ur a/xlators/features/locks/src/Makefile.am b/xlators/features/locks/src/Makefile.am ---- a/xlators/features/locks/src/Makefile.am 2015-08-28 10:56:17.730192551 +0200 -+++ b/xlators/features/locks/src/Makefile.am 2015-08-28 10:59:35.752102136 +0200 -@@ -1,7 +1,7 @@ - xlator_LTLIBRARIES = locks.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features - --locks_la_LDFLAGS = -module -avoid-version -+locks_la_LDFLAGS = -module -avoid-version -shared - - locks_la_SOURCES = common.c posix.c entrylk.c inodelk.c reservelk.c \ - clear.c -diff -ur a/xlators/features/mac-compat/src/Makefile.am b/xlators/features/mac-compat/src/Makefile.am ---- a/xlators/features/mac-compat/src/Makefile.am 2015-08-28 10:56:17.730192551 +0200 -+++ b/xlators/features/mac-compat/src/Makefile.am 2015-08-28 10:59:35.752102136 +0200 -@@ -1,7 +1,7 @@ - xlator_LTLIBRARIES = mac-compat.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features - --mac_compat_la_LDFLAGS = -module -avoid-version -+mac_compat_la_LDFLAGS = -module -avoid-version -shared - - mac_compat_la_SOURCES = mac-compat.c - mac_compat_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -diff -ur a/xlators/features/marker/src/Makefile.am b/xlators/features/marker/src/Makefile.am ---- a/xlators/features/marker/src/Makefile.am 2015-08-28 10:56:17.730192551 +0200 -+++ b/xlators/features/marker/src/Makefile.am 2015-08-28 10:59:35.752102136 +0200 -@@ -1,7 +1,7 @@ - xlator_LTLIBRARIES = marker.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features - --marker_la_LDFLAGS = -module -avoid-version -+marker_la_LDFLAGS = -module -avoid-version -shared - - marker_la_SOURCES = marker.c marker-quota.c marker-quota-helper.c marker-common.c - marker_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -diff -ur a/xlators/features/protect/src/Makefile.am b/xlators/features/protect/src/Makefile.am ---- a/xlators/features/protect/src/Makefile.am 2015-08-28 10:56:17.730192551 +0200 -+++ b/xlators/features/protect/src/Makefile.am 2015-08-28 10:59:35.752102136 +0200 -@@ -2,15 +2,15 @@ - - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features - --prot_dht_la_LDFLAGS = -module -avoid-version -+prot_dht_la_LDFLAGS = -module -avoid-version -shared - prot_dht_la_SOURCES = prot_dht.c - prot_dht_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la - --prot_client_la_LDFLAGS = -module -avoid-version -+prot_client_la_LDFLAGS = -module -avoid-version -shared - prot_client_la_SOURCES = prot_client.c - prot_client_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la - --prot_server_la_LDFLAGS = -module -avoid-version -+prot_server_la_LDFLAGS = -module -avoid-version -shared - prot_server_la_SOURCES = prot_server.c - prot_server_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la - -diff -ur a/xlators/features/qemu-block/src/Makefile.am b/xlators/features/qemu-block/src/Makefile.am ---- a/xlators/features/qemu-block/src/Makefile.am 2015-08-28 10:56:17.730192551 +0200 -+++ b/xlators/features/qemu-block/src/Makefile.am 2015-08-28 11:03:19.464259458 +0200 -@@ -2,7 +2,7 @@ - xlator_LTLIBRARIES = qemu-block.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features - --qemu_block_la_LDFLAGS = -module -avoid-version -+qemu_block_la_LDFLAGS = -module -avoid-version -shared - qemu_block_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la $(GLIB_LIBS) $(ZLIB_LIBS) -lrt - - qemu_block_la_SOURCES_qemu = \ -Only in b/xlators/features/qemu-block/src: Makefile.am.orig -Only in b/xlators/features/qemu-block/src: Makefile.am.rej -diff -ur a/xlators/features/quiesce/src/Makefile.am b/xlators/features/quiesce/src/Makefile.am ---- a/xlators/features/quiesce/src/Makefile.am 2015-08-28 10:56:17.730192551 +0200 -+++ b/xlators/features/quiesce/src/Makefile.am 2015-08-28 10:59:35.752102136 +0200 -@@ -1,7 +1,7 @@ - xlator_LTLIBRARIES = quiesce.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features - --quiesce_la_LDFLAGS = -module -avoid-version -+quiesce_la_LDFLAGS = -module -avoid-version -shared - - quiesce_la_SOURCES = quiesce.c - quiesce_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -diff -ur a/xlators/features/quota/src/Makefile.am b/xlators/features/quota/src/Makefile.am ---- a/xlators/features/quota/src/Makefile.am 2015-08-28 10:56:17.730192551 +0200 -+++ b/xlators/features/quota/src/Makefile.am 2015-08-28 10:59:35.752102136 +0200 -@@ -1,8 +1,8 @@ - xlator_LTLIBRARIES = quota.la quotad.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features - --quota_la_LDFLAGS = -module -avoid-version --quotad_la_LDFLAGS = -module -avoid-version -+quota_la_LDFLAGS = -module -avoid-version -shared -+quotad_la_LDFLAGS = -module -avoid-version -shared - - quota_la_SOURCES = quota.c quota-enforcer-client.c - quota_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -diff -ur a/xlators/features/read-only/src/Makefile.am b/xlators/features/read-only/src/Makefile.am ---- a/xlators/features/read-only/src/Makefile.am 2015-08-28 10:56:17.730192551 +0200 -+++ b/xlators/features/read-only/src/Makefile.am 2015-08-28 10:59:35.752102136 +0200 -@@ -4,12 +4,12 @@ - - noinst_HEADERS = read-only-common.h - --read_only_la_LDFLAGS = -module -avoid-version -+read_only_la_LDFLAGS = -module -avoid-version -shared - - read_only_la_SOURCES = read-only.c read-only-common.c - read_only_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la - --worm_la_LDFLAGS = -module -avoid-version -+worm_la_LDFLAGS = -module -avoid-version -shared - - worm_la_SOURCES = read-only-common.c worm.c - worm_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -diff -ur a/xlators/mgmt/glusterd/src/Makefile.am b/xlators/mgmt/glusterd/src/Makefile.am ---- a/xlators/mgmt/glusterd/src/Makefile.am 2015-08-28 10:56:17.730192551 +0200 -+++ b/xlators/mgmt/glusterd/src/Makefile.am 2015-08-28 10:59:35.752102136 +0200 -@@ -1,7 +1,7 @@ - xlator_LTLIBRARIES = glusterd.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/mgmt - glusterd_la_CPPFLAGS = $(AM_CPPFLAGS) "-DFILTERDIR=\"$(libdir)/glusterfs/$(PACKAGE_VERSION)/filter\"" --glusterd_la_LDFLAGS = -module -avoid-version -+glusterd_la_LDFLAGS = -module -avoid-version -shared - if ENABLE_BD_XLATOR - glusterd_la_LDFLAGS += -llvm2app - endif -diff -ur a/xlators/mount/fuse/src/Makefile.am b/xlators/mount/fuse/src/Makefile.am ---- a/xlators/mount/fuse/src/Makefile.am 2015-08-28 10:56:17.720192456 +0200 -+++ b/xlators/mount/fuse/src/Makefile.am 2015-08-28 10:59:35.752102136 +0200 -@@ -26,7 +26,7 @@ - fuse_la_SOURCES = fuse-helpers.c fuse-resolve.c fuse-bridge.c \ - $(CONTRIBDIR)/fuse-lib/misc.c $(mount_source) - --fuse_la_LDFLAGS = -module -avoid-version -+fuse_la_LDFLAGS = -module -avoid-version -shared - fuse_la_LIBADD = @GF_FUSE_LDADD@ - - AM_CPPFLAGS = $(GF_CPPFLAGS) \ -Only in b/xlators/mount/fuse/src: Makefile.am.orig -diff -ur a/xlators/nfs/server/src/Makefile.am b/xlators/nfs/server/src/Makefile.am ---- a/xlators/nfs/server/src/Makefile.am 2015-08-28 10:56:17.740192649 +0200 -+++ b/xlators/nfs/server/src/Makefile.am 2015-08-28 10:59:35.752102136 +0200 -@@ -1,7 +1,7 @@ - xlator_LTLIBRARIES = server.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/nfs - nfsrpclibdir = $(top_srcdir)/rpc/rpc-lib/src --server_la_LDFLAGS = -module -avoid-version -+server_la_LDFLAGS = -module -avoid-version -shared - server_la_SOURCES = nfs.c nfs-common.c nfs-fops.c nfs-inodes.c \ - nfs-generics.c mount3.c nfs3-fh.c nfs3.c nfs3-helpers.c nlm4.c \ - nlmcbk_svc.c mount3udp_svc.c acl3.c -diff -ur a/xlators/performance/io-cache/src/Makefile.am b/xlators/performance/io-cache/src/Makefile.am ---- a/xlators/performance/io-cache/src/Makefile.am 2015-08-28 10:56:17.730192551 +0200 -+++ b/xlators/performance/io-cache/src/Makefile.am 2015-08-28 10:59:35.752102136 +0200 -@@ -1,7 +1,7 @@ - xlator_LTLIBRARIES = io-cache.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/performance - --io_cache_la_LDFLAGS = -module -avoid-version -+io_cache_la_LDFLAGS = -module -avoid-version -shared - - io_cache_la_SOURCES = io-cache.c page.c ioc-inode.c - io_cache_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -diff -ur a/xlators/performance/io-threads/src/Makefile.am b/xlators/performance/io-threads/src/Makefile.am ---- a/xlators/performance/io-threads/src/Makefile.am 2015-08-28 10:56:17.730192551 +0200 -+++ b/xlators/performance/io-threads/src/Makefile.am 2015-08-28 10:59:35.752102136 +0200 -@@ -1,7 +1,7 @@ - xlator_LTLIBRARIES = io-threads.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/performance - --io_threads_la_LDFLAGS = -module -avoid-version -+io_threads_la_LDFLAGS = -module -avoid-version -shared - - io_threads_la_SOURCES = io-threads.c - io_threads_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -diff -ur a/xlators/performance/md-cache/src/Makefile.am b/xlators/performance/md-cache/src/Makefile.am ---- a/xlators/performance/md-cache/src/Makefile.am 2015-08-28 10:56:17.730192551 +0200 -+++ b/xlators/performance/md-cache/src/Makefile.am 2015-08-28 10:59:35.752102136 +0200 -@@ -1,7 +1,7 @@ - xlator_LTLIBRARIES = md-cache.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/performance - --md_cache_la_LDFLAGS = -module -avoid-version -+md_cache_la_LDFLAGS = -module -avoid-version -shared - - md_cache_la_SOURCES = md-cache.c - md_cache_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -diff -ur a/xlators/performance/open-behind/src/Makefile.am b/xlators/performance/open-behind/src/Makefile.am ---- a/xlators/performance/open-behind/src/Makefile.am 2015-08-28 10:56:17.730192551 +0200 -+++ b/xlators/performance/open-behind/src/Makefile.am 2015-08-28 10:59:35.752102136 +0200 -@@ -1,7 +1,7 @@ - xlator_LTLIBRARIES = open-behind.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/performance - --open_behind_la_LDFLAGS = -module -avoid-version -+open_behind_la_LDFLAGS = -module -avoid-version -shared - - open_behind_la_SOURCES = open-behind.c - open_behind_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -diff -ur a/xlators/performance/quick-read/src/Makefile.am b/xlators/performance/quick-read/src/Makefile.am ---- a/xlators/performance/quick-read/src/Makefile.am 2015-08-28 10:56:17.730192551 +0200 -+++ b/xlators/performance/quick-read/src/Makefile.am 2015-08-28 10:59:35.752102136 +0200 -@@ -1,7 +1,7 @@ - xlator_LTLIBRARIES = quick-read.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/performance - --quick_read_la_LDFLAGS = -module -avoid-version -+quick_read_la_LDFLAGS = -module -avoid-version -shared - - quick_read_la_SOURCES = quick-read.c - quick_read_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -diff -ur a/xlators/performance/read-ahead/src/Makefile.am b/xlators/performance/read-ahead/src/Makefile.am ---- a/xlators/performance/read-ahead/src/Makefile.am 2015-08-28 10:56:17.720192456 +0200 -+++ b/xlators/performance/read-ahead/src/Makefile.am 2015-08-28 10:59:35.752102136 +0200 -@@ -1,7 +1,7 @@ - xlator_LTLIBRARIES = read-ahead.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/performance - --read_ahead_la_LDFLAGS = -module -avoid-version -+read_ahead_la_LDFLAGS = -module -avoid-version -shared - - read_ahead_la_SOURCES = read-ahead.c page.c - read_ahead_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -diff -ur a/xlators/performance/readdir-ahead/src/Makefile.am b/xlators/performance/readdir-ahead/src/Makefile.am ---- a/xlators/performance/readdir-ahead/src/Makefile.am 2015-08-28 10:56:17.730192551 +0200 -+++ b/xlators/performance/readdir-ahead/src/Makefile.am 2015-08-28 10:59:35.752102136 +0200 -@@ -1,7 +1,7 @@ - xlator_LTLIBRARIES = readdir-ahead.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/performance - --readdir_ahead_la_LDFLAGS = -module -avoid-version -+readdir_ahead_la_LDFLAGS = -module -avoid-version -shared - - readdir_ahead_la_SOURCES = readdir-ahead.c - readdir_ahead_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -diff -ur a/xlators/performance/symlink-cache/src/Makefile.am b/xlators/performance/symlink-cache/src/Makefile.am ---- a/xlators/performance/symlink-cache/src/Makefile.am 2015-08-28 10:56:17.730192551 +0200 -+++ b/xlators/performance/symlink-cache/src/Makefile.am 2015-08-28 10:59:35.752102136 +0200 -@@ -1,7 +1,7 @@ - xlator_LTLIBRARIES = symlink-cache.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/testing/performance - --symlink_cache_la_LDFLAGS = -module -avoid-version -+symlink_cache_la_LDFLAGS = -module -avoid-version -shared - - symlink_cache_la_SOURCES = symlink-cache.c - symlink_cache_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -diff -ur a/xlators/performance/write-behind/src/Makefile.am b/xlators/performance/write-behind/src/Makefile.am ---- a/xlators/performance/write-behind/src/Makefile.am 2015-08-28 10:56:17.730192551 +0200 -+++ b/xlators/performance/write-behind/src/Makefile.am 2015-08-28 10:59:35.752102136 +0200 -@@ -1,7 +1,7 @@ - xlator_LTLIBRARIES = write-behind.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/performance - --write_behind_la_LDFLAGS = -module -avoid-version -+write_behind_la_LDFLAGS = -module -avoid-version -shared - - write_behind_la_SOURCES = write-behind.c - write_behind_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -diff -ur a/xlators/playground/template/src/Makefile.am b/xlators/playground/template/src/Makefile.am ---- a/xlators/playground/template/src/Makefile.am 2015-08-28 10:56:17.720192456 +0200 -+++ b/xlators/playground/template/src/Makefile.am 2015-08-28 10:59:35.752102136 +0200 -@@ -1,7 +1,7 @@ - xlator_LTLIBRARIES = template.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/testing/features - --template_la_LDFLAGS = -module -avoid-version -+template_la_LDFLAGS = -module -avoid-version -shared - - template_la_SOURCES = template.c - template_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -diff -ur a/xlators/protocol/auth/addr/src/Makefile.am b/xlators/protocol/auth/addr/src/Makefile.am ---- a/xlators/protocol/auth/addr/src/Makefile.am 2015-08-28 10:56:17.740192649 +0200 -+++ b/xlators/protocol/auth/addr/src/Makefile.am 2015-08-28 10:59:35.752102136 +0200 -@@ -1,7 +1,7 @@ - auth_LTLIBRARIES = addr.la - authdir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/auth - --addr_la_LDFLAGS = -module -avoid-version -+addr_la_LDFLAGS = -module -avoid-version -shared - - addr_la_SOURCES = addr.c - addr_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -diff -ur a/xlators/protocol/auth/login/src/Makefile.am b/xlators/protocol/auth/login/src/Makefile.am ---- a/xlators/protocol/auth/login/src/Makefile.am 2015-08-28 10:56:17.740192649 +0200 -+++ b/xlators/protocol/auth/login/src/Makefile.am 2015-08-28 10:59:35.752102136 +0200 -@@ -1,7 +1,7 @@ - auth_LTLIBRARIES = login.la - authdir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/auth - --login_la_LDFLAGS = -module -avoid-version -+login_la_LDFLAGS = -module -avoid-version -shared - - login_la_SOURCES = login.c - login_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -diff -ur a/xlators/protocol/client/src/Makefile.am b/xlators/protocol/client/src/Makefile.am ---- a/xlators/protocol/client/src/Makefile.am 2015-08-28 10:56:17.740192649 +0200 -+++ b/xlators/protocol/client/src/Makefile.am 2015-08-28 10:59:35.752102136 +0200 -@@ -2,7 +2,7 @@ - xlator_LTLIBRARIES = client.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/protocol - --client_la_LDFLAGS = -module -avoid-version -+client_la_LDFLAGS = -module -avoid-version -shared - - client_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la \ - $(top_builddir)/rpc/rpc-lib/src/libgfrpc.la \ -diff -ur a/xlators/protocol/server/src/Makefile.am b/xlators/protocol/server/src/Makefile.am ---- a/xlators/protocol/server/src/Makefile.am 2015-08-28 10:56:17.740192649 +0200 -+++ b/xlators/protocol/server/src/Makefile.am 2015-08-28 10:59:35.752102136 +0200 -@@ -1,7 +1,7 @@ - xlator_LTLIBRARIES = server.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/protocol - --server_la_LDFLAGS = -module -avoid-version -+server_la_LDFLAGS = -module -avoid-version -shared - - server_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la \ - $(top_builddir)/rpc/rpc-lib/src/libgfrpc.la \ -diff -ur a/xlators/storage/bd/src/Makefile.am b/xlators/storage/bd/src/Makefile.am ---- a/xlators/storage/bd/src/Makefile.am 2015-08-28 10:56:17.720192456 +0200 -+++ b/xlators/storage/bd/src/Makefile.am 2015-08-28 10:59:35.752102136 +0200 -@@ -2,7 +2,7 @@ - xlator_LTLIBRARIES = bd.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/storage - --bd_la_LDFLAGS = -module -avoid-version -+bd_la_LDFLAGS = -module -avoid-version -shared - LIBBD = -llvm2app -lrt - bd_la_SOURCES = bd.c bd-helper.c bd-aio.c - bd_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la $(LIBBD) $(LIBAIO) -diff -ur a/xlators/storage/posix/src/Makefile.am b/xlators/storage/posix/src/Makefile.am ---- a/xlators/storage/posix/src/Makefile.am 2015-08-28 10:56:17.720192456 +0200 -+++ b/xlators/storage/posix/src/Makefile.am 2015-08-28 10:59:35.752102136 +0200 -@@ -2,7 +2,7 @@ - xlator_LTLIBRARIES = posix.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/storage - --posix_la_LDFLAGS = -module -avoid-version -+posix_la_LDFLAGS = -module -avoid-version -shared - - posix_la_SOURCES = posix.c posix-helpers.c posix-handle.c posix-aio.c - posix_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la $(LIBAIO) -diff -ur a/xlators/system/posix-acl/src/Makefile.am b/xlators/system/posix-acl/src/Makefile.am ---- a/xlators/system/posix-acl/src/Makefile.am 2015-08-28 10:56:17.720192456 +0200 -+++ b/xlators/system/posix-acl/src/Makefile.am 2015-08-28 10:59:35.752102136 +0200 -@@ -1,6 +1,6 @@ - xlator_LTLIBRARIES = posix-acl.la - xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/system --posix_acl_la_LDFLAGS = -module -avoid-version -+posix_acl_la_LDFLAGS = -module -avoid-version -shared - posix_acl_la_SOURCES = posix-acl.c posix-acl-xattr.c - posix_acl_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la - diff --git a/sys-cluster/glusterfs/files/glusterfs-r1.initd b/sys-cluster/glusterfs/files/glusterfs-r1.initd deleted file mode 100644 index 717ee79..0000000 --- a/sys-cluster/glusterfs/files/glusterfs-r1.initd +++ /dev/null @@ -1,122 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -if [[ "${SVCNAME}" != "glusterfs" ]] -then - GLUSTERFS_NAME="${SVCNAME#glusterfs.}" -else - GLUSTERFS_NAME="glusterfs" -fi - -GLUSTERFS_PIDFILE="/var/run/${SVCNAME}.pid" - -eval 'GLUSTERFS_LOGFILE="${'${GLUSTERFS_NAME}'_log:-/var/log/glusterfs/'${GLUSTERFS_NAME}'.log}"' -eval 'GLUSTERFS_VOLFILE="${'${GLUSTERFS_NAME}'_vol:-/etc/glusterfs/'${GLUSTERFS_NAME}'.vol}"' -eval 'GLUSTERFS_SERVER="${'${GLUSTERFS_NAME}'_server}"' -eval 'GLUSTERFS_PORT="${'${GLUSTERFS_NAME}'_port:-6996}"' -eval 'GLUSTERFS_TRANSPORT="${'${GLUSTERFS_NAME}'_transport:-socket}"' -eval 'GLUSTERFS_OPTS="${'${GLUSTERFS_NAME}'_opts}"' -eval 'GLUSTERFS_MOUNTPOINT="${'${GLUSTERFS_NAME}'_mountpoint}"' - -depend() { - need net - [[ -n "${GLUSTERFS_MOUNTPOINT}" ]] && need fuse - use dns - before netmount - after firewall ntp-client ntpd -} - -checkconfig() { - if [[ -z "${GLUSTERFS_NAME}" ]] - then - eerror "The service name is not properly formatted." - return 1 - fi - - if [[ -z "${GLUSTERFS_SERVER}" ]] - then - if [[ -z "${GLUSTERFS_VOLFILE}" ]] - then - eerror "No GlusterFS volume file source has been defined. Edit /etc/conf.d/glusterfs" - eerror "and configure a volume file source for ${SVCNAME}." - return 1 - else - if [[ ! -f "${GLUSTERFS_VOLFILE}" ]] - then - eerror "Cannot find volume file: ${GLUSTERFS_VOLFILE}" - return 1 - fi - fi - fi - - if [[ -n "${GLUSTERFS_MOUNTPOINT}" && ! -d "${GLUSTERFS_MOUNTPOINT}" ]] - then - eerror "The mountpoint ${GLUSTERFS_MOUNTPOINT} does not exist." - return 1 - fi -} - -start() { - local status daemon - - checkconfig || return 1 - - ebegin "Starting GlusterFS (${SVCNAME})" - eindent - - if [[ -z "${GLUSTERFS_MOUNTPOINT}" ]] - then - einfo "Starting in server mode ..." - daemon="glusterfsd" - else - einfo "Starting in client mode. Mounting filesystem ..." - daemon="glusterfs" - fi - - if [[ -n "${GLUSTERFS_SERVER}" ]] - then - einfo "Using server supplied volume file" - start-stop-daemon --start --pidfile ${GLUSTERFS_PIDFILE} \ - --exec /usr/sbin/${daemon} -- \ - --pid-file=${GLUSTERFS_PIDFILE} \ - --log-file=${GLUSTERFS_LOGFILE} \ - --volfile-server=${GLUSTERFS_SERVER} \ - --volfile-server-port=${GLUSTERFS_PORT} \ - --volfile-server-transport=${GLUSTERFS_TRANSPORT} \ - ${GLUSTERFS_OPTS} ${GLUSTERFS_MOUNTPOINT} - status="$?" - else - einfo "Using local volume file" - start-stop-daemon --start --pidfile ${GLUSTERFS_PIDFILE} \ - --exec /usr/sbin/${daemon} -- \ - --pid-file=${GLUSTERFS_PIDFILE} \ - --log-file=${GLUSTERFS_LOGFILE} \ - --volfile=${GLUSTERFS_VOLFILE} \ - ${GLUSTERFS_OPTS} ${GLUSTERFS_MOUNTPOINT} - status="$?" - fi - - eoutdent - eend ${status} -} - -stop() { - local status - - ebegin "Stopping GlusterFS (${SVCNAME})" - eindent - if [[ -z "${GLUSTERFS_MOUNTPOINT}" ]] - then - einfo "Stopping server process ..." - start-stop-daemon --stop --pidfile ${GLUSTERFS_PIDFILE} - status="$?" - else - einfo "Unmounting ${GLUSTERFS_MOUNTPOINT} ..." - umount "${GLUSTERFS_MOUNTPOINT}" - status="$?" - fi - eoutdent - eend ${status} -} diff --git a/sys-cluster/glusterfs/files/glusterfs.confd b/sys-cluster/glusterfs/files/glusterfs.confd deleted file mode 100644 index 257d0a8..0000000 --- a/sys-cluster/glusterfs/files/glusterfs.confd +++ /dev/null @@ -1,6 +0,0 @@ -#glusterfsd_mountpoint="" -#glusterfsd_log="" -#glusterfsd_vol="" -#glusterfsd_port="" -#glusterfsd_transport="" -#glusterfsd_opts="" diff --git a/sys-cluster/glusterfs/files/glusterfs.logrotate b/sys-cluster/glusterfs/files/glusterfs.logrotate deleted file mode 100644 index 07ae7b9..0000000 --- a/sys-cluster/glusterfs/files/glusterfs.logrotate +++ /dev/null @@ -1,34 +0,0 @@ -# Rotate client logs -/var/log/glusterfs/*.log { - weekly - rotate 52 - missingok - - # compress the logs, but from the .2 onwards - compress - delaycompress - notifempty - - sharedscripts - postrotate - /usr/bin/killall -HUP glusterfs > /dev/null 2>&1 || true - /usr/bin/killall -HUP glusterd > /dev/null 2>&1 || true - endscript -} - -# Rotate server logs -/var/log/glusterfs/bricks/*.log { - weekly - rotate 52 - missingok - - # compress the logs, but from the .2 onwards - compress - delaycompress - notifempty - - sharedscripts - postrotate - /usr/bin/killall -HUP glusterfsd > /dev/null 2>&1 || true - endscript -} diff --git a/sys-cluster/glusterfs/files/glusterfs.vim b/sys-cluster/glusterfs/files/glusterfs.vim deleted file mode 100644 index bbb9cb1..0000000 --- a/sys-cluster/glusterfs/files/glusterfs.vim +++ /dev/null @@ -1,8 +0,0 @@ -if &compatible || v:version < 603 - finish -endif - - -" GlusterFS Volume files -au BufNewFile,BufRead *.vol - \ set filetype=glusterfs |