git: b0f78f70d7aa - main - sysutils/rubygem-chef15: Remove obsoleted port

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 25 Oct 2021 16:01:17 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b0f78f70d7aa9a278f2bc6a9ec8dcb431cd99f6c

commit b0f78f70d7aa9a278f2bc6a9ec8dcb431cd99f6c
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-10-25 14:56:17 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-10-25 15:57:09 +0000

    sysutils/rubygem-chef15: Remove obsoleted port
    
    Chef Infra Client 15 and under is EoL'd on April 30, 2021.
    
    Reference:      https://docs.chef.io/versions/#end-of-life-eol-products
---
 sysutils/Makefile                            |  1 -
 sysutils/rubygem-chef15/Makefile             | 68 ----------------------------
 sysutils/rubygem-chef15/distinfo             |  3 --
 sysutils/rubygem-chef15/files/chef_client.in | 54 ----------------------
 sysutils/rubygem-chef15/files/patch-gemspec  | 20 --------
 sysutils/rubygem-chef15/pkg-descr            | 11 -----
 sysutils/rubygem-chef15/pkg-plist            |  2 -
 7 files changed, 159 deletions(-)

diff --git a/sysutils/Makefile b/sysutils/Makefile
index 027c3b1e0e8a..5bc7cc498482 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -1161,7 +1161,6 @@
     SUBDIR += rubygem-chef-utils15
     SUBDIR += rubygem-chef-vault
     SUBDIR += rubygem-chef-zero
-    SUBDIR += rubygem-chef15
     SUBDIR += rubygem-choria-mcorpc-support
     SUBDIR += rubygem-facter
     SUBDIR += rubygem-fluent-mixin-plaintextformatter
