parent
77dda79859
commit
1d89089af3
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Abstract Syntax Tree for logilab packages"
|
||||
HOMEPAGE="https://bitbucket.org/logilab/astroid https://pypi.python.org/pypi/astroid"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos ~x86-macos"
|
||||
IUSE="test"
|
||||
|
||||
# still broken
|
||||
RESTRICT=test
|
||||
|
||||
# Version specified in __pkginfo__.py.
|
||||
RDEPEND="
|
||||
dev-python/lazy-object-proxy[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
dev-python/wrapt[${PYTHON_USEDEP}]"
|
||||
DEPEND="
|
||||
app-arch/unzip
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
# test? (
|
||||
# ${RDEPEND}
|
||||
# >=dev-python/pylint-1.4.0[${PYTHON_USEDEP}]
|
||||
# dev-python/pytest[${PYTHON_USEDEP}]
|
||||
# $(python_gen_cond_dep 'dev-python/egenix-mx-base[${PYTHON_USEDEP}]' python2_7)
|
||||
# )"
|
||||
# Required for tests
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
python_test() {
|
||||
${EPYTHON} -m unittest discover -p "unittest*.py" --verbose || die
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST bjoern-1.3.2.tar.gz 25878 SHA256 bb272517760897a96b3fbf0564236a4f9e0e14e05d8cdcc5f9ac2957ff0c89c0 SHA512 f96ab7f6bfdd158da398c56555a47944f30ac505ed3cb8610a3fc12fe15d5a7bbb0cdba27c858e5ccac28213504b2c68aefd0c252591e3e4d63ce70c8ac840cc WHIRLPOOL 1121cc2088686532dca96b3db4116272c162b23c327a33335763237a45fd1b12a9b0e16b5f4e901fdd162ad923238f7637b29d3190ba6fb6538cb46cd809be83
|
||||
DIST bjoern-1.4.2.tar.gz 25997 SHA256 5892ee00b04c45e0093835c9e179e52370d42add224a4a03d937f8306a54d84e SHA512 518402752c0ad4d5a930bad67a59fbd34a64506abc782749e087a2c205d318073c91743a56902dbd3097d76bc6cd2d45b09f7b393b5a94d78434ff99209e1a27 WHIRLPOOL 26a436eebb24e21235f3aedd700a5382015c7844e0c5420e8780dbaf5574d6c6cd6be941bbbeecaf6789c32840be3e6ffb51bee030d18ecd62ed51a8cced6d59
|
||||
DIST bjoern-1.4.3.tar.gz 28824 SHA256 9361dc1e8ef22eb749fcf3d16b9023bb1d1c59916b4e32400902648b4805fffd SHA512 a044067b18aa7ad9159a8682005137afbe99774804da8dddda4a4dab0ab34f52581e6bf9d9a5a7a9a13775408de2b88204f8c9f5a64f7e72bd21fa97d1e52b58 WHIRLPOOL 577d5216163a3c233fd068a8f3b392114da19eace76de078f989a93bdcfedc575f39c9aaf1c4d1ee0bb88671539a56ad71c3bb57d97478358c3955062f365045
|
||||
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A screamingly fast Python WSGI server written in C"
|
||||
HOMEPAGE="https://github.com/jonashaag/bjoern https://pypi.python.org/pypi/bjoern/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-libs/libev
|
||||
net-libs/http-parser"
|
||||
RDEPEND="${DEPEND}"
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Amazon Web Services API"
|
||||
HOMEPAGE="https://github.com/boto/boto https://pypi.python.org/pypi/boto"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="doc test"
|
||||
|
||||
REQUIRED_USE="doc? ( || ( $(python_gen_useflags 'python2*') ) )"
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
|
||||
|
||||
# requires Amazon Web Services keys to pass some tests
|
||||
RESTRICT="test"
|
||||
|
||||
pkg_setup() {
|
||||
use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( 'python2*' )
|
||||
}
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" tests/test.py -v || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_prepare_all() {
|
||||
# Prevent un-needed d'loading
|
||||
sed -e "s/, 'sphinx.ext.intersphinx'//" -i docs/source/conf.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
# Appease the doc build and supply a file for _static
|
||||
# the usual emake -C docs doesn't work under this authorship
|
||||
cd docs && mkdir source/_static || die
|
||||
emake html
|
||||
fi
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST maybe-0.3.0.tar.gz 5738 SHA256 214dc0bbf35e1174103711f068840b998f6f4fcd93d65957b9087906308fb45b SHA512 512b7b5251c27a64891bd105599b5625331cb21d40dbf7d1b88b56375a5ead484f02f87da6410c01682c180218cae7b0df7a9f92ad7a69a862b333ee36265152 WHIRLPOOL 4d6fdbc58b95a9e8ef9dd27404b17d70e84d38ee0e5f905de2dcee2cc33cfcedddca97fef2109141a42111688c0ff5a5ce407d81057b7d7d9c53fd83237a23df
|
||||
DIST maybe-0.4.0.tar.gz 6105 SHA256 581ad535104e8af27f56d1eecf92525c44d0440f228351fe195f56c0d45852b9 SHA512 39882c69375b408e809e899b997675c9395ddf50b8625fd04a0d78cbd041f6138e491b76578c8b530ba122b921c694bc27d256eab7485ea4638330f6e0411129 WHIRLPOOL 68d4ef05356c164ae5a764e3d922565e3a750c8a300b12ab3b87c18bc7636f08764a49a286fd315b3cffcf3cbe5dc6fd7c25c43e4ee8d68ad16d747f98ed6224
|
||||
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_{3,4,5}} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="See what a program does before deciding whether you really want it to happen"
|
||||
HOMEPAGE="https://github.com/p-e-w/maybe http://pypi.python.org/pypi/maybe"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-python/blessings[${PYTHON_USEDEP}]
|
||||
dev-python/python-ptrace[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools_scm[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-runner-2.7[${PYTHON_USEDEP}]
|
||||
"
|
@ -1,2 +1,3 @@
|
||||
DIST python-mimeparse-0.1.4.tar.gz 5228 SHA256 3c69a21e37e77f754e6fc09ebda70acd92c90d8a58f29a41cc0248351378ddc3 SHA512 c8eeb298773a0eb36512b1d9a46dfc85423c0dab10b85ed94284bf1bf8dba8c34aeccefd8b6a187434789d5a160ab5d4af81659dd1808ea02078cc2b168e10b3 WHIRLPOOL f83328743b16ae46263e05055d6400617b7858e11837ce892919e26a36348650122b78ee366125a1793b20fa71c641b3606bf834d2936f98dab65b89b740385b
|
||||
DIST python-mimeparse-1.5.1.tar.gz 5822 SHA256 e4d0c49120f5d946106ed3a6fed0b353740c0c9700b57d7d024c65466e50a106 SHA512 bd25dd43ba98ac8e10e02d21ae040be76b0a2ae3904333c6bbf8d46e4f12bda84eb410059b22a345b6840af2c055802b31c3f76c46f133c1c11673a4f15f21f7 WHIRLPOOL a31cd0a78ba86a16d335ece4a226981dce813399e0695ce577d6fa8f327e6cf88c5723f69600f5852cde2d1a66ccb49aac1b8ada3854e1fe8f33a073a8ebb27c
|
||||
DIST python-mimeparse-1.5.2.tar.gz 5870 SHA256 bef134a59598cc6aa598f84553162aa7a0c01f3f431588225bb9a208964b1827 SHA512 e11c28d627da4a12075ebc427813476ef32585cfeeb323c852e80f1fb8e987324ffab8a314e5249fe689460a457189d6cd252241b81a1d2d8216256d4976df14 WHIRLPOOL 9f1e290f37ab4e4cf0785c2188882bee7f660f533718b6c19867f12f0213f3a59a783559e98d86955f587c9e6d9b15de5b93cf3d1712e65c7b8e0248463d2ffa
|
||||
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="python-${PN}"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Basic functions for handling mime-types in python"
|
||||
HOMEPAGE="
|
||||
https://code.google.com/p/mimeparse
|
||||
https://github.com/dbtsai/python-mimeparse"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" mimeparse_test.py || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
|
||||
if [[ ${EPYTHON} == pypy ]]; then
|
||||
local pyver=2.7
|
||||
elif [[ ${EPYTHON} == pypy3 ]]; then
|
||||
local pyver=3.2
|
||||
else
|
||||
local pyver=${EPYTHON#python}
|
||||
fi
|
||||
python_export PYTHON_SITEDIR
|
||||
|
||||
# Previous versions were just called 'mimeparse'
|
||||
ln -sf python_mimeparse-${PV}-py${pyver}.egg-info \
|
||||
"${D%/}${PYTHON_SITEDIR}/mimeparse-${PV}-py${pyver}.egg-info" || die
|
||||
}
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Data migration in python"
|
||||
HOMEPAGE="https://github.com/ContinuumIO/odo"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="app-arch/unzip
|
||||
doc? ( dev-python/docutils )"
|
||||
RDEPEND=">=dev-python/datashape-0.4.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/numpy-1.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/pandas-0.15.0[${PYTHON_USEDEP}]
|
||||
dev-python/toolz[${PYTHON_USEDEP}]
|
||||
>=dev-python/multipledispatch-0.4.7[${PYTHON_USEDEP}]
|
||||
dev-python/networkx[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
python_prepare_all() {
|
||||
sed -e '/.. toctree::/d' -i docs/source/index.rst|| die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
pushd docs/source > /dev/null
|
||||
mkdir ../build || die
|
||||
local i;
|
||||
for i in ./*
|
||||
do
|
||||
rst2html.py $i > ../build/${i/rst/html} || die
|
||||
done
|
||||
popd > /dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/build/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST promise-0.2.2.tar.gz 19765 SHA256 1fb52a23bee47644819c4a11b0b7169474625c44629f9b76a04cf59e118f4f6c SHA512 271731b2be94ce65680079d3c43034e2ef5da37efc00c36e513cacc0e19a47ccfc43911c43f6c860789ddf86d96870ad8ca7c3cf0074f977727d630354d79840 WHIRLPOOL cbe48adf35a65cc737b85cbdc0a542dadd56b4e2e45d75567b03f1031dd39f229b0dbba26ed23ee4dfae4e1b0dd0e5f22592ddfa24dc457697895d9e7a5298fe
|
||||
DIST promise-0.4.1.tar.gz 6877 SHA256 75a8427f8d2f670067154acb08048fd2b52f4f5c836f15c07a2c073b8d4eb1d4 SHA512 57cc594a75c542430aea3b12731319e377b1c5123d900ed7588088667c9ec6b17bec03d5d0300712ae887af8394c2bfaa23d98feac97944de4c04eca5d80825c WHIRLPOOL c0e163cbb58377eb8ae5e98fdb27b7fff6f4b668b6eeb03106db3ed4599f3bbf2c1cd32c38444cc210cc3fb5f61cede3fa20413075423bafdb84bf886d437ecf
|
||||
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
DISTUTILS_SINGLE_IMPL=1
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Bytecode optimisation using staticness assertions"
|
||||
HOMEPAGE="https://github.com/rfk/promise/ https://pypi.python.org/pypi/promise"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="test? ( dev-python/nose[${PYTHON_USEDEP}] )"
|
||||
RDEPEND="${PYTHON_DEPS}"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# Timing tests fail.
|
||||
PROMISE_SKIP_TIMING_TESTS="1" nosetests || die "tests failed"
|
||||
}
|
@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} pypy )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1 eutils
|
||||
|
||||
DESCRIPTION="Python code static checker"
|
||||
HOMEPAGE="
|
||||
http://www.logilab.org/project/pylint
|
||||
https://pypi.python.org/pypi/pylint
|
||||
https://github.com/pycqa/pylint"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
|
||||
IUSE="doc examples test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/astroid-1.4.5[${PYTHON_USEDEP}]
|
||||
<dev-python/astroid-1.5.0[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? ( ${RDEPEND} )"
|
||||
|
||||
RESTRICT="test" # multiple failures
|
||||
|
||||
# Usual. Requ'd for impl specific failures in test phase
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
python_compile_all() {
|
||||
# selection of straight html triggers a trivial annoying bug, we skirt it
|
||||
use doc && PYTHONPATH="${S}" emake -e -C doc singlehtml
|
||||
}
|
||||
|
||||
python_test() {
|
||||
${PYTHON} \
|
||||
-m unittest discover \
|
||||
-s pylint/test/ -p "*test_*".py \
|
||||
--verbose || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
doman man/{pylint,pyreverse}.1
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
use doc && local HTML_DOCS=( doc/_build/singlehtml/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Optional dependency on "tk" USE flag would break support for Jython.
|
||||
optfeature "pylint-gui script requires dev-lang/python with \"tk\" USE flag enabled." dev-lang/python[tk]
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST pytest-runner-2.6.2.tar.gz 6379 SHA256 e775a40ee4a3a1d45018b199c44cc20bbe7f3df2dc8882f61465bb4141c78cdb SHA512 6a993e8729d5e203986f2526d46e96b7ac19e65fc26493a55a98e858304ecde0c47576476864a0ee1817ea1a7b02cfda952fc03f79b84fff249021f140f3d00d WHIRLPOOL 968a38864b58d35d4c9fb0fa2855bae9f87bcb68936b5f129c5bc67b2c751e51bf5f9e5f54d27f36ccd6e89df7d4f8c4a6556de408cc8287f52725e1eb73fef5
|
||||
DIST pytest-runner-2.8.tar.gz 8535 SHA256 1ec44deddaa551f85fd563c40a4c483a2609aca1f284a95399566a74d0680d5c SHA512 bdbd71dc4713dca2b00fa63e8414dab0611af460c25746d5377881024c23e2c8a6f1374ab9c94fa33dae1ac2f0b7ba10f747287a3cbaeb5a44ff1dd4542e122e WHIRLPOOL 541421d6f2a8490c58fb1c33c7227ab685f9031626c8007f867d2bbc81c8913a3bcc709f34707eca2d239706eb86b090bd49024b8ee5111a4d5e84f9a292a2f0
|
||||
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Adds support for tests during installation of setup.py files"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/pytest-runner https://bitbucket.org/pytest-dev/pytest-runner"
|
||||
SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
SLOT="0"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools_scm[${PYTHON_USEDEP}]
|
||||
"
|
||||
RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]"
|
||||
|
||||
# Test not included
|
||||
RESTRICT="test"
|
||||
|
||||
python_compile_all() {
|
||||
# The build by rst2html.py makes non fatal errors building index.rst
|
||||
if use doc; then
|
||||
rst2html.py docs/history.rst > docs/history.html
|
||||
rst2html.py docs/index.rst > docs/index.html
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py pytest
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST python-memcached-1.53.tar.gz 35025 SHA256 af04ea031b271a54f085166773e028fe053fc1d9a58cd8b3c3a57945990bfb48 SHA512 33ffd2778025a8e15beddf1660c4b5c9f1ba144adab5c36fd679e15508015c00e3e1185b5cc179cfcfc556b7c3ab44ed9914089e5ce9db66a04d0a658dd38bb3 WHIRLPOOL 81b80a05010eec576ce8eb00ac4c799213bfc82af4dd3d3da138d02337d28dcb5fbefcbdf11e8d9344b307ba8b1ab2a770b8130fce2f732e484f283e2fe85aae
|
||||
DIST python-memcached-1.54.tar.gz 36662 SHA256 df21d1431424c512901ecc3cd244039833aebc4bc7d345af403d4abdace20081 SHA512 e66684fba5ac638efef971df14f4049f1aeae1a84a9c530f26560c1150d7b136746daa164754a0e451ee1caf0b24fd856083aa23f42be1bd4e90a6943d9e45ad WHIRLPOOL a2d1c60fba41002c03718a75659ff1c3944e32b3c900643af2ed227e6280af2635f068f27923ed1722ae1407cd3a1e9696e6c628e4898aaf73451105846c31cb
|
||||
DIST python-memcached-1.57.tar.gz 22620 SHA256 3b689a135afb2fdb6da2298d5213780f43a3f210cf8c960d50b252acb3f62902 SHA512 1862d9a5c7c29c8956384e1b951b59dba1fb2bbaeb1c3a99b1b917a93e04e0d86f4b38022a4b0146889448a2d2152e7282cdf33d0240126350dc88d34f216ad4 WHIRLPOOL cda22d597848bf2ca138f0cc9cfedb9d1b58cf217568d6bf8ffe6b7ca2b9771f079db76e1b0fc577b079e717fd851007ec65859454ae6fc5eb369394bc205a6b
|
||||
DIST python-memcached-1.58.tar.gz 30562 SHA256 2775829cb54b9e4c5b3bbd8028680f0c0ab695db154b9c46f0f074ff97540eb6 SHA512 48f933f095751b476c122473fa1d9767cfe5c6c339a9ba71825a50cec23cbfc7b6493716458bfb1f2451c634c517519152105a2000be66bd0d389f94ea312138 WHIRLPOOL 391d91a7d40f1d85febf7f90f0593d315854caa6dac0c4f70c2c3ee7af79b049099406683436df6af0e879626d6b42f95eed6a0153ae3874a9b746998cd02b88
|
||||
|
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_3 python3_4 python3_5 pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Pure python memcached client"
|
||||
HOMEPAGE="http://www.tummy.com/Community/software/python-memcached/ https://pypi.python.org/pypi/python-memcached"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="OSL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
net-misc/memcached
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
)"
|
||||
RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
|
||||
|
||||
# Tests try to connect to memcached via TCP/IP. Please do not re-enable
|
||||
# until you get them all to pass properly while using the UNIX socket
|
||||
# only and not even trying to connect to memcached over TCP/IP.
|
||||
RESTRICT=test
|
||||
|
||||
python_test() {
|
||||
# Note: partial. Needs fixing. Stuff like that.
|
||||
|
||||
cd "${TMPDIR}" || die
|
||||
|
||||
local memcached_opts=( -d -P memcached.pid -s memcached.socket )
|
||||
[[ ${EUID} == 0 ]] && memcached_opts+=( -u portage )
|
||||
|
||||
memcached "${memached_opts[@]}" || die
|
||||
|
||||
"${PYTHON}" memcache.py --do-unix || die "Tests fail with ${EPYTHON}"
|
||||
|
||||
kill "$(<memcached.pid)" || die
|
||||
rm memcached.pid || die
|
||||
}
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} pypy )
|
||||
|
||||
inherit distutils-r1 versionator
|
||||
|
||||
MY_PN=WebOb
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="WSGI request and response object"
|
||||
HOMEPAGE="http://webob.org/ https://pypi.python.org/pypi/WebOb"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="doc test"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/coverage[${PYTHON_USEDEP}] )"
|
||||
RDEPEND=""
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
"${PYTHON}" setup.py build_sphinx || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests --verbose -w tests || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( "${BUILD_DIR}"/sphinx/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -0,0 +1,68 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="WebTest"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Helper to test WSGI applications"
|
||||
HOMEPAGE="http://pythonpaste.org/webtest/ https://pypi.python.org/pypi/WebTest"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE="doc test"
|
||||
|
||||
# nose<1.3.0 appears a leftover never updated in requires.txt. tests pass fine with latest
|
||||
RDEPEND="
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
>=dev-python/waitress-0.8.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/webob-1.2[${PYTHON_USEDEP}]
|
||||
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
|
||||
dev-python/lxml[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/pyquery[${PYTHON_USEDEP}]
|
||||
dev-python/pastedeploy[${PYTHON_USEDEP}]
|
||||
dev-python/wsgiproxy2[${PYTHON_USEDEP}]
|
||||
dev-python/coverage[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 )
|
||||
)"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
# Makes testing easier; otherwise we get errors from pkg_resources.
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
python_prepare_all() {
|
||||
# Prevent un-needed d'loading during doc build
|
||||
sed -s 's:intersphinx_mapping:_&:' -i docs/conf.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
sphinx-build docs html || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# Tests raise ImportErrors with our default PYTHONPATH.
|
||||
local -x PYTHONPATH=
|
||||
nosetests || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -0,0 +1,131 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit user
|
||||
|
||||
DESCRIPTION="Scripts necessary for use of vdr as a set-top-box"
|
||||
HOMEPAGE="https://www.gentoo.org/"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2
|
||||
https://dev.gentoo.org/~hd_brummy/distfiles/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~x86"
|
||||
IUSE="nvram"
|
||||
|
||||
RDEPEND="nvram? ( sys-power/nvram-wakeup )
|
||||
app-admin/sudo
|
||||
sys-process/wait_on_pid"
|
||||
|
||||
VDR_HOME=/var/vdr
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup vdr
|
||||
|
||||
# Add user vdr to these groups:
|
||||
# video - accessing dvb-devices
|
||||
# audio - playing sound when using software-devices
|
||||
# cdrom - playing dvds/audio-cds ...
|
||||
enewuser vdr -1 /bin/bash "${VDR_HOME}" vdr,video,audio,cdrom
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local DOCS=( README* TODO ChangeLog )
|
||||
|
||||
default
|
||||
|
||||
# create necessary directories
|
||||
diropts -ovdr -gvdr
|
||||
keepdir "${VDR_HOME}"
|
||||
|
||||
local kd
|
||||
for kd in shutdown-data merged-config-files dvd-images; do
|
||||
keepdir "${VDR_HOME}/${kd}"
|
||||
done
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
local PLUGINS_NEW=0
|
||||
if [[ -f "${ROOT}"/etc/conf.d/vdr.plugins ]]; then
|
||||
PLUGINS_NEW=$(grep -v '^#' "${ROOT}"/etc/conf.d/vdr.plugins |grep -v '^$'|wc -l)
|
||||
fi
|
||||
if [[ ${PLUGINS_NEW} > 0 ]]; then
|
||||
cp "${ROOT}"/etc/conf.d/vdr.plugins "${D}"/etc/conf.d/vdr.plugins
|
||||
else
|
||||
einfo "Migrating PLUGINS setting from /etc/conf.d/vdr to /etc/conf.d/vdr.plugins"
|
||||
local PLUGIN
|
||||
for PLUGIN in $(source "${ROOT}"/etc/conf.d/vdr;echo $PLUGINS); do
|
||||
echo ${PLUGIN} >> "${D}"/etc/conf.d/vdr.plugins
|
||||
done
|
||||
fi
|
||||
|
||||
has_version "<${CATEGORY}/${PN}-0.5.4"
|
||||
previous_less_than_0_5_4=$?
|
||||
|
||||
has_version "<${CATEGORY}/${PN}-2.6"
|
||||
previous_less_than_2_6=$?
|
||||
}
|
||||
|
||||
VDRSUDOENTRY="vdr ALL=NOPASSWD:/usr/share/vdr/bin/vdrshutdown-really.sh"
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ $previous_less_than_0_5_4 = 0 ]] ; then
|
||||
elog "\nVDR use now default the --cachedir parameter to store the epg.file"
|
||||
elog "Please do not override this with the EPGFILE variable\n"
|
||||
|
||||
elog "svdrp port 2001 support removed\n"
|
||||
|
||||
elog "--rcu support removed, use media-plugin/vdr-rcu\n"
|
||||
fi
|
||||
|
||||
if [[ $previous_less_than_2_6 = 0 ]]; then
|
||||
elog "${CATEGORY}/${PN} supports now a init script"
|
||||
elog "to start a X server"
|
||||
elog "Please refer for detailed info to"
|
||||
elog "${CATGORY}/${PN} README.x11-setup\n"
|
||||
fi
|
||||
|
||||
if use nvram; then
|
||||
elog "nvram wakeup is optional."
|
||||
elog "To make use of it emerge sys-power/nvram-wakeup.\n"
|
||||
fi
|
||||
|
||||
elog "Plugins which should be used are now set via its"
|
||||
elog "own config-file called /etc/conf.d/vdr.plugins"
|
||||
elog "or enabled via the frontend eselect vdr-plugin.\n"
|
||||
|
||||
if [[ -f "${ROOT}"/etc/conf.d/vdr.dvdswitch ]] &&
|
||||
grep -q ^DVDSWITCH_BURNSPEED= "${ROOT}"/etc/conf.d/vdr.dvdswitch
|
||||
then
|
||||
ewarn "You are setting DVDSWITCH_BURNSPEED in /etc/conf.d/vdr.dvdswitch"
|
||||
ewarn "This no longer has any effect, please use"
|
||||
ewarn "VDR_DVDBURNSPEED in /etc/conf.d/vdr.cd-dvd"
|
||||
fi
|
||||
|
||||
elog "systemd is supported by ${CATEGORY}/${PN}"
|
||||
elog "Please read for detailed info on this"
|
||||
elog "${CATEGORY}/${PN} README.systemd"
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
if grep -q /usr/share/vdr/bin/vdrshutdown-really.sh "${ROOT}"/etc/sudoers; then
|
||||
|
||||
einfo "Removing depricated entry from /etc/sudoers:"
|
||||
einfo "- ${VDRSUDOENTRY}"
|
||||
|
||||
cd "${T}"
|
||||
cat >sudoedit-vdr.sh <<-SUDOEDITOR
|
||||
#!/bin/bash
|
||||
sed -i \${1} -e '/\/usr\/share\/vdr\/bin\/vdrshutdown-really.sh *$/d'
|
||||
|
||||
SUDOEDITOR
|
||||
chmod a+x sudoedit-vdr.sh
|
||||
|
||||
VISUAL="${T}"/sudoedit-vdr.sh visudo -f "${ROOT}"/etc/sudoers || die "visudo failed"
|
||||
|
||||
einfo "Edited /etc/sudoers"
|
||||
fi
|
||||
}
|
@ -1 +1 @@
|
||||
Sun, 12 Jun 2016 18:40:53 +0000
|
||||
Sun, 12 Jun 2016 19:40:49 +0000
|
||||
|
@ -1 +1 @@
|
||||
Sun, 12 Jun 2016 18:40:53 +0000
|
||||
Sun, 12 Jun 2016 19:40:49 +0000
|
||||
|
@ -0,0 +1,15 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=app-arch/unzip dev-python/setuptools[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_pypy(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] python_targets_pypy? ( virtual/pypy:0= ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) >=dev-lang/python-exec-2:=[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_pypy(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)]
|
||||
DESCRIPTION=Abstract Syntax Tree for logilab packages
|
||||
EAPI=5
|
||||
HOMEPAGE=https://bitbucket.org/logilab/astroid https://pypi.python.org/pypi/astroid
|
||||
IUSE=test python_targets_pypy python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 python_targets_python3_5
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos ~x86-macos
|
||||
LICENSE=LGPL-2.1
|
||||
RDEPEND=dev-python/lazy-object-proxy[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_pypy(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] dev-python/six[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_pypy(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] dev-python/wrapt[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_pypy(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] python_targets_pypy? ( virtual/pypy:0= ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) >=dev-lang/python-exec-2:=[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_pypy(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)]
|
||||
REQUIRED_USE=|| ( python_targets_pypy python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 python_targets_python3_5 )
|
||||
RESTRICT=test
|
||||
SLOT=0
|
||||
SRC_URI=mirror://pypi/a/astroid/astroid-1.4.6.tar.gz
|
||||
_eclasses_=distutils-r1 3a17743abcc9335483329f33c87b472d eutils 792f83d5ec9536cb5ccef375469d8bde multibuild 742139c87a9fa3766f0c2b155e5522bf multilib d062ae4ba2fc40a19c11de2ad89b6616 multiprocessing e32940a7b2a9992ad217eccddb84d548 python-r1 0f6937650a475d673baa5d0c8c0b37b3 python-utils-r1 c0ed2a2f233d3af6dd556048695dc5cb toolchain-funcs c9d9187f4caa4026a0ceddd8dfceb3c1
|
||||
_md5_=733d6b47f0c5058766852462259d83a0
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=dev-libs/libev net-libs/http-parser python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)]
|
||||
DESCRIPTION=A screamingly fast Python WSGI server written in C
|
||||
EAPI=5
|
||||
HOMEPAGE=https://github.com/jonashaag/bjoern https://pypi.python.org/pypi/bjoern/
|
||||
IUSE=python_targets_python2_7
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=BSD-2
|
||||
RDEPEND=dev-libs/libev net-libs/http-parser python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)]
|
||||
REQUIRED_USE=|| ( python_targets_python2_7 )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://pypi/b/bjoern/bjoern-1.4.3.tar.gz
|
||||
_eclasses_=distutils-r1 3a17743abcc9335483329f33c87b472d eutils 792f83d5ec9536cb5ccef375469d8bde multibuild 742139c87a9fa3766f0c2b155e5522bf multilib d062ae4ba2fc40a19c11de2ad89b6616 multiprocessing e32940a7b2a9992ad217eccddb84d548 python-r1 0f6937650a475d673baa5d0c8c0b37b3 python-utils-r1 c0ed2a2f233d3af6dd556048695dc5cb toolchain-funcs c9d9187f4caa4026a0ceddd8dfceb3c1
|
||||
_md5_=914a1a6ff968bbcbeed0c1cd892f162b
|
@ -0,0 +1,15 @@
|
||||
DEFINED_PHASES=compile configure install prepare setup test
|
||||
DEPEND=dev-python/setuptools[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] test? ( dev-python/nose[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] ) doc? ( dev-python/sphinx[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)]
|
||||
DESCRIPTION=Amazon Web Services API
|
||||
EAPI=5
|
||||
HOMEPAGE=https://github.com/boto/boto https://pypi.python.org/pypi/boto
|
||||
IUSE=doc test python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 python_targets_python3_5
|
||||
KEYWORDS=~amd64 ~arm ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos
|
||||
LICENSE=MIT
|
||||
RDEPEND=python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)]
|
||||
REQUIRED_USE=doc? ( || ( python_targets_python2_7 ) ) || ( python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 python_targets_python3_5 )
|
||||
RESTRICT=test
|
||||
SLOT=0
|
||||
SRC_URI=mirror://pypi/b/boto/boto-2.40.0.tar.gz
|
||||
_eclasses_=distutils-r1 3a17743abcc9335483329f33c87b472d eutils 792f83d5ec9536cb5ccef375469d8bde multibuild 742139c87a9fa3766f0c2b155e5522bf multilib d062ae4ba2fc40a19c11de2ad89b6616 multiprocessing e32940a7b2a9992ad217eccddb84d548 python-r1 0f6937650a475d673baa5d0c8c0b37b3 python-utils-r1 c0ed2a2f233d3af6dd556048695dc5cb toolchain-funcs c9d9187f4caa4026a0ceddd8dfceb3c1
|
||||
_md5_=ff7ef142abf5bbfb4b9fa2068a642c57
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=dev-python/blessings[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] dev-python/python-ptrace[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] dev-python/setuptools[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] dev-python/setuptools_scm[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] >=dev-python/pytest-runner-2.7[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)]
|
||||
DESCRIPTION=See what a program does before deciding whether you really want it to happen
|
||||
EAPI=6
|
||||
HOMEPAGE=https://github.com/p-e-w/maybe http://pypi.python.org/pypi/maybe
|
||||
IUSE=python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 python_targets_python3_5
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-3
|
||||
RDEPEND=dev-python/blessings[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] dev-python/python-ptrace[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)]
|
||||
REQUIRED_USE=|| ( python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 python_targets_python3_5 )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://pypi/m/maybe/maybe-0.4.0.tar.gz
|
||||
_eclasses_=distutils-r1 3a17743abcc9335483329f33c87b472d multibuild 742139c87a9fa3766f0c2b155e5522bf multilib d062ae4ba2fc40a19c11de2ad89b6616 multiprocessing e32940a7b2a9992ad217eccddb84d548 python-r1 0f6937650a475d673baa5d0c8c0b37b3 python-utils-r1 c0ed2a2f233d3af6dd556048695dc5cb toolchain-funcs c9d9187f4caa4026a0ceddd8dfceb3c1
|
||||
_md5_=c72e56f0727ebaba326e5fa93105c9f6
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=dev-python/setuptools[python_targets_pypy(-)?,python_targets_pypy3(-)?,python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] python_targets_pypy? ( virtual/pypy:0= ) python_targets_pypy3? ( virtual/pypy3:0= ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) >=dev-lang/python-exec-2:=[python_targets_pypy(-)?,python_targets_pypy3(-)?,python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)]
|
||||
DESCRIPTION=Basic functions for handling mime-types in python
|
||||
EAPI=5
|
||||
HOMEPAGE=https://code.google.com/p/mimeparse https://github.com/dbtsai/python-mimeparse
|
||||
IUSE=python_targets_pypy python_targets_pypy3 python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 python_targets_python3_5
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux
|
||||
LICENSE=MIT
|
||||
RDEPEND=python_targets_pypy? ( virtual/pypy:0= ) python_targets_pypy3? ( virtual/pypy3:0= ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) >=dev-lang/python-exec-2:=[python_targets_pypy(-)?,python_targets_pypy3(-)?,python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)]
|
||||
REQUIRED_USE=|| ( python_targets_pypy python_targets_pypy3 python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 python_targets_python3_5 )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://pypi/p/python-mimeparse/python-mimeparse-1.5.2.tar.gz
|
||||
_eclasses_=distutils-r1 3a17743abcc9335483329f33c87b472d eutils 792f83d5ec9536cb5ccef375469d8bde multibuild 742139c87a9fa3766f0c2b155e5522bf multilib d062ae4ba2fc40a19c11de2ad89b6616 multiprocessing e32940a7b2a9992ad217eccddb84d548 python-r1 0f6937650a475d673baa5d0c8c0b37b3 python-utils-r1 c0ed2a2f233d3af6dd556048695dc5cb toolchain-funcs c9d9187f4caa4026a0ceddd8dfceb3c1
|
||||
_md5_=58723595cab494e9d2bd285d436fe448
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=app-arch/unzip doc? ( dev-python/docutils ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)]
|
||||
DESCRIPTION=Data migration in python
|
||||
EAPI=5
|
||||
HOMEPAGE=https://github.com/ContinuumIO/odo
|
||||
IUSE=doc python_targets_python2_7 python_targets_python3_3 python_targets_python3_4
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=BSD
|
||||
RDEPEND=>=dev-python/datashape-0.4.4[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)] >=dev-python/numpy-1.7[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)] >=dev-python/pandas-0.15.0[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)] dev-python/toolz[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)] >=dev-python/multipledispatch-0.4.7[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)] dev-python/networkx[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)] python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)]
|
||||
REQUIRED_USE=|| ( python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://pypi/o/odo/odo-0.5.0.tar.gz
|
||||
_eclasses_=distutils-r1 3a17743abcc9335483329f33c87b472d eutils 792f83d5ec9536cb5ccef375469d8bde multibuild 742139c87a9fa3766f0c2b155e5522bf multilib d062ae4ba2fc40a19c11de2ad89b6616 multiprocessing e32940a7b2a9992ad217eccddb84d548 python-r1 0f6937650a475d673baa5d0c8c0b37b3 python-utils-r1 c0ed2a2f233d3af6dd556048695dc5cb toolchain-funcs c9d9187f4caa4026a0ceddd8dfceb3c1
|
||||
_md5_=4a937d331c7fd446c532a3d1f8b8d18d
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install prepare setup test
|
||||
DEPEND=test? ( dev-python/nose[python_targets_python2_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),python_single_target_python2_7(+)] ) >=dev-lang/python-2.7.5-r2:2.7 >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),python_single_target_python2_7(+)]
|
||||
DESCRIPTION=Bytecode optimisation using staticness assertions
|
||||
EAPI=5
|
||||
HOMEPAGE=https://github.com/rfk/promise/ https://pypi.python.org/pypi/promise
|
||||
IUSE=test python_targets_python2_7
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=MIT
|
||||
RDEPEND=>=dev-lang/python-2.7.5-r2:2.7 >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),python_single_target_python2_7(+)] >=dev-lang/python-2.7.5-r2:2.7 >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),python_single_target_python2_7(+)]
|
||||
REQUIRED_USE=python_targets_python2_7
|
||||
SLOT=0
|
||||
SRC_URI=mirror://pypi/p/promise/promise-0.4.1.tar.gz
|
||||
_eclasses_=distutils-r1 3a17743abcc9335483329f33c87b472d eutils 792f83d5ec9536cb5ccef375469d8bde multilib d062ae4ba2fc40a19c11de2ad89b6616 python-single-r1 2ebea8fbab356d63110245129a67a6dd python-utils-r1 c0ed2a2f233d3af6dd556048695dc5cb toolchain-funcs c9d9187f4caa4026a0ceddd8dfceb3c1
|
||||
_md5_=0a4f28a8283746981ed3579956792e39
|
@ -0,0 +1,15 @@
|
||||
DEFINED_PHASES=compile configure install postinst prepare test
|
||||
DEPEND=dev-python/setuptools[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_pypy(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] doc? ( dev-python/sphinx[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_pypy(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] ) test? ( >=dev-python/astroid-1.4.5[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_pypy(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] <dev-python/astroid-1.5.0[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_pypy(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] dev-python/colorama[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_pypy(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] dev-python/six[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_pypy(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] ) python_targets_pypy? ( virtual/pypy:0=[threads(+)] ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[threads(+)] ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3[threads(+)] ) python_targets_python3_4? ( dev-lang/python:3.4[threads(+)] ) python_targets_python3_5? ( dev-lang/python:3.5[threads(+)] ) >=dev-lang/python-exec-2:=[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_pypy(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)]
|
||||
DESCRIPTION=Python code static checker
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.logilab.org/project/pylint https://pypi.python.org/pypi/pylint https://github.com/pycqa/pylint
|
||||
IUSE=doc examples test python_targets_pypy python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 python_targets_python3_5
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=>=dev-python/astroid-1.4.5[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_pypy(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] <dev-python/astroid-1.5.0[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_pypy(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] dev-python/colorama[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_pypy(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] dev-python/six[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_pypy(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] python_targets_pypy? ( virtual/pypy:0=[threads(+)] ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[threads(+)] ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3[threads(+)] ) python_targets_python3_4? ( dev-lang/python:3.4[threads(+)] ) python_targets_python3_5? ( dev-lang/python:3.5[threads(+)] ) >=dev-lang/python-exec-2:=[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_pypy(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)]
|
||||
REQUIRED_USE=|| ( python_targets_pypy python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 python_targets_python3_5 )
|
||||
RESTRICT=test
|
||||
SLOT=0
|
||||
SRC_URI=mirror://pypi/p/pylint/pylint-1.5.6.tar.gz
|
||||
_eclasses_=distutils-r1 3a17743abcc9335483329f33c87b472d eutils 792f83d5ec9536cb5ccef375469d8bde multibuild 742139c87a9fa3766f0c2b155e5522bf multilib d062ae4ba2fc40a19c11de2ad89b6616 multiprocessing e32940a7b2a9992ad217eccddb84d548 python-r1 0f6937650a475d673baa5d0c8c0b37b3 python-utils-r1 c0ed2a2f233d3af6dd556048695dc5cb toolchain-funcs c9d9187f4caa4026a0ceddd8dfceb3c1
|
||||
_md5_=28200f7aa2b94319b96a30efcc3179ea
|
@ -0,0 +1,15 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=dev-python/setuptools[python_targets_pypy(-)?,python_targets_pypy3(-)?,python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] dev-python/setuptools_scm[python_targets_pypy(-)?,python_targets_pypy3(-)?,python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] python_targets_pypy? ( virtual/pypy:0= ) python_targets_pypy3? ( virtual/pypy3:0= ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) >=dev-lang/python-exec-2:=[python_targets_pypy(-)?,python_targets_pypy3(-)?,python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)]
|
||||
DESCRIPTION=Adds support for tests during installation of setup.py files
|
||||
EAPI=5
|
||||
HOMEPAGE=https://pypi.python.org/pypi/pytest-runner https://bitbucket.org/pytest-dev/pytest-runner
|
||||
IUSE=doc python_targets_pypy python_targets_pypy3 python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 python_targets_python3_5
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86
|
||||
LICENSE=MIT
|
||||
RDEPEND=dev-python/pytest[python_targets_pypy(-)?,python_targets_pypy3(-)?,python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] python_targets_pypy? ( virtual/pypy:0= ) python_targets_pypy3? ( virtual/pypy3:0= ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) >=dev-lang/python-exec-2:=[python_targets_pypy(-)?,python_targets_pypy3(-)?,python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)]
|
||||
REQUIRED_USE=|| ( python_targets_pypy python_targets_pypy3 python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 python_targets_python3_5 )
|
||||
RESTRICT=test
|
||||
SLOT=0
|
||||
SRC_URI=mirror://pypi/p/pytest-runner/pytest-runner-2.8.tar.gz
|
||||
_eclasses_=distutils-r1 3a17743abcc9335483329f33c87b472d eutils 792f83d5ec9536cb5ccef375469d8bde multibuild 742139c87a9fa3766f0c2b155e5522bf multilib d062ae4ba2fc40a19c11de2ad89b6616 multiprocessing e32940a7b2a9992ad217eccddb84d548 python-r1 0f6937650a475d673baa5d0c8c0b37b3 python-utils-r1 c0ed2a2f233d3af6dd556048695dc5cb toolchain-funcs c9d9187f4caa4026a0ceddd8dfceb3c1
|
||||
_md5_=3be4512f844fbc4ca89f0225bc566373
|
@ -0,0 +1,15 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=dev-python/setuptools[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_pypy(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] test? ( net-misc/memcached dev-python/nose[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_pypy(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] ) python_targets_pypy? ( virtual/pypy:0= ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) >=dev-lang/python-exec-2:=[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_pypy(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)]
|
||||
DESCRIPTION=Pure python memcached client
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.tummy.com/Community/software/python-memcached/ https://pypi.python.org/pypi/python-memcached
|
||||
IUSE=test python_targets_pypy python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 python_targets_python3_5
|
||||
KEYWORDS=~amd64 ~arm64 ~ppc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos
|
||||
LICENSE=OSL-2.0
|
||||
RDEPEND=dev-python/six[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_pypy(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] python_targets_pypy? ( virtual/pypy:0= ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) >=dev-lang/python-exec-2:=[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_pypy(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)]
|
||||
REQUIRED_USE=|| ( python_targets_pypy python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 python_targets_python3_5 )
|
||||
RESTRICT=test
|
||||
SLOT=0
|
||||
SRC_URI=mirror://pypi/p/python-memcached/python-memcached-1.58.tar.gz
|
||||
_eclasses_=distutils-r1 3a17743abcc9335483329f33c87b472d eutils 792f83d5ec9536cb5ccef375469d8bde multibuild 742139c87a9fa3766f0c2b155e5522bf multilib d062ae4ba2fc40a19c11de2ad89b6616 multiprocessing e32940a7b2a9992ad217eccddb84d548 python-r1 0f6937650a475d673baa5d0c8c0b37b3 python-utils-r1 c0ed2a2f233d3af6dd556048695dc5cb toolchain-funcs c9d9187f4caa4026a0ceddd8dfceb3c1
|
||||
_md5_=4a6eedffddfff653cec9b4ebc4be0f51
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=dev-python/setuptools[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_pypy(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] doc? ( dev-python/sphinx[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_pypy(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] ) test? ( dev-python/nose[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_pypy(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] dev-python/coverage[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_pypy(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] ) python_targets_pypy? ( virtual/pypy:0= ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) >=dev-lang/python-exec-2:=[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_pypy(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)]
|
||||
DESCRIPTION=WSGI request and response object
|
||||
EAPI=6
|
||||
HOMEPAGE=http://webob.org/ https://pypi.python.org/pypi/WebOb
|
||||
IUSE=doc test python_targets_pypy python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 python_targets_python3_5
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos
|
||||
LICENSE=MIT
|
||||
RDEPEND=python_targets_pypy? ( virtual/pypy:0= ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) >=dev-lang/python-exec-2:=[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_pypy(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)]
|
||||
REQUIRED_USE=|| ( python_targets_pypy python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 python_targets_python3_5 )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://pypi/W/WebOb/WebOb-1.6.1.tar.gz
|
||||
_eclasses_=distutils-r1 3a17743abcc9335483329f33c87b472d eutils 792f83d5ec9536cb5ccef375469d8bde multibuild 742139c87a9fa3766f0c2b155e5522bf multilib d062ae4ba2fc40a19c11de2ad89b6616 multiprocessing e32940a7b2a9992ad217eccddb84d548 python-r1 0f6937650a475d673baa5d0c8c0b37b3 python-utils-r1 c0ed2a2f233d3af6dd556048695dc5cb toolchain-funcs c9d9187f4caa4026a0ceddd8dfceb3c1 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||
_md5_=e7554f3c20c3121efd024a2dd5677e1f
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=dev-python/six[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] >=dev-python/waitress-0.8.5[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] >=dev-python/webob-1.2[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] dev-python/beautifulsoup:4[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] dev-python/lxml[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] app-arch/unzip dev-python/setuptools[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] doc? ( dev-python/sphinx[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] ) test? ( dev-python/nose[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] dev-python/pyquery[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] dev-python/pastedeploy[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] dev-python/wsgiproxy2[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] dev-python/coverage[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] python_targets_python2_7? ( dev-python/mock[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] ) ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)]
|
||||
DESCRIPTION=Helper to test WSGI applications
|
||||
EAPI=5
|
||||
HOMEPAGE=http://pythonpaste.org/webtest/ https://pypi.python.org/pypi/WebTest
|
||||
IUSE=doc test python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 python_targets_python3_5
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86
|
||||
LICENSE=MIT
|
||||
RDEPEND=dev-python/six[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] >=dev-python/waitress-0.8.5[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] >=dev-python/webob-1.2[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] dev-python/beautifulsoup:4[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] dev-python/lxml[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)]
|
||||
REQUIRED_USE=|| ( python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 python_targets_python3_5 )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://pypi/W/WebTest/WebTest-2.0.21.tar.gz
|
||||
_eclasses_=distutils-r1 3a17743abcc9335483329f33c87b472d eutils 792f83d5ec9536cb5ccef375469d8bde multibuild 742139c87a9fa3766f0c2b155e5522bf multilib d062ae4ba2fc40a19c11de2ad89b6616 multiprocessing e32940a7b2a9992ad217eccddb84d548 python-r1 0f6937650a475d673baa5d0c8c0b37b3 python-utils-r1 c0ed2a2f233d3af6dd556048695dc5cb toolchain-funcs c9d9187f4caa4026a0ceddd8dfceb3c1
|
||||
_md5_=63f55cf0a4e680a36dfe512282d77157
|
@ -0,0 +1,12 @@
|
||||
DEFINED_PHASES=config install postinst preinst setup
|
||||
DESCRIPTION=Scripts necessary for use of vdr as a set-top-box
|
||||
EAPI=6
|
||||
HOMEPAGE=https://www.gentoo.org/
|
||||
IUSE=nvram
|
||||
KEYWORDS=~amd64 ~arm ~ppc ~x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=nvram? ( sys-power/nvram-wakeup ) app-admin/sudo sys-process/wait_on_pid
|
||||
SLOT=0
|
||||
SRC_URI=mirror://gentoo/gentoo-vdr-scripts-2.7.5.1.tar.bz2 https://dev.gentoo.org/~hd_brummy/distfiles/gentoo-vdr-scripts-2.7.5.1.tar.bz2
|
||||
_eclasses_=user 906f3c8eb3a2350a4f1191a89baa3e46
|
||||
_md5_=f9ab6961044788b568d344e512cf4542
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install postinst preinst prepare prerm setup
|
||||
DEPEND=snmp? ( net-analyzer/net-snmp ) ldap? ( net-nds/openldap =dev-libs/cyrus-sasl-2* net-libs/gnutls ) mysql? ( >=virtual/mysql-5.0.3 ) sqlite? ( >=dev-db/sqlite-3.3.5 ) postgres? ( dev-db/postgresql:* ) oracle? ( >=dev-db/oracle-instantclient-basic-10.0.0.0 ) xmpp? ( dev-libs/iksemel ) libxml2? ( dev-libs/libxml2 ) curl? ( net-misc/curl ) openipmi? ( sys-libs/openipmi ) ssh? ( net-libs/libssh2 ) java? ( virtual/jdk:* ) odbc? ( dev-db/unixODBC ) static? ( ldap? ( net-nds/openldap[static-libs] =dev-libs/cyrus-sasl-2*[static-libs] net-libs/gnutls[static-libs] ) mysql? ( >=virtual/mysql-5.0.3[static-libs] ) sqlite? ( >=dev-db/sqlite-3.3.5[static-libs] ) postgres? ( dev-db/postgresql:*[static-libs] ) libxml2? ( dev-libs/libxml2[static-libs] ) curl? ( net-misc/curl[static-libs] ) ssh? ( net-libs/libssh2[static-libs] ) odbc? ( dev-db/unixODBC[static-libs] ) ) virtual/pkgconfig java? ( >=dev-java/java-config-2.2.0-r3 ) virtual/pkgconfig
|
||||
DESCRIPTION=ZABBIX is software for monitoring of your applications, network and servers
|
||||
EAPI=6
|
||||
HOMEPAGE=http://www.zabbix.com/
|
||||
IUSE=+agent java curl frontend ipv6 xmpp ldap libxml2 mysql openipmi oracle postgres proxy server ssh snmp sqlite odbc static elibc_FreeBSD java
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=snmp? ( net-analyzer/net-snmp ) ldap? ( net-nds/openldap =dev-libs/cyrus-sasl-2* net-libs/gnutls ) mysql? ( >=virtual/mysql-5.0.3 ) sqlite? ( >=dev-db/sqlite-3.3.5 ) postgres? ( dev-db/postgresql:* ) oracle? ( >=dev-db/oracle-instantclient-basic-10.0.0.0 ) xmpp? ( dev-libs/iksemel ) libxml2? ( dev-libs/libxml2 ) curl? ( net-misc/curl ) openipmi? ( sys-libs/openipmi ) ssh? ( net-libs/libssh2 ) java? ( virtual/jdk:* ) odbc? ( dev-db/unixODBC ) proxy? ( net-analyzer/fping ) server? ( net-analyzer/fping app-admin/webapp-config ) java? ( >=virtual/jre-1.4 dev-java/slf4j-api ) frontend? ( >=dev-lang/php-5.3.0[bcmath,ctype,sockets,gd,truetype,xml,session,xmlreader,xmlwriter,nls,sysvipc,unicode] || ( dev-lang/php[apache2] dev-lang/php[cgi] dev-lang/php[fpm] ) mysql? ( dev-lang/php[mysqli] ) odbc? ( dev-lang/php[odbc] ) oracle? ( dev-lang/php[oci8-instant-client] ) postgres? ( dev-lang/php[postgres] ) sqlite? ( dev-lang/php[sqlite] ) media-libs/gd[png] app-admin/webapp-config ) java? ( >=dev-java/java-config-2.2.0-r3 )
|
||||
REQUIRED_USE=|| ( agent frontend proxy server ) proxy? ( ^^ ( mysql oracle postgres sqlite odbc ) ) server? ( ^^ ( mysql oracle postgres sqlite odbc ) ) static? ( !oracle !snmp )
|
||||
SLOT=0
|
||||
SRC_URI=http://prdownloads.sourceforge.net/zabbix/zabbix-2.2.13.tar.gz
|
||||
_eclasses_=eutils 792f83d5ec9536cb5ccef375469d8bde flag-o-matic d270fa247153df66074f795fa42dba3e java-pkg-opt-2 40db73f27fc6458ec2105812a4f261c7 java-utils-2 9a25f292ff66f8c2c00100ac0b15c54f multilib d062ae4ba2fc40a19c11de2ad89b6616 systemd 3165c885f3c71ffae7a867d931fb0e07 toolchain-funcs c9d9187f4caa4026a0ceddd8dfceb3c1 user 906f3c8eb3a2350a4f1191a89baa3e46 versionator 99ae9d758cbe7cfed19170e7d48f5a9c webapp 42c6ef7af496b228f9854b3c81e4b226
|
||||
_md5_=682e1ac64a99bb7614b282a7b59a7bdf
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install postinst preinst prepare prerm setup
|
||||
DEPEND=snmp? ( net-analyzer/net-snmp ) ldap? ( net-nds/openldap =dev-libs/cyrus-sasl-2* net-libs/gnutls ) mysql? ( >=virtual/mysql-5.0.3 ) sqlite? ( >=dev-db/sqlite-3.3.5 ) postgres? ( dev-db/postgresql:* ) oracle? ( >=dev-db/oracle-instantclient-basic-10.0.0.0 ) xmpp? ( dev-libs/iksemel ) libxml2? ( dev-libs/libxml2 ) curl? ( net-misc/curl ) openipmi? ( sys-libs/openipmi ) ssh? ( net-libs/libssh2 ) java? ( virtual/jdk:* ) odbc? ( dev-db/unixODBC ) static? ( ldap? ( net-nds/openldap[static-libs] =dev-libs/cyrus-sasl-2*[static-libs] net-libs/gnutls[static-libs] ) mysql? ( >=virtual/mysql-5.0.3[static-libs] ) sqlite? ( >=dev-db/sqlite-3.3.5[static-libs] ) postgres? ( dev-db/postgresql:*[static-libs] ) libxml2? ( dev-libs/libxml2[static-libs] ) curl? ( net-misc/curl[static-libs] ) ssh? ( net-libs/libssh2[static-libs] ) odbc? ( dev-db/unixODBC[static-libs] ) ) virtual/pkgconfig java? ( >=dev-java/java-config-2.2.0-r3 ) virtual/pkgconfig
|
||||
DESCRIPTION=ZABBIX is software for monitoring of your applications, network and servers
|
||||
EAPI=6
|
||||
HOMEPAGE=http://www.zabbix.com/
|
||||
IUSE=+agent java curl frontend ipv6 xmpp ldap libxml2 mysql openipmi oracle postgres proxy server ssh snmp sqlite odbc static elibc_FreeBSD java
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=snmp? ( net-analyzer/net-snmp ) ldap? ( net-nds/openldap =dev-libs/cyrus-sasl-2* net-libs/gnutls ) mysql? ( >=virtual/mysql-5.0.3 ) sqlite? ( >=dev-db/sqlite-3.3.5 ) postgres? ( dev-db/postgresql:* ) oracle? ( >=dev-db/oracle-instantclient-basic-10.0.0.0 ) xmpp? ( dev-libs/iksemel ) libxml2? ( dev-libs/libxml2 ) curl? ( net-misc/curl ) openipmi? ( sys-libs/openipmi ) ssh? ( net-libs/libssh2 ) java? ( virtual/jdk:* ) odbc? ( dev-db/unixODBC ) proxy? ( net-analyzer/fping ) server? ( net-analyzer/fping app-admin/webapp-config ) java? ( >=virtual/jre-1.4 dev-java/slf4j-api ) frontend? ( >=dev-lang/php-5.3.0[bcmath,ctype,sockets,gd,truetype,xml,session,xmlreader,xmlwriter,nls,sysvipc,unicode] || ( dev-lang/php[apache2] dev-lang/php[cgi] dev-lang/php[fpm] ) mysql? ( dev-lang/php[mysqli] ) odbc? ( dev-lang/php[odbc] ) oracle? ( dev-lang/php[oci8-instant-client] ) postgres? ( dev-lang/php[postgres] ) sqlite? ( dev-lang/php[sqlite] ) media-libs/gd[png] app-admin/webapp-config ) java? ( >=dev-java/java-config-2.2.0-r3 )
|
||||
REQUIRED_USE=|| ( agent frontend proxy server ) proxy? ( ^^ ( mysql oracle postgres sqlite odbc ) ) server? ( ^^ ( mysql oracle postgres sqlite odbc ) ) static? ( !oracle !snmp )
|
||||
SLOT=0
|
||||
SRC_URI=http://prdownloads.sourceforge.net/zabbix/zabbix-2.4.8.tar.gz
|
||||
_eclasses_=eutils 792f83d5ec9536cb5ccef375469d8bde flag-o-matic d270fa247153df66074f795fa42dba3e java-pkg-opt-2 40db73f27fc6458ec2105812a4f261c7 java-utils-2 9a25f292ff66f8c2c00100ac0b15c54f multilib d062ae4ba2fc40a19c11de2ad89b6616 systemd 3165c885f3c71ffae7a867d931fb0e07 toolchain-funcs c9d9187f4caa4026a0ceddd8dfceb3c1 user 906f3c8eb3a2350a4f1191a89baa3e46 versionator 99ae9d758cbe7cfed19170e7d48f5a9c webapp 42c6ef7af496b228f9854b3c81e4b226
|
||||
_md5_=7c2faab19eee6daccb55efa20ef0dd9d
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install postinst preinst prepare prerm setup
|
||||
DEPEND=snmp? ( net-analyzer/net-snmp ) ldap? ( net-nds/openldap =dev-libs/cyrus-sasl-2* net-libs/gnutls ) mysql? ( >=virtual/mysql-5.0.3 ) sqlite? ( >=dev-db/sqlite-3.3.5 ) postgres? ( dev-db/postgresql:* ) oracle? ( >=dev-db/oracle-instantclient-basic-10.0.0.0 ) xmpp? ( dev-libs/iksemel ) libxml2? ( dev-libs/libxml2 ) curl? ( net-misc/curl ) openipmi? ( sys-libs/openipmi ) ssh? ( net-libs/libssh2 ) java? ( virtual/jdk:* ) odbc? ( dev-db/unixODBC ) static? ( ldap? ( net-nds/openldap[static-libs] =dev-libs/cyrus-sasl-2*[static-libs] net-libs/gnutls[static-libs] ) mysql? ( >=virtual/mysql-5.0.3[static-libs] ) sqlite? ( >=dev-db/sqlite-3.3.5[static-libs] ) postgres? ( dev-db/postgresql:*[static-libs] ) libxml2? ( dev-libs/libxml2[static-libs] ) curl? ( net-misc/curl[static-libs] ) ssh? ( net-libs/libssh2[static-libs] ) odbc? ( dev-db/unixODBC[static-libs] ) ) virtual/pkgconfig java? ( >=dev-java/java-config-2.2.0-r3 ) virtual/pkgconfig
|
||||
DESCRIPTION=ZABBIX is software for monitoring of your applications, network and servers
|
||||
EAPI=6
|
||||
HOMEPAGE=http://www.zabbix.com/
|
||||
IUSE=+agent java curl frontend ipv6 xmpp ldap libxml2 mysql openipmi oracle postgres proxy server ssh snmp sqlite odbc static elibc_FreeBSD java
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=snmp? ( net-analyzer/net-snmp ) ldap? ( net-nds/openldap =dev-libs/cyrus-sasl-2* net-libs/gnutls ) mysql? ( >=virtual/mysql-5.0.3 ) sqlite? ( >=dev-db/sqlite-3.3.5 ) postgres? ( dev-db/postgresql:* ) oracle? ( >=dev-db/oracle-instantclient-basic-10.0.0.0 ) xmpp? ( dev-libs/iksemel ) libxml2? ( dev-libs/libxml2 ) curl? ( net-misc/curl ) openipmi? ( sys-libs/openipmi ) ssh? ( net-libs/libssh2 ) java? ( virtual/jdk:* ) odbc? ( dev-db/unixODBC ) proxy? ( net-analyzer/fping ) server? ( net-analyzer/fping app-admin/webapp-config ) java? ( >=virtual/jre-1.4 dev-java/slf4j-api ) frontend? ( >=dev-lang/php-5.3.0[bcmath,ctype,sockets,gd,truetype,xml,session,xmlreader,xmlwriter,nls,sysvipc,unicode] || ( dev-lang/php[apache2] dev-lang/php[cgi] dev-lang/php[fpm] ) mysql? ( dev-lang/php[mysqli] ) odbc? ( dev-lang/php[odbc] ) oracle? ( dev-lang/php[oci8-instant-client] ) postgres? ( dev-lang/php[postgres] ) sqlite? ( dev-lang/php[sqlite] ) media-libs/gd[png] app-admin/webapp-config ) java? ( >=dev-java/java-config-2.2.0-r3 )
|
||||
REQUIRED_USE=|| ( agent frontend proxy server ) proxy? ( ^^ ( mysql oracle postgres sqlite odbc ) ) server? ( ^^ ( mysql oracle postgres sqlite odbc ) ) static? ( !oracle !snmp )
|
||||
SLOT=0
|
||||
SRC_URI=http://prdownloads.sourceforge.net/zabbix/zabbix-3.0.3.tar.gz
|
||||
_eclasses_=eutils 792f83d5ec9536cb5ccef375469d8bde flag-o-matic d270fa247153df66074f795fa42dba3e java-pkg-opt-2 40db73f27fc6458ec2105812a4f261c7 java-utils-2 9a25f292ff66f8c2c00100ac0b15c54f multilib d062ae4ba2fc40a19c11de2ad89b6616 systemd 3165c885f3c71ffae7a867d931fb0e07 toolchain-funcs c9d9187f4caa4026a0ceddd8dfceb3c1 user 906f3c8eb3a2350a4f1191a89baa3e46 versionator 99ae9d758cbe7cfed19170e7d48f5a9c webapp 42c6ef7af496b228f9854b3c81e4b226
|
||||
_md5_=d56494a95a4ea46e4f714c96e9bb667b
|
@ -1 +1 @@
|
||||
Sun, 12 Jun 2016 18:40:53 +0000
|
||||
Sun, 12 Jun 2016 19:40:49 +0000
|
||||
|
@ -1 +1 @@
|
||||
Sun Jun 12 18:39:57 UTC 2016
|
||||
Sun Jun 12 19:39:53 UTC 2016
|
||||
|
@ -1 +1 @@
|
||||
Sun, 12 Jun 2016 19:00:01 +0000
|
||||
Sun, 12 Jun 2016 20:00:01 +0000
|
||||
|
@ -1 +1 @@
|
||||
1465756802 Sun 12 Jun 2016 06:40:02 PM UTC
|
||||
1465760401 Sun 12 Jun 2016 07:40:01 PM UTC
|
||||
|
@ -1 +1 @@
|
||||
Sun, 12 Jun 2016 18:40:53 +0000
|
||||
Sun, 12 Jun 2016 19:40:49 +0000
|
||||
|
@ -1,5 +1,8 @@
|
||||
DIST zabbix-2.2.11.tar.gz 15147477 SHA256 9ad7bd71985dc316ee2a614bba2b1dd108d2a930c0a5cc5a8f75eb45a7a7e1ba SHA512 7447d3207bf67fdda67c1e56636ae114df7776a2ba4df4f9f260eef6a65e37d770ed73d6edd6438a9a783da1fc9bfede2d98acdc51fa6c7a130565efe8ae5b2d WHIRLPOOL e2b1f2ed019651d127a40f656117c9acccc8dcb1b9a8c0f9a773368de6d430d0716b5c50c42358992c9c2567c59cf0ec02bffea123ee4ac873be262aef0f2f6f
|
||||
DIST zabbix-2.2.13.tar.gz 15478414 SHA256 0a272ad4de22368f9a77864e0a9fa566f76c872814e81845e16d4d24cd5452f4 SHA512 dc9a20069376de2221577f2833f003dd243f09e583a673038787dab413c0affa1a85abdef567d7ea015c2ff88d97481570cb3732f5d72f45d4e7f509654f93eb WHIRLPOOL 3f7385068fa65b693bfb280686242512dcc1a9a4d3df9af56319c17f1075c9ebf4dfa54aab18b6b5e645055fd8efcfd847fca3e0fe2e6041acc5f1342d0538b0
|
||||
DIST zabbix-2.2.5.tar.gz 14960556 SHA256 1e33f54d4accc5b6a0dccf4a308d27dc82de245567dffef823f9add9fa7d81b5 SHA512 0e229a2502f1332775db2107556b5e62267bcdf05dc483957960f563877ed970aef7ed465123576849413305e54309d83eeb75dd1f522c93cf09cd4b75265514 WHIRLPOOL 0a6b81f4e23ad8c8247b5356aa31bc4dfbd364642a647b9dff3216a0141cd2287b75731f396d26083aa412669a7efdb6f24fcb8592b4773c4a21d02b2f369681
|
||||
DIST zabbix-2.2.9.tar.gz 15032149 SHA256 7c8c319b34beb978e4b7be8c93e084485f93fe028dd9dbc6b674a7498d324439 SHA512 8400f875546140a7393ac6598a02e95645ac63ece1d958e7752737d0c0fff25e70923f2dd1ea29a9e73640b159da8a5286d9b1c31fbb3f090acbd07606c6113d WHIRLPOOL cb68a2c1467c83e8c2e2662af3995d7d90a00408009df2d9fe0b0d0d81191521b3f6e1624240150f68419252324e0d6e5653a3f19ed3b88adeb2719277172fb6
|
||||
DIST zabbix-2.4.5.tar.gz 14851092 SHA256 4e2cf1e4893a45d83379a05e2debabddf16beab324c93e84adc0bb57716fb957 SHA512 bdcba684b3d1cdb9eb5e1f9b370ef450201de8dbd9fe1619ef2b2437de6c34762dc041fa873976c4af0a2af229eec450aa58b1663feb75b6345d303484d35ead WHIRLPOOL 775e98b85152268b19cde553ff8bc7e86c0f6c5b873e85a0faca3edb5b51fe7d02267e52b3dccb0f08847bf11c6d0ba6b2d9f1e6bd472c882a2fac4326a83e10
|
||||
DIST zabbix-2.4.7.tar.gz 15012768 SHA256 d2c47b8f5b9b91f18010d54c45de55845d979014a8b3fe4bef64e0b08f8b00da SHA512 81860dfab38241e939a5cced50527fd16d35ec7b82232b2e0a4f17c90c1fc8ffb9bb95891ec27bb87445e5f81fba066dccc6b1a8833a4af4f483532f83d6172a WHIRLPOOL 03525fa3113f258af7fbd9cf3f501846b466afa48dca2874f2e28562f63cf5824df51c89349f0c10830bb7b5650f70a32443ba9af2d826d99d02cf7bb2a01e21
|
||||
DIST zabbix-2.4.8.tar.gz 15474481 SHA256 073f7498ff7c07e51f3395dbd850b375144d6a41388409d898bb2826b0a3e1f0 SHA512 bf0816279f771448076bd8d8f1efe65651e24964b402ba128aace3d5afc0333f808a9d48b5763e334a05bc9f53fa934d81cc1b90072a0e9ba74b29205ab2b300 WHIRLPOOL 3e9da427680c3686820f3fb59bcac11614dea77ab577fd34fa339283b886306e94e4a3b73d5c966a8610e8d24992158b5f0ee3e3c2428152c1b7b92eb529d729
|
||||
DIST zabbix-3.0.3.tar.gz 15407273 SHA256 1a42ce537580913268f1ece673208b49ca241fb067f8ea1ad497ce07455c10e0 SHA512 b59fd6e34e2636d1ad69993e33abe3694ba58f99c0372fc421c5620ade3ff497b23a022fa273691b968dabe0b9776fb0db6f6bf85e1d60d7dd5d61240bc60419 WHIRLPOOL 556e432a5c5bbf31ff2efce0d2b64c9b0ca959dfbba27aa2ec774c4880b38d8c8f82f968bc99c22cef15ad00b3a45b5dd89de6f2da4a4b17ce9db3f28a4e138f
|
||||
|
@ -0,0 +1,29 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
pid_file="/run/zabbix/zabbix_agentd.pid"
|
||||
|
||||
depend() {
|
||||
need net
|
||||
provide zabbix-agent
|
||||
use zabbix-server
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
checkpath -d -m 0775 -o zabbix:zabbix /run/zabbix
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting Zabbix agent"
|
||||
start-stop-daemon --start --pidfile ${pid_file} \
|
||||
--user zabbix --group zabbix --exec /usr/sbin/zabbix_agentd -- -c /etc/zabbix/zabbix_agentd.conf
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping Zabbix agent"
|
||||
start-stop-daemon --stop --pidfile ${pid_file}
|
||||
eend $?
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
pid_file="/run/zabbix/zabbix_proxy.pid"
|
||||
|
||||
depend() {
|
||||
need net
|
||||
provide zabbix-proxy
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
checkpath -d -m 0775 -o zabbix:zabbix /run/zabbix
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting Zabbix proxy"
|
||||
start-stop-daemon --start --pidfile ${pid_file} \
|
||||
--user zabbix --group zabbix --exec /usr/sbin/zabbix_proxy -- -c /etc/zabbix/zabbix_proxy.conf
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping Zabbix proxy"
|
||||
start-stop-daemon --stop --pidfile ${pid_file}
|
||||
eend $?
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
pid_file="/run/zabbix/zabbix_server.pid"
|
||||
|
||||
depend() {
|
||||
need net
|
||||
use mysql postgresql
|
||||
}
|
||||
start_pre() {
|
||||
checkpath -d -m 0775 -o zabbix:zabbix /run/zabbix
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting Zabbix server"
|
||||
start-stop-daemon --start --user zabbix --group zabbix --pidfile ${pid_file} \
|
||||
--exec /usr/sbin/zabbix_server -- -c /etc/zabbix/zabbix_server.conf
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping Zabbix server"
|
||||
start-stop-daemon --stop --pidfile ${pid_file}
|
||||
eend $?
|
||||
}
|
@ -0,0 +1,81 @@
|
||||
# This is a config file for Zabbix internet service daemon agent
|
||||
# To get more information about Zabbix visit http://www.zabbix.com
|
||||
|
||||
### Option: Server
|
||||
# IP address of Zabbix server
|
||||
# Connections from other hosts will be denied
|
||||
# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
|
||||
#
|
||||
# Mandatory: yes
|
||||
# Default:
|
||||
# Server=
|
||||
|
||||
Server=127.0.0.1
|
||||
|
||||
############ ADVANCED PARAMETERS #################
|
||||
|
||||
### Option: Alias
|
||||
# Sets an alias for parameter. It can be useful to substitute long and complex parameter name with a smaller and simpler one.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range:
|
||||
# Default:
|
||||
|
||||
### Option: Timeout
|
||||
# Spend no more than Timeout seconds on processing
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1-30
|
||||
# Default:
|
||||
# Timeout=3
|
||||
|
||||
### Option: Include
|
||||
# You may include individual files or all files in a directory in the configuration file.
|
||||
# Installing Zabbix will create include directory in /usr/local/etc, unless modified during the compile time.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Include=
|
||||
|
||||
# Include=/usr/local/etc/zabbix_agent.userparams.conf
|
||||
# Include=/usr/local/etc/zabbix_agent.conf.d/
|
||||
|
||||
####### USER-DEFINED MONITORED PARAMETERS #######
|
||||
|
||||
### Option: UnsafeUserParameters
|
||||
# Allow all characters to be passed in arguments to user-defined parameters.
|
||||
# 0 - do not allow
|
||||
# 1 - allow
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# UnsafeUserParameters=0
|
||||
|
||||
### Option: UserParameter
|
||||
# User-defined parameter to monitor. There can be several user-defined parameters.
|
||||
# Format: UserParameter=<key>,<shell command>
|
||||
# See 'zabbix_agentd' directory for examples.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# UserParameter=
|
||||
|
||||
####### LOADABLE MODULES #######
|
||||
|
||||
### Option: LoadModulePath
|
||||
# Full path to location of agent modules.
|
||||
# Default depends on compilation options.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# LoadModulePath=${libdir}/modules
|
||||
|
||||
### Option: LoadModule
|
||||
# Module to load at agent startup. Modules are used to extend functionality of the agent.
|
||||
# Format: LoadModule=<module.so>
|
||||
# The modules must be located in directory specified by LoadModulePath.
|
||||
# It is allowed to include multiple LoadModule parameters.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# LoadModule=
|
@ -0,0 +1,390 @@
|
||||
# This is a configuration file for Zabbix agent daemon (Unix)
|
||||
# To get more information about Zabbix, visit http://www.zabbix.com
|
||||
|
||||
############ GENERAL PARAMETERS #################
|
||||
|
||||
### Option: PidFile
|
||||
# Name of PID file.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# PidFile=/tmp/zabbix_agentd.pid
|
||||
PidFile=/run/zabbix/zabbix_agentd.pid
|
||||
|
||||
### Option: LogType
|
||||
# Specifies where log messages are written to:
|
||||
# system - syslog
|
||||
# file - file specified with LogFile parameter
|
||||
# console - standard output
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# LogType=file
|
||||
|
||||
### Option: LogFile
|
||||
# Log file name for LogType 'file' parameter.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# LogFile=
|
||||
|
||||
LogFile=/var/log/zabbix/zabbix_agentd.log
|
||||
|
||||
### Option: LogFileSize
|
||||
# Maximum size of log file in MB.
|
||||
# 0 - disable automatic log rotation.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 0-1024
|
||||
# Default:
|
||||
# LogFileSize=1
|
||||
LogFileSize=128
|
||||
|
||||
### Option: DebugLevel
|
||||
# Specifies debug level:
|
||||
# 0 - basic information about starting and stopping of Zabbix processes
|
||||
# 1 - critical information
|
||||
# 2 - error information
|
||||
# 3 - warnings
|
||||
# 4 - for debugging (produces lots of information)
|
||||
# 5 - extended debugging (produces even more information)
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 0-5
|
||||
# Default:
|
||||
# DebugLevel=3
|
||||
|
||||
### Option: SourceIP
|
||||
# Source IP address for outgoing connections.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# SourceIP=
|
||||
|
||||
### Option: EnableRemoteCommands
|
||||
# Whether remote commands from Zabbix server are allowed.
|
||||
# 0 - not allowed
|
||||
# 1 - allowed
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# EnableRemoteCommands=0
|
||||
|
||||
### Option: LogRemoteCommands
|
||||
# Enable logging of executed shell commands as warnings.
|
||||
# 0 - disabled
|
||||
# 1 - enabled
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# LogRemoteCommands=0
|
||||
|
||||
##### Passive checks related
|
||||
|
||||
### Option: Server
|
||||
# List of comma delimited IP addresses (or hostnames) of Zabbix servers.
|
||||
# Incoming connections will be accepted only from the hosts listed here.
|
||||
# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Server=
|
||||
|
||||
Server=127.0.0.1
|
||||
|
||||
### Option: ListenPort
|
||||
# Agent will listen on this port for connections from the server.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1024-32767
|
||||
# Default:
|
||||
# ListenPort=10050
|
||||
|
||||
### Option: ListenIP
|
||||
# List of comma delimited IP addresses that the agent should listen on.
|
||||
# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# ListenIP=0.0.0.0
|
||||
|
||||
### Option: StartAgents
|
||||
# Number of pre-forked instances of zabbix_agentd that process passive checks.
|
||||
# If set to 0, disables passive checks and the agent will not listen on any TCP port.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 0-100
|
||||
# Default:
|
||||
# StartAgents=3
|
||||
|
||||
##### Active checks related
|
||||
|
||||
### Option: ServerActive
|
||||
# List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
|
||||
# If port is not specified, default port is used.
|
||||
# IPv6 addresses must be enclosed in square brackets if port for that host is specified.
|
||||
# If port is not specified, square brackets for IPv6 addresses are optional.
|
||||
# If this parameter is not specified, active checks are disabled.
|
||||
# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# ServerActive=
|
||||
|
||||
ServerActive=127.0.0.1
|
||||
|
||||
### Option: Hostname
|
||||
# Unique, case sensitive hostname.
|
||||
# Required for active checks and must match hostname as configured on the server.
|
||||
# Value is acquired from HostnameItem if undefined.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Hostname=
|
||||
|
||||
Hostname=Zabbix server
|
||||
|
||||
### Option: HostnameItem
|
||||
# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
|
||||
# Does not support UserParameters or aliases.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# HostnameItem=system.hostname
|
||||
|
||||
### Option: HostMetadata
|
||||
# Optional parameter that defines host metadata.
|
||||
# Host metadata is used at host auto-registration process.
|
||||
# An agent will issue an error and not start if the value is over limit of 255 characters.
|
||||
# If not defined, value will be acquired from HostMetadataItem.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 0-255 characters
|
||||
# Default:
|
||||
# HostMetadata=
|
||||
|
||||
### Option: HostMetadataItem
|
||||
# Optional parameter that defines an item used for getting host metadata.
|
||||
# Host metadata is used at host auto-registration process.
|
||||
# During an auto-registration request an agent will log a warning message if
|
||||
# the value returned by specified item is over limit of 255 characters.
|
||||
# This option is only used when HostMetadata is not defined.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# HostMetadataItem=
|
||||
|
||||
### Option: RefreshActiveChecks
|
||||
# How often list of active checks is refreshed, in seconds.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 60-3600
|
||||
# Default:
|
||||
# RefreshActiveChecks=120
|
||||
|
||||
### Option: BufferSend
|
||||
# Do not keep data longer than N seconds in buffer.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1-3600
|
||||
# Default:
|
||||
# BufferSend=5
|
||||
|
||||
### Option: BufferSize
|
||||
# Maximum number of values in a memory buffer. The agent will send
|
||||
# all collected data to Zabbix Server or Proxy if the buffer is full.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 2-65535
|
||||
# Default:
|
||||
# BufferSize=100
|
||||
|
||||
### Option: MaxLinesPerSecond
|
||||
# Maximum number of new lines the agent will send per second to Zabbix Server
|
||||
# or Proxy processing 'log' and 'logrt' active checks.
|
||||
# The provided value will be overridden by the parameter 'maxlines',
|
||||
# provided in 'log' or 'logrt' item keys.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1-1000
|
||||
# Default:
|
||||
# MaxLinesPerSecond=20
|
||||
|
||||
############ ADVANCED PARAMETERS #################
|
||||
|
||||
### Option: Alias
|
||||
# Sets an alias for an item key. It can be used to substitute long and complex item key with a smaller and simpler one.
|
||||
# Multiple Alias parameters may be present. Multiple parameters with the same Alias key are not allowed.
|
||||
# Different Alias keys may reference the same item key.
|
||||
# For example, to retrieve the ID of user 'zabbix':
|
||||
# Alias=zabbix.userid:vfs.file.regexp[/etc/passwd,^zabbix:.:([0-9]+),,,,\1]
|
||||
# Now shorthand key zabbix.userid may be used to retrieve data.
|
||||
# Aliases can be used in HostMetadataItem but not in HostnameItem parameters.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range:
|
||||
# Default:
|
||||
|
||||
### Option: Timeout
|
||||
# Spend no more than Timeout seconds on processing
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1-30
|
||||
# Default:
|
||||
# Timeout=3
|
||||
|
||||
### Option: AllowRoot
|
||||
# Allow the agent to run as 'root'. If disabled and the agent is started by 'root', the agent
|
||||
# will try to switch to the user specified by the User configuration option instead.
|
||||
# Has no effect if started under a regular user.
|
||||
# 0 - do not allow
|
||||
# 1 - allow
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# AllowRoot=0
|
||||
|
||||
### Option: User
|
||||
# Drop privileges to a specific, existing user on the system.
|
||||
# Only has effect if run as 'root' and AllowRoot is disabled.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# User=zabbix
|
||||
|
||||
### Option: Include
|
||||
# You may include individual files or all files in a directory in the configuration file.
|
||||
# Installing Zabbix will create include directory in /usr/local/etc, unless modified during the compile time.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Include=
|
||||
|
||||
# Include=/usr/local/etc/zabbix_agentd.userparams.conf
|
||||
# Include=/usr/local/etc/zabbix_agentd.conf.d/
|
||||
# Include=/usr/local/etc/zabbix_agentd.conf.d/*.conf
|
||||
|
||||
####### USER-DEFINED MONITORED PARAMETERS #######
|
||||
|
||||
### Option: UnsafeUserParameters
|
||||
# Allow all characters to be passed in arguments to user-defined parameters.
|
||||
# The following characters are not allowed:
|
||||
# \ ' " ` * ? [ ] { } ~ $ ! & ; ( ) < > | # @
|
||||
# Additionally, newline characters are not allowed.
|
||||
# 0 - do not allow
|
||||
# 1 - allow
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 0-1
|
||||
# Default:
|
||||
# UnsafeUserParameters=0
|
||||
|
||||
### Option: UserParameter
|
||||
# User-defined parameter to monitor. There can be several user-defined parameters.
|
||||
# Format: UserParameter=<key>,<shell command>
|
||||
# See 'zabbix_agentd' directory for examples.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# UserParameter=
|
||||
|
||||
####### LOADABLE MODULES #######
|
||||
|
||||
### Option: LoadModulePath
|
||||
# Full path to location of agent modules.
|
||||
# Default depends on compilation options.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# LoadModulePath=${libdir}/modules
|
||||
|
||||
### Option: LoadModule
|
||||
# Module to load at agent startup. Modules are used to extend functionality of the agent.
|
||||
# Format: LoadModule=<module.so>
|
||||
# The modules must be located in directory specified by LoadModulePath.
|
||||
# It is allowed to include multiple LoadModule parameters.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# LoadModule=
|
||||
|
||||
####### TLS-RELATED PARAMETERS #######
|
||||
|
||||
### Option: TLSConnect
|
||||
# How the agent should connect to server or proxy. Used for active checks.
|
||||
# Only one value can be specified:
|
||||
# unencrypted - connect without encryption
|
||||
# psk - connect using TLS and a pre-shared key
|
||||
# cert - connect using TLS and a certificate
|
||||
#
|
||||
# Mandatory: yes, if TLS certificate or PSK parameters are defined (even for 'unencrypted' connection)
|
||||
# Default:
|
||||
# TLSConnect=unencrypted
|
||||
|
||||
### Option: TLSAccept
|
||||
# What incoming connections to accept.
|
||||
# Multiple values can be specified, separated by comma:
|
||||
# unencrypted - accept connections without encryption
|
||||
# psk - accept connections secured with TLS and a pre-shared key
|
||||
# cert - accept connections secured with TLS and a certificate
|
||||
#
|
||||
# Mandatory: yes, if TLS certificate or PSK parameters are defined (even for 'unencrypted' connection)
|
||||
# Default:
|
||||
# TLSAccept=unencrypted
|
||||
|
||||
### Option: TLSCAFile
|
||||
# Full pathname of a file containing the top-level CA(s) certificates for
|
||||
# peer certificate verification.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# TLSCAFile=
|
||||
|
||||
### Option: TLSCRLFile
|
||||
# Full pathname of a file containing revoked certificates.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# TLSCRLFile=
|
||||
|
||||
### Option: TLSServerCertIssuer
|
||||
# Allowed server certificate issuer.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# TLSServerCertIssuer=
|
||||
|
||||
### Option: TLSServerCertSubject
|
||||
# Allowed server certificate subject.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# TLSServerCertSubject=
|
||||
|
||||
### Option: TLSCertFile
|
||||
# Full pathname of a file containing the agent certificate or certificate chain.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# TLSCertFile=
|
||||
|
||||
### Option: TLSKeyFile
|
||||
# Full pathname of a file containing the agent private key.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# TLSKeyFile=
|
||||
|
||||
### Option: TLSPSKIdentity
|
||||
# Unique, case sensitive string used to identify the pre-shared key.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# TLSPSKIdentity=
|
||||
|
||||
### Option: TLSPSKFile
|
||||
# Full pathname of a file containing the pre-shared key.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# TLSPSKFile=
|
@ -0,0 +1,674 @@
|
||||
# This is a configuration file for Zabbix proxy daemon
|
||||
# To get more information about Zabbix, visit http://www.zabbix.com
|
||||
|
||||
############ GENERAL PARAMETERS #################
|
||||
|
||||
### Option: ProxyMode
|
||||
# Proxy operating mode.
|
||||
# 0 - proxy in the active mode
|
||||
# 1 - proxy in the passive mode
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# ProxyMode=0
|
||||
|
||||
### Option: Server
|
||||
# IP address (or hostname) of Zabbix server.
|
||||
# Active proxy will get configuration data from the server.
|
||||
# For a proxy in the passive mode this parameter will be ignored.
|
||||
#
|
||||
# Mandatory: yes (if ProxyMode is set to 0)
|
||||
# Default:
|
||||
# Server=
|
||||
|
||||
Server=127.0.0.1
|
||||
|
||||
### Option: ServerPort
|
||||
# Port of Zabbix trapper on Zabbix server.
|
||||
# For a proxy in the passive mode this parameter will be ignored.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1024-32767
|
||||
# Default:
|
||||
# ServerPort=10051
|
||||
|
||||
### Option: Hostname
|
||||
# Unique, case sensitive Proxy name. Make sure the Proxy name is known to the server!
|
||||
# Value is acquired from HostnameItem if undefined.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Hostname=
|
||||
|
||||
Hostname=Zabbix proxy
|
||||
|
||||
### Option: HostnameItem
|
||||
# Item used for generating Hostname if it is undefined.
|
||||
# Ignored if Hostname is defined.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# HostnameItem=system.hostname
|
||||
|
||||
### Option: ListenPort
|
||||
# Listen port for trapper.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1024-32767
|
||||
# Default:
|
||||
# ListenPort=10051
|
||||
|
||||
### Option: SourceIP
|
||||
# Source IP address for outgoing connections.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# SourceIP=
|
||||
|
||||
### Option: LogType
|
||||
# Specifies where log messages are written to:
|
||||
# system - syslog
|
||||
# file - file specified with LogFile parameter
|
||||
# console - standard output
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# LogType=file
|
||||
|
||||
### Option: LogFile
|
||||
# Log file name for LogType 'file' parameter.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# LogFile=
|
||||
|
||||
LogFile=/var/log/zabbix/zabbix_proxy.log
|
||||
|
||||
### Option: LogFileSize
|
||||
# Maximum size of log file in MB.
|
||||
# 0 - disable automatic log rotation.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 0-1024
|
||||
# Default:
|
||||
# LogFileSize=1
|
||||
LogFileSize=128
|
||||
|
||||
### Option: DebugLevel
|
||||
# Specifies debug level:
|
||||
# 0 - basic information about starting and stopping of Zabbix processes
|
||||
# 1 - critical information
|
||||
# 2 - error information
|
||||
# 3 - warnings
|
||||
# 4 - for debugging (produces lots of information)
|
||||
# 5 - extended debugging (produces even more information)
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 0-5
|
||||
# Default:
|
||||
# DebugLevel=3
|
||||
|
||||
### Option: PidFile
|
||||
# Name of PID file.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# PidFile=/tmp/zabbix_proxy.pid
|
||||
PidFile=/run/zabbix/zabbix_proxy.pid
|
||||
|
||||
### Option: DBHost
|
||||
# Database host name.
|
||||
# If set to localhost, socket is used for MySQL.
|
||||
# If set to empty string, socket is used for PostgreSQL.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# DBHost=localhost
|
||||
|
||||
### Option: DBName
|
||||
# Database name.
|
||||
# For SQLite3 path to database file must be provided. DBUser and DBPassword are ignored.
|
||||
# Warning: do not attempt to use the same database Zabbix server is using.
|
||||
#
|
||||
# Mandatory: yes
|
||||
# Default:
|
||||
# DBName=
|
||||
|
||||
DBName=zabbix_proxy
|
||||
|
||||
### Option: DBSchema
|
||||
# Schema name. Used for IBM DB2 and PostgreSQL.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# DBSchema=
|
||||
|
||||
### Option: DBUser
|
||||
# Database user. Ignored for SQLite.
|
||||
#
|
||||
# Default:
|
||||
# DBUser=
|
||||
|
||||
DBUser=zabbix
|
||||
|
||||
### Option: DBPassword
|
||||
# Database password. Ignored for SQLite.
|
||||
# Comment this line if no password is used.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# DBPassword=
|
||||
|
||||
### Option: DBSocket
|
||||
# Path to MySQL socket.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# DBSocket=/tmp/mysql.sock
|
||||
|
||||
# Option: DBPort
|
||||
# Database port when not using local socket. Ignored for SQLite.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default (for MySQL):
|
||||
# DBPort=3306
|
||||
|
||||
######### PROXY SPECIFIC PARAMETERS #############
|
||||
|
||||
### Option: ProxyLocalBuffer
|
||||
# Proxy will keep data locally for N hours, even if the data have already been synced with the server.
|
||||
# This parameter may be used if local data will be used by third party applications.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 0-720
|
||||
# Default:
|
||||
# ProxyLocalBuffer=0
|
||||
|
||||
### Option: ProxyOfflineBuffer
|
||||
# Proxy will keep data for N hours in case if no connectivity with Zabbix Server.
|
||||
# Older data will be lost.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1-720
|
||||
# Default:
|
||||
# ProxyOfflineBuffer=1
|
||||
|
||||
### Option: HeartbeatFrequency
|
||||
# Frequency of heartbeat messages in seconds.
|
||||
# Used for monitoring availability of Proxy on server side.
|
||||
# 0 - heartbeat messages disabled.
|
||||
# For a proxy in the passive mode this parameter will be ignored.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 0-3600
|
||||
# Default:
|
||||
# HeartbeatFrequency=60
|
||||
|
||||
### Option: ConfigFrequency
|
||||
# How often proxy retrieves configuration data from Zabbix Server in seconds.
|
||||
# For a proxy in the passive mode this parameter will be ignored.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1-3600*24*7
|
||||
# Default:
|
||||
# ConfigFrequency=3600
|
||||
|
||||
### Option: DataSenderFrequency
|
||||
# Proxy will send collected data to the Server every N seconds.
|
||||
# For a proxy in the passive mode this parameter will be ignored.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1-3600
|
||||
# Default:
|
||||
# DataSenderFrequency=1
|
||||
|
||||
############ ADVANCED PARAMETERS ################
|
||||
|
||||
### Option: StartPollers
|
||||
# Number of pre-forked instances of pollers.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 0-1000
|
||||
# Default:
|
||||
# StartPollers=5
|
||||
|
||||
### Option: StartIPMIPollers
|
||||
# Number of pre-forked instances of IPMI pollers.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 0-1000
|
||||
# Default:
|
||||
# StartIPMIPollers=0
|
||||
|
||||
### Option: StartPollersUnreachable
|
||||
# Number of pre-forked instances of pollers for unreachable hosts (including IPMI and Java).
|
||||
# At least one poller for unreachable hosts must be running if regular, IPMI or Java pollers
|
||||
# are started.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 0-1000
|
||||
# Default:
|
||||
# StartPollersUnreachable=1
|
||||
|
||||
### Option: StartTrappers
|
||||
# Number of pre-forked instances of trappers.
|
||||
# Trappers accept incoming connections from Zabbix sender and active agents.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 0-1000
|
||||
# Default:
|
||||
# StartTrappers=5
|
||||
|
||||
### Option: StartPingers
|
||||
# Number of pre-forked instances of ICMP pingers.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 0-1000
|
||||
# Default:
|
||||
# StartPingers=1
|
||||
|
||||
### Option: StartDiscoverers
|
||||
# Number of pre-forked instances of discoverers.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 0-250
|
||||
# Default:
|
||||
# StartDiscoverers=1
|
||||
|
||||
### Option: StartHTTPPollers
|
||||
# Number of pre-forked instances of HTTP pollers.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 0-1000
|
||||
# Default:
|
||||
# StartHTTPPollers=1
|
||||
|
||||
### Option: JavaGateway
|
||||
# IP address (or hostname) of Zabbix Java gateway.
|
||||
# Only required if Java pollers are started.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# JavaGateway=
|
||||
|
||||
### Option: JavaGatewayPort
|
||||
# Port that Zabbix Java gateway listens on.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1024-32767
|
||||
# Default:
|
||||
# JavaGatewayPort=10052
|
||||
|
||||
### Option: StartJavaPollers
|
||||
# Number of pre-forked instances of Java pollers.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 0-1000
|
||||
# Default:
|
||||
# StartJavaPollers=0
|
||||
|
||||
### Option: StartVMwareCollectors
|
||||
# Number of pre-forked vmware collector instances.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 0-250
|
||||
# Default:
|
||||
# StartVMwareCollectors=0
|
||||
|
||||
### Option: VMwareFrequency
|
||||
# How often Zabbix will connect to VMware service to obtain a new data.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 10-86400
|
||||
# Default:
|
||||
# VMwareFrequency=60
|
||||
|
||||
### Option: VMwarePerfFrequency
|
||||
# How often Zabbix will connect to VMware service to obtain performance data.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 10-86400
|
||||
# Default:
|
||||
# VMwarePerfFrequency=60
|
||||
|
||||
### Option: VMwareCacheSize
|
||||
# Size of VMware cache, in bytes.
|
||||
# Shared memory size for storing VMware data.
|
||||
# Only used if VMware collectors are started.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 256K-2G
|
||||
# Default:
|
||||
# VMwareCacheSize=8M
|
||||
|
||||
### Option: VMwareTimeout
|
||||
# Specifies how many seconds vmware collector waits for response from VMware service.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1-300
|
||||
# Default:
|
||||
# VMwareTimeout=10
|
||||
|
||||
### Option: SNMPTrapperFile
|
||||
# Temporary file used for passing data from SNMP trap daemon to the proxy.
|
||||
# Must be the same as in zabbix_trap_receiver.pl or SNMPTT configuration file.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# SNMPTrapperFile=/tmp/zabbix_traps.tmp
|
||||
|
||||
### Option: StartSNMPTrapper
|
||||
# If 1, SNMP trapper process is started.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 0-1
|
||||
# Default:
|
||||
# StartSNMPTrapper=0
|
||||
|
||||
### Option: ListenIP
|
||||
# List of comma delimited IP addresses that the trapper should listen on.
|
||||
# Trapper will listen on all network interfaces if this parameter is missing.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# ListenIP=0.0.0.0
|
||||
|
||||
### Option: HousekeepingFrequency
|
||||
# How often Zabbix will perform housekeeping procedure (in hours).
|
||||
# Housekeeping is removing outdated information from the database.
|
||||
# To prevent Housekeeper from being overloaded, no more than 4 times HousekeepingFrequency
|
||||
# hours of outdated information are deleted in one housekeeping cycle.
|
||||
# To lower load on proxy startup housekeeping is postponed for 30 minutes after proxy start.
|
||||
# With HousekeepingFrequency=0 the housekeeper can be only executed using the runtime control option.
|
||||
# In this case the period of outdated information deleted in one housekeeping cycle is 4 times the
|
||||
# period since the last housekeeping cycle, but not less than 4 hours and not greater than 4 days.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 0-24
|
||||
# Default:
|
||||
# HousekeepingFrequency=1
|
||||
|
||||
### Option: CacheSize
|
||||
# Size of configuration cache, in bytes.
|
||||
# Shared memory size, for storing hosts and items data.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 128K-8G
|
||||
# Default:
|
||||
# CacheSize=8M
|
||||
|
||||
### Option: StartDBSyncers
|
||||
# Number of pre-forked instances of DB Syncers.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1-100
|
||||
# Default:
|
||||
# StartDBSyncers=4
|
||||
|
||||
### Option: HistoryCacheSize
|
||||
# Size of history cache, in bytes.
|
||||
# Shared memory size for storing history data.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 128K-2G
|
||||
# Default:
|
||||
# HistoryCacheSize=16M
|
||||
|
||||
### Option: HistoryIndexCacheSize
|
||||
# Size of history index cache, in bytes.
|
||||
# Shared memory size for indexing history cache.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 128K-2G
|
||||
# Default:
|
||||
# HistoryIndexCacheSize=4M
|
||||
|
||||
### Option: Timeout
|
||||
# Specifies how long we wait for agent, SNMP device or external check (in seconds).
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1-30
|
||||
# Default:
|
||||
# Timeout=3
|
||||
|
||||
Timeout=4
|
||||
|
||||
### Option: TrapperTimeout
|
||||
# Specifies how many seconds trapper may spend processing new data.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1-300
|
||||
# Default:
|
||||
# TrapperTimeout=300
|
||||
|
||||
### Option: UnreachablePeriod
|
||||
# After how many seconds of unreachability treat a host as unavailable.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1-3600
|
||||
# Default:
|
||||
# UnreachablePeriod=45
|
||||
|
||||
### Option: UnavailableDelay
|
||||
# How often host is checked for availability during the unavailability period, in seconds.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1-3600
|
||||
# Default:
|
||||
# UnavailableDelay=60
|
||||
|
||||
### Option: UnreachableDelay
|
||||
# How often host is checked for availability during the unreachability period, in seconds.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1-3600
|
||||
# Default:
|
||||
# UnreachableDelay=15
|
||||
|
||||
### Option: ExternalScripts
|
||||
# Full path to location of external scripts.
|
||||
# Default depends on compilation options.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# ExternalScripts=${datadir}/zabbix/externalscripts
|
||||
|
||||
### Option: FpingLocation
|
||||
# Location of fping.
|
||||
# Make sure that fping binary has root ownership and SUID flag set.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# FpingLocation=/usr/sbin/fping
|
||||
|
||||
### Option: Fping6Location
|
||||
# Location of fping6.
|
||||
# Make sure that fping6 binary has root ownership and SUID flag set.
|
||||
# Make empty if your fping utility is capable to process IPv6 addresses.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Fping6Location=/usr/sbin/fping6
|
||||
|
||||
### Option: SSHKeyLocation
|
||||
# Location of public and private keys for SSH checks and actions.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# SSHKeyLocation=
|
||||
|
||||
### Option: LogSlowQueries
|
||||
# How long a database query may take before being logged (in milliseconds).
|
||||
# Only works if DebugLevel set to 3 or 4.
|
||||
# 0 - don't log slow queries.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1-3600000
|
||||
# Default:
|
||||
# LogSlowQueries=0
|
||||
|
||||
LogSlowQueries=3000
|
||||
|
||||
### Option: TmpDir
|
||||
# Temporary directory.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# TmpDir=/tmp
|
||||
|
||||
### Option: AllowRoot
|
||||
# Allow the proxy to run as 'root'. If disabled and the proxy is started by 'root', the proxy
|
||||
# will try to switch to the user specified by the User configuration option instead.
|
||||
# Has no effect if started under a regular user.
|
||||
# 0 - do not allow
|
||||
# 1 - allow
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# AllowRoot=0
|
||||
|
||||
### Option: User
|
||||
# Drop privileges to a specific, existing user on the system.
|
||||
# Only has effect if run as 'root' and AllowRoot is disabled.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# User=zabbix
|
||||
|
||||
### Option: Include
|
||||
# You may include individual files or all files in a directory in the configuration file.
|
||||
# Installing Zabbix will create include directory in /usr/local/etc, unless modified during the compile time.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Include=
|
||||
|
||||
# Include=/usr/local/etc/zabbix_proxy.general.conf
|
||||
# Include=/usr/local/etc/zabbix_proxy.conf.d/
|
||||
# Include=/usr/local/etc/zabbix_proxy.conf.d/*.conf
|
||||
|
||||
### Option: SSLCertLocation
|
||||
# Location of SSL client certificates.
|
||||
# This parameter is used only in web monitoring.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# SSLCertLocation=${datadir}/zabbix/ssl/certs
|
||||
|
||||
### Option: SSLKeyLocation
|
||||
# Location of private keys for SSL client certificates.
|
||||
# This parameter is used only in web monitoring.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# SSLKeyLocation=${datadir}/zabbix/ssl/keys
|
||||
|
||||
### Option: SSLCALocation
|
||||
# Location of certificate authority (CA) files for SSL server certificate verification.
|
||||
# If not set, system-wide directory will be used.
|
||||
# This parameter is used only in web monitoring.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# SSLCALocation=
|
||||
|
||||
####### LOADABLE MODULES #######
|
||||
|
||||
### Option: LoadModulePath
|
||||
# Full path to location of proxy modules.
|
||||
# Default depends on compilation options.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# LoadModulePath=${libdir}/modules
|
||||
|
||||
### Option: LoadModule
|
||||
# Module to load at proxy startup. Modules are used to extend functionality of the proxy.
|
||||
# Format: LoadModule=<module.so>
|
||||
# The modules must be located in directory specified by LoadModulePath.
|
||||
# It is allowed to include multiple LoadModule parameters.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# LoadModule=
|
||||
|
||||
####### TLS-RELATED PARAMETERS #######
|
||||
|
||||
### Option: TLSConnect
|
||||
# How the proxy should connect to Zabbix server. Used for an active proxy, ignored on a passive proxy.
|
||||
# Only one value can be specified:
|
||||
# unencrypted - connect without encryption
|
||||
# psk - connect using TLS and a pre-shared key
|
||||
# cert - connect using TLS and a certificate
|
||||
#
|
||||
# Mandatory: yes, if TLS certificate or PSK parameters are defined (even for 'unencrypted' connection)
|
||||
# Default:
|
||||
# TLSConnect=unencrypted
|
||||
|
||||
### Option: TLSAccept
|
||||
# What incoming connections to accept from Zabbix server. Used for a passive proxy, ignored on an active proxy.
|
||||
# Multiple values can be specified, separated by comma:
|
||||
# unencrypted - accept connections without encryption
|
||||
# psk - accept connections secured with TLS and a pre-shared key
|
||||
# cert - accept connections secured with TLS and a certificate
|
||||
#
|
||||
# Mandatory: yes, if TLS certificate or PSK parameters are defined (even for 'unencrypted' connection)
|
||||
# Default:
|
||||
# TLSAccept=unencrypted
|
||||
|
||||
### Option: TLSCAFile
|
||||
# Full pathname of a file containing the top-level CA(s) certificates for
|
||||
# peer certificate verification.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# TLSCAFile=
|
||||
|
||||
### Option: TLSCRLFile
|
||||
# Full pathname of a file containing revoked certificates.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# TLSCRLFile=
|
||||
|
||||
### Option: TLSServerCertIssuer
|
||||
# Allowed server certificate issuer.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# TLSServerCertIssuer=
|
||||
|
||||
### Option: TLSServerCertSubject
|
||||
# Allowed server certificate subject.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# TLSServerCertSubject=
|
||||
|
||||
### Option: TLSCertFile
|
||||
# Full pathname of a file containing the proxy certificate or certificate chain.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# TLSCertFile=
|
||||
|
||||
### Option: TLSKeyFile
|
||||
# Full pathname of a file containing the proxy private key.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# TLSKeyFile=
|
||||
|
||||
### Option: TLSPSKIdentity
|
||||
# Unique, case sensitive string used to identify the pre-shared key.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# TLSPSKIdentity=
|
||||
|
||||
### Option: TLSPSKFile
|
||||
# Full pathname of a file containing the pre-shared key.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# TLSPSKFile=
|
@ -0,0 +1,635 @@
|
||||
# This is a configuration file for Zabbix server daemon
|
||||
# To get more information about Zabbix, visit http://www.zabbix.com
|
||||
|
||||
############ GENERAL PARAMETERS #################
|
||||
|
||||
### Option: ListenPort
|
||||
# Listen port for trapper.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1024-32767
|
||||
# Default:
|
||||
# ListenPort=10051
|
||||
|
||||
### Option: SourceIP
|
||||
# Source IP address for outgoing connections.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# SourceIP=
|
||||
|
||||
### Option: LogType
|
||||
# Specifies where log messages are written to:
|
||||
# system - syslog
|
||||
# file - file specified with LogFile parameter
|
||||
# console - standard output
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# LogType=file
|
||||
|
||||
### Option: LogFile
|
||||
# Log file name for LogType 'file' parameter.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# LogFile=
|
||||
|
||||
LogFile=/var/log/zabbix/zabbix_server.log
|
||||
|
||||
### Option: LogFileSize
|
||||
# Maximum size of log file in MB.
|
||||
# 0 - disable automatic log rotation.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 0-1024
|
||||
# Default:
|
||||
# LogFileSize=1
|
||||
LogFileSize=128
|
||||
|
||||
### Option: DebugLevel
|
||||
# Specifies debug level:
|
||||
# 0 - basic information about starting and stopping of Zabbix processes
|
||||
# 1 - critical information
|
||||
# 2 - error information
|
||||
# 3 - warnings
|
||||
# 4 - for debugging (produces lots of information)
|
||||
# 5 - extended debugging (produces even more information)
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 0-5
|
||||
# Default:
|
||||
# DebugLevel=3
|
||||
|
||||
### Option: PidFile
|
||||
# Name of PID file.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# PidFile=/tmp/zabbix_server.pid
|
||||
PidFile=/run/zabbix/zabbix_server.pid
|
||||
|
||||
### Option: DBHost
|
||||
# Database host name.
|
||||
# If set to localhost, socket is used for MySQL.
|
||||
# If set to empty string, socket is used for PostgreSQL.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# DBHost=localhost
|
||||
|
||||
### Option: DBName
|
||||
# Database name.
|
||||
# For SQLite3 path to database file must be provided. DBUser and DBPassword are ignored.
|
||||
#
|
||||
# Mandatory: yes
|
||||
# Default:
|
||||
# DBName=
|
||||
|
||||
DBName=zabbix
|
||||
|
||||
### Option: DBSchema
|
||||
# Schema name. Used for IBM DB2 and PostgreSQL.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# DBSchema=
|
||||
|
||||
### Option: DBUser
|
||||
# Database user. Ignored for SQLite.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# DBUser=
|
||||
|
||||
DBUser=zabbix
|
||||
|
||||
### Option: DBPassword
|
||||
# Database password. Ignored for SQLite.
|
||||
# Comment this line if no password is used.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# DBPassword=
|
||||
|
||||
### Option: DBSocket
|
||||
# Path to MySQL socket.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# DBSocket=/tmp/mysql.sock
|
||||
|
||||
### Option: DBPort
|
||||
# Database port when not using local socket. Ignored for SQLite.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1024-65535
|
||||
# Default (for MySQL):
|
||||
# DBPort=3306
|
||||
|
||||
############ ADVANCED PARAMETERS ################
|
||||
|
||||
### Option: StartPollers
|
||||
# Number of pre-forked instances of pollers.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 0-1000
|
||||
# Default:
|
||||
# StartPollers=5
|
||||
|
||||
### Option: StartIPMIPollers
|
||||
# Number of pre-forked instances of IPMI pollers.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 0-1000
|
||||
# Default:
|
||||
# StartIPMIPollers=0
|
||||
|
||||
### Option: StartPollersUnreachable
|
||||
# Number of pre-forked instances of pollers for unreachable hosts (including IPMI and Java).
|
||||
# At least one poller for unreachable hosts must be running if regular, IPMI or Java pollers
|
||||
# are started.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 0-1000
|
||||
# Default:
|
||||
# StartPollersUnreachable=1
|
||||
|
||||
### Option: StartTrappers
|
||||
# Number of pre-forked instances of trappers.
|
||||
# Trappers accept incoming connections from Zabbix sender, active agents and active proxies.
|
||||
# At least one trapper process must be running to display server availability and view queue
|
||||
# in the frontend.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 0-1000
|
||||
# Default:
|
||||
# StartTrappers=5
|
||||
|
||||
### Option: StartPingers
|
||||
# Number of pre-forked instances of ICMP pingers.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 0-1000
|
||||
# Default:
|
||||
# StartPingers=1
|
||||
|
||||
### Option: StartDiscoverers
|
||||
# Number of pre-forked instances of discoverers.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 0-250
|
||||
# Default:
|
||||
# StartDiscoverers=1
|
||||
|
||||
### Option: StartHTTPPollers
|
||||
# Number of pre-forked instances of HTTP pollers.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 0-1000
|
||||
# Default:
|
||||
# StartHTTPPollers=1
|
||||
|
||||
### Option: StartTimers
|
||||
# Number of pre-forked instances of timers.
|
||||
# Timers process time-based trigger functions and maintenance periods.
|
||||
# Only the first timer process handles the maintenance periods.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1-1000
|
||||
# Default:
|
||||
# StartTimers=1
|
||||
|
||||
### Option: StartEscalators
|
||||
# Number of pre-forked instances of escalators.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 0-100
|
||||
# Default:
|
||||
# StartEscalators=1
|
||||
|
||||
### Option: JavaGateway
|
||||
# IP address (or hostname) of Zabbix Java gateway.
|
||||
# Only required if Java pollers are started.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# JavaGateway=
|
||||
|
||||
### Option: JavaGatewayPort
|
||||
# Port that Zabbix Java gateway listens on.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1024-32767
|
||||
# Default:
|
||||
# JavaGatewayPort=10052
|
||||
|
||||
### Option: StartJavaPollers
|
||||
# Number of pre-forked instances of Java pollers.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 0-1000
|
||||
# Default:
|
||||
# StartJavaPollers=0
|
||||
|
||||
### Option: StartVMwareCollectors
|
||||
# Number of pre-forked vmware collector instances.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 0-250
|
||||
# Default:
|
||||
# StartVMwareCollectors=0
|
||||
|
||||
### Option: VMwareFrequency
|
||||
# How often Zabbix will connect to VMware service to obtain a new data.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 10-86400
|
||||
# Default:
|
||||
# VMwareFrequency=60
|
||||
|
||||
### Option: VMwarePerfFrequency
|
||||
# How often Zabbix will connect to VMware service to obtain performance data.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 10-86400
|
||||
# Default:
|
||||
# VMwarePerfFrequency=60
|
||||
|
||||
### Option: VMwareCacheSize
|
||||
# Size of VMware cache, in bytes.
|
||||
# Shared memory size for storing VMware data.
|
||||
# Only used if VMware collectors are started.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 256K-2G
|
||||
# Default:
|
||||
# VMwareCacheSize=8M
|
||||
|
||||
### Option: VMwareTimeout
|
||||
# Specifies how many seconds vmware collector waits for response from VMware service.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1-300
|
||||
# Default:
|
||||
# VMwareTimeout=10
|
||||
|
||||
### Option: SNMPTrapperFile
|
||||
# Temporary file used for passing data from SNMP trap daemon to the server.
|
||||
# Must be the same as in zabbix_trap_receiver.pl or SNMPTT configuration file.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# SNMPTrapperFile=/tmp/zabbix_traps.tmp
|
||||
|
||||
### Option: StartSNMPTrapper
|
||||
# If 1, SNMP trapper process is started.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 0-1
|
||||
# Default:
|
||||
# StartSNMPTrapper=0
|
||||
|
||||
### Option: ListenIP
|
||||
# List of comma delimited IP addresses that the trapper should listen on.
|
||||
# Trapper will listen on all network interfaces if this parameter is missing.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# ListenIP=0.0.0.0
|
||||
|
||||
# ListenIP=127.0.0.1
|
||||
|
||||
### Option: HousekeepingFrequency
|
||||
# How often Zabbix will perform housekeeping procedure (in hours).
|
||||
# Housekeeping is removing outdated information from the database.
|
||||
# To prevent Housekeeper from being overloaded, no more than 4 times HousekeepingFrequency
|
||||
# hours of outdated information are deleted in one housekeeping cycle, for each item.
|
||||
# To lower load on server startup housekeeping is postponed for 30 minutes after server start.
|
||||
# With HousekeepingFrequency=0 the housekeeper can be only executed using the runtime control option.
|
||||
# In this case the period of outdated information deleted in one housekeeping cycle is 4 times the
|
||||
# period since the last housekeeping cycle, but not less than 4 hours and not greater than 4 days.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 0-24
|
||||
# Default:
|
||||
# HousekeepingFrequency=1
|
||||
|
||||
### Option: MaxHousekeeperDelete
|
||||
# The table "housekeeper" contains "tasks" for housekeeping procedure in the format:
|
||||
# [housekeeperid], [tablename], [field], [value].
|
||||
# No more than 'MaxHousekeeperDelete' rows (corresponding to [tablename], [field], [value])
|
||||
# will be deleted per one task in one housekeeping cycle.
|
||||
# SQLite3 does not use this parameter, deletes all corresponding rows without a limit.
|
||||
# If set to 0 then no limit is used at all. In this case you must know what you are doing!
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 0-1000000
|
||||
# Default:
|
||||
# MaxHousekeeperDelete=5000
|
||||
|
||||
### Option: SenderFrequency
|
||||
# How often Zabbix will try to send unsent alerts (in seconds).
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 5-3600
|
||||
# Default:
|
||||
# SenderFrequency=30
|
||||
|
||||
### Option: CacheSize
|
||||
# Size of configuration cache, in bytes.
|
||||
# Shared memory size for storing host, item and trigger data.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 128K-8G
|
||||
# Default:
|
||||
# CacheSize=8M
|
||||
|
||||
### Option: CacheUpdateFrequency
|
||||
# How often Zabbix will perform update of configuration cache, in seconds.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1-3600
|
||||
# Default:
|
||||
# CacheUpdateFrequency=60
|
||||
|
||||
### Option: StartDBSyncers
|
||||
# Number of pre-forked instances of DB Syncers.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1-100
|
||||
# Default:
|
||||
# StartDBSyncers=4
|
||||
|
||||
### Option: HistoryCacheSize
|
||||
# Size of history cache, in bytes.
|
||||
# Shared memory size for storing history data.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 128K-2G
|
||||
# Default:
|
||||
# HistoryCacheSize=16M
|
||||
|
||||
### Option: HistoryIndexCacheSize
|
||||
# Size of history index cache, in bytes.
|
||||
# Shared memory size for indexing history cache.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 128K-2G
|
||||
# Default:
|
||||
# HistoryIndexCacheSize=4M
|
||||
|
||||
### Option: TrendCacheSize
|
||||
# Size of trend cache, in bytes.
|
||||
# Shared memory size for storing trends data.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 128K-2G
|
||||
# Default:
|
||||
# TrendCacheSize=4M
|
||||
|
||||
### Option: ValueCacheSize
|
||||
# Size of history value cache, in bytes.
|
||||
# Shared memory size for caching item history data requests.
|
||||
# Setting to 0 disables value cache.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 0,128K-64G
|
||||
# Default:
|
||||
# ValueCacheSize=8M
|
||||
|
||||
### Option: Timeout
|
||||
# Specifies how long we wait for agent, SNMP device or external check (in seconds).
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1-30
|
||||
# Default:
|
||||
# Timeout=3
|
||||
|
||||
Timeout=4
|
||||
|
||||
### Option: TrapperTimeout
|
||||
# Specifies how many seconds trapper may spend processing new data.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1-300
|
||||
# Default:
|
||||
# TrapperTimeout=300
|
||||
|
||||
### Option: UnreachablePeriod
|
||||
# After how many seconds of unreachability treat a host as unavailable.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1-3600
|
||||
# Default:
|
||||
# UnreachablePeriod=45
|
||||
|
||||
### Option: UnavailableDelay
|
||||
# How often host is checked for availability during the unavailability period, in seconds.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1-3600
|
||||
# Default:
|
||||
# UnavailableDelay=60
|
||||
|
||||
### Option: UnreachableDelay
|
||||
# How often host is checked for availability during the unreachability period, in seconds.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1-3600
|
||||
# Default:
|
||||
# UnreachableDelay=15
|
||||
|
||||
### Option: AlertScriptsPath
|
||||
# Full path to location of custom alert scripts.
|
||||
# Default depends on compilation options.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# AlertScriptsPath=${datadir}/zabbix/alertscripts
|
||||
AlertScriptsPath=/var/lib/zabbix/alertscripts
|
||||
|
||||
### Option: ExternalScripts
|
||||
# Full path to location of external scripts.
|
||||
# Default depends on compilation options.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# ExternalScripts=${datadir}/zabbix/externalscripts
|
||||
ExternalScripts=/var/lib/zabbix/externalscripts
|
||||
|
||||
### Option: FpingLocation
|
||||
# Location of fping.
|
||||
# Make sure that fping binary has root ownership and SUID flag set.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# FpingLocation=/usr/sbin/fping
|
||||
|
||||
### Option: Fping6Location
|
||||
# Location of fping6.
|
||||
# Make sure that fping6 binary has root ownership and SUID flag set.
|
||||
# Make empty if your fping utility is capable to process IPv6 addresses.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Fping6Location=/usr/sbin/fping6
|
||||
|
||||
### Option: SSHKeyLocation
|
||||
# Location of public and private keys for SSH checks and actions.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# SSHKeyLocation=
|
||||
|
||||
### Option: LogSlowQueries
|
||||
# How long a database query may take before being logged (in milliseconds).
|
||||
# Only works if DebugLevel set to 3, 4 or 5.
|
||||
# 0 - don't log slow queries.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1-3600000
|
||||
# Default:
|
||||
# LogSlowQueries=0
|
||||
|
||||
LogSlowQueries=3000
|
||||
|
||||
### Option: TmpDir
|
||||
# Temporary directory.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# TmpDir=/tmp
|
||||
|
||||
### Option: StartProxyPollers
|
||||
# Number of pre-forked instances of pollers for passive proxies.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 0-250
|
||||
# Default:
|
||||
# StartProxyPollers=1
|
||||
|
||||
### Option: ProxyConfigFrequency
|
||||
# How often Zabbix Server sends configuration data to a Zabbix Proxy in seconds.
|
||||
# This parameter is used only for proxies in the passive mode.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1-3600*24*7
|
||||
# Default:
|
||||
# ProxyConfigFrequency=3600
|
||||
|
||||
### Option: ProxyDataFrequency
|
||||
# How often Zabbix Server requests history data from a Zabbix Proxy in seconds.
|
||||
# This parameter is used only for proxies in the passive mode.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Range: 1-3600
|
||||
# Default:
|
||||
# ProxyDataFrequency=1
|
||||
|
||||
### Option: AllowRoot
|
||||
# Allow the server to run as 'root'. If disabled and the server is started by 'root', the server
|
||||
# will try to switch to the user specified by the User configuration option instead.
|
||||
# Has no effect if started under a regular user.
|
||||
# 0 - do not allow
|
||||
# 1 - allow
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# AllowRoot=0
|
||||
|
||||
### Option: User
|
||||
# Drop privileges to a specific, existing user on the system.
|
||||
# Only has effect if run as 'root' and AllowRoot is disabled.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# User=zabbix
|
||||
|
||||
### Option: Include
|
||||
# You may include individual files or all files in a directory in the configuration file.
|
||||
# Installing Zabbix will create include directory in /usr/local/etc, unless modified during the compile time.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# Include=
|
||||
|
||||
# Include=/usr/local/etc/zabbix_server.general.conf
|
||||
# Include=/usr/local/etc/zabbix_server.conf.d/
|
||||
# Include=/usr/local/etc/zabbix_server.conf.d/*.conf
|
||||
|
||||
### Option: SSLCertLocation
|
||||
# Location of SSL client certificates.
|
||||
# This parameter is used only in web monitoring.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# SSLCertLocation=${datadir}/zabbix/ssl/certs
|
||||
|
||||
### Option: SSLKeyLocation
|
||||
# Location of private keys for SSL client certificates.
|
||||
# This parameter is used only in web monitoring.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# SSLKeyLocation=${datadir}/zabbix/ssl/keys
|
||||
|
||||
### Option: SSLCALocation
|
||||
# Override the location of certificate authority (CA) files for SSL server certificate verification.
|
||||
# If not set, system-wide directory will be used.
|
||||
# This parameter is used only in web monitoring and SMTP authentication.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# SSLCALocation=
|
||||
|
||||
####### LOADABLE MODULES #######
|
||||
|
||||
### Option: LoadModulePath
|
||||
# Full path to location of server modules.
|
||||
# Default depends on compilation options.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# LoadModulePath=${libdir}/modules
|
||||
|
||||
### Option: LoadModule
|
||||
# Module to load at server startup. Modules are used to extend functionality of the server.
|
||||
# Format: LoadModule=<module.so>
|
||||
# The modules must be located in directory specified by LoadModulePath.
|
||||
# It is allowed to include multiple LoadModule parameters.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# LoadModule=
|
||||
|
||||
####### TLS-RELATED PARAMETERS #######
|
||||
|
||||
### Option: TLSCAFile
|
||||
# Full pathname of a file containing the top-level CA(s) certificates for
|
||||
# peer certificate verification.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# TLSCAFile=
|
||||
|
||||
### Option: TLSCRLFile
|
||||
# Full pathname of a file containing revoked certificates.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# TLSCRLFile=
|
||||
|
||||
### Option: TLSCertFile
|
||||
# Full pathname of a file containing the server certificate or certificate chain.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# TLSCertFile=
|
||||
|
||||
### Option: TLSKeyFile
|
||||
# Full pathname of a file containing the server private key.
|
||||
#
|
||||
# Mandatory: no
|
||||
# Default:
|
||||
# TLSKeyFile=
|
@ -0,0 +1,342 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="6"
|
||||
|
||||
# needed to make webapp-config dep optional
|
||||
WEBAPP_OPTIONAL="yes"
|
||||
inherit flag-o-matic webapp java-pkg-opt-2 user systemd toolchain-funcs
|
||||
|
||||
DESCRIPTION="ZABBIX is software for monitoring of your applications, network and servers"
|
||||
HOMEPAGE="http://www.zabbix.com/"
|
||||
MY_P=${P/_/}
|
||||
MY_PV=${PV/_/}
|
||||
SRC_URI="http://prdownloads.sourceforge.net/zabbix/${MY_P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
WEBAPP_MANUAL_SLOT="yes"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+agent java curl frontend ipv6 xmpp ldap libxml2 mysql openipmi oracle postgres proxy server ssh snmp sqlite odbc static"
|
||||
REQUIRED_USE="|| ( agent frontend proxy server )
|
||||
proxy? ( ^^ ( mysql oracle postgres sqlite odbc ) )
|
||||
server? ( ^^ ( mysql oracle postgres sqlite odbc ) )
|
||||
static? ( !oracle !snmp )"
|
||||
|
||||
COMMON_DEPEND="snmp? ( net-analyzer/net-snmp )
|
||||
ldap? (
|
||||
net-nds/openldap
|
||||
=dev-libs/cyrus-sasl-2*
|
||||
net-libs/gnutls
|
||||
)
|
||||
mysql? ( >=virtual/mysql-5.0.3 )
|
||||
sqlite? ( >=dev-db/sqlite-3.3.5 )
|
||||
postgres? ( dev-db/postgresql:* )
|
||||
oracle? ( >=dev-db/oracle-instantclient-basic-10.0.0.0 )
|
||||
xmpp? ( dev-libs/iksemel )
|
||||
libxml2? ( dev-libs/libxml2 )
|
||||
curl? ( net-misc/curl )
|
||||
openipmi? ( sys-libs/openipmi )
|
||||
ssh? ( net-libs/libssh2 )
|
||||
java? ( virtual/jdk:* )
|
||||
odbc? ( dev-db/unixODBC )"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
proxy? ( net-analyzer/fping )
|
||||
server? ( net-analyzer/fping
|
||||
app-admin/webapp-config )
|
||||
java? (
|
||||
>=virtual/jre-1.4
|
||||
dev-java/slf4j-api
|
||||
)
|
||||
frontend? (
|
||||
>=dev-lang/php-5.3.0[bcmath,ctype,sockets,gd,truetype,xml,session,xmlreader,xmlwriter,nls,sysvipc,unicode]
|
||||
|| ( dev-lang/php[apache2] dev-lang/php[cgi] dev-lang/php[fpm] )
|
||||
mysql? ( dev-lang/php[mysqli] )
|
||||
odbc? ( dev-lang/php[odbc] )
|
||||
oracle? ( dev-lang/php[oci8-instant-client] )
|
||||
postgres? ( dev-lang/php[postgres] )
|
||||
sqlite? ( dev-lang/php[sqlite] )
|
||||
media-libs/gd[png]
|
||||
app-admin/webapp-config )"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
static? (
|
||||
ldap? (
|
||||
net-nds/openldap[static-libs]
|
||||
=dev-libs/cyrus-sasl-2*[static-libs]
|
||||
net-libs/gnutls[static-libs]
|
||||
)
|
||||
mysql? ( >=virtual/mysql-5.0.3[static-libs] )
|
||||
sqlite? ( >=dev-db/sqlite-3.3.5[static-libs] )
|
||||
postgres? ( dev-db/postgresql:*[static-libs] )
|
||||
libxml2? ( dev-libs/libxml2[static-libs] )
|
||||
curl? ( net-misc/curl[static-libs] )
|
||||
ssh? ( net-libs/libssh2[static-libs] )
|
||||
odbc? ( dev-db/unixODBC[static-libs] )
|
||||
)
|
||||
virtual/pkgconfig"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
ZABBIXJAVA_BASE="opt/zabbix_java"
|
||||
|
||||
pkg_setup() {
|
||||
if use oracle; then
|
||||
if [ -z "${ORACLE_HOME}" ]; then
|
||||
eerror
|
||||
eerror "The environment variable ORACLE_HOME must be set"
|
||||
eerror "and point to the correct location."
|
||||
eerror "It looks like you don't have Oracle installed."
|
||||
eerror
|
||||
die "Environment variable ORACLE_HOME is not set"
|
||||
fi
|
||||
if has_version 'dev-db/oracle-instantclient-basic'; then
|
||||
ewarn
|
||||
ewarn "Please ensure you have a full install of the Oracle client."
|
||||
ewarn "dev-db/oracle-instantclient* is NOT sufficient."
|
||||
ewarn
|
||||
fi
|
||||
fi
|
||||
|
||||
if use frontend; then
|
||||
webapp_pkg_setup
|
||||
fi
|
||||
|
||||
enewgroup zabbix
|
||||
enewuser zabbix -1 -1 /var/lib/zabbix/home zabbix
|
||||
}
|
||||
|
||||
java_prepare() {
|
||||
cd "${S}/src/zabbix_java/lib"
|
||||
rm -v *.jar || die
|
||||
|
||||
java-pkg_jar-from slf4j-api
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable server) \
|
||||
$(use_enable proxy) \
|
||||
$(use_enable agent) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable static) \
|
||||
$(use_enable java) \
|
||||
$(use_with ldap) \
|
||||
$(use_with snmp net-snmp) \
|
||||
$(use_with mysql) \
|
||||
$(use_with postgres postgresql) \
|
||||
$(use_with oracle) \
|
||||
$(use_with sqlite sqlite3) \
|
||||
$(use_with xmpp jabber) \
|
||||
$(use_with curl libcurl) \
|
||||
$(use_with openipmi openipmi) \
|
||||
$(use_with ssh ssh2) \
|
||||
$(use_with libxml2) \
|
||||
$(use_with odbc unixodbc) \
|
||||
|| die "econf failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if [ -f Makefile ] || [ -f GNUmakefile ] || [ -f makefile ]; then
|
||||
emake AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" || die "emake failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir \
|
||||
/etc/zabbix \
|
||||
/var/lib/zabbix \
|
||||
/var/lib/zabbix/home \
|
||||
/var/lib/zabbix/scripts \
|
||||
/var/lib/zabbix/alertscripts \
|
||||
/var/lib/zabbix/externalscripts \
|
||||
/var/log/zabbix
|
||||
|
||||
keepdir \
|
||||
/etc/zabbix \
|
||||
/var/lib/zabbix \
|
||||
/var/lib/zabbix/home \
|
||||
/var/lib/zabbix/scripts \
|
||||
/var/lib/zabbix/alertscripts \
|
||||
/var/lib/zabbix/externalscripts \
|
||||
/var/log/zabbix
|
||||
|
||||
if use server; then
|
||||
insinto /etc/zabbix
|
||||
doins "${FILESDIR}/2.2"/zabbix_server.conf
|
||||
doinitd "${FILESDIR}/2.2"/init.d/zabbix-server
|
||||
dosbin src/zabbix_server/zabbix_server
|
||||
fowners zabbix:zabbix /etc/zabbix/zabbix_server.conf
|
||||
fperms 0640 /etc/zabbix/zabbix_server.conf
|
||||
dodir /usr/share/zabbix
|
||||
/bin/cp -R "${S}/database/" "${D}"/usr/share/zabbix/
|
||||
systemd_dounit "${FILESDIR}/zabbix-server.service"
|
||||
systemd_newtmpfilesd "${FILESDIR}/zabbix-server.tmpfiles" zabbix-server.conf
|
||||
fi
|
||||
|
||||
if use proxy; then
|
||||
doinitd \
|
||||
"${FILESDIR}/2.2"/init.d/zabbix-proxy
|
||||
dosbin \
|
||||
src/zabbix_proxy/zabbix_proxy
|
||||
insinto /etc/zabbix
|
||||
doins \
|
||||
"${FILESDIR}/2.2"/zabbix_proxy.conf
|
||||
dodir /usr/share/zabbix
|
||||
/bin/cp -R "${S}/database/" "${D}"/usr/share/zabbix/
|
||||
systemd_dounit "${FILESDIR}/zabbix-proxy.service"
|
||||
systemd_newtmpfilesd "${FILESDIR}/zabbix-proxy.tmpfiles" zabbix-proxy.conf
|
||||
fi
|
||||
|
||||
if use agent; then
|
||||
insinto /etc/zabbix
|
||||
doins \
|
||||
"${FILESDIR}/2.2"/zabbix_agent.conf \
|
||||
"${FILESDIR}/2.2"/zabbix_agentd.conf
|
||||
doinitd "${FILESDIR}/2.2"/init.d/zabbix-agentd
|
||||
dosbin \
|
||||
src/zabbix_agent/zabbix_agent \
|
||||
src/zabbix_agent/zabbix_agentd
|
||||
dobin \
|
||||
src/zabbix_sender/zabbix_sender \
|
||||
src/zabbix_get/zabbix_get
|
||||
fowners zabbix:zabbix \
|
||||
/etc/zabbix/zabbix_agent.conf \
|
||||
/etc/zabbix/zabbix_agentd.conf
|
||||
fperms 0640 \
|
||||
/etc/zabbix/zabbix_agent.conf \
|
||||
/etc/zabbix/zabbix_agentd.conf
|
||||
systemd_dounit "${FILESDIR}/zabbix-agentd.service"
|
||||
systemd_newtmpfilesd "${FILESDIR}/zabbix-agentd.tmpfiles" zabbix-agentd.conf
|
||||
fi
|
||||
|
||||
fowners zabbix:zabbix \
|
||||
/etc/zabbix \
|
||||
/var/lib/zabbix \
|
||||
/var/lib/zabbix/home \
|
||||
/var/lib/zabbix/scripts \
|
||||
/var/lib/zabbix/alertscripts \
|
||||
/var/lib/zabbix/externalscripts \
|
||||
/var/log/zabbix
|
||||
fperms 0750 \
|
||||
/etc/zabbix \
|
||||
/var/lib/zabbix \
|
||||
/var/lib/zabbix/home \
|
||||
/var/lib/zabbix/scripts \
|
||||
/var/lib/zabbix/alertscripts \
|
||||
/var/lib/zabbix/externalscripts \
|
||||
/var/log/zabbix
|
||||
|
||||
dodoc README INSTALL NEWS ChangeLog \
|
||||
conf/zabbix_agent.conf \
|
||||
conf/zabbix_agentd.conf \
|
||||
conf/zabbix_proxy.conf \
|
||||
conf/zabbix_agentd/userparameter_examples.conf \
|
||||
conf/zabbix_agentd/userparameter_mysql.conf \
|
||||
conf/zabbix_server.conf
|
||||
|
||||
if use frontend; then
|
||||
webapp_src_preinst
|
||||
cp -R frontends/php/* "${D}/${MY_HTDOCSDIR}"
|
||||
webapp_configfile \
|
||||
"${MY_HTDOCSDIR}"/include/db.inc.php \
|
||||
"${MY_HTDOCSDIR}"/include/config.inc.php
|
||||
webapp_src_install
|
||||
fi
|
||||
|
||||
if use java; then
|
||||
dodir \
|
||||
/${ZABBIXJAVA_BASE} \
|
||||
/${ZABBIXJAVA_BASE}/bin \
|
||||
/${ZABBIXJAVA_BASE}/lib
|
||||
keepdir /${ZABBIXJAVA_BASE}
|
||||
exeinto /${ZABBIXJAVA_BASE}/bin
|
||||
doexe src/zabbix_java/bin/zabbix-java-gateway-${MY_PV}.jar
|
||||
exeinto /${ZABBIXJAVA_BASE}/lib
|
||||
doexe \
|
||||
src/zabbix_java/lib/logback-classic-0.9.27.jar \
|
||||
src/zabbix_java/lib/logback-console.xml \
|
||||
src/zabbix_java/lib/logback-core-0.9.27.jar \
|
||||
src/zabbix_java/lib/logback.xml \
|
||||
src/zabbix_java/lib/android-json-4.3_r3.1.jar \
|
||||
src/zabbix_java/lib/slf4j-api-1.6.1.jar
|
||||
exeinto /${ZABBIXJAVA_BASE}/
|
||||
doexe \
|
||||
src/zabbix_java/settings.sh \
|
||||
src/zabbix_java/startup.sh \
|
||||
src/zabbix_java/shutdown.sh
|
||||
fowners -R zabbix:zabbix /${ZABBIXJAVA_BASE}
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use server || use proxy ; then
|
||||
elog
|
||||
elog "You may need to configure your database for Zabbix,"
|
||||
elog "if you have not already done so. "
|
||||
elog
|
||||
|
||||
zabbix_homedir=$(egethome zabbix)
|
||||
if [ -n "${zabbix_homedir}" ] && \
|
||||
[ "${zabbix_homedir}" != "/var/lib/zabbix/home" ]; then
|
||||
ewarn
|
||||
ewarn "The user 'zabbix' should have his homedir changed"
|
||||
ewarn "to /var/lib/zabbix/home if you want to use"
|
||||
ewarn "custom alert scripts."
|
||||
ewarn
|
||||
ewarn "A real homedir might be needed for configfiles"
|
||||
ewarn "for custom alert scripts (e.g. ~/.sendxmpprc when"
|
||||
ewarn "using sendxmpp for Jabber alerts)."
|
||||
ewarn
|
||||
ewarn "To change the homedir use:"
|
||||
ewarn " usermod -d /var/lib/zabbix/home zabbix"
|
||||
ewarn
|
||||
fi
|
||||
fi
|
||||
|
||||
if use server; then
|
||||
elog
|
||||
elog "For distributed monitoring you have to run:"
|
||||
elog
|
||||
elog "zabbix_server -n <nodeid>"
|
||||
elog
|
||||
elog "This will convert database data for use with Node ID"
|
||||
elog "and also adds a local node."
|
||||
elog
|
||||
fi
|
||||
|
||||
elog "--"
|
||||
elog
|
||||
elog "You may need to add these lines to /etc/services:"
|
||||
elog
|
||||
elog "zabbix-agent 10050/tcp Zabbix Agent"
|
||||
elog "zabbix-agent 10050/udp Zabbix Agent"
|
||||
elog "zabbix-trapper 10051/tcp Zabbix Trapper"
|
||||
elog "zabbix-trapper 10051/udp Zabbix Trapper"
|
||||
elog
|
||||
|
||||
if use server || use proxy ; then
|
||||
# check for fping
|
||||
fping_perms=$(stat -c %a /usr/sbin/fping 2>/dev/null)
|
||||
case "${fping_perms}" in
|
||||
4[157][157][157])
|
||||
;;
|
||||
*)
|
||||
ewarn
|
||||
ewarn "If you want to use the checks 'icmpping' and 'icmppingsec',"
|
||||
ewarn "you have to make /usr/sbin/fping setuid root and executable"
|
||||
ewarn "by everyone. Run the following command to fix it:"
|
||||
ewarn
|
||||
ewarn " chmod u=rwsx,g=rx,o=rx /usr/sbin/fping"
|
||||
ewarn
|
||||
ewarn "Please be aware that this might impose a security risk,"
|
||||
ewarn "depending on the code quality of fping."
|
||||
ewarn
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
}
|
@ -0,0 +1,342 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="6"
|
||||
|
||||
# needed to make webapp-config dep optional
|
||||
WEBAPP_OPTIONAL="yes"
|
||||
inherit flag-o-matic webapp java-pkg-opt-2 user systemd toolchain-funcs
|
||||
|
||||
DESCRIPTION="ZABBIX is software for monitoring of your applications, network and servers"
|
||||
HOMEPAGE="http://www.zabbix.com/"
|
||||
MY_P=${P/_/}
|
||||
MY_PV=${PV/_/}
|
||||
SRC_URI="http://prdownloads.sourceforge.net/zabbix/${MY_P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
WEBAPP_MANUAL_SLOT="yes"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+agent java curl frontend ipv6 xmpp ldap libxml2 mysql openipmi oracle postgres proxy server ssh snmp sqlite odbc static"
|
||||
REQUIRED_USE="|| ( agent frontend proxy server )
|
||||
proxy? ( ^^ ( mysql oracle postgres sqlite odbc ) )
|
||||
server? ( ^^ ( mysql oracle postgres sqlite odbc ) )
|
||||
static? ( !oracle !snmp )"
|
||||
|
||||
COMMON_DEPEND="snmp? ( net-analyzer/net-snmp )
|
||||
ldap? (
|
||||
net-nds/openldap
|
||||
=dev-libs/cyrus-sasl-2*
|
||||
net-libs/gnutls
|
||||
)
|
||||
mysql? ( >=virtual/mysql-5.0.3 )
|
||||
sqlite? ( >=dev-db/sqlite-3.3.5 )
|
||||
postgres? ( dev-db/postgresql:* )
|
||||
oracle? ( >=dev-db/oracle-instantclient-basic-10.0.0.0 )
|
||||
xmpp? ( dev-libs/iksemel )
|
||||
libxml2? ( dev-libs/libxml2 )
|
||||
curl? ( net-misc/curl )
|
||||
openipmi? ( sys-libs/openipmi )
|
||||
ssh? ( net-libs/libssh2 )
|
||||
java? ( virtual/jdk:* )
|
||||
odbc? ( dev-db/unixODBC )"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
proxy? ( net-analyzer/fping )
|
||||
server? ( net-analyzer/fping
|
||||
app-admin/webapp-config )
|
||||
java? (
|
||||
>=virtual/jre-1.4
|
||||
dev-java/slf4j-api
|
||||
)
|
||||
frontend? (
|
||||
>=dev-lang/php-5.3.0[bcmath,ctype,sockets,gd,truetype,xml,session,xmlreader,xmlwriter,nls,sysvipc,unicode]
|
||||
|| ( dev-lang/php[apache2] dev-lang/php[cgi] dev-lang/php[fpm] )
|
||||
mysql? ( dev-lang/php[mysqli] )
|
||||
odbc? ( dev-lang/php[odbc] )
|
||||
oracle? ( dev-lang/php[oci8-instant-client] )
|
||||
postgres? ( dev-lang/php[postgres] )
|
||||
sqlite? ( dev-lang/php[sqlite] )
|
||||
media-libs/gd[png]
|
||||
app-admin/webapp-config )"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
static? (
|
||||
ldap? (
|
||||
net-nds/openldap[static-libs]
|
||||
=dev-libs/cyrus-sasl-2*[static-libs]
|
||||
net-libs/gnutls[static-libs]
|
||||
)
|
||||
mysql? ( >=virtual/mysql-5.0.3[static-libs] )
|
||||
sqlite? ( >=dev-db/sqlite-3.3.5[static-libs] )
|
||||
postgres? ( dev-db/postgresql:*[static-libs] )
|
||||
libxml2? ( dev-libs/libxml2[static-libs] )
|
||||
curl? ( net-misc/curl[static-libs] )
|
||||
ssh? ( net-libs/libssh2[static-libs] )
|
||||
odbc? ( dev-db/unixODBC[static-libs] )
|
||||
)
|
||||
virtual/pkgconfig"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
ZABBIXJAVA_BASE="opt/zabbix_java"
|
||||
|
||||
pkg_setup() {
|
||||
if use oracle; then
|
||||
if [ -z "${ORACLE_HOME}" ]; then
|
||||
eerror
|
||||
eerror "The environment variable ORACLE_HOME must be set"
|
||||
eerror "and point to the correct location."
|
||||
eerror "It looks like you don't have Oracle installed."
|
||||
eerror
|
||||
die "Environment variable ORACLE_HOME is not set"
|
||||
fi
|
||||
if has_version 'dev-db/oracle-instantclient-basic'; then
|
||||
ewarn
|
||||
ewarn "Please ensure you have a full install of the Oracle client."
|
||||
ewarn "dev-db/oracle-instantclient* is NOT sufficient."
|
||||
ewarn
|
||||
fi
|
||||
fi
|
||||
|
||||
if use frontend; then
|
||||
webapp_pkg_setup
|
||||
fi
|
||||
|
||||
enewgroup zabbix
|
||||
enewuser zabbix -1 -1 /var/lib/zabbix/home zabbix
|
||||
}
|
||||
|
||||
java_prepare() {
|
||||
cd "${S}/src/zabbix_java/lib"
|
||||
rm -v *.jar || die
|
||||
|
||||
java-pkg_jar-from slf4j-api
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable server) \
|
||||
$(use_enable proxy) \
|
||||
$(use_enable agent) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable static) \
|
||||
$(use_enable java) \
|
||||
$(use_with ldap) \
|
||||
$(use_with snmp net-snmp) \
|
||||
$(use_with mysql) \
|
||||
$(use_with postgres postgresql) \
|
||||
$(use_with oracle) \
|
||||
$(use_with sqlite sqlite3) \
|
||||
$(use_with xmpp jabber) \
|
||||
$(use_with curl libcurl) \
|
||||
$(use_with openipmi openipmi) \
|
||||
$(use_with ssh ssh2) \
|
||||
$(use_with libxml2) \
|
||||
$(use_with odbc unixodbc) \
|
||||
|| die "econf failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if [ -f Makefile ] || [ -f GNUmakefile ] || [ -f makefile ]; then
|
||||
emake AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" || die "emake failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir \
|
||||
/etc/zabbix \
|
||||
/var/lib/zabbix \
|
||||
/var/lib/zabbix/home \
|
||||
/var/lib/zabbix/scripts \
|
||||
/var/lib/zabbix/alertscripts \
|
||||
/var/lib/zabbix/externalscripts \
|
||||
/var/log/zabbix
|
||||
|
||||
keepdir \
|
||||
/etc/zabbix \
|
||||
/var/lib/zabbix \
|
||||
/var/lib/zabbix/home \
|
||||
/var/lib/zabbix/scripts \
|
||||
/var/lib/zabbix/alertscripts \
|
||||
/var/lib/zabbix/externalscripts \
|
||||
/var/log/zabbix
|
||||
|
||||
if use server; then
|
||||
insinto /etc/zabbix
|
||||
doins "${FILESDIR}/2.4"/zabbix_server.conf
|
||||
doinitd "${FILESDIR}/2.4"/init.d/zabbix-server
|
||||
dosbin src/zabbix_server/zabbix_server
|
||||
fowners zabbix:zabbix /etc/zabbix/zabbix_server.conf
|
||||
fperms 0640 /etc/zabbix/zabbix_server.conf
|
||||
dodir /usr/share/zabbix
|
||||
/bin/cp -R "${S}/database/" "${D}"/usr/share/zabbix/
|
||||
systemd_dounit "${FILESDIR}/zabbix-server.service"
|
||||
systemd_newtmpfilesd "${FILESDIR}/zabbix-server.tmpfiles" zabbix-server.conf
|
||||
fi
|
||||
|
||||
if use proxy; then
|
||||
doinitd \
|
||||
"${FILESDIR}/2.4"/init.d/zabbix-proxy
|
||||
dosbin \
|
||||
src/zabbix_proxy/zabbix_proxy
|
||||
insinto /etc/zabbix
|
||||
doins \
|
||||
"${FILESDIR}/2.4"/zabbix_proxy.conf
|
||||
dodir /usr/share/zabbix
|
||||
/bin/cp -R "${S}/database/" "${D}"/usr/share/zabbix/
|
||||
systemd_dounit "${FILESDIR}/zabbix-proxy.service"
|
||||
systemd_newtmpfilesd "${FILESDIR}/zabbix-proxy.tmpfiles" zabbix-proxy.conf
|
||||
fi
|
||||
|
||||
if use agent; then
|
||||
insinto /etc/zabbix
|
||||
doins \
|
||||
"${FILESDIR}/2.4"/zabbix_agent.conf \
|
||||
"${FILESDIR}/2.4"/zabbix_agentd.conf
|
||||
doinitd "${FILESDIR}/2.4"/init.d/zabbix-agentd
|
||||
dosbin \
|
||||
src/zabbix_agent/zabbix_agent \
|
||||
src/zabbix_agent/zabbix_agentd
|
||||
dobin \
|
||||
src/zabbix_sender/zabbix_sender \
|
||||
src/zabbix_get/zabbix_get
|
||||
fowners zabbix:zabbix \
|
||||
/etc/zabbix/zabbix_agent.conf \
|
||||
/etc/zabbix/zabbix_agentd.conf
|
||||
fperms 0640 \
|
||||
/etc/zabbix/zabbix_agent.conf \
|
||||
/etc/zabbix/zabbix_agentd.conf
|
||||
systemd_dounit "${FILESDIR}/zabbix-agentd.service"
|
||||
systemd_newtmpfilesd "${FILESDIR}/zabbix-agentd.tmpfiles" zabbix-agentd.conf
|
||||
fi
|
||||
|
||||
fowners zabbix:zabbix \
|
||||
/etc/zabbix \
|
||||
/var/lib/zabbix \
|
||||
/var/lib/zabbix/home \
|
||||
/var/lib/zabbix/scripts \
|
||||
/var/lib/zabbix/alertscripts \
|
||||
/var/lib/zabbix/externalscripts \
|
||||
/var/log/zabbix
|
||||
fperms 0750 \
|
||||
/etc/zabbix \
|
||||
/var/lib/zabbix \
|
||||
/var/lib/zabbix/home \
|
||||
/var/lib/zabbix/scripts \
|
||||
/var/lib/zabbix/alertscripts \
|
||||
/var/lib/zabbix/externalscripts \
|
||||
/var/log/zabbix
|
||||
|
||||
dodoc README INSTALL NEWS ChangeLog \
|
||||
conf/zabbix_agent.conf \
|
||||
conf/zabbix_agentd.conf \
|
||||
conf/zabbix_proxy.conf \
|
||||
conf/zabbix_agentd/userparameter_examples.conf \
|
||||
conf/zabbix_agentd/userparameter_mysql.conf \
|
||||
conf/zabbix_server.conf
|
||||
|
||||
if use frontend; then
|
||||
webapp_src_preinst
|
||||
cp -R frontends/php/* "${D}/${MY_HTDOCSDIR}"
|
||||
webapp_configfile \
|
||||
"${MY_HTDOCSDIR}"/include/db.inc.php \
|
||||
"${MY_HTDOCSDIR}"/include/config.inc.php
|
||||
webapp_src_install
|
||||
fi
|
||||
|
||||
if use java; then
|
||||
dodir \
|
||||
/${ZABBIXJAVA_BASE} \
|
||||
/${ZABBIXJAVA_BASE}/bin \
|
||||
/${ZABBIXJAVA_BASE}/lib
|
||||
keepdir /${ZABBIXJAVA_BASE}
|
||||
exeinto /${ZABBIXJAVA_BASE}/bin
|
||||
doexe src/zabbix_java/bin/zabbix-java-gateway-${MY_PV}.jar
|
||||
exeinto /${ZABBIXJAVA_BASE}/lib
|
||||
doexe \
|
||||
src/zabbix_java/lib/logback-classic-0.9.27.jar \
|
||||
src/zabbix_java/lib/logback-console.xml \
|
||||
src/zabbix_java/lib/logback-core-0.9.27.jar \
|
||||
src/zabbix_java/lib/logback.xml \
|
||||
src/zabbix_java/lib/android-json-4.3_r3.1.jar \
|
||||
src/zabbix_java/lib/slf4j-api-1.6.1.jar
|
||||
exeinto /${ZABBIXJAVA_BASE}/
|
||||
doexe \
|
||||
src/zabbix_java/settings.sh \
|
||||
src/zabbix_java/startup.sh \
|
||||
src/zabbix_java/shutdown.sh
|
||||
fowners -R zabbix:zabbix /${ZABBIXJAVA_BASE}
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use server || use proxy ; then
|
||||
elog
|
||||
elog "You may need to configure your database for Zabbix,"
|
||||
elog "if you have not already done so. "
|
||||
elog
|
||||
|
||||
zabbix_homedir=$(egethome zabbix)
|
||||
if [ -n "${zabbix_homedir}" ] && \
|
||||
[ "${zabbix_homedir}" != "/var/lib/zabbix/home" ]; then
|
||||
ewarn
|
||||
ewarn "The user 'zabbix' should have his homedir changed"
|
||||
ewarn "to /var/lib/zabbix/home if you want to use"
|
||||
ewarn "custom alert scripts."
|
||||
ewarn
|
||||
ewarn "A real homedir might be needed for configfiles"
|
||||
ewarn "for custom alert scripts (e.g. ~/.sendxmpprc when"
|
||||
ewarn "using sendxmpp for Jabber alerts)."
|
||||
ewarn
|
||||
ewarn "To change the homedir use:"
|
||||
ewarn " usermod -d /var/lib/zabbix/home zabbix"
|
||||
ewarn
|
||||
fi
|
||||
fi
|
||||
|
||||
if use server; then
|
||||
elog
|
||||
elog "For distributed monitoring you have to run:"
|
||||
elog
|
||||
elog "zabbix_server -n <nodeid>"
|
||||
elog
|
||||
elog "This will convert database data for use with Node ID"
|
||||
elog "and also adds a local node."
|
||||
elog
|
||||
fi
|
||||
|
||||
elog "--"
|
||||
elog
|
||||
elog "You may need to add these lines to /etc/services:"
|
||||
elog
|
||||
elog "zabbix-agent 10050/tcp Zabbix Agent"
|
||||
elog "zabbix-agent 10050/udp Zabbix Agent"
|
||||
elog "zabbix-trapper 10051/tcp Zabbix Trapper"
|
||||
elog "zabbix-trapper 10051/udp Zabbix Trapper"
|
||||
elog
|
||||
|
||||
if use server || use proxy ; then
|
||||
# check for fping
|
||||
fping_perms=$(stat -c %a /usr/sbin/fping 2>/dev/null)
|
||||
case "${fping_perms}" in
|
||||
4[157][157][157])
|
||||
;;
|
||||
*)
|
||||
ewarn
|
||||
ewarn "If you want to use the checks 'icmpping' and 'icmppingsec',"
|
||||
ewarn "you have to make /usr/sbin/fping setuid root and executable"
|
||||
ewarn "by everyone. Run the following command to fix it:"
|
||||
ewarn
|
||||
ewarn " chmod u=rwsx,g=rx,o=rx /usr/sbin/fping"
|
||||
ewarn
|
||||
ewarn "Please be aware that this might impose a security risk,"
|
||||
ewarn "depending on the code quality of fping."
|
||||
ewarn
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
}
|
@ -0,0 +1,330 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="6"
|
||||
|
||||
# needed to make webapp-config dep optional
|
||||
WEBAPP_OPTIONAL="yes"
|
||||
inherit flag-o-matic webapp java-pkg-opt-2 user systemd toolchain-funcs
|
||||
|
||||
DESCRIPTION="ZABBIX is software for monitoring of your applications, network and servers"
|
||||
HOMEPAGE="http://www.zabbix.com/"
|
||||
MY_P=${P/_/}
|
||||
MY_PV=${PV/_/}
|
||||
SRC_URI="http://prdownloads.sourceforge.net/zabbix/${MY_P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
WEBAPP_MANUAL_SLOT="yes"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+agent java curl frontend ipv6 xmpp ldap libxml2 mysql openipmi oracle postgres proxy server ssh snmp sqlite odbc static"
|
||||
REQUIRED_USE="|| ( agent frontend proxy server )
|
||||
proxy? ( ^^ ( mysql oracle postgres sqlite odbc ) )
|
||||
server? ( ^^ ( mysql oracle postgres sqlite odbc ) )
|
||||
static? ( !oracle !snmp )"
|
||||
|
||||
COMMON_DEPEND="snmp? ( net-analyzer/net-snmp )
|
||||
ldap? (
|
||||
net-nds/openldap
|
||||
=dev-libs/cyrus-sasl-2*
|
||||
net-libs/gnutls
|
||||
)
|
||||
mysql? ( >=virtual/mysql-5.0.3 )
|
||||
sqlite? ( >=dev-db/sqlite-3.3.5 )
|
||||
postgres? ( dev-db/postgresql:* )
|
||||
oracle? ( >=dev-db/oracle-instantclient-basic-10.0.0.0 )
|
||||
xmpp? ( dev-libs/iksemel )
|
||||
libxml2? ( dev-libs/libxml2 )
|
||||
curl? ( net-misc/curl )
|
||||
openipmi? ( sys-libs/openipmi )
|
||||
ssh? ( net-libs/libssh2 )
|
||||
java? ( virtual/jdk:* )
|
||||
odbc? ( dev-db/unixODBC )"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
proxy? ( net-analyzer/fping )
|
||||
server? ( net-analyzer/fping
|
||||
app-admin/webapp-config )
|
||||
java? (
|
||||
>=virtual/jre-1.4
|
||||
dev-java/slf4j-api
|
||||
)
|
||||
frontend? (
|
||||
>=dev-lang/php-5.3.0[bcmath,ctype,sockets,gd,truetype,xml,session,xmlreader,xmlwriter,nls,sysvipc,unicode]
|
||||
|| ( dev-lang/php[apache2] dev-lang/php[cgi] dev-lang/php[fpm] )
|
||||
mysql? ( dev-lang/php[mysqli] )
|
||||
odbc? ( dev-lang/php[odbc] )
|
||||
oracle? ( dev-lang/php[oci8-instant-client] )
|
||||
postgres? ( dev-lang/php[postgres] )
|
||||
sqlite? ( dev-lang/php[sqlite] )
|
||||
media-libs/gd[png]
|
||||
app-admin/webapp-config )"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
static? (
|
||||
ldap? (
|
||||
net-nds/openldap[static-libs]
|
||||
=dev-libs/cyrus-sasl-2*[static-libs]
|
||||
net-libs/gnutls[static-libs]
|
||||
)
|
||||
mysql? ( >=virtual/mysql-5.0.3[static-libs] )
|
||||
sqlite? ( >=dev-db/sqlite-3.3.5[static-libs] )
|
||||
postgres? ( dev-db/postgresql:*[static-libs] )
|
||||
libxml2? ( dev-libs/libxml2[static-libs] )
|
||||
curl? ( net-misc/curl[static-libs] )
|
||||
ssh? ( net-libs/libssh2[static-libs] )
|
||||
odbc? ( dev-db/unixODBC[static-libs] )
|
||||
)
|
||||
virtual/pkgconfig"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
ZABBIXJAVA_BASE="opt/zabbix_java"
|
||||
|
||||
pkg_setup() {
|
||||
if use oracle; then
|
||||
if [ -z "${ORACLE_HOME}" ]; then
|
||||
eerror
|
||||
eerror "The environment variable ORACLE_HOME must be set"
|
||||
eerror "and point to the correct location."
|
||||
eerror "It looks like you don't have Oracle installed."
|
||||
eerror
|
||||
die "Environment variable ORACLE_HOME is not set"
|
||||
fi
|
||||
if has_version 'dev-db/oracle-instantclient-basic'; then
|
||||
ewarn
|
||||
ewarn "Please ensure you have a full install of the Oracle client."
|
||||
ewarn "dev-db/oracle-instantclient* is NOT sufficient."
|
||||
ewarn
|
||||
fi
|
||||
fi
|
||||
|
||||
if use frontend; then
|
||||
webapp_pkg_setup
|
||||
fi
|
||||
|
||||
enewgroup zabbix
|
||||
enewuser zabbix -1 -1 /var/lib/zabbix/home zabbix
|
||||
}
|
||||
|
||||
java_prepare() {
|
||||
cd "${S}/src/zabbix_java/lib"
|
||||
rm -v *.jar || die
|
||||
|
||||
java-pkg_jar-from slf4j-api
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable server) \
|
||||
$(use_enable proxy) \
|
||||
$(use_enable agent) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable static) \
|
||||
$(use_enable java) \
|
||||
$(use_with ldap) \
|
||||
$(use_with snmp net-snmp) \
|
||||
$(use_with mysql) \
|
||||
$(use_with postgres postgresql) \
|
||||
$(use_with oracle) \
|
||||
$(use_with sqlite sqlite3) \
|
||||
$(use_with xmpp jabber) \
|
||||
$(use_with curl libcurl) \
|
||||
$(use_with openipmi openipmi) \
|
||||
$(use_with ssh ssh2) \
|
||||
$(use_with libxml2) \
|
||||
$(use_with odbc unixodbc) \
|
||||
|| die "econf failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if [ -f Makefile ] || [ -f GNUmakefile ] || [ -f makefile ]; then
|
||||
emake AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" || die "emake failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir \
|
||||
/etc/zabbix \
|
||||
/var/lib/zabbix \
|
||||
/var/lib/zabbix/home \
|
||||
/var/lib/zabbix/scripts \
|
||||
/var/lib/zabbix/alertscripts \
|
||||
/var/lib/zabbix/externalscripts \
|
||||
/var/log/zabbix
|
||||
|
||||
keepdir \
|
||||
/etc/zabbix \
|
||||
/var/lib/zabbix \
|
||||
/var/lib/zabbix/home \
|
||||
/var/lib/zabbix/scripts \
|
||||
/var/lib/zabbix/alertscripts \
|
||||
/var/lib/zabbix/externalscripts \
|
||||
/var/log/zabbix
|
||||
|
||||
if use server; then
|
||||
insinto /etc/zabbix
|
||||
doins "${FILESDIR}/3.0"/zabbix_server.conf
|
||||
doinitd "${FILESDIR}/3.0"/init.d/zabbix-server
|
||||
dosbin src/zabbix_server/zabbix_server
|
||||
fowners zabbix:zabbix /etc/zabbix/zabbix_server.conf
|
||||
fperms 0640 /etc/zabbix/zabbix_server.conf
|
||||
dodir /usr/share/zabbix
|
||||
/bin/cp -R "${S}/database/" "${D}"/usr/share/zabbix/
|
||||
systemd_dounit "${FILESDIR}/zabbix-server.service"
|
||||
systemd_newtmpfilesd "${FILESDIR}/zabbix-server.tmpfiles" zabbix-server.conf
|
||||
fi
|
||||
|
||||
if use proxy; then
|
||||
doinitd "${FILESDIR}/3.0"/init.d/zabbix-proxy
|
||||
dosbin src/zabbix_proxy/zabbix_proxy
|
||||
insinto /etc/zabbix
|
||||
doins "${FILESDIR}/3.0"/zabbix_proxy.conf
|
||||
dodir /usr/share/zabbix
|
||||
/bin/cp -R "${S}/database/" "${D}"/usr/share/zabbix/
|
||||
systemd_dounit "${FILESDIR}/zabbix-proxy.service"
|
||||
systemd_newtmpfilesd "${FILESDIR}/zabbix-proxy.tmpfiles" zabbix-proxy.conf
|
||||
fi
|
||||
|
||||
if use agent; then
|
||||
insinto /etc/zabbix
|
||||
doins "${FILESDIR}/3.0"/zabbix_agentd.conf
|
||||
doinitd "${FILESDIR}/3.0"/init.d/zabbix-agentd
|
||||
dosbin src/zabbix_agent/zabbix_agentd
|
||||
dobin \
|
||||
src/zabbix_sender/zabbix_sender \
|
||||
src/zabbix_get/zabbix_get
|
||||
fowners zabbix:zabbix /etc/zabbix/zabbix_agentd.conf
|
||||
fperms 0640 /etc/zabbix/zabbix_agentd.conf
|
||||
systemd_dounit "${FILESDIR}/zabbix-agentd.service"
|
||||
systemd_newtmpfilesd "${FILESDIR}/zabbix-agentd.tmpfiles" zabbix-agentd.conf
|
||||
fi
|
||||
|
||||
fowners zabbix:zabbix \
|
||||
/etc/zabbix \
|
||||
/var/lib/zabbix \
|
||||
/var/lib/zabbix/home \
|
||||
/var/lib/zabbix/scripts \
|
||||
/var/lib/zabbix/alertscripts \
|
||||
/var/lib/zabbix/externalscripts \
|
||||
/var/log/zabbix
|
||||
fperms 0750 \
|
||||
/etc/zabbix \
|
||||
/var/lib/zabbix \
|
||||
/var/lib/zabbix/home \
|
||||
/var/lib/zabbix/scripts \
|
||||
/var/lib/zabbix/alertscripts \
|
||||
/var/lib/zabbix/externalscripts \
|
||||
/var/log/zabbix
|
||||
|
||||
dodoc README INSTALL NEWS ChangeLog \
|
||||
conf/zabbix_agentd.conf \
|
||||
conf/zabbix_proxy.conf \
|
||||
conf/zabbix_agentd/userparameter_examples.conf \
|
||||
conf/zabbix_agentd/userparameter_mysql.conf \
|
||||
conf/zabbix_server.conf
|
||||
|
||||
if use frontend; then
|
||||
webapp_src_preinst
|
||||
cp -R frontends/php/* "${D}/${MY_HTDOCSDIR}"
|
||||
webapp_configfile \
|
||||
"${MY_HTDOCSDIR}"/include/db.inc.php \
|
||||
"${MY_HTDOCSDIR}"/include/config.inc.php
|
||||
webapp_src_install
|
||||
fi
|
||||
|
||||
if use java; then
|
||||
dodir \
|
||||
/${ZABBIXJAVA_BASE} \
|
||||
/${ZABBIXJAVA_BASE}/bin \
|
||||
/${ZABBIXJAVA_BASE}/lib
|
||||
keepdir /${ZABBIXJAVA_BASE}
|
||||
exeinto /${ZABBIXJAVA_BASE}/bin
|
||||
doexe src/zabbix_java/bin/zabbix-java-gateway-${MY_PV}.jar
|
||||
exeinto /${ZABBIXJAVA_BASE}/lib
|
||||
doexe \
|
||||
src/zabbix_java/lib/logback-classic-0.9.27.jar \
|
||||
src/zabbix_java/lib/logback-console.xml \
|
||||
src/zabbix_java/lib/logback-core-0.9.27.jar \
|
||||
src/zabbix_java/lib/logback.xml \
|
||||
src/zabbix_java/lib/android-json-4.3_r3.1.jar \
|
||||
src/zabbix_java/lib/slf4j-api-1.6.1.jar
|
||||
exeinto /${ZABBIXJAVA_BASE}/
|
||||
doexe \
|
||||
src/zabbix_java/settings.sh \
|
||||
src/zabbix_java/startup.sh \
|
||||
src/zabbix_java/shutdown.sh
|
||||
fowners -R zabbix:zabbix /${ZABBIXJAVA_BASE}
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use server || use proxy ; then
|
||||
elog
|
||||
elog "You may need to configure your database for Zabbix,"
|
||||
elog "if you have not already done so. "
|
||||
elog
|
||||
|
||||
zabbix_homedir=$(egethome zabbix)
|
||||
if [ -n "${zabbix_homedir}" ] && \
|
||||
[ "${zabbix_homedir}" != "/var/lib/zabbix/home" ]; then
|
||||
ewarn
|
||||
ewarn "The user 'zabbix' should have his homedir changed"
|
||||
ewarn "to /var/lib/zabbix/home if you want to use"
|
||||
ewarn "custom alert scripts."
|
||||
ewarn
|
||||
ewarn "A real homedir might be needed for configfiles"
|
||||
ewarn "for custom alert scripts (e.g. ~/.sendxmpprc when"
|
||||
ewarn "using sendxmpp for Jabber alerts)."
|
||||
ewarn
|
||||
ewarn "To change the homedir use:"
|
||||
ewarn " usermod -d /var/lib/zabbix/home zabbix"
|
||||
ewarn
|
||||
fi
|
||||
fi
|
||||
|
||||
if use server; then
|
||||
elog
|
||||
elog "For distributed monitoring you have to run:"
|
||||
elog
|
||||
elog "zabbix_server -n <nodeid>"
|
||||
elog
|
||||
elog "This will convert database data for use with Node ID"
|
||||
elog "and also adds a local node."
|
||||
elog
|
||||
fi
|
||||
|
||||
elog "--"
|
||||
elog
|
||||
elog "You may need to add these lines to /etc/services:"
|
||||
elog
|
||||
elog "zabbix-agent 10050/tcp Zabbix Agent"
|
||||
elog "zabbix-agent 10050/udp Zabbix Agent"
|
||||
elog "zabbix-trapper 10051/tcp Zabbix Trapper"
|
||||
elog "zabbix-trapper 10051/udp Zabbix Trapper"
|
||||
elog
|
||||
|
||||
if use server || use proxy ; then
|
||||
# check for fping
|
||||
fping_perms=$(stat -c %a /usr/sbin/fping 2>/dev/null)
|
||||
case "${fping_perms}" in
|
||||
4[157][157][157])
|
||||
;;
|
||||
*)
|
||||
ewarn
|
||||
ewarn "If you want to use the checks 'icmpping' and 'icmppingsec',"
|
||||
ewarn "you have to make /usr/sbin/fping setuid root and executable"
|
||||
ewarn "by everyone. Run the following command to fix it:"
|
||||
ewarn
|
||||
ewarn " chmod u=rwsx,g=rx,o=rx /usr/sbin/fping"
|
||||
ewarn
|
||||
ewarn "Please be aware that this might impose a security risk,"
|
||||
ewarn "depending on the code quality of fping."
|
||||
ewarn
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
}
|
Loading…
Reference in new issue