1 |
commit: 4b11c1f5a6e33903e926df0318bce9ec454bbf81 |
2 |
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Apr 16 17:45:29 2019 +0000 |
4 |
Commit: Alexys Jacob <ultrabug <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 17 21:31:40 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b11c1f5 |
7 |
|
8 |
sys-cluster/glusterfs: remove unused patches |
9 |
|
10 |
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com> |
11 |
Closes: https://github.com/gentoo/gentoo/pull/11710 |
12 |
Signed-off-by: Alexys Jacob <ultrabug <AT> gentoo.org> |
13 |
|
14 |
.../files/glusterfs-3.12.2-silent_rules.patch | 22 ---------- |
15 |
.../files/glusterfs-TIRPC-config-summary.patch | 48 ---------------------- |
16 |
.../files/glusterfs-without-ipv6-default.patch | 38 ----------------- |
17 |
3 files changed, 108 deletions(-) |
18 |
|
19 |
diff --git a/sys-cluster/glusterfs/files/glusterfs-3.12.2-silent_rules.patch b/sys-cluster/glusterfs/files/glusterfs-3.12.2-silent_rules.patch |
20 |
deleted file mode 100644 |
21 |
index d5e2727aa8d..00000000000 |
22 |
--- a/sys-cluster/glusterfs/files/glusterfs-3.12.2-silent_rules.patch |
23 |
+++ /dev/null |
24 |
@@ -1,22 +0,0 @@ |
25 |
---- a/configure.ac 2017-08-30 13:46:34.075359703 +0100 |
26 |
-+++ b/configure.ac 2017-09-07 21:28:48.110879291 +0100 |
27 |
-@@ -19,19 +19,6 @@ |
28 |
- #but libglusterfs fails to build with contrib (Then are not set up that way?) |
29 |
- #AM_INIT_AUTOMAKE([subdir-objects]) |
30 |
- |
31 |
--m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES(yes)]) |
32 |
-- |
33 |
--if make --help 2>&1 | grep -q no-print-directory; then |
34 |
-- AM_MAKEFLAGS="$AM_MAKEFLAGS --no-print-directory"; |
35 |
--fi |
36 |
-- |
37 |
--if make --help 2>&1 | grep -q quiet; then |
38 |
-- AM_MAKEFLAGS="$AM_MAKEFLAGS --quiet" |
39 |
--fi |
40 |
-- |
41 |
--if libtool --help 2>&1 | grep -q quiet; then |
42 |
-- AM_LIBTOOLFLAGS="--quiet"; |
43 |
--fi |
44 |
- |
45 |
- AC_CONFIG_HEADERS([config.h site.h]) |
46 |
- |
47 |
|
48 |
diff --git a/sys-cluster/glusterfs/files/glusterfs-TIRPC-config-summary.patch b/sys-cluster/glusterfs/files/glusterfs-TIRPC-config-summary.patch |
49 |
deleted file mode 100644 |
50 |
index c19ac7667b0..00000000000 |
51 |
--- a/sys-cluster/glusterfs/files/glusterfs-TIRPC-config-summary.patch |
52 |
+++ /dev/null |
53 |
@@ -1,48 +0,0 @@ |
54 |
-From 1e1c3cc0761879e8a2e4d4a884dacc555bbe7fa0 Mon Sep 17 00:00:00 2001 |
55 |
-From: James Le Cuirot <chewi@g.o> |
56 |
-Date: Fri, 9 Mar 2018 23:06:43 +0000 |
57 |
-Subject: [PATCH 2/2] build: Fix misleading TIRPC result in configure summary |
58 |
- |
59 |
-Requesting ipv6-default even if you explicitly disable libtirpc will |
60 |
-then implicitly enable libtirpc because that is required. That is fine |
61 |
-but the configure summary should not then show TIRPC as disabled when |
62 |
-it is not. |
63 |
- |
64 |
-The result has also been made clearer by stating that TIRPC is |
65 |
-"missing" when it has been tried but not found. |
66 |
- |
67 |
-BUG: 1553938 |
68 |
-Change-Id: I945bd6859aaf3defa682b0d05ee34a9827b9c45f |
69 |
-Signed-off-by: James Le Cuirot <chewi@g.o> |
70 |
---- |
71 |
- configure.ac | 9 ++++----- |
72 |
- 1 file changed, 4 insertions(+), 5 deletions(-) |
73 |
- |
74 |
-diff --git a/configure.ac b/configure.ac |
75 |
-index d42179182..9571dac76 100644 |
76 |
---- a/configure.ac |
77 |
-+++ b/configure.ac |
78 |
-@@ -1097,16 +1097,15 @@ AC_SUBST(GF_DISTRIBUTION) |
79 |
- GF_HOST_OS="" |
80 |
- GF_LDFLAGS="-rdynamic" |
81 |
- |
82 |
--DISABLE_LIBTIRPC=no |
83 |
- dnl include tirpc for IPv6 builds |
84 |
- if test "x$with_libtirpc" = "xyes" || test "x$with_ipv6_default" = "xyes" ; then |
85 |
- PKG_CHECK_MODULES([TIRPC], [libtirpc], |
86 |
-- [GF_CFLAGS="$GF_CFLAGS $TIRPC_CFLAGS"; GF_LDFLAGS="$GF_LDFLAGS $TIRPC_LIBS";], |
87 |
-- [DISABLE_LIBTIRPC=yes]) |
88 |
-+ [with_libtirpc=yes; GF_CFLAGS="$GF_CFLAGS $TIRPC_CFLAGS"; GF_LDFLAGS="$GF_LDFLAGS $TIRPC_LIBS";], |
89 |
-+ [with_libtirpc=missing]) |
90 |
- fi |
91 |
- |
92 |
--if test "x$DISABLE_LIBTIRPC" = "xyes" ; then |
93 |
-- with_libtirpc=no; with_ipv6_default=no |
94 |
-+if test "x$with_libtirpc" = "xmissing" ; then |
95 |
-+ with_ipv6_default=no |
96 |
- AC_CHECK_HEADERS([rpc/rpc.h],[ |
97 |
- AC_MSG_WARN([ |
98 |
- --------------------------------------------------------------------------------- |
99 |
--- |
100 |
-2.16.1 |
101 |
- |
102 |
|
103 |
diff --git a/sys-cluster/glusterfs/files/glusterfs-without-ipv6-default.patch b/sys-cluster/glusterfs/files/glusterfs-without-ipv6-default.patch |
104 |
deleted file mode 100644 |
105 |
index ed30a6a293f..00000000000 |
106 |
--- a/sys-cluster/glusterfs/files/glusterfs-without-ipv6-default.patch |
107 |
+++ /dev/null |
108 |
@@ -1,38 +0,0 @@ |
109 |
-From c77b8f23af7d285fd82dbd3e4db3fa2c09899e58 Mon Sep 17 00:00:00 2001 |
110 |
-From: James Le Cuirot <chewi@g.o> |
111 |
-Date: Fri, 9 Mar 2018 22:39:41 +0000 |
112 |
-Subject: [PATCH 1/2] build: Fix configure --without-ipv6-default behaviour |
113 |
- |
114 |
-The current behaviour disables ipv6-default when no switch is given at |
115 |
-all but otherwise checks if libtirpc was requested, regardless of |
116 |
-whether you have given --with-ipv6-default or --without-ipv6-default. |
117 |
- |
118 |
-I believe the intention was to enable when libtirpc is requested by |
119 |
-default but otherwise respect the switch given. |
120 |
- |
121 |
-This is important because ipv6-default breaks Gluster for systems that |
122 |
-have IPv6 disabled. |
123 |
- |
124 |
-BUG: 1553926 |
125 |
-Change-Id: I76b91ae2699574b2e5b777453732bb5cbd79bbca |
126 |
-Signed-off-by: James Le Cuirot <chewi@g.o> |
127 |
---- |
128 |
- configure.ac | 2 +- |
129 |
- 1 file changed, 1 insertion(+), 1 deletion(-) |
130 |
- |
131 |
-diff --git a/configure.ac b/configure.ac |
132 |
-index 827ec0518..d42179182 100644 |
133 |
---- a/configure.ac |
134 |
-+++ b/configure.ac |
135 |
-@@ -315,7 +315,7 @@ AC_ARG_WITH([libtirpc], |
136 |
- |
137 |
- AC_ARG_WITH([ipv6-default], |
138 |
- AC_HELP_STRING([--with-ipv6-default], [Set IPv6 as default.]), |
139 |
-- [with_ipv6_default=$with_libtirpc], [with_ipv6_default=no]) |
140 |
-+ [], [with_ipv6_default=$with_libtirpc]) |
141 |
- |
142 |
- if test "x$ac_cv_file__etc_redhat_release" = "xyes"; then |
143 |
- if rpm -qa centos-release | grep centos; then |
144 |
--- |
145 |
-2.16.1 |
146 |
- |