summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedikt Boehm <hollow@gentoo.org>2010-09-19 14:26:27 +0000
committerBenedikt Boehm <hollow@gentoo.org>2010-09-19 14:26:27 +0000
commitf65b5b428973b44a50fbbe5c2aff0d36ad62d173 (patch)
treed0e8cedc507a1abd4cd58220593c2ba8e502c75e /app-admin/chef-server-webui
parentversion bump (diff)
downloadgentoo-2-f65b5b428973b44a50fbbe5c2aff0d36ad62d173.tar.gz
gentoo-2-f65b5b428973b44a50fbbe5c2aff0d36ad62d173.tar.bz2
gentoo-2-f65b5b428973b44a50fbbe5c2aff0d36ad62d173.zip
version bump
(Portage version: 2.2_rc83/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.9.8.ebuild68
2 files changed, 75 insertions, 1 deletions
diff --git a/app-admin/chef-server-webui/ChangeLog b/app-admin/chef-server-webui/ChangeLog
index 3743256391db..c9d36ea78d03 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-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/chef-server-webui/ChangeLog,v 1.3 2010/08/30 17:43:17 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/chef-server-webui/ChangeLog,v 1.4 2010/09/19 14:26:27 hollow Exp $
+
+*chef-server-webui-0.9.8 (19 Sep 2010)
+
+ 19 Sep 2010; Benedikt Böhm <hollow@gentoo.org>
+ +chef-server-webui-0.9.8.ebuild:
+ version bump
30 Aug 2010; Hans de Graaff <graaff@gentoo.org>
chef-server-webui-0.9.6.ebuild:
diff --git a/app-admin/chef-server-webui/chef-server-webui-0.9.8.ebuild b/app-admin/chef-server-webui/chef-server-webui-0.9.8.ebuild
new file mode 100644
index 000000000000..2361088a87e4
--- /dev/null
+++ b/app-admin/chef-server-webui/chef-server-webui-0.9.8.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2010 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.9.8.ebuild,v 1.1 2010/09/19 14:26:27 hollow Exp $
+
+EAPI="2"
+USE_RUBY="ruby18"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_TASK_TEST=""
+
+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/json-1.4.4
+ >=dev-ruby/merb-assets-1.1.0
+ >=dev-ruby/merb-core-1.1.0
+ >=dev-ruby/merb-haml-1.1.0
+ >=dev-ruby/merb-helpers-1.1.0
+ >=dev-ruby/merb-param-protection-1.1.0
+ 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
+}
+
+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
+}