Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 229973 Details for
Bug 318085
dev-db/apache-hbase (new package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
apache-hbase-0.20.3.ebuild
apache-hbase-0.20.3.ebuild (text/plain), 1.37 KB, created by
Tim Cera
on 2010-05-02 05:07:16 UTC
(
hide
)
Description:
apache-hbase-0.20.3.ebuild
Filename:
MIME Type:
Creator:
Tim Cera
Created:
2010-05-02 05:07:16 UTC
Size:
1.37 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="HBase is the Hadoop database." >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 > dev-lang/ruby > sys-cluster/apache-hadoop-common > sys-cluster/apache-zookeeper" > >S="${WORKDIR}/${MY_P}" >INSTALL_DIR=/opt/"${PN}" >DATA_DIR=/var/db/"${PN}" >export CONFIG_PROTECT="${CONFIG_PROTECT} ${INSTALL_DIR}/conf" > >src_install() { > # The hadoop-env.sh file needs JAVA_HOME set explicitly > sed -i -e "2iexport JAVA_HOME=${JAVA_HOME}" conf/hbase-env.sh || 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 > > start() { > ${INSTALL_DIR}/bin/start-hbase.sh > /dev/null > } > > stop() { > ${INSTALL_DIR}/bin/stop-hbase.sh > /dev/null > } > 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 318085
: 229973