diff options
author | Benedikt Boehm <hollow@gentoo.org> | 2012-04-29 13:25:13 +0000 |
---|---|---|
committer | Benedikt Boehm <hollow@gentoo.org> | 2012-04-29 13:25:13 +0000 |
commit | b7f112b93dc81ec2322f242dfd484fd824c3f92f (patch) | |
tree | 309deadab424fa5bc0c593a43b3aea93f7914ef9 /app-admin | |
parent | Version bump (diff) | |
download | gentoo-2-b7f112b93dc81ec2322f242dfd484fd824c3f92f.tar.gz gentoo-2-b7f112b93dc81ec2322f242dfd484fd824c3f92f.tar.bz2 gentoo-2-b7f112b93dc81ec2322f242dfd484fd824c3f92f.zip |
version bump to resolve dependency conflicts (see #410385)
(Portage version: 2.2.0_alpha101/cvs/Linux x86_64)
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/chef-server-webui/ChangeLog | 8 | ||||
-rw-r--r-- | app-admin/chef-server-webui/chef-server-webui-0.10.10_beta1.ebuild | 77 |
2 files changed, 84 insertions, 1 deletions
diff --git a/app-admin/chef-server-webui/ChangeLog b/app-admin/chef-server-webui/ChangeLog index 375540fcaf5a..af6fb9a64ff4 100644 --- a/app-admin/chef-server-webui/ChangeLog +++ b/app-admin/chef-server-webui/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-admin/chef-server-webui # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/chef-server-webui/ChangeLog,v 1.8 2012/01/29 12:34:15 hollow Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/chef-server-webui/ChangeLog,v 1.9 2012/04/29 13:25:13 hollow Exp $ + +*chef-server-webui-0.10.10_beta1 (29 Apr 2012) + + 29 Apr 2012; Benedikt Böhm <hollow@gentoo.org> + +chef-server-webui-0.10.10_beta1.ebuild: + version bump to resolve dependency conflicts (see #410385) *chef-server-webui-0.10.8 (29 Jan 2012) diff --git a/app-admin/chef-server-webui/chef-server-webui-0.10.10_beta1.ebuild b/app-admin/chef-server-webui/chef-server-webui-0.10.10_beta1.ebuild new file mode 100644 index 000000000000..f67127bb1584 --- /dev/null +++ b/app-admin/chef-server-webui/chef-server-webui-0.10.10_beta1.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/chef-server-webui/chef-server-webui-0.10.10_beta1.ebuild,v 1.1 2012/04/29 13:25:13 hollow Exp $ + +EAPI="4" +USE_RUBY="ruby18" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_VERSION=${PV/_beta/.beta.} + +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=">=dev-db/couchdb-0.10.0 + >=net-misc/rabbitmq-server-1.7.0" + +ruby_add_rdepend "dev-ruby/coderay + dev-ruby/haml + >=dev-ruby/merb-assets-1.1.0 + <dev-ruby/merb-assets-1.2 + >=dev-ruby/merb-core-1.1.0 + <dev-ruby/merb-core-1.2 + >=dev-ruby/merb-haml-1.1.0 + <dev-ruby/merb-haml-1.2 + >=dev-ruby/merb-helpers-1.1.0 + <dev-ruby/merb-helpers-1.2 + >=dev-ruby/merb-param-protection-1.1.0 + <dev-ruby/merb-param-protection-1.2 + dev-ruby/ruby-openid + www-servers/thin" + +pkg_setup() { + enewgroup chef + enewuser chef -1 -1 /var/lib/chef chef +} + +each_ruby_install() { + each_fakegem_install + ruby_fakegem_doins -r app + ruby_fakegem_doins -r config + ruby_fakegem_doins config.ru + ruby_fakegem_doins -r public + + # create unversioned path for passenger/rack integration + dodir /var/lib/chef/rack + dosym $(ruby_fakegem_gemsdir)/gems/${P} /var/lib/chef/rack/webui +} + +all_ruby_install() { + all_fakegem_install + + doinitd "${FILESDIR}/initd/chef-server-webui" + doconfd "${FILESDIR}/confd/chef-server-webui" + + keepdir /etc/chef /var/lib/chef /var/log/chef /var/run/chef + + insinto /etc/chef + doins "${FILESDIR}/webui.rb" + + fowners chef:chef /etc/chef/{,webui.rb} + fowners chef:chef /var/{lib,log,run}/chef +} + +pkg_postinst() { + elog + elog "You should edit or create /etc/chef/webui.rb before starting the service" + elog "with /etc/init.d/chef-server-webui start" + elog +} |