diff options
author | Benedikt Boehm <hollow@gentoo.org> | 2012-12-27 07:28:25 +0000 |
---|---|---|
committer | Benedikt Boehm <hollow@gentoo.org> | 2012-12-27 07:28:25 +0000 |
commit | 5145a8eddcfa4042e9e7be9e4b25e2155fc16785 (patch) | |
tree | 1f4bb5c46d5fd319e9b6b92164bf03489530437c /app-admin/chef-solr/chef-solr-10.16.4.ebuild | |
parent | Drop obsolete USE-flag 'doc', wrt bug #448722. Thanks to Diego Elio Pettenò ... (diff) | |
download | gentoo-2-5145a8eddcfa4042e9e7be9e4b25e2155fc16785.tar.gz gentoo-2-5145a8eddcfa4042e9e7be9e4b25e2155fc16785.tar.bz2 gentoo-2-5145a8eddcfa4042e9e7be9e4b25e2155fc16785.zip |
version bump
(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'app-admin/chef-solr/chef-solr-10.16.4.ebuild')
-rw-r--r-- | app-admin/chef-solr/chef-solr-10.16.4.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/app-admin/chef-solr/chef-solr-10.16.4.ebuild b/app-admin/chef-solr/chef-solr-10.16.4.ebuild new file mode 100644 index 000000000000..25747991b3b0 --- /dev/null +++ b/app-admin/chef-solr/chef-solr-10.16.4.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/chef-solr/chef-solr-10.16.4.ebuild,v 1.1 2012/12/27 07:28:25 hollow Exp $ + +EAPI=4 +USE_RUBY="ruby18 ruby19" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_TASK_TEST="spec" + +inherit ruby-fakegem + +DESCRIPTION="Configuration management tool" +HOMEPAGE="http://wiki.opscode.com/display/chef" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=net-misc/rabbitmq-server-1.7.2 + virtual/jre:1.6" + +ruby_add_rdepend "~app-admin/chef-${PV}" + +each_ruby_test() { + ${RUBY} -S rspec spec || die +} + +each_ruby_install() { + each_fakegem_install + ruby_fakegem_doins -r solr +} + +all_ruby_install() { + all_fakegem_install + + doinitd "${FILESDIR}/initd/chef-solr" + doconfd "${FILESDIR}/confd/chef-solr" + + keepdir /etc/chef /var/lib/chef /var/log/chef /var/run/chef + + insinto /etc/chef + doins "${FILESDIR}/solr.rb" + + fowners chef:chef /etc/chef/{,solr.rb} + fowners chef:chef /var/{lib,log,run}/chef +} + +pkg_postinst() { + elog + elog "You need to run the chef-solr-installer script to setup the SOLR instance:" + elog + elog " chef-solr-installer -c /etc/chef/solr.rb -u chef -g chef -f" + elog +} |