diff --git a/sysutils/rubygem-chef15/Makefile b/sysutils/rubygem-chef15/Makefile
deleted file mode 100644
index 256751eb9296..000000000000
--- a/sysutils/rubygem-chef15/Makefile
+++ /dev/null
@@ -1,68 +0,0 @@
-# Created by: Renaud Chaput <renchap@cocoa-x.com>
-
-PORTNAME=	chef
-PORTVERSION=	15.15.0
-PORTREVISION=	1
-CATEGORIES=	sysutils
-MASTER_SITES=	RG
-PKGNAMESUFFIX=	15
-
-MAINTAINER=	ruby@FreeBSD.org
-COMMENT=	Systems integration framework. Client part
-
-LICENSE=	APACHE20
-LICENSE_FILE=	${WRKSRC}/LICENSE
-
-RUN_DEPENDS=	rubygem-addressable>=0:www/rubygem-addressable \
-		rubygem-bcrypt_pbkdf>=1.0<2:security/rubygem-bcrypt_pbkdf \
-		rubygem-bundler>=1.10:sysutils/rubygem-bundler \
-		rubygem-chef-config15>=${PORTVERSION}<${PORTVERSION}_99:sysutils/rubygem-chef-config15 \
-		rubygem-chef-utils15>=${PORTVERSION}<${PORTVERSION}_99:sysutils/rubygem-chef-utils15 \
-		rubygem-chef-zero>=14.0.11:sysutils/rubygem-chef-zero \
-		rubygem-diff-lcs>=1.2.4<2:textproc/rubygem-diff-lcs \
-		rubygem-ed25519>=1.2<2:security/rubygem-ed25519 \
-		rubygem-erubis>=2.7<3:www/rubygem-erubis \
-		rubygem-ffi>=1.9.25:devel/rubygem-ffi \
-		rubygem-ffi-libarchive>=1.0.3<2:devel/rubygem-ffi-libarchive \
-		rubygem-ffi-yajl>=2.2<3:devel/rubygem-ffi-yajl \
-		rubygem-highline1>=1.6.9<2:devel/rubygem-highline1 \
-		rubygem-iniparse>=1.4<2:devel/rubygem-iniparse \
-		rubygem-license-acceptance>=1.0.5:sysutils/rubygem-license-acceptance \
-		rubygem-mixlib-archive>=0.4<2.0:devel/rubygem-mixlib-archive \
-		rubygem-mixlib-authentication>=2.1<4:devel/rubygem-mixlib-authentication \
-		rubygem-mixlib-cli>=2.1.1<3.0:devel/rubygem-mixlib-cli \
-		rubygem-mixlib-log>=2.0.3<4.0:devel/rubygem-mixlib-log \
-		rubygem-mixlib-shellout>=3.0.3<4.0:devel/rubygem-mixlib-shellout \
-		rubygem-net-sftp>=2.1.2<4.0:security/rubygem-net-sftp \
-		rubygem-net-ssh>=4.2,2<7,2:security/rubygem-net-ssh \
-		rubygem-net-ssh-multi>=1.2.1<2:security/rubygem-net-ssh-multi \
-		rubygem-ohai15>=15.0<16:sysutils/rubygem-ohai15 \
-		rubygem-plist>=3.2<4:devel/rubygem-plist \
-		rubygem-proxifier>=1.0<2:net/rubygem-proxifier \
-		rubygem-syslog-logger>=1.6<2:sysutils/rubygem-syslog-logger \
-		rubygem-train-core>=3.2.28<4:net/rubygem-train-core \
-		rubygem-train-winrm>=0.2.5:net/rubygem-train-winrm \
-		rubygem-tty-screen>=0.6<1:devel/rubygem-tty-screen \
-		rubygem-uuidtools>=2.1.5<3:devel/rubygem-uuidtools
-
-USES=		cpe gem shebangfix
-USE_RUBY=	yes
-
-NO_ARCH=	yes
-
-SUB_LIST=	RUBY=${RUBY}
-USE_RC_SUBR=	chef_client
-
-SHEBANG_FILES=	spec/functional/assets/chefinittest \
-		spec/functional/assets/testchefsubsys
-SHEBANG_LANG=	ksh
-
-post-patch:
-	@${REINPLACE_CMD} -e '1d' ${WRKSRC}/spec/data/apt/chef-integration-test*/debian/rules
-
-post-install:
-#	${INSTALL_MAN} ${WRKSRC}/distro/common/man/man1/*.1 ${STAGEDIR}${MANPREFIX}/man/man1/
-#	${INSTALL_MAN} ${WRKSRC}/distro/common/man/man8/*.8 ${STAGEDIR}${MANPREFIX}/man/man8/
-	${MKDIR} ${STAGEDIR}/var/chef
-
-.include <bsd.port.mk>
diff --git a/sysutils/rubygem-chef15/distinfo b/sysutils/rubygem-chef15/distinfo
deleted file mode 100644
index da5462288205..000000000000
--- a/sysutils/rubygem-chef15/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1610174239
-SHA256 (rubygem/chef-15.15.0.gem) = 16780ebfec3c8c0e7977cac93ab3004204701bdf6c8762ff5d1c907712ff1219
-SIZE (rubygem/chef-15.15.0.gem) = 1807360
diff --git a/sysutils/rubygem-chef15/files/chef_client.in b/sysutils/rubygem-chef15/files/chef_client.in
deleted file mode 100644
index 9c2f52e6142c..000000000000
--- a/sysutils/rubygem-chef15/files/chef_client.in
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/bin/sh
-
-# PROVIDE: chef_client
-# REQUIRE: DAEMON
-# BEFORE: LOGIN
-# KEYWORD: shutdown
-
-# Add the following line to /etc/rc.conf to enable chef-client
-#
-#  chef_client_enable="YES"
-
-. /etc/rc.subr
-
-name="chef_client"
-rcvar=chef_client_enable
-
-# Read configuration and set defaults
-load_rc_config $name
-: ${chef_client_enable="NO"}
-: ${chef_client_configfile="%%PREFIX%%/etc/chef/client.rb"}
-: ${chef_client_interval="600"}
-: ${chef_client_splay="0"}
-: ${chef_client_logfile="/var/log/chef-client.log"}
-: ${chef_client_loglevel="info"}
-
-if [ -f "$chef_client_configfile" ]
-	then
-		pidfile=`awk '/^[ \t]*pid_file[ \t]+/ { print $2 }' ${chef_client_configfile}`
-		: ${chef_client_pidfile=$pidfile}
-	else
-		: ${chef_client_pidfile="/var/run/chef-client.pid"}
-fi
-
-if [ -n "$chef_client_nodename" ]
-	then
-		nodename="-N ${chef_client_nodename}"
-	else
-		nodename=""
-fi
-
-if [ -n "$chef_client_server" ]
-	then
-		server="-N ${chef_client_server}"
-	else
-		server=""
-fi
-
-command="%%PREFIX%%/bin/chef-client"
-command_interpreter="%%RUBY%%"
-pidfile=${chef_client_pidfile}
-chef_client_flags="-c ${chef_client_configfile} ${nodename}${server}-d -i ${chef_client_interval} -s ${chef_client_splay} -L ${chef_client_logfile} -l ${chef_client_loglevel} -P ${chef_client_pidfile}"
-
-load_rc_config $name
-run_rc_command "$1"
diff --git a/sysutils/rubygem-chef15/files/patch-gemspec b/sysutils/rubygem-chef15/files/patch-gemspec
deleted file mode 100644
index a7ed1b0456fd..000000000000
--- a/sysutils/rubygem-chef15/files/patch-gemspec
+++ /dev/null
@@ -1,20 +0,0 @@
---- chef.gemspec.orig	2021-07-04 18:17:40 UTC
-+++ chef.gemspec
-@@ -29,7 +29,7 @@ Gem::Specification.new do |s|
-       s.add_runtime_dependency(%q<chef-utils>.freeze, ["= 15.15.0"])
-       s.add_runtime_dependency(%q<train-core>.freeze, ["~> 3.2", ">= 3.2.28"])
-       s.add_runtime_dependency(%q<train-winrm>.freeze, [">= 0.2.5"])
--      s.add_runtime_dependency(%q<license-acceptance>.freeze, ["~> 1.0", ">= 1.0.5"])
-+      s.add_runtime_dependency(%q<license-acceptance>.freeze, [">= 1.0.5"])
-       s.add_runtime_dependency(%q<mixlib-cli>.freeze, [">= 2.1.1", "< 3.0"])
-       s.add_runtime_dependency(%q<mixlib-log>.freeze, [">= 2.0.3", "< 4.0"])
-       s.add_runtime_dependency(%q<mixlib-authentication>.freeze, [">= 2.1", "< 4"])
-@@ -53,7 +53,7 @@ Gem::Specification.new do |s|
-       s.add_runtime_dependency(%q<iniparse>.freeze, ["~> 1.4"])
-       s.add_runtime_dependency(%q<addressable>.freeze, [">= 0"])
-       s.add_runtime_dependency(%q<syslog-logger>.freeze, ["~> 1.6"])
--      s.add_runtime_dependency(%q<uuidtools>.freeze, ["~> 2.1.5"])
-+      s.add_runtime_dependency(%q<uuidtools>.freeze, ["~> 2.1", ">= 2.1.5"])
-       s.add_runtime_dependency(%q<proxifier>.freeze, ["~> 1.0"])
-       s.add_runtime_dependency(%q<bundler>.freeze, [">= 1.10"])
-     else
diff --git a/sysutils/rubygem-chef15/pkg-descr b/sysutils/rubygem-chef15/pkg-descr
deleted file mode 100644
index 3bc4d9a1d835..000000000000
--- a/sysutils/rubygem-chef15/pkg-descr
+++ /dev/null
@@ -1,11 +0,0 @@
-Chef is a systems integration framework, built to bring the benefits of
-configuration management to your entire infrastructure. With Chef, you can:
-
-* Manage your servers by writing code, not by running commands.
-* Integrate tightly with your applications, databases, LDAP directories, and
-  more.
-* Easily configure applications that require knowledge about your entire
-  infrastructure ("What systems are running my application?" "What is the
-  current master database server?")
-
-WWW: https://www.chef.io/
diff --git a/sysutils/rubygem-chef15/pkg-plist b/sysutils/rubygem-chef15/pkg-plist
deleted file mode 100644
index 1740eb7010c4..000000000000
--- a/sysutils/rubygem-chef15/pkg-plist
+++ /dev/null
@@ -1,2 +0,0 @@
-bin/knife
-@dir /var/chef