summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedikt Boehm <hollow@gentoo.org>2012-06-17 15:45:19 +0000
committerBenedikt Boehm <hollow@gentoo.org>2012-06-17 15:45:19 +0000
commit6d4aebb03de80048b1a96f08294d5bd455c58a51 (patch)
treed87c479da61890deed0148ca325b263c9e8e20d7 /app-admin/chef-server-webui
parentversion bump (diff)
downloadgentoo-2-6d4aebb03de80048b1a96f08294d5bd455c58a51.tar.gz
gentoo-2-6d4aebb03de80048b1a96f08294d5bd455c58a51.tar.bz2
gentoo-2-6d4aebb03de80048b1a96f08294d5bd455c58a51.zip
version bump
(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)
Diffstat (limited to 'app-admin/chef-server-webui')
-rw-r--r--app-admin/chef-server-webui/ChangeLog8
-rw-r--r--app-admin/chef-server-webui/chef-server-webui-0.10.10.ebuild76
2 files changed, 83 insertions, 1 deletions
diff --git a/app-admin/chef-server-webui/ChangeLog b/app-admin/chef-server-webui/ChangeLog
index 7899ee33d487..9f4c9fba50de 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.10 2012/05/31 02:24:30 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/chef-server-webui/ChangeLog,v 1.11 2012/06/17 15:45:19 hollow Exp $
+
+*chef-server-webui-0.10.10 (17 Jun 2012)
+
+ 17 Jun 2012; Benedikt Böhm <hollow@gentoo.org>
+ +chef-server-webui-0.10.10.ebuild:
+ version bump
31 May 2012; Zac Medico <zmedico@gentoo.org>
chef-server-webui-0.10.10_beta1.ebuild, chef-server-webui-0.10.2.ebuild,
diff --git a/app-admin/chef-server-webui/chef-server-webui-0.10.10.ebuild b/app-admin/chef-server-webui/chef-server-webui-0.10.10.ebuild
new file mode 100644
index 000000000000..f2ea7c6b7696
--- /dev/null
+++ b/app-admin/chef-server-webui/chef-server-webui-0.10.10.ebuild
@@ -0,0 +1,76 @@
+# 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.ebuild,v 1.1 2012/06/17 15:45:19 hollow Exp $
+
+EAPI="4"
+USE_RUBY="ruby18"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_TASK_TEST=""
+
+inherit ruby-fakegem user
+
+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
+}