summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Bauman <bman@gentoo.org>2017-07-15 21:43:51 -0400
committerAaron Bauman <bman@gentoo.org>2017-07-15 21:43:51 -0400
commit39cc1bec1e22b7d0dd0db539cf2193ca26c280e9 (patch)
tree72e6405295a295917b214bf6f6c401cde038a01e
parentmedia-video/rtmpdump: drop vulnerable wrt sec bug #570242 (diff)
downloadgentoo-39cc1bec1e22b7d0dd0db539cf2193ca26c280e9.tar.gz
gentoo-39cc1bec1e22b7d0dd0db539cf2193ca26c280e9.tar.bz2
gentoo-39cc1bec1e22b7d0dd0db539cf2193ca26c280e9.zip
sys-cluster/zookeeper-bin: drop vulnerable wrt sec bug #621034
-rw-r--r--sys-cluster/zookeeper-bin/Manifest1
-rw-r--r--sys-cluster/zookeeper-bin/zookeeper-bin-3.4.9.ebuild90
2 files changed, 0 insertions, 91 deletions
diff --git a/sys-cluster/zookeeper-bin/Manifest b/sys-cluster/zookeeper-bin/Manifest
index 418f383c2d2f..5f5738321d7d 100644
--- a/sys-cluster/zookeeper-bin/Manifest
+++ b/sys-cluster/zookeeper-bin/Manifest
@@ -1,2 +1 @@
DIST zookeeper-3.4.10.tar.gz 35042811 SHA256 7f7f5414e044ac11fee2a1e0bc225469f51fb0cdf821e67df762a43098223f27 SHA512 4c54e40ac8d0b267db4a188a30e39ed0ac2c3e8a8fadaf244be45ff5adee956df28f6cb9f1eb56f175e924fa3629b64f98286a090c46764c91c017613c80a51b WHIRLPOOL 10fb08b7a351f688b187e38b8dd84578f765eee87fdcfc63e9813bf7c5878048cc4ffba21e660ec9e1af7b58e68de69994b5938791b7ae83a5b014456f35a57a
-DIST zookeeper-3.4.9.tar.gz 22724574 SHA256 e7f340412a61c7934b5143faef8d13529b29242ebfba2eba48169f4a8392f535 SHA512 4f3e003c6ce5e3338f642f7deaa0fd2cfd1b30591d3ed4fe880492dded6c4bf01d30483e28f3a38b43bb6d2696ff4d819fc9577733224cec07e236437e88a657 WHIRLPOOL 9e879b335156adf5fcb46e1ddb5e76a061338862cdd14b4cd85dffac4a3343ff21d84ac24b31b232b52426d756bc17734448591cbd13b556c59664b42a8a298a
diff --git a/sys-cluster/zookeeper-bin/zookeeper-bin-3.4.9.ebuild b/sys-cluster/zookeeper-bin/zookeeper-bin-3.4.9.ebuild
deleted file mode 100644
index e10e3fe150f9..000000000000
--- a/sys-cluster/zookeeper-bin/zookeeper-bin-3.4.9.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-PYTHON_COMPAT=( python2_7 )
-
-inherit distutils-r1 eutils java-utils-2 user
-
-MY_P="zookeeper"
-MY_PN=${MY_P}-${PV}
-
-DESCRIPTION="A high-performance coordination service for distributed applications."
-HOMEPAGE="http://zookeeper.apache.org/"
-SRC_URI="mirror://apache/${MY_P}/${MY_PN}/${MY_PN}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-RESTRICT="mirror binchecks"
-IUSE=""
-
-DEPEND=""
-RDEPEND=">=virtual/jre-1.7"
-
-S=${WORKDIR}/${MY_PN}
-
-INSTALL_DIR=/opt/${PN}
-export CONFIG_PROTECT="${CONFIG_PROTECT} ${INSTALL_DIR}/conf"
-
-pkg_setup() {
- enewgroup zookeeper
- enewuser zookeeper -1 /bin/sh /var/lib/zookeeper zookeeper
-}
-
-src_prepare() {
- # python
- sed -e "s|src/c/zookeeper.c|zookeeper.c|g" \
- -e "s|../../../|${S}|g" \
- -i contrib/zkpython/src/python/setup.py || die
-}
-
-src_configure() {
- cd "${S}"/src/c || die
- econf
-}
-
-src_compile() {
- cd "${S}"/src/c || die
- emake
-}
-
-src_install() {
- local DATA_DIR=/var/lib/${MY_P}
-
- # python
- cd "${S}"/contrib/zkpython/ || die
- mv src/python/setup.py .
- mv src/c/* .
- python_foreach_impl distutils-r1_src_install
- cd "${S}" || die
-
- # cleanup sources
- rm -rf src/ || die
- rm bin/*.cmd || die
-
- keepdir "${DATA_DIR}"
- sed "s:^dataDir=.*:dataDir=${DATA_DIR}:" conf/zoo_sample.cfg > conf/zoo.cfg || die "sed failed"
- cp "${FILESDIR}"/log4j.properties conf/ || die "cp log4j conf failed"
-
- dodir "${INSTALL_DIR}"
- cp -a "${S}"/* "${D}${INSTALL_DIR}" || die "install failed"
-
- # data dir perms
- fowners zookeeper:zookeeper "${DATA_DIR}"
-
- # log dir
- keepdir /var/log/zookeeper
- fowners zookeeper:zookeeper /var/log/zookeeper
-
- # init script
- newinitd "${FILESDIR}"/zookeeper.initd zookeeper
- newconfd "${FILESDIR}"/zookeeper.confd zookeeper
-
- # env file
- cat > 99"${PN}" <<-EOF
- PATH=${INSTALL_DIR}/bin
- CONFIG_PROTECT=${INSTALL_DIR}/conf
- EOF
- doenvd 99"${PN}" || die "doenvd failed"
-}