summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedikt Boehm <hollow@gentoo.org>2010-09-19 14:28:16 +0000
committerBenedikt Boehm <hollow@gentoo.org>2010-09-19 14:28:16 +0000
commite393558931d6ce957f4c2c23cbfe6539d89eccd1 (patch)
treeec272d172ce43e6f3aafe0014875577c9187d432 /app-admin/chef-server-api
parentVersion bump: make view helper html safe. (diff)
downloadhistorical-e393558931d6ce957f4c2c23cbfe6539d89eccd1.tar.gz
historical-e393558931d6ce957f4c2c23cbfe6539d89eccd1.tar.bz2
historical-e393558931d6ce957f4c2c23cbfe6539d89eccd1.zip
version bump
Package-Manager: portage-2.2_rc83/cvs/Linux x86_64
Diffstat (limited to 'app-admin/chef-server-api')
-rw-r--r--app-admin/chef-server-api/ChangeLog8
-rw-r--r--app-admin/chef-server-api/chef-server-api-0.9.8.ebuild65
2 files changed, 72 insertions, 1 deletions
diff --git a/app-admin/chef-server-api/ChangeLog b/app-admin/chef-server-api/ChangeLog
index 1213458a98f0..40dbf71ca8a6 100644
--- a/app-admin/chef-server-api/ChangeLog
+++ b/app-admin/chef-server-api/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-admin/chef-server-api
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/chef-server-api/ChangeLog,v 1.4 2010/08/30 17:44:25 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/chef-server-api/ChangeLog,v 1.5 2010/09/19 14:27:23 hollow Exp $
+
+*chef-server-api-0.9.8 (19 Sep 2010)
+
+ 19 Sep 2010; Benedikt Böhm <hollow@gentoo.org>
+ +chef-server-api-0.9.8.ebuild:
+ version bump
30 Aug 2010; Hans de Graaff <graaff@gentoo.org>
chef-server-api-0.9.6.ebuild:
diff --git a/app-admin/chef-server-api/chef-server-api-0.9.8.ebuild b/app-admin/chef-server-api/chef-server-api-0.9.8.ebuild
new file mode 100644
index 000000000000..c0481764691e
--- /dev/null
+++ b/app-admin/chef-server-api/chef-server-api-0.9.8.ebuild
@@ -0,0 +1,65 @@
+# 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-api/chef-server-api-0.9.8.ebuild,v 1.1 2010/09/19 14:27:23 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=""
+
+ruby_add_rdepend "~app-admin/chef-${PV}
+ >=dev-ruby/json-1.4.4
+ >=dev-ruby/mixlib-authentication-1.1.3
+ >=dev-ruby/merb-assets-1.1.0
+ >=dev-ruby/merb-core-1.1.0
+ >=dev-ruby/merb-helpers-1.1.0
+ >=dev-ruby/merb-param-protection-1.1.0
+ >=dev-ruby/uuidtools-2.1.1
+ 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 -r public
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ doinitd "${FILESDIR}/initd/chef-server-api"
+ doconfd "${FILESDIR}/confd/chef-server-api"
+
+ keepdir /etc/chef /var/lib/chef /var/log/chef /var/run/chef \
+ /etc/chef/certificates
+
+ insinto /etc/chef
+ doins "${FILESDIR}/server.rb"
+
+ fperms 0700 /etc/chef/certificates
+ fowners chef:chef /etc/chef/{,server.rb,certificates}
+ fowners chef:chef /var/{lib,log,run}/chef
+}
+
+pkg_postinst() {
+ elog
+ elog "You should edit /etc/chef/server.rb before starting the service with"
+ elog "/etc/init.d/chef-server-api start"
+ elog
+}