aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-extended
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2018-04-13 08:28:21 +0800
committerBruce Ashfield <bruce.ashfield@windriver.com>2018-04-13 15:55:13 -0400
commitf34fab4825f838f242ba3c953974d17acfe4403d (patch)
treeb60bd84b849d9058071d497d5950d0a46f28dfb0 /recipes-extended
parent71e038b0094a028f1a41387e6e097cbbf20e485a (diff)
downloadmeta-cloud-services-f34fab4825f838f242ba3c953974d17acfe4403d.tar.gz
meta-cloud-services-f34fab4825f838f242ba3c953974d17acfe4403d.tar.bz2
meta-cloud-services-f34fab4825f838f242ba3c953974d17acfe4403d.zip
glusterfs: refresh patches to fix QA warning
Refresh patches with devtool command to fix do_patch warning. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-extended')
-rw-r--r--recipes-extended/glusterfs/files/configure.ac-allow-PYTHON-values-to-be-passed-via-en.patch12
-rw-r--r--recipes-extended/glusterfs/files/dependence-on-correct-header-file-path.patch12
-rw-r--r--recipes-extended/glusterfs/files/glusterd-change-port-range.patch9
-rw-r--r--recipes-extended/glusterfs/files/glusterfs-api-remove-unnecessary-library-options.patch6
-rw-r--r--recipes-extended/glusterfs/files/glusterfs-change-default-nfs-port-number.patch9
-rw-r--r--recipes-extended/glusterfs/files/glusterfs-configure-automake-with-subdir-objects-for.patch8
-rw-r--r--recipes-extended/glusterfs/files/glusterfs-disable-default-startup-scripts.patch9
-rw-r--r--recipes-extended/glusterfs/files/libglusterfs-Don-t-link-against-libfl.patch12
-rw-r--r--recipes-extended/glusterfs/files/python-work-around-host-and-target-python.patch8
-rw-r--r--recipes-extended/glusterfs/files/xlator-host-contamination-3.4.patch23
10 files changed, 53 insertions, 55 deletions
diff --git a/recipes-extended/glusterfs/files/configure.ac-allow-PYTHON-values-to-be-passed-via-en.patch b/recipes-extended/glusterfs/files/configure.ac-allow-PYTHON-values-to-be-passed-via-en.patch
index a33ffce3..e146f7d6 100644
--- a/recipes-extended/glusterfs/files/configure.ac-allow-PYTHON-values-to-be-passed-via-en.patch
+++ b/recipes-extended/glusterfs/files/configure.ac-allow-PYTHON-values-to-be-passed-via-en.patch
@@ -1,4 +1,4 @@
-From d535a5448191d433e328b0a25a0710da203c44e7 Mon Sep 17 00:00:00 2001
+From ff524f14ba93eb422963c8009a108516639d9b3a Mon Sep 17 00:00:00 2001
From: Yi Zhao <yi.zhao@windriver.com>
Date: Wed, 19 Jul 2017 09:40:57 +0800
Subject: [PATCH] configure.ac: allow PYTHON values to be passed via env
@@ -8,15 +8,16 @@ Allow the recipe can specify specific values for PYTHON.
Upstream-Status: Inappropriate [embedded specific]
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
+
---
configure.ac | 26 ++++++++++----------------
1 file changed, 10 insertions(+), 16 deletions(-)
diff --git a/configure.ac b/configure.ac
-index 43efd6d..7a31038 100644
+index 8e0652a..f49b9b3 100644
--- a/configure.ac
+++ b/configure.ac
-@@ -544,9 +544,6 @@ fi
+@@ -546,9 +546,6 @@ fi
dnl Check if version matches that we require
PYTHONDEV_CPPFLAGS=
PYTHONDEV_LDFLAGS=
@@ -26,7 +27,7 @@ index 43efd6d..7a31038 100644
have_python2=no
have_Python_h=no
-@@ -555,25 +552,22 @@ if echo $PYTHON_VERSION | grep -q ^2; then
+@@ -557,25 +554,22 @@ if echo $PYTHON_VERSION | grep -q ^2; then
dnl Use pkg-config to get runtime search patch missing from ${PYTHON}-config
dnl Just do "true" on failure so that configure does not bail out
@@ -62,6 +63,3 @@ index 43efd6d..7a31038 100644
AC_SUBST(BUILD_PYTHON_SITE_PACKAGES)
AC_SUBST(BUILD_PYTHON_INC)
AC_SUBST(BUILD_PYTHON_LIB)
---
-1.9.1
-
diff --git a/recipes-extended/glusterfs/files/dependence-on-correct-header-file-path.patch b/recipes-extended/glusterfs/files/dependence-on-correct-header-file-path.patch
index ff885f1e..4096cd5f 100644
--- a/recipes-extended/glusterfs/files/dependence-on-correct-header-file-path.patch
+++ b/recipes-extended/glusterfs/files/dependence-on-correct-header-file-path.patch
@@ -1,4 +1,4 @@
-From f5bb2a133292b37cd45e3c393e4d43364fe9a11a Mon Sep 17 00:00:00 2001
+From e585cea1d27be3769c33cf1c0a38bf0de41e2bf9 Mon Sep 17 00:00:00 2001
From: Xulin Sun <xulin.sun@windriver.com>
Date: Tue, 22 Mar 2016 16:05:32 +0800
Subject: [PATCH] dependence on correct header file path
@@ -10,12 +10,13 @@ No such file or directory
Upstream-Status: Inappropriate [embedded specific]
Signed-off-by: Xulin Sun <xulin.sun@windriver.com>
+
---
xlators/features/glupy/src/glupy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xlators/features/glupy/src/glupy.c b/xlators/features/glupy/src/glupy.c
-index 7bb88c0..648b966 100644
+index bca4764..7c2b271 100644
--- a/xlators/features/glupy/src/glupy.c
+++ b/xlators/features/glupy/src/glupy.c
@@ -10,7 +10,7 @@
@@ -25,8 +26,5 @@ index 7bb88c0..648b966 100644
-#include <Python.h>
+#include <python2.7/Python.h>
- #ifndef _CONFIG_H
- #define _CONFIG_H
---
-1.9.1
-
+ #include "glusterfs.h"
+ #include "xlator.h"
diff --git a/recipes-extended/glusterfs/files/glusterd-change-port-range.patch b/recipes-extended/glusterfs/files/glusterd-change-port-range.patch
index 04684604..884a5f06 100644
--- a/recipes-extended/glusterfs/files/glusterd-change-port-range.patch
+++ b/recipes-extended/glusterfs/files/glusterd-change-port-range.patch
@@ -1,4 +1,7 @@
-glusterd: change port range
+From 0102ca092047f51b936d39af966f19b23548c606 Mon Sep 17 00:00:00 2001
+From: Vu Tran <vu.tran@windriver.com>
+Date: Wed, 26 Jul 2017 08:42:09 +0800
+Subject: [PATCH] glusterd: change port range
glusterfsd chooses tcp ports within the dynamic
range [49152-65535] to provide its service. When
@@ -19,6 +22,7 @@ Signed-off-by: Vu Tran <vu.tran@windriver.com>
Signed-off-by: Xulin Sun <xulin.sun@windriver.com>
[Yi: minor adjust to apply the patch on 3.11.1]
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
+
---
extras/glusterd.vol | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -34,6 +38,3 @@ index d882007..c8dfe91 100644
-# option base-port 49152
+# option base-port 59152
end-volume
---
-1.9.1
-
diff --git a/recipes-extended/glusterfs/files/glusterfs-api-remove-unnecessary-library-options.patch b/recipes-extended/glusterfs/files/glusterfs-api-remove-unnecessary-library-options.patch
index 96d73525..5b549740 100644
--- a/recipes-extended/glusterfs/files/glusterfs-api-remove-unnecessary-library-options.patch
+++ b/recipes-extended/glusterfs/files/glusterfs-api-remove-unnecessary-library-options.patch
@@ -1,4 +1,4 @@
-From a7e6549389f7358cad6a04544b2c1e4d2d5615d0 Mon Sep 17 00:00:00 2001
+From 61075d7e4459e4cb9168d1c423ac56db240bb463 Mon Sep 17 00:00:00 2001
From: Jim Somerville <Jim.Somerville@windriver.com>
Date: Wed, 12 Feb 2014 15:41:50 +0000
Subject: [PATCH] glusterfs-api remove unnecessary library options
@@ -11,6 +11,7 @@ Upstream-Status: Inappropriate [embedded specific]
Signed-off-by: Jim Somerville <Jim.Somerville@windriver.com>
Signed-off-by: Xulin Sun <xulin.sun@windriver.com>
+
---
glusterfs-api.pc.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -26,6 +27,3 @@ index 5d23454..8a602f6 100644
-Libs: -L${libdir} @GFAPI_LIBS@ -lgfapi -lglusterfs -lgfrpc -lgfxdr
+Libs: -lgfapi -lglusterfs -lgfrpc -lgfxdr
Cflags: -I${includedir}/glusterfs -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64 -DUSE_POSIX_ACLS=@USE_POSIX_ACLS@
---
-1.9.1
-
diff --git a/recipes-extended/glusterfs/files/glusterfs-change-default-nfs-port-number.patch b/recipes-extended/glusterfs/files/glusterfs-change-default-nfs-port-number.patch
index 81439d11..874f7de6 100644
--- a/recipes-extended/glusterfs/files/glusterfs-change-default-nfs-port-number.patch
+++ b/recipes-extended/glusterfs/files/glusterfs-change-default-nfs-port-number.patch
@@ -1,4 +1,7 @@
-glusterfs: change default nfs port number
+From 9fdaa80b4c933e8f0e97dfde2ba25ed4cea834d5 Mon Sep 17 00:00:00 2001
+From: Vu Tran <vu.tran@windriver.com>
+Date: Wed, 26 Jul 2017 08:42:09 +0800
+Subject: [PATCH] glusterfs: change default nfs port number
Currently both native nfs and glusterfs-nfs use NFS well
known port 2049. This causes native nfs not to be able
@@ -27,6 +30,7 @@ Signed-off-by: Vu Tran <vu.tran@windriver.com>
Signed-off-by: Xulin Sun <xulin.sun@windriver.com>
[Yi: minor adjust to apply the patch on 3.11.1]
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
+
---
libglusterfs/src/common-utils.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -44,6 +48,3 @@ index 6bd2417..25a92b0 100644
#define GF_CLIENT_PORT_CEILING 1024
#define GF_IANA_PRIV_PORTS_START 49152 /* RFC 6335 */
---
-1.9.1
-
diff --git a/recipes-extended/glusterfs/files/glusterfs-configure-automake-with-subdir-objects-for.patch b/recipes-extended/glusterfs/files/glusterfs-configure-automake-with-subdir-objects-for.patch
index f385578b..8f3c854a 100644
--- a/recipes-extended/glusterfs/files/glusterfs-configure-automake-with-subdir-objects-for.patch
+++ b/recipes-extended/glusterfs/files/glusterfs-configure-automake-with-subdir-objects-for.patch
@@ -1,4 +1,4 @@
-From 32dffb85c81480d53e639ef84242ccfca26461f9 Mon Sep 17 00:00:00 2001
+From bb34fd21ae26005cf099928f41e68a0d98685eba Mon Sep 17 00:00:00 2001
From: Xulin Sun <xulin.sun@windriver.com>
Date: Mon, 21 Mar 2016 17:32:50 +0800
Subject: [PATCH] glusterfs: configure: automake with subdir-objects & foreign
@@ -10,12 +10,13 @@ autoconf execution failed when using automake 1.14 around version.
Upstream-Status: Pending
Signed-off-by: Xulin Sun <xulin.sun@windriver.com>
+
---
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
-index ff746ff..983572e 100644
+index 43efd6d..8ce28f6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -13,11 +13,11 @@ AC_INIT([glusterfs],
@@ -32,6 +33,3 @@ index ff746ff..983572e 100644
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES(yes)])
---
-1.9.1
-
diff --git a/recipes-extended/glusterfs/files/glusterfs-disable-default-startup-scripts.patch b/recipes-extended/glusterfs/files/glusterfs-disable-default-startup-scripts.patch
index cbff10ed..dbc81b67 100644
--- a/recipes-extended/glusterfs/files/glusterfs-disable-default-startup-scripts.patch
+++ b/recipes-extended/glusterfs/files/glusterfs-disable-default-startup-scripts.patch
@@ -1,3 +1,8 @@
+From 08b55ee9ccb02db0519ddc9902025e191c1500b1 Mon Sep 17 00:00:00 2001
+From: Donn Seeley <donn.seeley@windriver.com>
+Date: Fri, 28 Feb 2014 09:11:02 -0500
+Subject: [PATCH] Add the glusterfs package
+
The glusterfs code for installing start-up scripts checks for systemd
directories on the build host, and if it finds them, it chooses systemd
style scripts, otherwise init.d style scripts. This behavior might
@@ -13,6 +18,7 @@ Signed-off-by: Donn Seeley <donn.seeley@windriver.com>
Signed-off-by: Xulin Sun <xulin.sun@windriver.com>
[Yi: minor adjust to apply the patch on 3.11.1]
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
+
---
extras/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -30,6 +36,3 @@ index 3af1103..8978dde 100644
$(GEOREP_EXTRAS_SUBDIR) snap_scheduler firewalld cliutils
confdir = $(sysconfdir)/glusterfs
---
-1.9.1
-
diff --git a/recipes-extended/glusterfs/files/libglusterfs-Don-t-link-against-libfl.patch b/recipes-extended/glusterfs/files/libglusterfs-Don-t-link-against-libfl.patch
index 97548a5b..27b08a8d 100644
--- a/recipes-extended/glusterfs/files/libglusterfs-Don-t-link-against-libfl.patch
+++ b/recipes-extended/glusterfs/files/libglusterfs-Don-t-link-against-libfl.patch
@@ -1,4 +1,4 @@
-From c8be736bd972bb40b03a34bf9565e1bf4880fa7f Mon Sep 17 00:00:00 2001
+From d4109317c70c86a67464b7deebbe0c3de88773e1 Mon Sep 17 00:00:00 2001
From: Xulin Sun <xulin.sun@windriver.com>
Date: Fri, 25 Mar 2016 12:33:04 +0800
Subject: [PATCH] libglusterfs: Don't link against libfl
@@ -11,16 +11,17 @@ undefined references to yylex.
Upstream-Status: Inappropriate [embedded specific]
Signed-off-by: Xulin Sun <xulin.sun@windriver.com>
+
---
libglusterfs/src/Makefile.am | 2 +-
libglusterfs/src/graph.l | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/libglusterfs/src/Makefile.am b/libglusterfs/src/Makefile.am
-index 85886c1..e90f553 100644
+index 52b7316..ab5567a 100644
--- a/libglusterfs/src/Makefile.am
+++ b/libglusterfs/src/Makefile.am
-@@ -8,7 +8,7 @@ libglusterfs_la_CPPFLAGS = $(GF_CPPFLAGS) -D__USE_FILE_OFFSET64 \
+@@ -11,7 +11,7 @@ libglusterfs_la_CPPFLAGS = $(GF_CPPFLAGS) -D__USE_FILE_OFFSET64 \
-I$(CONTRIBDIR)/libexecinfo ${ARGP_STANDALONE_CPPFLAGS} \
-DSBIN_DIR=\"$(sbindir)\" -I$(CONTRIBDIR)/timer-wheel
@@ -30,7 +31,7 @@ index 85886c1..e90f553 100644
lib_LTLIBRARIES = libglusterfs.la
diff --git a/libglusterfs/src/graph.l b/libglusterfs/src/graph.l
-index e4eba9c..78c6ef8 100644
+index 8af28a4..742d934 100644
--- a/libglusterfs/src/graph.l
+++ b/libglusterfs/src/graph.l
@@ -11,6 +11,7 @@
@@ -41,6 +42,3 @@ index e4eba9c..78c6ef8 100644
%{
#define YYSTYPE char *
---
-1.9.1
-
diff --git a/recipes-extended/glusterfs/files/python-work-around-host-and-target-python.patch b/recipes-extended/glusterfs/files/python-work-around-host-and-target-python.patch
index 9bb90d70..d70a1031 100644
--- a/recipes-extended/glusterfs/files/python-work-around-host-and-target-python.patch
+++ b/recipes-extended/glusterfs/files/python-work-around-host-and-target-python.patch
@@ -1,4 +1,4 @@
-From 485cf109af4adf3050b558cf16c61b620d7b9fb0 Mon Sep 17 00:00:00 2001
+From fbe4fdfddb096e4e6650908929c366dcc9556ade Mon Sep 17 00:00:00 2001
From: Mark Asselstine <mark.asselstine@windriver.com>
Date: Thu, 27 Feb 2014 21:50:40 -0500
Subject: [PATCH] python: work around host and target python
@@ -18,6 +18,7 @@ Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Xulin Sun <xulin.sun@windriver.com>
[Yi: minor adjust the code to apply the patch on 3.11.1]
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
+
---
configure.ac | 2 ++
geo-replication/src/Makefile.am | 3 ++-
@@ -25,7 +26,7 @@ Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
3 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/configure.ac b/configure.ac
-index 7a31038..e54d92b 100644
+index 8ce28f6..8e0652a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -270,6 +270,8 @@ AC_CANONICAL_HOST
@@ -76,6 +77,3 @@ index 2c48ca5..b1d1126 100644
strcmp (basename (buf + strlen (buf) + 1), GSYNCD_PY)) == 0) {
ret = 1;
break;
---
-1.9.1
-
diff --git a/recipes-extended/glusterfs/files/xlator-host-contamination-3.4.patch b/recipes-extended/glusterfs/files/xlator-host-contamination-3.4.patch
index 7d26ecf2..805c00ac 100644
--- a/recipes-extended/glusterfs/files/xlator-host-contamination-3.4.patch
+++ b/recipes-extended/glusterfs/files/xlator-host-contamination-3.4.patch
@@ -1,3 +1,8 @@
+From 79c943bba37cb10a462038ec56cd2b8045344951 Mon Sep 17 00:00:00 2001
+From: Donn Seeley <donn.seeley@windriver.com>
+Date: Fri, 28 Feb 2014 09:11:02 -0500
+Subject: [PATCH] Add the glusterfs package
+
Three of the translator makefiles in glusterfs add unnecessary
-L$(xlatordir) link options. This option causes the linker to check
the host's $(xlatordir) directory, resulting in contamination that gets
@@ -8,6 +13,7 @@ Upstream-Status: Pending
Signed-off-by: Donn Seeley <donn.seeley@windriver.com>
[Xulin: minor adjust to apply the patch]
Signed-off-by: Xuin Sun <xulin.sun@windriver.com>
+
---
xlators/mgmt/glusterd/src/Makefile.am | 2 +-
xlators/nfs/server/src/Makefile.am | 2 --
@@ -15,10 +21,10 @@ Signed-off-by: Xuin Sun <xulin.sun@windriver.com>
3 files changed, 1 insertion(+), 5 deletions(-)
diff --git a/xlators/mgmt/glusterd/src/Makefile.am b/xlators/mgmt/glusterd/src/Makefile.am
-index a8f27fb..8243bf0 100644
+index b0f5a9b..0caad43 100644
--- a/xlators/mgmt/glusterd/src/Makefile.am
+++ b/xlators/mgmt/glusterd/src/Makefile.am
-@@ -54,7 +54,7 @@ AM_CPPFLAGS = $(GF_CPPFLAGS) -I$(top_srcdir)/libglusterfs/src \
+@@ -55,7 +55,7 @@ AM_CPPFLAGS = $(GF_CPPFLAGS) -I$(top_srcdir)/libglusterfs/src \
AM_CFLAGS = -Wall $(GF_CFLAGS) $(URCU_CFLAGS) $(URCU_CDS_CFLAGS)
@@ -28,21 +34,23 @@ index a8f27fb..8243bf0 100644
CLEANFILES =
diff --git a/xlators/nfs/server/src/Makefile.am b/xlators/nfs/server/src/Makefile.am
-index f91bbcf..b16bb9b 100644
+index bc6f8e9..56086a1 100644
--- a/xlators/nfs/server/src/Makefile.am
+++ b/xlators/nfs/server/src/Makefile.am
-@@ -22,6 +22,4 @@ AM_CPPFLAGS = $(GF_CPPFLAGS) \
+@@ -25,8 +25,6 @@ AM_CPPFLAGS = $(GF_CPPFLAGS) \
AM_CFLAGS = -Wall $(GF_CFLAGS)
-AM_LDFLAGS = -L$(xlatordir)
-
CLEANFILES =
+
+ EXTRA_DIST = nfsserver.sym
diff --git a/xlators/system/posix-acl/src/Makefile.am b/xlators/system/posix-acl/src/Makefile.am
-index bc5fbc2..0b9fabe 100644
+index f57070c..70080a6 100644
--- a/xlators/system/posix-acl/src/Makefile.am
+++ b/xlators/system/posix-acl/src/Makefile.am
-@@ -10,8 +10,6 @@ AM_CPPFLAGS = $(GF_CPPFLAGS) -I$(top_srcdir)/libglusterfs/src
+@@ -12,8 +12,6 @@ AM_CPPFLAGS = $(GF_CPPFLAGS) -I$(top_srcdir)/libglusterfs/src \
AM_CFLAGS = -Wall $(GF_CFLAGS)
@@ -51,6 +59,3 @@ index bc5fbc2..0b9fabe 100644
CLEANFILES =
access-control-compat:
---
-1.9.1
-