commit:     43ce49527aff27d30f5d96996c89642c47434b17
Author:     Ultrabug <ultrabug <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 14 08:33:03 2014 +0000
Commit:     Alexys Jacob <ultrabug <AT> gentoo <DOT> org>
CommitDate: Mon Apr 14 08:33:03 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=dev/ultrabug.git;a=commit;h=43ce4952

bump apache-hive-bin by @lujeni

---
 dev-db/apache-hive-bin/Manifest                    |  2 +
 .../apache-hive-bin/apache-hive-bin-0.12.0.ebuild  | 49 ++++++++++++++++++++++
 2 files changed, 51 insertions(+)

diff --git a/dev-db/apache-hive-bin/Manifest b/dev-db/apache-hive-bin/Manifest
index a7cf2d1..d4b0c42 100644
--- a/dev-db/apache-hive-bin/Manifest
+++ b/dev-db/apache-hive-bin/Manifest
@@ -1,2 +1,4 @@
+DIST hive-0.12.0.tar.gz 81288181 SHA256 
d214e2aa5da674b9bdf8b5a889c23f13973d2d3ad6d0404cc46e3bf9781cb0d4 SHA512 
d8c63434c313aebfb9533f6e23a14aa425253110eaac91d457444d5ba1729101d535b6fe690a258e1afe3440ac2eef37a6060ab58b9390d6950912cd075f4ee3
 WHIRLPOOL 
95ea6fc1e3ffd7169d4149477291c4c8a7b5e73eed18153c4eac65acbeef0db4376b4d41b0f2d09a94393d9c3f578e68bdad0674ab779e7c1b60f2ab79d750fe
 DIST hive-0.9.0.tar.gz 30195232 SHA256 
31176be4dffc8cdfe6992ad14dfc69c66d2704b3e15b20521bd1b4ce3ff637db SHA512 
ab8d2377318e070ebe11ed4416f5de4fce529a62f3c72cfdbbd4f6c1fd04665f97b78d7c075558cd73d60e56d05babdd075b067f07f99950543de1a93ec6c81d
 WHIRLPOOL 
59a01109629aec889f943c37b3252276e832b340fae2a25e11a68d4bcc3e952bfef195c8962e74e6389eb4167b864e21b39c345adfbea69dfa1941d59d13e315
+EBUILD apache-hive-bin-0.12.0.ebuild 1219 SHA256 
db89723224b3ec0a5d359d7302aab15d71ce9f833022d1e668883b5492a11441 SHA512 
92ac37ba89d91202d1d0968a740b0d7ae6c9fbf22e5988add3cfeb2f82d2b0ad6c0da1f71607abc5f3dcff375faffcc458ae5aaa38cd91a6df2dc4a6707c1289
 WHIRLPOOL 
c83f8a8917048164b3d2aaa435a9759f138c1de652db87159cc2a088225fd50aaa4f6d52576616710f1e99d79fea8b11ea9d4b9ca435bef6fc85479624185547
 EBUILD apache-hive-bin-0.9.0.ebuild 1219 SHA256 
db89723224b3ec0a5d359d7302aab15d71ce9f833022d1e668883b5492a11441 SHA512 
92ac37ba89d91202d1d0968a740b0d7ae6c9fbf22e5988add3cfeb2f82d2b0ad6c0da1f71607abc5f3dcff375faffcc458ae5aaa38cd91a6df2dc4a6707c1289
 WHIRLPOOL 
c83f8a8917048164b3d2aaa435a9759f138c1de652db87159cc2a088225fd50aaa4f6d52576616710f1e99d79fea8b11ea9d4b9ca435bef6fc85479624185547

diff --git a/dev-db/apache-hive-bin/apache-hive-bin-0.12.0.ebuild 
b/dev-db/apache-hive-bin/apache-hive-bin-0.12.0.ebuild
new file mode 100644
index 0000000..ae51f77
--- /dev/null
+++ b/dev-db/apache-hive-bin/apache-hive-bin-0.12.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+
+inherit eutils
+
+MY_PN="hive"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="High-level language and platform for analyzing large data sets"
+HOMEPAGE="http://hadoop.apache.org/";
+SRC_URI="mirror://apache/${MY_PN}/${MY_P}/${MY_P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+RESTRICT="mirror binchecks"
+IUSE=""
+
+DEPEND=""
+RDEPEND=">=virtual/jre-1.6
+       sys-cluster/apache-hadoop-bin"
+
+S="${WORKDIR}/${MY_P}"
+
+src_install() {
+       insinto /usr/share/"${MY_PN}"
+       mv "${S}"/{bin,lib,scripts,examples} "${D}"/usr/share/"${MY_PN}" || die
+
+       dosym /usr/share/"${MY_PN}"/bin/hive /usr/bin/hive
+       dosym /usr/share/"${MY_PN}"/bin/hive-config.sh /usr/bin/hive-config.sh
+       dosym /etc/"${MY_PN}" /usr/share/"${MY_PN}"/conf
+
+       insinto /etc/"${MY_PN}"
+       for c in conf/*; do
+               mv "${c}" "${c/.template/}" || die
+       done
+       sed -e 
's/org.apache.hadoop.metrics.jvm.EventCounter/org.apache.hadoop.log.metrics.EventCounter/g'
 \
+               -i conf/*log4j.properties || die
+       doins conf/*
+
+       dodoc README.txt RELEASE_NOTES.txt
+}
+
+pkg_postinst() {
+       elog "For info on configuration see 
http://hadoop.apache.org/${MY_PN}/docs/r${PV}";
+}

Reply via email to