Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 229917 Details for
Bug 318029
sys-cluster/apache-zookeeper (new package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
apache-zookeeper-3.3.0.ebuild
apache-zookeeper-3.3.0.ebuild (text/plain), 1.48 KB, created by
Tim Cera
on 2010-05-01 17:20:22 UTC
(
hide
)
Description:
apache-zookeeper-3.3.0.ebuild
Filename:
MIME Type:
Creator:
Tim Cera
Created:
2010-05-01 17:20:22 UTC
Size:
1.48 KB
patch
obsolete
># Copyright 1999-2010 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI="2" > >inherit eutils java-utils-2 > >MY_PN="${PN/apache-/}" >MY_P="${MY_PN}-${PV}" > >DESCRIPTION="ZooKeeper is a high-performance coordination service for >distributed applications." >HOMEPAGE="http://hadoop.apache.org/" >SRC_URI="mirror://apache/hadoop/${MY_PN}/${MY_P}/${MY_P}.tar.gz" > >LICENSE="Apache-2.0" >SLOT="0" >KEYWORDS="~amd64" >RESTRICT="mirror binchecks" >IUSE="" > >DEPEND="" >RDEPEND=">=virtual/jre-1.6" > >S="${WORKDIR}/${MY_P}" >INSTALL_DIR=/opt/"${PN}" >DATA_DIR=/var/db/"${PN}" >export CONFIG_PROTECT="${CONFIG_PROTECT} ${INSTALL_DIR}/conf" > >src_install() { > dodir "${DATA_DIR}" > sed "s:^dataDir=.*:dataDir=${DATA_DIR}:" conf/zoo_sample.cfg > conf/zoo.cfg || die "sed failed" > > dodir "${INSTALL_DIR}" > mv "${S}"/* "${D}${INSTALL_DIR}" || die "install failed" > > # env file > cat > 99"${PN}" <<-EOF > PATH=${INSTALL_DIR}/bin > CONFIG_PROTECT=${INSTALL_DIR}/conf > EOF > doenvd 99"${PN}" || die "doenvd failed" > > cat > "${PN}" <<-EOF > #!/sbin/runscript > > opts="start stop restart" > > start() { > ${INSTALL_DIR}/bin/zkServer.sh start > /dev/null > } > > stop() { > ${INSTALL_DIR}/bin/zkServer.sh stop > } > > restart() { > ${INSTALL_DIR}/bin/zkServer.sh restart > /dev/null > } > > status() { > ${INSTALL_DIR}/bin/zkServer.sh status > } > EOF > doinitd "${PN}" || die "doinitd failed" >} > >pkg_postinst() { > elog "For info on configuration see http://hadoop.apache.org/${MY_PN}/docs/r${PV}" >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 318029
: 229917 |
400486