summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedikt Boehm <hollow@gentoo.org>2012-06-17 15:46:44 +0000
committerBenedikt Boehm <hollow@gentoo.org>2012-06-17 15:46:44 +0000
commite94060e79b1bd52e716b86e7879c9aa5aa358cad (patch)
tree00804b2cb93db77343e34044136819177eb7c7bb /app-admin/chef-server-webui
parentCorrecting dependency on dev-libs/libnl, fixing bug 420759 (diff)
downloadhistorical-e94060e79b1bd52e716b86e7879c9aa5aa358cad.tar.gz
historical-e94060e79b1bd52e716b86e7879c9aa5aa358cad.tar.bz2
historical-e94060e79b1bd52e716b86e7879c9aa5aa358cad.zip
version bump
Package-Manager: portage-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
+}