diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2015-04-01 17:34:14 +0000 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2015-04-01 17:34:14 +0000 |
commit | d1f490163907bcc77f3d6282ff821ef89948357c (patch) | |
tree | 49128a25531dc20aef8c527fc0982529780e4286 /app-misc | |
parent | Fix build failure with USE=-thunar, bug #544260. (diff) | |
download | historical-d1f490163907bcc77f3d6282ff821ef89948357c.tar.gz historical-d1f490163907bcc77f3d6282ff821ef89948357c.tar.bz2 historical-d1f490163907bcc77f3d6282ff821ef89948357c.zip |
Version bump.
Package-Manager: portage-2.2.14/cvs/Linux x86_64
Manifest-Sign-Key: 0xF52D4BBA
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/elasticsearch/ChangeLog | 8 | ||||
-rw-r--r-- | app-misc/elasticsearch/Manifest | 20 | ||||
-rw-r--r-- | app-misc/elasticsearch/elasticsearch-1.5.0.ebuild | 84 |
3 files changed, 107 insertions, 5 deletions
diff --git a/app-misc/elasticsearch/ChangeLog b/app-misc/elasticsearch/ChangeLog index a7191f0cdda3..cf1403482511 100644 --- a/app-misc/elasticsearch/ChangeLog +++ b/app-misc/elasticsearch/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-misc/elasticsearch # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/elasticsearch/ChangeLog,v 1.11 2015/03/23 11:44:12 chainsaw Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/elasticsearch/ChangeLog,v 1.12 2015/04/01 17:33:46 blueness Exp $ + +*elasticsearch-1.5.0 (01 Apr 2015) + + 01 Apr 2015; Anthony G. Basile <blueness@gentoo.org> + +elasticsearch-1.5.0.ebuild: + Version bump. 23 Mar 2015; Tony Vroon <chainsaw@gentoo.org> -elasticsearch-1.3.2-r2.ebuild, -elasticsearch-1.4.0.ebuild, -elasticsearch-1.4.2.ebuild: diff --git a/app-misc/elasticsearch/Manifest b/app-misc/elasticsearch/Manifest index 242af1f6d4a0..7659e117fce1 100644 --- a/app-misc/elasticsearch/Manifest +++ b/app-misc/elasticsearch/Manifest @@ -9,13 +9,25 @@ AUX elasticsearch.init3 2319 SHA256 cb00de8eb5d6f3ddfe48fed1fe20b527900ad79984e2 AUX elasticsearch.service 274 SHA256 d8581135cb5f6b73245e571f0cd3cfa85c90d96474304214324958b9ee952f7e SHA512 14c0696ab1244e4afde34c0f6aaececbb5a80a75dc9ad23841adefde815c8c9a604858902bd87609d8191dfca7c4eb24f1ad2d041d50d22a789296bf43366a76 WHIRLPOOL 8df4eb48efac8353c21685bc17bd30ce8835f9f5f91f19acd3f69a42a780c69fc118f74d003429e1da9558ffad1a1e649c57521ba8219fcb262a2ffdb2e24e9c AUX elasticsearch.service2 279 SHA256 2a827cfa6331652e5a34bb975da52fec6d12ce0a80eacf810f62e22c5272349b SHA512 17994b7a5b0ef883034765d2b0e5c29daccb1e122b956f598d0c2b24085a0e66450fa143e3c656d75bf149a53ca497bc8c747b62ba47743aad17ae1a446d6d7d WHIRLPOOL 0c97253da7f75586c135568036f149f2465a1d73f5cb6e67b45a36832c2f54b61b0bcfd60db122c7e1ea6e7595e379dfe49a7e7bbad596840da6158a7d56dc46 DIST elasticsearch-1.4.4.tar.gz 27900004 SHA256 a3158d474e68520664debaea304be22327fc7ee1f410e0bfd940747b413e8586 SHA512 afc24c5d778d346e24c656e040fb7d0036e16ae42b35ca4f97b2e4d31dc815467ae5462f922ea5222307acf0fa0579f6cd38c603bc996c1f4ba723aa6a2b01ed WHIRLPOOL 37a1a057539ae29525a78fa51f3d19f403e389129e54054edfa1bbd08d12bdbb88acb4e879b6795aa63d583fd70eedefcae5b13b6bf1a7c8314e3aafa49e2b33 +DIST elasticsearch-1.5.0.tar.gz 28182213 SHA256 acf572c606552bc446cceef3f8e93814a363ba0d215b323a2864682b3abfbe45 SHA512 c0529b0bbf6c610c1a9ee2eef0b0ce5f60b2ebc70abc4576089da0f82284059aa5e404da25a83e40c2975ef3ea63bacc3949ead67ead2f74694a6257328f3b3c WHIRLPOOL 99a3f2e6176993d3d965c01149873a3b4ab18eae7977e37dfb90f178f5d9cbba109569de2b45c44627cbe06f4b55e47849df0fe83c761be4b7374aa9acb19411 EBUILD elasticsearch-1.4.4.ebuild 2194 SHA256 14e173ef1be56d6595628e7f584d0cc6bdd951dfcc95bc357fc071ae741cd87a SHA512 1c643441a1f2983932f32eedbf7647b56bc12c2051fdfcecb2e060b0e2d619964f349e80b0cdc15caed95e74ffc2306f636f94298387304c395618d8faf4dc44 WHIRLPOOL 6a16aee1cb7407d5600c947af75b04ea77a9915e95c9f564784c8e5a1bce3b0c7cb5b9f4bc95b5fac9d5b9017103fcea1c4d8e8b21fcc4539782d0579c9e08a3 -MISC ChangeLog 3205 SHA256 98c74fa1720b46732a509b9ffa8072850fb10c2abb8d9abf5c85ea4cca270154 SHA512 b2a19d1c89293d6899f5ca23c9eb44b246318db2367d53b0b0f962cc8f127dd193feac4f0b6de6957ac916238d72cd809b77cd4cd21a78af5090a9cf272e8376 WHIRLPOOL df9a22b5bc888b9d477e1e98b47b85d4af7e40147c0bfa1fd145b767299ed2cbeadc4b6202362e87ac1257e97449afaa717598128e126a07888e41c66486e0ab +EBUILD elasticsearch-1.5.0.ebuild 2194 SHA256 5ba32641742a9f5b249f157dae788252ce330a0feceebdc60aba6759c78c56dc SHA512 90f36900f09c82d9e38d2cb677fc7458380fd060ca487e2a0b4b54a443980e7dd2b5240b153fe70c9eec3cd9703f6c564b8e827f930b05f93f6a24488ddffb21 WHIRLPOOL 9f862f880b38da44a52bbd0b26e7c4c3ca94f67f93aa56ce44ab83e9ba682efc4ba00d403a846f0b3344c78dbc892d9a521db17587203221efd18c96cd671785 +MISC ChangeLog 3344 SHA256 29cbd7c55c75e7d8757c4ad621bde7d62b2af5f0e25217d5e8ca29c365add33b SHA512 76b63367548c839025f885f41140d5948a9a5556f35c8eb52d1a76a3b7e6f5b99fb2d46c5e1311caf500609c884b808a788c962df6df28e5f39c76e7403d4302 WHIRLPOOL 16108f844e80d482c1784072a040a319241625d3978820ecc9a7dc121fdb560f50704306328be9ac402ea0ba4b210bbd091def7509626ec458659350ba07c43c MISC metadata.xml 237 SHA256 88d9092fd208599a8b524cca9633d9330223e45c34a44e54b2de05edb4738ac7 SHA512 11773ab2b5adaa81f3c8f73413d2f257ea1d1624df689154ee2697412ff14ea8f9851b805c4a474b486abb0a066cfc929f91eb852a208b9536885d467df36af1 WHIRLPOOL 324b778d3103d615af41fd6d1d978beeeeb08f4823a3c81fd453464b4df2ed59b56a481ddd65b4eb740dc75b4dc69133e761199abe6d27333b1fce97d5b5a1be -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iEYEAREIAAYFAlUP+88ACgkQp5vW4rUFj5p6/ACgs/vauFMix9/Cb9iz7q+6S9lK -B50AnjrHcR5SQMnquBd0jiTeitxlkChG -=wm28 +iQIcBAEBCAAGBQJVHCx3AAoJEJOE+m71LUu6w/0P/1+FvWgW9rMokAkTMbgXCZ1O +zTO4sRE1T94cUCwRwDQ017iOalGFhg5cRlYIGLNGQs5sG3zYewmhW1CWwcPw6Y4i +AjFFFY5fpy2qmpF7lKtllZsNzFVK+6iL+7MTnLIwkxh1tOeYIcYP8T6DJJN2ayLn +HwQkIKhxBC2yQu9smSaF76siq3a3U5rz15xyYDU+ps6RcpqGUKHEj9VRCpxPQPck +xLPYqxySIm12O8QeK7cqKJxSsKOjncMBXM1ENc4eKv4BhjNbFr8Y388VsYXY38d8 +Bfk/whOt0Q0HF0lpno0fMtTB3k0l129il1eS5TS4fEy3nPztwEGaa6B3EKXMlxYm +TIQ5QiJIJfN6EDJHv7zhfPmIgZz5682HYxgqC2Mhq5nzu7xBbvhVQOVccdl6a6QP +g8fBJWoixOm1PcMAySF/trihLe+THoUK/OSpiyiEKeSHMWEL+CRc+ubCjop5vWch +dmtC2YSesZCA6y9J6FkF5MzkqKgcRo+oBKdcF366FrUuJRXxhGOoM5Gf58oVh09i +oX5kXzt0L9G1exDn5c+mq74v5T0tnEkuGVawkY/ADhM0+md9EAFVxaohSSRpc3uT +0sayvDEJ3qUE2FIbSXDyLnBp0ZxV8XRb9HZdKe4JhpvaeLnPBGRgNfI7KNoy3lby +rSjrcNl+Xy/oTfWyKm6C +=lXTU -----END PGP SIGNATURE----- diff --git a/app-misc/elasticsearch/elasticsearch-1.5.0.ebuild b/app-misc/elasticsearch/elasticsearch-1.5.0.ebuild new file mode 100644 index 000000000000..b7da8703f71e --- /dev/null +++ b/app-misc/elasticsearch/elasticsearch-1.5.0.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/elasticsearch/elasticsearch-1.5.0.ebuild,v 1.1 2015/04/01 17:33:46 blueness Exp $ + +EAPI=5 + +inherit eutils systemd user + +MY_PN="${PN%-bin}" +DESCRIPTION="Open Source, Distributed, RESTful, Search Engine" +HOMEPAGE="http://www.elasticsearch.org/" +SRC_URI="http://download.${MY_PN}.org/${MY_PN}/${MY_PN}/${MY_PN}-${PV}.tar.gz" +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RESTRICT="strip" +QA_PREBUILT="usr/share/elasticsearch/lib/sigar/libsigar-*.so" + +RDEPEND="virtual/jre:1.7" + +pkg_setup() { + enewgroup ${MY_PN} + enewuser ${MY_PN} -1 /bin/bash /var/lib/${MY_PN} ${MY_PN} +} + +src_prepare() { + rm -rf lib/sigar/*{solaris,winnt,freebsd,macosx}* + rm -rf bin/*.{bat,exe} + rm lib/sigar/libsigar-ia64-linux.so + rm LICENSE.txt + + use amd64 && { + rm lib/sigar/libsigar-x86-linux.so + } + + use x86 && { + rm lib/sigar/libsigar-amd64-linux.so + } +} + +src_install() { + dodir /etc/${MY_PN} + + insinto /usr/share/doc/${P}/examples + doins bin/${MY_PN}.in.sh + doins config/* + rm bin/${MY_PN}.in.sh + rm -rf config + + insinto /usr/share/${MY_PN} + doins -r ./* + chmod +x "${D}"/usr/share/${MY_PN}/bin/* + + keepdir /var/{lib,log}/${MY_PN} + + local rcscript=elasticsearch.init3 + local eshome="/usr/share/${MY_PN}" + local jarfile="${MY_PN}-${PV}.jar" + local esclasspath="${eshome}/lib/${jarfile}:${eshome}/lib/*:${eshome}/lib/sigar/*" + + cp "${FILESDIR}/${rcscript}" "${T}" || die + sed -i \ + -e "s|@ES_CLASS_PATH@|${esclasspath}|" \ + "${T}/${rcscript}" \ + || die "failed to filter ${rcscript}" + + newinitd "${T}/${rcscript}" "${MY_PN}" + newconfd "${FILESDIR}/${MY_PN}.conf" "${MY_PN}" + systemd_newunit "${FILESDIR}"/${PN}.service2 "${PN}.service" +} + +pkg_postinst() { + elog + elog "You may create multiple instances of ${MY_PN} by" + elog "symlinking the init script:" + elog "ln -sf /etc/init.d/${MY_PN} /etc/init.d/${MY_PN}.instance" + elog + elog "Each of the example files in /usr/share/doc/${P}/examples" + elog "should be extracted to the proper configuration directory:" + elog "/etc/${MY_PN} (for standard init)" + elog "/etc/${MY_PN}/instance (for symlinked init)" + elog +} |