From 254dea45cf50686bb4efd4e61f7763b80ef36dd0 Mon Sep 17 00:00:00 2001 From: Micha Glave Date: Tue, 18 Feb 2014 15:20:45 +0100 Subject: [PATCH] gradle-1.11 --- dev-java/gradle-bin/Manifest | 4 +- ...bin-1.10.ebuild => gradle-bin-1.11.ebuild} | 0 net-analyzer/shinken/Manifest | 5 +- net-analyzer/shinken/shinken-1.0.1.ebuild | 119 ------------------ net-analyzer/shinken/shinken-1.4.1.ebuild | 52 ++++++++ 5 files changed, 56 insertions(+), 124 deletions(-) rename dev-java/gradle-bin/{gradle-bin-1.10.ebuild => gradle-bin-1.11.ebuild} (100%) delete mode 100644 net-analyzer/shinken/shinken-1.0.1.ebuild create mode 100644 net-analyzer/shinken/shinken-1.4.1.ebuild diff --git a/dev-java/gradle-bin/Manifest b/dev-java/gradle-bin/Manifest index 7a76663..3cf3047 100644 --- a/dev-java/gradle-bin/Manifest +++ b/dev-java/gradle-bin/Manifest @@ -1,3 +1,3 @@ AUX gradle-bin.bash-completion 319 SHA256 40ff2f0b4a7eecc11dddd75006b94a12091e2a6a50aea9b7e6b5eacccfd2df6e SHA512 fa295147b6c82c32704381b523815f256d82124492bda8cda9daa5c3d375f76cbd949831306947e454ba17a534448a13a84a3a40d74aec6597d3d822fa62828a WHIRLPOOL fc6dc0e48543023e067514992bd370e179503f47fa03cbf24c2f15e673f699eaf68d9c1f01f18cf8b020895407aa19eaf9c503ac796a9debecc444649aa47246 -DIST gradle-1.10-all.zip 54965002 SHA256 cd1a0f532258369c414a56b3e73b7bd7f087cf515b7c71dcb9091598c4a8d815 SHA512 c6e165d35992bb629b8f589d32ff17598aa18df3c0a5e505e059d4f61c7c4d73f4c267705d0da69c0ab11ad938fab87c270c5a90881a4d881f3b925c632dbca3 WHIRLPOOL d69b5e63e4e1f77a695661e3521e09d83698ef868eea10bf6be8984b3f41ab4141001fc38499776203bdce798aff43ddfd942e5c2bdc6ec19aff821e29058c70 -EBUILD gradle-bin-1.10.ebuild 1198 SHA256 a8d39c2cfd4f4449caf0ed2e59f55c72e527270abd055443f0ad2497d247729c SHA512 63c9e283078af503fc547060ed9220c0f1d1ca37b8ef00d86da9c8399f625812664f8860535ca6bbfcec7708a11763c4f973fc432f30a02973722c42cd4292d0 WHIRLPOOL 66f8246ab9efb7ecfb71fd44be8e57f16326c6c9da0d9e06108a69419160d80f7584d532c0fc88dc797ce53961e894dacc26cd1a22cd8df83f84406ea499eff7 +DIST gradle-1.11-all.zip 56940872 SHA256 07e58cd960722c419eb0f6a807228e7179bb43bc266f390cde4632abdacdd659 SHA512 6361d5eb3a9e72d54235d2696e57cab1c1884ace10c707c99a3919d29a20619025f8964421e57e26e5cda68376eabf2166b231141d77ebf45ec60789793294da WHIRLPOOL ee6c7d7764a9e083a06a3a40916bfbc7995c0a2aaf36bef213213e5717ff68c3d528e9999a5399d70d47f5bb4c54d538b7405433a2ab3b7ead6e95a6ac9162a0 +EBUILD gradle-bin-1.11.ebuild 1198 SHA256 a8d39c2cfd4f4449caf0ed2e59f55c72e527270abd055443f0ad2497d247729c SHA512 63c9e283078af503fc547060ed9220c0f1d1ca37b8ef00d86da9c8399f625812664f8860535ca6bbfcec7708a11763c4f973fc432f30a02973722c42cd4292d0 WHIRLPOOL 66f8246ab9efb7ecfb71fd44be8e57f16326c6c9da0d9e06108a69419160d80f7584d532c0fc88dc797ce53961e894dacc26cd1a22cd8df83f84406ea499eff7 diff --git a/dev-java/gradle-bin/gradle-bin-1.10.ebuild b/dev-java/gradle-bin/gradle-bin-1.11.ebuild similarity index 100% rename from dev-java/gradle-bin/gradle-bin-1.10.ebuild rename to dev-java/gradle-bin/gradle-bin-1.11.ebuild diff --git a/net-analyzer/shinken/Manifest b/net-analyzer/shinken/Manifest index e20a51c..b3ea180 100644 --- a/net-analyzer/shinken/Manifest +++ b/net-analyzer/shinken/Manifest @@ -1,5 +1,4 @@ AUX shinken.confd 2002 SHA256 cbc7852564ca657fb4bfb3f38e05b0ff9778b914ee8709f6d40dbebc55aa931c SHA512 f9a459aeb7859429786c242c58616c7d4144f4de1a5266bcfaaff2fa117c9532d821ee80a910b7828cd2905839de8a09bec59102a0fe9a43daa0fdf848e8bac2 WHIRLPOOL 96601da8f8920a00acf2c3db9a37fe8debd48dea52dd05c00c5b4af999905aa6c40c70f7a6fc97afb3732819bda34b34f57e76b10501e9156e55c6898b259980 AUX shinken.initd 1518 SHA256 5e3e92b9d203446024ee2fe0b0b9cb19d1af5fbf68809a0fd5efd9420f46894e SHA512 9acd39443f25b6d1274e604987951ebd2718a31a078d11f48563bedfce8989f168c66f9aac8ed4bca1ae60d11930c4e93130f836e91b8c139e8317d8584e64f4 WHIRLPOOL d9db84aebcccc1d2753fd1f7e86ce84711eb10a5d83a2cb7d862bfbb515675800307405abb899368df77c1443ad010486358718d6a848a4120f126ce1d57027e -AUX shinken.install 93 SHA256 eb3b5e9baadbd67ab63b8825d111a490727dd27d3732173ae1d2a6e6af50c7d7 SHA512 ea4674009331cfcf3233d3a10dc72eb167efeb2b5811b05e2cbd4c23e4ad201c80ca518b56d7b1e54e169dd3c8a3e8bae950e509115aa178c2f98cc03e770fab WHIRLPOOL 952812b2b8d67740908a1a2f42f2373b236f51df2ede0b2ad4f8ebeeb8934237fcff790f5e54b45574ff2b9d58f6fcb2ac147ede88945cfea6ad10d9a1d033de -DIST shinken-1.2.4.tar.gz 11040703 SHA256 f61dad4444cb1788962be63b4fcf16fae507f2478b5bd5cdcf29daed60fa23ef SHA512 37e19b367e5278f8b93cbe9168e956644ee729aa005d266e004b7db2e20a8b14ae33ecb1fa2b0c9af92dce85cfc9343089a1aea79373cb2eefe151a5e1b7d58b WHIRLPOOL 21d72fe6b2f42a0b268536164739dd5e071bbd28b38fc6acceb5332ccfc85131113c9dcaee1cae1b95a46f4145cd404a27f26eb5e94c0f0c33cfc5d4901fab43 -EBUILD shinken-1.2.4.ebuild 2939 SHA256 7a2dd7feb68434ed84ec2d14d36dcfe0e2c984aca6b9f7272931eef6ad24188d SHA512 55e363f570888a49d689dc5989d07fdd1f86e9e6fb119c8135a560f9bf2bd1e0e0fbbddbcaa8a869aad8ab04842562ecd8bd492ffc405ead94d38e2fba6f3572 WHIRLPOOL 98d9f58551be7c718a7fd1e84a202a04299af173caf337f617f33f933d0454830f98c2a60df3436c7ea54f0e978c22e989cb82cdd843621ca8a39a7ae1f4f737 +DIST shinken-1.4.1.tar.gz 11102259 SHA256 18eaf6943e620f276aac60ed256615c95e21c35c5c525a34cf4cc3f44a863047 SHA512 828feaadaa575c5c964f676c3b40b0d018ea3400f7b940725458656834b1c0e545551ae94e563f89d50c0991d6c66f79fef243a034fc3d99d85f8ed44d4b0a25 WHIRLPOOL 7d43c80cf4e104b4c0041cec507fc5b7fa58e3650e0e18cf546f8eff69166314a1a92e7fc3d1ca55419945e0283ea60a63b04797c4ef91419521989e33b50823 +EBUILD shinken-1.4.1.ebuild 1290 SHA256 10b8cdb7d57f2a919efcc0396ca737cd5d84b5143cc6f72efc34b9d8609cea59 SHA512 27889941fe96c5826cf26d6baa12aefb19bab96df30f517e068134312cabe8a840a508339a7871e5406fa727fe7d944d94d73daa38812d6b5c3a2fb4a8eb05eb WHIRLPOOL 54b915a1b90cf513838f100a6779c3f704007d3314fc9b1adbc479483f4abd8fa3dee2102c7d691d3bd13b88a7c2c2b730a07514fa92f5984a94a720a1b1e504 diff --git a/net-analyzer/shinken/shinken-1.0.1.ebuild b/net-analyzer/shinken/shinken-1.0.1.ebuild deleted file mode 100644 index d57f7e9..0000000 --- a/net-analyzer/shinken/shinken-1.0.1.ebuild +++ /dev/null @@ -1,119 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/shinken/shinken-0.12.2.ebuild,v 1.4 2011/03/15 21:34:31 xarthisius Exp $ - -EAPI=3 -PYTHON_DEPEND="2:2.6" -RESTRICT_PYTHON_ABIS="3.* *-jython" - -inherit distutils eutils python - -DESCRIPTION="Shinken is a new monitoring tool written in Python and compatible with Nagios." -HOMEPAGE="http://shinken-monitoring.org/" -SRC_URI="http://shinken-monitoring.org/pub/${P}.tar.gz" - -LICENSE="AGPLv3" -SLOT="0" -IUSE="livestat +arbiter broker poller reactionner receiver scheduler" - -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - dev-python/pyro:3 - livestat? ( dev-python/simplejson - dev-python/pysqlite ) - poller? ( net-analyzer/nagios-plugins ) - " -DEPEND="${RDEPEND} - !net-analyzer/nagios" - -SHINKENMODULES="arbiter broker poller reactionner receiver scheduler" -CHOOSEN_MODULES="" - -src_configure() { - local -i modnum=0 - - for mod in ${SHINKENMODULES}; do - if use $mod; then - let modnum++ - CHOOSEN_MODULES="${CHOOSEN_MODULES}${PN}.${mod} " - fi - done - if [[ "${modnum}" -lt 1 ]]; then - eerror - eerror "No shinken module selected, aborting...." - ewarn "Supported modules are ${SHINKENMODULES}" - eerror - fi -} - -src_compile() { - elog "nothing to compile." -} - -src_install() { - distutils_src_install --root=${D} - # remove windows-specific configs - rm -rf ${D}$(python_get_sitedir)/skonf - - # remove windows-specific configs - rm ${D}etc/${PN}/*-windows.ini - rm ${D}etc/${PN}/*-windows.cfg - - # cleanup files not needed. - rm ${D}etc/init.d/* - rm -rf ${D}etc/default - - keepdir "/var/lib/${PN}" - fowners shinken:shinken "/var/lib/${PN}" - fperms 750 "/var/lib/${PN}" - keepdir "/var/run/${PN}" - fowners shinken:shinken "/var/run/${PN}" - keepdir "/var/log/${PN}" - fowners shinken:shinken "/var/log/${PN}" - fperms 750 "/var/log/${PN}" - - insinto "/usr/lib/nagios/plugins" - doins libexec/*.sh libexec/*.py - dobin bin/nagios - - for mod in ${SHINKENMODULES}; do - if ! use $mod; then - rm -f ${D}/etc/${PN}/${mod}d.ini - [ $mod != 'arbiter' ] && rm -f ${D}/usr/bin/${PN}-${mod} - fi - done - - manpages="discovery" - for mod in ${SHINKENMODULES}; do - if use $mod; then - manpages="${manpages} $mod" - fi - done - - for mod in $manpages; do - newman doc/man/shinken-${mod}.8shinken shinken-${mod}.8 - done - - newconfd ${FILESDIR}/${PN}.confd ${PN} - newinitd ${FILESDIR}/${PN}.initd ${PN} - cd ${D}/etc/init.d - for mod in ${SHINKENMODULES}; do - if use $mod; then - ln -s ${PN} ${PN}.${mod} || die - fi - done - # adding services dependency - sed -i -e "s:^\(SHINKENSERVICES=\).*:\1\"${CHOOSEN_MODULES}\":" \ - ${D}/etc/conf.d/${PN} || die - # fixing path - cd ${D}/etc/${PN} - sed -i -e "s:${D}:/:" \ - *.cfg *d.ini || die -} - -pkg_setup() { - python_pkg_setup - enewgroup shinken - enewuser shinken -1 -1 -1 shinken -} diff --git a/net-analyzer/shinken/shinken-1.4.1.ebuild b/net-analyzer/shinken/shinken-1.4.1.ebuild new file mode 100644 index 0000000..0fb6435 --- /dev/null +++ b/net-analyzer/shinken/shinken-1.4.1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/shinken/shinken-0.12.2.ebuild,v 1.4 2011/03/15 21:34:31 xarthisius Exp $ + +EAPI=5 +PYTHON_DEPEND="2:2.7" +RESTRICT_PYTHON_ABIS="3.* *-jython" + +inherit distutils user + +DESCRIPTION="Shinken is a new monitoring tool written in Python and compatible with Nagios." +HOMEPAGE="http://shinken-monitoring.org/" +SRC_URI="http://shinken-monitoring.org/pub/${P}.tar.gz" + +LICENSE="AGPLv3" +SLOT="0" +IUSE="livestat +arbiter broker poller reactionner receiver scheduler +webui" + +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/pyro:3 + dev-python/pycurl + webui? ( dev-python/pymongo ) + livestat? ( dev-python/simplejson + dev-python/pysqlite ) + poller? ( net-analyzer/nagios-plugins ) + " +DEPEND="${RDEPEND} + !net-analyzer/nagios" + +SHINKENMODULES="arbiter broker poller reactionner receiver scheduler" + +pkg_setup() { + python_pkg_setup + ebegin "Creating shinken user and group" + enewgroup ${PN} + enewuser ${PN} -1 -1 -1 ${PN} +} + +src_install() { + distutils_src_install --root=${D} + # remove windows-specific configs + rm ${D}etc/${PN}/*-windows.ini + rm ${D}etc/${PN}/*-windows.cfg + rmdir ${D}var/run/${PN} + + keepdir "/var/lib/${PN}" + keepdir "/var/log/${PN}" + + mv ${D}etc/default ${D}etc/conf.d +}