summaryrefslogtreecommitdiff
path: root/dev-db/maxscale
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-04-10 17:26:49 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-04-10 17:26:49 +0100
commit6957f5c65b02bba533954eabc0b62f5de36be206 (patch)
tree21d8ab8f61dffd9cccc82d0badb68982516a6855 /dev-db/maxscale
parente91a1aaa5ec8fab37f0fd082ac6024d41c6651e2 (diff)
gentoo resync : 10.04.2018
Diffstat (limited to 'dev-db/maxscale')
-rw-r--r--dev-db/maxscale/Manifest5
-rw-r--r--dev-db/maxscale/files/maxscale-1.2.0-rpath.patch48
-rw-r--r--dev-db/maxscale/files/maxscale-init.d21
-rw-r--r--dev-db/maxscale/maxscale-1.2.0.ebuild70
-rw-r--r--dev-db/maxscale/metadata.xml19
5 files changed, 0 insertions, 163 deletions
diff --git a/dev-db/maxscale/Manifest b/dev-db/maxscale/Manifest
deleted file mode 100644
index 178d43b51b5c..000000000000
--- a/dev-db/maxscale/Manifest
+++ /dev/null
@@ -1,5 +0,0 @@
-AUX maxscale-1.2.0-rpath.patch 2892 BLAKE2B dd6368bd0c873ddbd135944fab3e35f6ddb12d07ed736db053daf0e41daae795949d2f8bcaf2c3436b964c83d39ea406c81e285f33458ab453d1567d9d9ec271 SHA512 43c3972cd0f6f9fa5fcf4ebf920ce502445e45feb26ca77067b66e8e5a28d7290e43f8102e280a38953f2f4bc15fdca69561bdd067c6544729d791c6f043e926
-AUX maxscale-init.d 421 BLAKE2B 0fb60136d66c79ecbb00d04bf311669371af03c28833e5816545ffc7f64ce7ff16bd9779c17b3340b0e07839e89e981dfee8790397b0ec42269c08f0dd905d50 SHA512 6450d75c4c31646b544285e96c056e8a476587eda7fe3eaced241da55b014fd9036df448191bb7cff4dbcf95205fe2da33fdd20035c915527a33b24666f31b2d
-DIST MaxScale-1.2.0.tar.gz 8747330 BLAKE2B 609e72f42e00e8459f16ce9dce1c2e0ebb2bc8bcb9a8c967b2cc35f2d8031d1ae16da10d7b2331f86ef6f0b77d87911bc336197bc76736196f48c2c4fbac896e SHA512 59988397fc7c8112dc81e77d317b4625e071448c0669805fdee91e156553c2144d802f70ebc047df75aab6f7e0114e22a3f9f68768f779ab2300536196c34a7e
-EBUILD maxscale-1.2.0.ebuild 1840 BLAKE2B a967f7c507000b022fa270d8171c0ab4a5d8e43158d7d199068c57f5527030a53e4c1e597f634fb5beb30bbe99e201dedf3845b445f54d27dbf60b38f6ab04f3 SHA512 3445658997aff7b0d64205af230551823fd3cf2f383e54db650b8f37e30a9ababb235179993ff42e524881b63698f12e7ebc7565f334019223eb6ac09028d111
-MISC metadata.xml 597 BLAKE2B 70dd9215d120ef5eeafc0b2c4f02d231cd69d5cc92a4fc9741ba6f4d2c33ee0d8e8a4268677c2afbbd0b8b810845b0cd86795be9e40038716786a6d3d16b68fb SHA512 a9b1bc343e09599d45294814e7c04d279b1c7b114466fb87e5be89d21b62f89f4bc08532f5bccbfa7914ae20870993b1780e3d9558261df2ec1b24d90e516e80
diff --git a/dev-db/maxscale/files/maxscale-1.2.0-rpath.patch b/dev-db/maxscale/files/maxscale-1.2.0-rpath.patch
deleted file mode 100644
index 76cca09845f8..000000000000
--- a/dev-db/maxscale/files/maxscale-1.2.0-rpath.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-diff -aurN a/CMakeLists.txt b/CMakeLists.txt
---- a/CMakeLists.txt 2015-07-15 09:34:27.000000000 -0400
-+++ b/CMakeLists.txt 2015-08-10 22:12:06.021818283 -0400
-@@ -56,7 +56,7 @@
- endif()
- endif()
-
--set(CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_RPATH}:${CMAKE_INSTALL_PREFIX}/${MAXSCALE_LIBDIR})
-+set(CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/${MAXSCALE_LIBDIR})
-
- # Make sure the release notes for this release are present if it is a stable one
- if(${MAXSCALE_VERSION} MATCHES "-stable")
-diff -aurN a/server/modules/filter/hint/CMakeLists.txt b/server/modules/filter/hint/CMakeLists.txt
---- a/server/modules/filter/hint/CMakeLists.txt 2015-07-15 09:34:27.000000000 -0400
-+++ b/server/modules/filter/hint/CMakeLists.txt 2015-08-10 22:12:49.413170068 -0400
-@@ -1,4 +1,3 @@
- add_library(hintfilter SHARED hintfilter.c hintparser.c)
--set_target_properties(hintfilter PROPERTIES INSTALL_RPATH ${CMAKE_INSTALL_RPATH}:${MAXSCALE_LIBDIR})
- target_link_libraries(hintfilter ssl log_manager utils)
- install(TARGETS hintfilter DESTINATION ${MAXSCALE_LIBDIR})
-diff -aurN a/server/modules/routing/binlog/CMakeLists.txt b/server/modules/routing/binlog/CMakeLists.txt
---- a/server/modules/routing/binlog/CMakeLists.txt 2015-07-15 09:34:27.000000000 -0400
-+++ b/server/modules/routing/binlog/CMakeLists.txt 2015-08-10 22:12:35.565376937 -0400
-@@ -1,4 +1,3 @@
- add_library(binlogrouter SHARED blr.c blr_master.c blr_cache.c blr_slave.c blr_file.c)
--set_target_properties(binlogrouter PROPERTIES INSTALL_RPATH ${CMAKE_INSTALL_RPATH}:${MAXSCALE_LIBDIR})
- target_link_libraries(binlogrouter ssl pthread log_manager)
- install(TARGETS binlogrouter DESTINATION ${MAXSCALE_LIBDIR})
-diff -aurN a/server/modules/routing/maxinfo/CMakeLists.txt b/server/modules/routing/maxinfo/CMakeLists.txt
---- a/server/modules/routing/maxinfo/CMakeLists.txt 2015-07-15 09:34:27.000000000 -0400
-+++ b/server/modules/routing/maxinfo/CMakeLists.txt 2015-08-10 22:12:25.265530805 -0400
-@@ -1,4 +1,3 @@
- add_library(maxinfo SHARED maxinfo.c maxinfo_parse.c maxinfo_error.c maxinfo_exec.c)
--set_target_properties(maxinfo PROPERTIES INSTALL_RPATH ${CMAKE_INSTALL_RPATH}:${MAXSCALE_LIBDIR})
- target_link_libraries(maxinfo pthread log_manager)
- install(TARGETS maxinfo DESTINATION ${MAXSCALE_LIBDIR})
-diff -aurN a/server/core/CMakeLists.txt b/server/core/CMakeLists.txt
---- a/server/core/CMakeLists.txt 2015-07-15 09:34:27.000000000 -0400
-+++ b/server/core/CMakeLists.txt 2015-08-10 22:39:22.709368505 -0400
-@@ -8,6 +8,8 @@
- 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++)
- endif()
-
-+SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
-+
- add_executable(maxscale atomic.c buffer.c spinlock.c gateway.c
- gw_utils.c utils.c dcb.c load_utils.c session.c service.c server.c
- poll.c config.c users.c hashtable.c dbusers.c thread.c gwbitmask.c
diff --git a/dev-db/maxscale/files/maxscale-init.d b/dev-db/maxscale/files/maxscale-init.d
deleted file mode 100644
index 1eaa046aefe9..000000000000
--- a/dev-db/maxscale/files/maxscale-init.d
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/sbin/openrc-run
-
-command=/usr/bin/maxscale
-command_args="-U maxscale -P /run/maxscale"
-name="MaxScale database proxy"
-pidfile="/run/maxscale/maxscale.pid"
-
-description="MaxScale provides database specific proxy functionality"
-extra_started_commands="reload"
-
-start_pre() {
- checkpath -D -o maxscale:maxscale /run/maxscale
-}
-
-reload()
-{
- ebegin "Reloading ${name}"
- pkill -HUP -F /run/maxscale/maxscale.pid
- eend $?
-}
-
diff --git a/dev-db/maxscale/maxscale-1.2.0.ebuild b/dev-db/maxscale/maxscale-1.2.0.ebuild
deleted file mode 100644
index bee3d1f390e8..000000000000
--- a/dev-db/maxscale/maxscale-1.2.0.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils cmake-utils multilib user
-
-MY_PN="MaxScale"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="A content aware, plug-able MySQL proxy server"
-HOMEPAGE="http://mariadb.com/MaxScale"
-SRC_URI="https://github.com/mariadb-corporation/${MY_PN}/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-IUSE="jemalloc rabbitmq tcmalloc"
-
-REQUIRED_USE="?? ( jemalloc tcmalloc )"
-
-DEPEND="
- dev-libs/libaio
- >=dev-libs/libpcre-8.35
- dev-libs/openssl:0
- net-misc/curl
- virtual/mysql[embedded]
- jemalloc? ( dev-libs/jemalloc )
- rabbitmq? ( net-libs/rabbitmq-c )
- tcmalloc? ( dev-util/google-perftools:= )
-"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-PATCHES=( "${FILESDIR}/${PN}-1.2.0-rpath.patch" )
-
-pkg_setup() {
- enewgroup maxscale
- enewuser maxscale -1 -1 -1 maxscale
-}
-
-src_configure() {
-# -DEMBEDDED_LIB=/usr/$(get_libdir)/mysql
- local mycmakeargs=(
- -DSTATIC_EMBEDDED=OFF
- -DWITH_SCRIPTS=OFF
- $(cmake-utils_use_with jemalloc JEMALLOC)
- $(cmake-utils_use_build rabbitmq RABBITMQ)
- $(cmake-utils_use_with tcmalloc TCMALLOC)
- -DMODULE_INSTALL_PATH=$(get_libdir)/${PN}
- )
- cmake-utils_src_configure
-}
-
-src_install() {
- local DOCS=( README README.md "${BUILD_DIR}"/Changelog.txt "${BUILD_DIR}"/ReleaseNotes.txt )
- cmake-utils_src_install
- # Remove badly placed documents
- rm "${D}usr/share/${PN}/README" "${D}usr/share/${PN}/Changelog.txt" \
- "${D}usr/share/${PN}/LICENSE" "${D}usr/share/${PN}/COPYRIGHT" \
- "${D}usr/share/${PN}/ReleaseNotes.txt" || die
- newinitd "${FILESDIR}/${PN}-init.d" ${PN}
- keepdir /var/log/maxscale /var/lib/maxscale/data \
- /var/cache/maxscale
- fowners maxscale:maxscale /var/log/maxscale \
- /var/lib/maxscale/data \
- /var/lib/maxscale \
- /var/cache/maxscale
-}
diff --git a/dev-db/maxscale/metadata.xml b/dev-db/maxscale/metadata.xml
deleted file mode 100644
index 2ca7145c7649..000000000000
--- a/dev-db/maxscale/metadata.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>grknight@gentoo.org</email>
- <name>Brian Evans</name>
- </maintainer>
- <maintainer type="project">
- <email>mysql-bugs@gentoo.org</email>
- <name>MySQL</name>
- </maintainer>
- <use>
- <flag name="jemalloc">Use dev-libs/jemalloc for allocations</flag>
- <flag name="rabbitmq">Add support for RabbitMQ message queue</flag>
- </use>
- <upstream>
- <remote-id type="github">mariadb-corporation/MaxScale</remote-id>
- </upstream>
-</pkgmetadata>