diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-04-30 21:33:31 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-04-30 21:33:31 +0100 |
commit | 2f8db31405fac68eea6f7257d58529243815033b (patch) | |
tree | 54259cc8988a98a10586fc0496b1f3501cd1e2a1 /sys-cluster/gearmand | |
parent | a4e2a46beb5e4858ef27bdedbb0ff6d2ced430ad (diff) |
gentoo resync : 30.04.2018
Diffstat (limited to 'sys-cluster/gearmand')
-rw-r--r-- | sys-cluster/gearmand/Manifest | 6 | ||||
-rw-r--r-- | sys-cluster/gearmand/files/gearmand-0.34-stdbool-h.patch | 26 | ||||
-rw-r--r-- | sys-cluster/gearmand/files/gearmand.conf.d | 39 | ||||
-rw-r--r-- | sys-cluster/gearmand/files/gearmand.init.d.2 | 78 | ||||
-rw-r--r-- | sys-cluster/gearmand/gearmand-0.34-r1.ebuild | 96 | ||||
-rw-r--r-- | sys-cluster/gearmand/metadata.xml | 17 |
6 files changed, 0 insertions, 262 deletions
diff --git a/sys-cluster/gearmand/Manifest b/sys-cluster/gearmand/Manifest deleted file mode 100644 index a40425d6584e..000000000000 --- a/sys-cluster/gearmand/Manifest +++ /dev/null @@ -1,6 +0,0 @@ -AUX gearmand-0.34-stdbool-h.patch 568 BLAKE2B 990e4421f26a17d284a725cb50bf1fddf683b2ac34c454bc489a01c99001896016369f2da7efbcb596a075e5f8b8f9f9796f8084635223d0f925f2b6b446f7f0 SHA512 bff5ae044cbf7bd08911ff29699a6f6065320c888f3f3f27ffc655dbbb283914c7aaa6474902f3644940a9698921d60622e4eeada653183c6fa90bb08e423930 -AUX gearmand.conf.d 1542 BLAKE2B b4f8f54f20bac3fd80bc990726656963b62d9f3bc71b74aae6ffd66bfd28d95ae9c8af0777c0b5d3159064b354a01a6a3ad425943659b01ae7ad5cbadef3d959 SHA512 850cf6bd13475d30879bd49c9650e1f01e52c1bd8ed580d6dda09c83f74e424a17c04e9d8203c2b3555a69cf5cf3f00ede3fbcc7d005f90844e4494041c9168f -AUX gearmand.init.d.2 3206 BLAKE2B 40fcc652edf5c5694fa18957f3e9163fb43052108f1085dca76967b8aba1035b240994322cd34dcfa3feadcd5e743c0eb8791fc4047798a81dfd60d62a79822d SHA512 33d2208e668d060948715faa193b021603679ef6e870a80fbd666256a1d2a49ad709bf7efd94bd00fc8b96373feb34ea12c1212ac42b0d2f99fbbe369fa34175 -DIST gearmand-0.34.tar.gz 842579 BLAKE2B 439fcec297ae874cecbc355526b4681329fde2ac39ccc9f6e14413979e7cdbc6c88f2e8cc34e2af1f166f873415a1d5b353716a227894c36bbde66f30b900e56 SHA512 8263cd19337f56cb692209efb4867b54954081a907c109b4828c1a7dfd8e1dec803f9c06e0f09e1ec6cc4271299bf77bcd5069b765647b31559480b4e7e756ba -EBUILD gearmand-0.34-r1.ebuild 2604 BLAKE2B 13a41ad6e77156d96b08ee07d20779883eee12a44fe0f7f399d19af3d60873f1489595c516a2f60d977c1ba7bd1aa8474f014723ae6fa7ca9a28f0ca84c6b8b0 SHA512 02ddf427124ca3ee407854c10e53555c0ad5347f5eb12a8f0d66e4da96028e387972d07e8aaa2b27499d8f29ec492186032e08f96193c55beb3b5bc3afa47d14 -MISC metadata.xml 513 BLAKE2B cd88a2f62fcc99a941b8b884b8d4179ce0a8ab73890ad387afcfbe2d0721c91f1a74c041e74fb182e76b2ad13bce51d12a84a0e71ca355c28a29f276c42e714e SHA512 ed6ea7bdac5ed5e46e2f620881681807d9096299a0fe702abe11093cbddb70e3660b29a5bac30b003dcf4003ad455d431ba4e88eb7d5e939273a8049d74705e6 diff --git a/sys-cluster/gearmand/files/gearmand-0.34-stdbool-h.patch b/sys-cluster/gearmand/files/gearmand-0.34-stdbool-h.patch deleted file mode 100644 index 37d2db62741d..000000000000 --- a/sys-cluster/gearmand/files/gearmand-0.34-stdbool-h.patch +++ /dev/null @@ -1,26 +0,0 @@ -Ignore configure checks and include stdbool.h -unconditionally, we're in 2016. - ---- gearmand-0.34/libhostile/called.c -+++ gearmand-0.34/libhostile/called.c -@@ -41,6 +41,7 @@ - #include <assert.h> - #include <stdio.h> - #include <stdlib.h> -+#include <stdbool.h> - - __thread bool is_called_= false; - static __thread char** unique_ptr= NULL; ---- gearmand-0.34/libhostile/called.h -+++ gearmand-0.34/libhostile/called.h -@@ -36,9 +36,7 @@ - - #pragma once - --#ifdef HAVE_STDBOOL_H --# include <stdbool.h> --#endif -+#include <stdbool.h> - - bool is_called(void); - void set_called(); diff --git a/sys-cluster/gearmand/files/gearmand.conf.d b/sys-cluster/gearmand/files/gearmand.conf.d deleted file mode 100644 index aeb49d5c6b9e..000000000000 --- a/sys-cluster/gearmand/files/gearmand.conf.d +++ /dev/null @@ -1,39 +0,0 @@ -# /etc/conf.d/gearmand: config file for /etc/init.d/gearmand - -# Persistent queue store -# The following queue stores are available: -# drizzle|memcache|mysql|postgre|sqlite|tokyocabinet|none -# If you do not wish to use persistent queues, leave this option commented out. -# Note that persistent queue mechanisms are mutally exclusive. -#PERSISTENT="" - -# Persistent queue settings for drizzle, mysql and postgre -#PERSISTENT_SOCKET="" -#PERSISTENT_HOST="" -#PERSISTENT_PORT="" -#PERSISTENT_USER="" -#PERSISTENT_PASS="" -#PERSISTENT_DB="" -#PERSISTENT_TABLE="" - -# Persistent queue settings for sqlite -#PERSISTENT_FILE="" - -# Persistent queue settings for memcache -#PERSISTENT_SERVERLIST="" - -# General settings -# -# -j, --job-retries=RETRIES Number of attempts to run the job before the job -# server removes it. Thisis helpful to ensure a bad -# job does not crash all available workers. Default -# is no limit. -# -L, --listen=ADDRESS Address the server should listen on. Default is -# INADDR_ANY. -# -p, --port=PORT Port the server should listen on. Default=4730. -# -r, --protocol=PROTOCOL Load protocol module. -# -t, --threads=THREADS Number of I/O threads to use. Default=0. -# -v, --verbose Increase verbosity level by one. -# -w, --worker-wakeup=WORKERS Number of workers to wakeup for each job received. -# The default is to wakeup all available workers. -GEARMAND_PARAMS="" diff --git a/sys-cluster/gearmand/files/gearmand.init.d.2 b/sys-cluster/gearmand/files/gearmand.init.d.2 deleted file mode 100644 index 48d19bd1dc8b..000000000000 --- a/sys-cluster/gearmand/files/gearmand.init.d.2 +++ /dev/null @@ -1,78 +0,0 @@ -#!/sbin/openrc-run -# Copyright 2009-2012 Pavel Stratil, senbonzakura.eu -# Distributed under the terms of the MIT license - -pidfile=/var/run/gearmand/gearmand.pid -command=/usr/sbin/gearmand - -depend() { - use localmount - - case $PERSISTENT in - drizzle) - use drizzle - ;; - memcache) - use memcache - ;; - mysql) - use mysql - ;; - postgre) - use postgresql - ;; - *) - ;; - esac -} - -start() { - case ${PERSISTENT:-none} in - drizzle|mysql) - GEARMAND_PARAMS="${GEARMAND_PARAMS} -q libdrizzle" - [ ${PERSISTENT_HOST} ] && GEARMAND_PARAMS="${GEARMAND_PARAMS} --libdrizzle-host=${PERSISTENT_HOST}" - [ ${PERSISTENT_USER} ] && GEARMAND_PARAMS="${GEARMAND_PARAMS} --libdrizzle-user=${PERSISTENT_USER}" - [ ${PERSISTENT_PASS} ] && GEARMAND_PARAMS="${GEARMAND_PARAMS} --libdrizzle-password=${PERSISTENT_PASS}" - [ ${PERSISTENT_DB} ] && GEARMAND_PARAMS="${GEARMAND_PARAMS} --libdrizzle-db=${PERSISTENT_DB}" - [ ${PERSISTENT_TABLE} ] && GEARMAND_PARAMS="${GEARMAND_PARAMS} --libdrizzle-table=${PERSISTENT_TABLE}" - [ ${PERSISTENT_PORT} ] && GEARMAND_PARAMS="${GEARMAND_PARAMS} --libdrizzle-port=${PERSISTENT_PORT}" - [ ${PERSISTENT_SOCKET} ] && GEARMAND_PARAMS="${GEARMAND_PARAMS} --libdrizzle-uds=${PERSISTENT_SOCKET}" - [ ${PERSISTENT} == "mysql" ] && GEARMAND_PARAMS="${GEARMAND_PARAMS} --libdrizzle-mysql" - ;; - memcache) - [ ${PERSISTENT_SERVERLIST} ] && GEARMAND_PARAMS="${GEARMAND_PARAMS} -q libmemcached --libmemcached-servers=${PERSISTENT_SERVERLIST}" - ;; - postgre) - GEARMAND_PARAMS="${GEARMAND_PARAMS} -q libpq" - [ ${PERSISTENT_HOST} ] && GEARMAND_PARAMS="${GEARMAND_PARAMS} --libpq-host=${PERSISTENT_HOST}" - [ ${PERSISTENT_USER} ] && GEARMAND_PARAMS="${GEARMAND_PARAMS} --libpq-user=${PERSISTENT_USER}" - [ ${PERSISTENT_PASS} ] && GEARMAND_PARAMS="${GEARMAND_PARAMS} --libpq-password=${PERSISTENT_PASS}" - [ ${PERSISTENT_DB} ] && GEARMAND_PARAMS="${GEARMAND_PARAMS} --libpq-dbname=${PERSISTENT_DB}" - [ ${PERSISTENT_PORT} ] && GEARMAND_PARAMS="${GEARMAND_PARAMS} --libpq-port=${PERSISTENT_PORT}" - [ ${PERSISTENT_TABLE} ] && ewarn "Libpq doesn't recognise 'table' parameter." - [ ${PERSISTENT_SOCKET} ] && ewarn "Libpq doesn't recognise 'socket' parameter. If no host is set, it automatically falls back to a socket." - ;; - tokyocabinet) - GEARMAND_PARAMS="${GEARMAND_PARAMS} -q libtokyocabinet --libtokyocabinet-file=${PERSISTENT_FILE}" - ;; - sqlite) - GEARMAND_PARAMS="${GEARMAND_PARAMS} -q libsqlite3 --libsqlite3-db=${PERSISTENT_FILE}" - ;; - none) - ;; - *) - eerror "Wrong persistent queue store setting in /etc/conf.d/gearmand." - return 1 - ;; - esac - - - checkpath -d -m 0755 -o gearmand:nogroup /var/run/gearmand /var/log/gearmand - - ebegin "Starting ${SVCNAME}" - start-stop-daemon --pidfile /var/run/gearmand/gearmand.pid --start \ - --exec /usr/sbin/gearmand -- --pid-file=/var/run/gearmand/gearmand.pid \ - --user=gearmand --daemon \ - --log-file=/var/log/gearmand/gearmand.log ${GEARMAND_PARAMS} - eend $? -} diff --git a/sys-cluster/gearmand/gearmand-0.34-r1.ebuild b/sys-cluster/gearmand/gearmand-0.34-r1.ebuild deleted file mode 100644 index 846d47261961..000000000000 --- a/sys-cluster/gearmand/gearmand-0.34-r1.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -AUTOTOOLS_AUTORECONF=1 - -inherit autotools-utils eutils flag-o-matic libtool user - -DESCRIPTION="Generic framework to farm out work to other machines" -HOMEPAGE="http://www.gearman.org/" -SRC_URI="https://launchpad.net/gearmand/trunk/${PV}/+download/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="debug tcmalloc +memcache sqlite tokyocabinet postgres" - -RDEPEND="dev-libs/libevent - >=dev-libs/boost-1.39:=[threads(+)] - || ( >=sys-apps/util-linux-2.16 <sys-libs/e2fsprogs-libs-1.41.8 ) - tcmalloc? ( dev-util/google-perftools ) - memcache? ( >=dev-libs/libmemcached-0.47 ) - sqlite? ( dev-db/sqlite:3 ) - tokyocabinet? ( dev-db/tokyocabinet ) - postgres? ( >=dev-db/postgresql-9.0:* )" -DEPEND="${RDEPEND} - virtual/pkgconfig - >=sys-devel/boost-m4-0.4_p20160328" - -pkg_setup() { - enewuser gearmand -1 -1 /dev/null nogroup -} - -src_prepare() { - # fixes bug 574558, which is due to an outdated bundled boost.m4 - rm m4/boost.m4 || die - sed -i -e 's/AM_INIT_AUTOMAKE.*//g' m4/pandora_canonical.m4 || die - epatch -p1 "${FILESDIR}/${P}-stdbool-h.patch" - autotools-utils_src_prepare -} - -src_configure() { - local myeconfargs=( - $(use_enable memcache libmemcached) - $(use_enable tcmalloc) - $(use_enable tokyocabinet libtokyocabinet) - $(use_with postgres postgresql) - $(use_with sqlite sqlite3) - --disable-mtmalloc - --disable-static - ) - - # Don't ever use --enable-assert since configure.ac is broken, and - # only does --disable-assert correctly. - if use debug; then - # Since --with-debug would turn off optimisations as well as - # enabling debug, we just enable debug through the - # preprocessor then. - append-cppflags -DDEBUG - fi - - # Explicitly enable c++11 mode - append-cxxflags -std=c++11 - - autotools-utils_src_configure -} - -src_test() { - # Since libtool is stupid and doesn't discard /usr/lib64 from the - # load path, we'd end up testing against the installed copy of - # gearmand (bad). - # - # We thus cheat and "fix" the scripts by hand. - sed -i -e '/LD_LIBRARY_PATH=/s|/usr/lib64:||' "${BUILD_DIR}"/tests/*_test \ - || die "test fixing failed" - - autotools-utils_src_test -} - -DOCS=( README AUTHORS ChangeLog ) - -src_install() { - autotools-utils_src_install - - newinitd "${FILESDIR}"/gearmand.init.d.2 gearmand - newconfd "${FILESDIR}"/gearmand.conf.d gearmand -} - -pkg_postinst() { - elog "" - elog "Unless you set the PERSISTENT_TABLE option in" - elog "/etc/conf.d/gearmand, Gearmand will use table 'queue'." - elog "If such table doesn't exist, Gearmand will create it for you" - elog "" -} diff --git a/sys-cluster/gearmand/metadata.xml b/sys-cluster/gearmand/metadata.xml deleted file mode 100644 index d08fb72aef86..000000000000 --- a/sys-cluster/gearmand/metadata.xml +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<!-- maintainer-needed --> - <use> - <flag name="memcache"> - Support memcache daemon (via <pkg>dev-libs/libmemcached</pkg>) - for the queue storage. - </flag> - <flag name="tokyocabinet"> - Support <pkg>dev-db/tokyocabinet</pkg> for the queue storage. - </flag> - </use> - <upstream> - <remote-id type="launchpad">gearmand</remote-id> - </upstream> -</pkgmetadata> |