Gentoo Archives: gentoo-commits

From: Brian Evans <grknight@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/, dev-db/maxscale/, dev-db/maxscale/files/
Date: Mon, 09 Apr 2018 00:30:33
Message-Id: 1523233779.d1e5e76c53b65228c1831a6f865269a26369edf7.grknight@gentoo
1 commit: d1e5e76c53b65228c1831a6f865269a26369edf7
2 Author: Brian Evans <grknight <AT> gentoo <DOT> org>
3 AuthorDate: Mon Apr 9 00:29:39 2018 +0000
4 Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
5 CommitDate: Mon Apr 9 00:29:39 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1e5e76c
7
8 dev-db/maxscale: Package removal wrt bug 649764
9
10 Closes: https://bugs.gentoo.org/649764
11
12 dev-db/maxscale/Manifest | 1 -
13 dev-db/maxscale/files/maxscale-1.2.0-rpath.patch | 48 ----------------
14 dev-db/maxscale/files/maxscale-init.d | 21 -------
15 dev-db/maxscale/maxscale-1.2.0.ebuild | 70 ------------------------
16 dev-db/maxscale/metadata.xml | 19 -------
17 profiles/package.mask | 8 ---
18 6 files changed, 167 deletions(-)
19
20 diff --git a/dev-db/maxscale/Manifest b/dev-db/maxscale/Manifest
21 deleted file mode 100644
22 index a723120c5bb..00000000000
23 --- a/dev-db/maxscale/Manifest
24 +++ /dev/null
25 @@ -1 +0,0 @@
26 -DIST MaxScale-1.2.0.tar.gz 8747330 BLAKE2B 609e72f42e00e8459f16ce9dce1c2e0ebb2bc8bcb9a8c967b2cc35f2d8031d1ae16da10d7b2331f86ef6f0b77d87911bc336197bc76736196f48c2c4fbac896e SHA512 59988397fc7c8112dc81e77d317b4625e071448c0669805fdee91e156553c2144d802f70ebc047df75aab6f7e0114e22a3f9f68768f779ab2300536196c34a7e
27
28 diff --git a/dev-db/maxscale/files/maxscale-1.2.0-rpath.patch b/dev-db/maxscale/files/maxscale-1.2.0-rpath.patch
29 deleted file mode 100644
30 index 76cca09845f..00000000000
31 --- a/dev-db/maxscale/files/maxscale-1.2.0-rpath.patch
32 +++ /dev/null
33 @@ -1,48 +0,0 @@
34 -diff -aurN a/CMakeLists.txt b/CMakeLists.txt
35 ---- a/CMakeLists.txt 2015-07-15 09:34:27.000000000 -0400
36 -+++ b/CMakeLists.txt 2015-08-10 22:12:06.021818283 -0400
37 -@@ -56,7 +56,7 @@
38 - endif()
39 - endif()
40 -
41 --set(CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_RPATH}:${CMAKE_INSTALL_PREFIX}/${MAXSCALE_LIBDIR})
42 -+set(CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/${MAXSCALE_LIBDIR})
43 -
44 - # Make sure the release notes for this release are present if it is a stable one
45 - if(${MAXSCALE_VERSION} MATCHES "-stable")
46 -diff -aurN a/server/modules/filter/hint/CMakeLists.txt b/server/modules/filter/hint/CMakeLists.txt
47 ---- a/server/modules/filter/hint/CMakeLists.txt 2015-07-15 09:34:27.000000000 -0400
48 -+++ b/server/modules/filter/hint/CMakeLists.txt 2015-08-10 22:12:49.413170068 -0400
49 -@@ -1,4 +1,3 @@
50 - add_library(hintfilter SHARED hintfilter.c hintparser.c)
51 --set_target_properties(hintfilter PROPERTIES INSTALL_RPATH ${CMAKE_INSTALL_RPATH}:${MAXSCALE_LIBDIR})
52 - target_link_libraries(hintfilter ssl log_manager utils)
53 - install(TARGETS hintfilter DESTINATION ${MAXSCALE_LIBDIR})
54 -diff -aurN a/server/modules/routing/binlog/CMakeLists.txt b/server/modules/routing/binlog/CMakeLists.txt
55 ---- a/server/modules/routing/binlog/CMakeLists.txt 2015-07-15 09:34:27.000000000 -0400
56 -+++ b/server/modules/routing/binlog/CMakeLists.txt 2015-08-10 22:12:35.565376937 -0400
57 -@@ -1,4 +1,3 @@
58 - add_library(binlogrouter SHARED blr.c blr_master.c blr_cache.c blr_slave.c blr_file.c)
59 --set_target_properties(binlogrouter PROPERTIES INSTALL_RPATH ${CMAKE_INSTALL_RPATH}:${MAXSCALE_LIBDIR})
60 - target_link_libraries(binlogrouter ssl pthread log_manager)
61 - install(TARGETS binlogrouter DESTINATION ${MAXSCALE_LIBDIR})
62 -diff -aurN a/server/modules/routing/maxinfo/CMakeLists.txt b/server/modules/routing/maxinfo/CMakeLists.txt
63 ---- a/server/modules/routing/maxinfo/CMakeLists.txt 2015-07-15 09:34:27.000000000 -0400
64 -+++ b/server/modules/routing/maxinfo/CMakeLists.txt 2015-08-10 22:12:25.265530805 -0400
65 -@@ -1,4 +1,3 @@
66 - add_library(maxinfo SHARED maxinfo.c maxinfo_parse.c maxinfo_error.c maxinfo_exec.c)
67 --set_target_properties(maxinfo PROPERTIES INSTALL_RPATH ${CMAKE_INSTALL_RPATH}:${MAXSCALE_LIBDIR})
68 - target_link_libraries(maxinfo pthread log_manager)
69 - install(TARGETS maxinfo DESTINATION ${MAXSCALE_LIBDIR})
70 -diff -aurN a/server/core/CMakeLists.txt b/server/core/CMakeLists.txt
71 ---- a/server/core/CMakeLists.txt 2015-07-15 09:34:27.000000000 -0400
72 -+++ b/server/core/CMakeLists.txt 2015-08-10 22:39:22.709368505 -0400
73 -@@ -8,6 +8,8 @@
74 - target_link_libraries(fullcore ${CURL_LIBRARIES} utils log_manager pthread ${EMBEDDED_LIB} ${PCRE_LINK_FLAGS} ssl aio rt crypt dl crypto inih z m stdc++)
75 - endif()
76 -
77 -+SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
78 -+
79 - add_executable(maxscale atomic.c buffer.c spinlock.c gateway.c
80 - gw_utils.c utils.c dcb.c load_utils.c session.c service.c server.c
81 - poll.c config.c users.c hashtable.c dbusers.c thread.c gwbitmask.c
82
83 diff --git a/dev-db/maxscale/files/maxscale-init.d b/dev-db/maxscale/files/maxscale-init.d
84 deleted file mode 100644
85 index 1eaa046aefe..00000000000
86 --- a/dev-db/maxscale/files/maxscale-init.d
87 +++ /dev/null
88 @@ -1,21 +0,0 @@
89 -#!/sbin/openrc-run
90 -
91 -command=/usr/bin/maxscale
92 -command_args="-U maxscale -P /run/maxscale"
93 -name="MaxScale database proxy"
94 -pidfile="/run/maxscale/maxscale.pid"
95 -
96 -description="MaxScale provides database specific proxy functionality"
97 -extra_started_commands="reload"
98 -
99 -start_pre() {
100 - checkpath -D -o maxscale:maxscale /run/maxscale
101 -}
102 -
103 -reload()
104 -{
105 - ebegin "Reloading ${name}"
106 - pkill -HUP -F /run/maxscale/maxscale.pid
107 - eend $?
108 -}
109 -
110
111 diff --git a/dev-db/maxscale/maxscale-1.2.0.ebuild b/dev-db/maxscale/maxscale-1.2.0.ebuild
112 deleted file mode 100644
113 index bee3d1f390e..00000000000
114 --- a/dev-db/maxscale/maxscale-1.2.0.ebuild
115 +++ /dev/null
116 @@ -1,70 +0,0 @@
117 -# Copyright 1999-2015 Gentoo Foundation
118 -# Distributed under the terms of the GNU General Public License v2
119 -
120 -EAPI=5
121 -
122 -inherit eutils cmake-utils multilib user
123 -
124 -MY_PN="MaxScale"
125 -MY_P="${MY_PN}-${PV}"
126 -
127 -DESCRIPTION="A content aware, plug-able MySQL proxy server"
128 -HOMEPAGE="http://mariadb.com/MaxScale"
129 -SRC_URI="https://github.com/mariadb-corporation/${MY_PN}/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
130 -LICENSE="GPL-2"
131 -SLOT="0"
132 -KEYWORDS="~amd64 ~x86"
133 -
134 -IUSE="jemalloc rabbitmq tcmalloc"
135 -
136 -REQUIRED_USE="?? ( jemalloc tcmalloc )"
137 -
138 -DEPEND="
139 - dev-libs/libaio
140 - >=dev-libs/libpcre-8.35
141 - dev-libs/openssl:0
142 - net-misc/curl
143 - virtual/mysql[embedded]
144 - jemalloc? ( dev-libs/jemalloc )
145 - rabbitmq? ( net-libs/rabbitmq-c )
146 - tcmalloc? ( dev-util/google-perftools:= )
147 -"
148 -RDEPEND="${DEPEND}"
149 -
150 -S="${WORKDIR}/${MY_P}"
151 -
152 -PATCHES=( "${FILESDIR}/${PN}-1.2.0-rpath.patch" )
153 -
154 -pkg_setup() {
155 - enewgroup maxscale
156 - enewuser maxscale -1 -1 -1 maxscale
157 -}
158 -
159 -src_configure() {
160 -# -DEMBEDDED_LIB=/usr/$(get_libdir)/mysql
161 - local mycmakeargs=(
162 - -DSTATIC_EMBEDDED=OFF
163 - -DWITH_SCRIPTS=OFF
164 - $(cmake-utils_use_with jemalloc JEMALLOC)
165 - $(cmake-utils_use_build rabbitmq RABBITMQ)
166 - $(cmake-utils_use_with tcmalloc TCMALLOC)
167 - -DMODULE_INSTALL_PATH=$(get_libdir)/${PN}
168 - )
169 - cmake-utils_src_configure
170 -}
171 -
172 -src_install() {
173 - local DOCS=( README README.md "${BUILD_DIR}"/Changelog.txt "${BUILD_DIR}"/ReleaseNotes.txt )
174 - cmake-utils_src_install
175 - # Remove badly placed documents
176 - rm "${D}usr/share/${PN}/README" "${D}usr/share/${PN}/Changelog.txt" \
177 - "${D}usr/share/${PN}/LICENSE" "${D}usr/share/${PN}/COPYRIGHT" \
178 - "${D}usr/share/${PN}/ReleaseNotes.txt" || die
179 - newinitd "${FILESDIR}/${PN}-init.d" ${PN}
180 - keepdir /var/log/maxscale /var/lib/maxscale/data \
181 - /var/cache/maxscale
182 - fowners maxscale:maxscale /var/log/maxscale \
183 - /var/lib/maxscale/data \
184 - /var/lib/maxscale \
185 - /var/cache/maxscale
186 -}
187
188 diff --git a/dev-db/maxscale/metadata.xml b/dev-db/maxscale/metadata.xml
189 deleted file mode 100644
190 index 2ca7145c764..00000000000
191 --- a/dev-db/maxscale/metadata.xml
192 +++ /dev/null
193 @@ -1,19 +0,0 @@
194 -<?xml version="1.0" encoding="UTF-8"?>
195 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
196 -<pkgmetadata>
197 - <maintainer type="person">
198 - <email>grknight@g.o</email>
199 - <name>Brian Evans</name>
200 - </maintainer>
201 - <maintainer type="project">
202 - <email>mysql-bugs@g.o</email>
203 - <name>MySQL</name>
204 - </maintainer>
205 - <use>
206 - <flag name="jemalloc">Use dev-libs/jemalloc for allocations</flag>
207 - <flag name="rabbitmq">Add support for RabbitMQ message queue</flag>
208 - </use>
209 - <upstream>
210 - <remote-id type="github">mariadb-corporation/MaxScale</remote-id>
211 - </upstream>
212 -</pkgmetadata>
213
214 diff --git a/profiles/package.mask b/profiles/package.mask
215 index f27bd8d7789..3a5500e39c4 100644
216 --- a/profiles/package.mask
217 +++ b/profiles/package.mask
218 @@ -599,14 +599,6 @@ net-p2p/tribler
219 # Dead upstream, no revdeps left. Bug #639358
220 app-i18n/libguess
221
222 -# Brian Evans <grknight@g.o> (06 Mar 2018)
223 -# MariaDB MaxScale 1.x depends on the deprecated libmysqld
224 -# Newer versions bundle software that require git access
225 -# and modify system libraries for their own purposes making
226 -# it exteremely difficult to package.
227 -# Bug 649764 Removal in 30 days.
228 -dev-db/maxscale
229 -
230 # Andreas K. Hüttel <dilfridge@g.o> (03 Mar 2018)
231 # Fails to build without rpc support in glibc (bug 631044);
232 # no maintainer, requires obsolete hardware. Removal in