aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sysutils/rubygem-chef/Makefile66
-rw-r--r--sysutils/rubygem-chef/distinfo5
-rw-r--r--sysutils/rubygem-chef/files/patch-gemspec17
-rw-r--r--sysutils/rubygem-chef/pkg-descr2
-rw-r--r--sysutils/rubygem-chef/pkg-plist3
5 files changed, 41 insertions, 52 deletions
diff --git a/sysutils/rubygem-chef/Makefile b/sysutils/rubygem-chef/Makefile
index a11fd88999db..e2da4d14653e 100644
--- a/sysutils/rubygem-chef/Makefile
+++ b/sysutils/rubygem-chef/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= chef
-PORTVERSION= 11.14.6
-PORTREVISION= 2
+PORTVERSION= 13.2.20
CATEGORIES= sysutils
MASTER_SITES= RG
@@ -13,42 +12,49 @@ COMMENT= Systems integration framework. Client part
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-RUN_DEPENDS= rubygem-chef-zero>=2.1.0:sysutils/rubygem-chef-zero \
- rubygem-diff-lcs>=0.0.0:textproc/rubygem-diff-lcs \
- rubygem-erubis>=0:www/rubygem-erubis \
- rubygem-ffi-yajl>=1.0.1:devel/rubygem-ffi-yajl \
+RUN_DEPENDS= rubygem-addressable>=0:www/rubygem-addressable \
+ rubygem-bundler>=1.10:sysutils/rubygem-bundler \
+ rubygem-chef-config>=13.2.20:sysutils/rubygem-chef-config \
+ rubygem-chef-zero>=13.0:sysutils/rubygem-chef-zero \
+ rubygem-diff-lcs>=1.2.4:textproc/rubygem-diff-lcs \
+ rubygem-erubis>=2.7:www/rubygem-erubis \
+ rubygem-ffi-yajl>=2.2:devel/rubygem-ffi-yajl \
rubygem-highline>=1.6.9:devel/rubygem-highline \
- rubygem-mime-types1>=1.16:misc/rubygem-mime-types1 \
- rubygem-mixlib-authentication>=1.3.0:devel/rubygem-mixlib-authentication \
- rubygem-mixlib-cli>=1.4.0:devel/rubygem-mixlib-cli \
- rubygem-mixlib-config>=2.1.0:devel/rubygem-mixlib-config \
- rubygem-mixlib-log>=1.3.0:devel/rubygem-mixlib-log \
- rubygem-mixlib-shellout>=1.4.0:devel/rubygem-mixlib-shellout \
- rubygem-net-ssh>=2.6:security/rubygem-net-ssh \
- rubygem-net-ssh-multi>=1.1.0:security/rubygem-net-ssh-multi \
- rubygem-ohai>=7.2.0:sysutils/rubygem-ohai \
- rubygem-plist>=3.1.0:devel/rubygem-plist \
- rubygem-pry>=0.9.0:devel/rubygem-pry \
- rubygem-rest-client>=1.0.4:www/rubygem-rest-client
+ rubygem-iniparse>=1.4:devel/rubygem-iniparse \
+ rubygem-iso8601>=0.9.1:devel/rubygem-iso8601 \
+ rubygem-mixlib-archive>=0.4:devel/rubygem-mixlib-archive \
+ rubygem-mixlib-authentication>=1.4:devel/rubygem-mixlib-authentication \
+ rubygem-mixlib-cli>=1.7:devel/rubygem-mixlib-cli \
+ rubygem-mixlib-log>=1.3:devel/rubygem-mixlib-log \
+ rubygem-mixlib-shellout>=2.0:devel/rubygem-mixlib-shellout \
+ rubygem-net-sftp>=2.1.2:security/rubygem-net-sftp \
+ rubygem-net-ssh>=2.9:security/rubygem-net-ssh \
+ rubygem-net-ssh-multi>=1.2.1:security/rubygem-net-ssh-multi \
+ rubygem-ohai>=13.0:sysutils/rubygem-ohai \
+ rubygem-plist>=3.2:devel/rubygem-plist \
+ rubygem-proxifier>=1.0:net/rubygem-proxifier \
+ rubygem-rspec-core>=3.5:devel/rubygem-rspec-core \
+ rubygem-rspec-expectations>=3.5:devel/rubygem-rspec-expectations \
+ rubygem-rspec-mocks>=3.5:devel/rubygem-rspec-mocks \
+ rubygem-rspec_junit_formatter>=:devel/rubygem-rspec_junit_formatter \
+ rubygem-serverspec>=2.7:sysutils/rubygem-serverspec \
+ rubygem-specinfra>=2.10:sysutils/rubygem-specinfra \
+ rubygem-syslog-logger>=1.6:sysutils/rubygem-syslog-logger \
+ rubygem-uuidtools>=2.1.5:devel/rubygem-uuidtools
NO_ARCH= yes
USE_RUBY= yes
-USES= gem
+USES= gem shebangfix
SUB_LIST= RUBY=${RUBY}
USE_RC_SUBR= chef_client
+SHEBANG_FILES= spec/functional/assets/chefinittest \
+ spec/functional/assets/testchefsubsys
+SHEBANG_LANG= ksh
+
post-install:
-.for M1 in chef-shell.1 knife-bootstrap.1 knife-client.1 knife-configure.1 knife-cookbook-site.1 \
- knife-cookbook.1 knife-data-bag.1 knife-delete.1 knife-deps.1 knife-diff.1 \
- knife-download.1 knife-edit.1 knife-environment.1 knife-exec.1 knife-index-rebuild.1 \
- knife-list.1 knife-node.1 knife-raw.1 knife-recipe-list.1 knife-role.1 knife-search.1 \
- knife-serve.1 knife-show.1 knife-ssh.1 knife-ssl-check.1 knife-ssl-fetch.1 knife-status.1 \
- knife-tag.1 knife-upload.1 knife-user.1 knife-xargs.1 knife.1
- ${INSTALL_MAN} ${WRKSRC}/distro/common/man/man1/${M1} ${STAGEDIR}${MANPREFIX}/man/man1/
-.endfor
-.for M8 in chef-client.8 chef-solo.8
- ${INSTALL_MAN} ${WRKSRC}/distro/common/man/man8/${M8} ${STAGEDIR}${MANPREFIX}/man/man8/
-.endfor
+ ${INSTALL_MAN} ${WRKSRC}/distro/common/man/man1/*.1 ${STAGEDIR}${MANPREFIX}/man/man1/
+ ${INSTALL_MAN} ${WRKSRC}/distro/common/man/man8/*.8 ${STAGEDIR}${MANPREFIX}/man/man8/
.include <bsd.port.mk>
diff --git a/sysutils/rubygem-chef/distinfo b/sysutils/rubygem-chef/distinfo
index 96f5a01d3f69..a306e6b38dcc 100644
--- a/sysutils/rubygem-chef/distinfo
+++ b/sysutils/rubygem-chef/distinfo
@@ -1,2 +1,3 @@
-SHA256 (rubygem/chef-11.14.6.gem) = 615ac0451355c4ce4c8b4599ec145e90077ff938d10a7503fe844a523223bea2
-SIZE (rubygem/chef-11.14.6.gem) = 1408512
+TIMESTAMP = 1500209690
+SHA256 (rubygem/chef-13.2.20.gem) = d8516b71b4a82a99f5d33971598b483cb4da72b0c23f4bca3bb1c6009a67addd
+SIZE (rubygem/chef-13.2.20.gem) = 1940480
diff --git a/sysutils/rubygem-chef/files/patch-gemspec b/sysutils/rubygem-chef/files/patch-gemspec
deleted file mode 100644
index b05f7d52ef3c..000000000000
--- a/sysutils/rubygem-chef/files/patch-gemspec
+++ /dev/null
@@ -1,17 +0,0 @@
---- chef.gemspec.orig 2016-03-31 19:04:14 UTC
-+++ chef.gemspec
-@@ -28,12 +28,12 @@ Gem::Specification.new do |s|
- s.add_runtime_dependency(%q<mixlib-authentication>.freeze, ["~> 1.3"])
- s.add_runtime_dependency(%q<mixlib-shellout>.freeze, ["~> 1.4"])
- s.add_runtime_dependency(%q<ohai>.freeze, ["~> 7.2"])
-- s.add_runtime_dependency(%q<rest-client>.freeze, ["<= 1.6.7", ">= 1.0.4"])
-+ s.add_runtime_dependency(%q<rest-client>.freeze, [">= 1.0.4"])
- s.add_runtime_dependency(%q<mime-types>.freeze, ["~> 1.16"])
- s.add_runtime_dependency(%q<ffi-yajl>.freeze, ["~> 1.0"])
- s.add_runtime_dependency(%q<net-ssh>.freeze, ["~> 2.6"])
- s.add_runtime_dependency(%q<net-ssh-multi>.freeze, ["~> 1.1"])
-- s.add_runtime_dependency(%q<highline>.freeze, [">= 1.6.9", "~> 1.6"])
-+ s.add_runtime_dependency(%q<highline>.freeze, [">= 1.6.9"])
- s.add_runtime_dependency(%q<erubis>.freeze, ["~> 2.7"])
- s.add_runtime_dependency(%q<diff-lcs>.freeze, [">= 1.2.4", "~> 1.2"])
- s.add_runtime_dependency(%q<chef-zero>.freeze, [">= 2.1.4", "~> 2.1"])
diff --git a/sysutils/rubygem-chef/pkg-descr b/sysutils/rubygem-chef/pkg-descr
index df29c8267c0e..3bc4d9a1d835 100644
--- a/sysutils/rubygem-chef/pkg-descr
+++ b/sysutils/rubygem-chef/pkg-descr
@@ -8,4 +8,4 @@ configuration management to your entire infrastructure. With Chef, you can:
infrastructure ("What systems are running my application?" "What is the
current master database server?")
-WWW: http://wiki.opscode.com/display/chef
+WWW: https://www.chef.io/
diff --git a/sysutils/rubygem-chef/pkg-plist b/sysutils/rubygem-chef/pkg-plist
index 76f22f532a98..ab46ac2b9c17 100644
--- a/sysutils/rubygem-chef/pkg-plist
+++ b/sysutils/rubygem-chef/pkg-plist
@@ -1,10 +1,8 @@
bin/chef-apply
bin/chef-client
-bin/chef-service-manager
bin/chef-shell
bin/chef-solo
bin/knife
-bin/shef
man/man1/chef-shell.1.gz
man/man1/knife-bootstrap.1.gz
man/man1/knife-client.1.gz
@@ -37,5 +35,6 @@ man/man1/knife-upload.1.gz
man/man1/knife-user.1.gz
man/man1/knife-xargs.1.gz
man/man1/knife.1.gz
+man/man8/chef-apply.8.gz
man/man8/chef-client.8.gz
man/man8/chef-solo.8.gz