git: 30d5680e858d - main - sysutils/rubygem-chef16: Remove obsoleted port

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 27 May 2023 23:51:17 UTC
The branch main has been updated by sunpoet:

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

commit 30d5680e858d4f77583a9e56d1993be983feadc0
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-05-27 23:20:43 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-05-27 23:43:40 +0000

    sysutils/rubygem-chef16: Remove obsoleted port
    
    Use sysutils/rubygem-chef instead.
---
 MOVED                                        |  1 +
 sysutils/Makefile                            |  1 -
 sysutils/rubygem-chef16/Makefile             | 69 ----------------------------
 sysutils/rubygem-chef16/distinfo             |  3 --
 sysutils/rubygem-chef16/files/chef_client.in | 54 ----------------------
 sysutils/rubygem-chef16/files/patch-gemspec  | 20 --------
 sysutils/rubygem-chef16/pkg-descr            |  9 ----
 sysutils/rubygem-chef16/pkg-plist            |  2 -
 8 files changed, 1 insertion(+), 158 deletions(-)

diff --git a/MOVED b/MOVED
index d44a2e98d083..2b09df8cf301 100644
--- a/MOVED
+++ b/MOVED
@@ -7565,3 +7565,4 @@ net/rubygem-grpc142|net/rubygem-grpc|2023-05-27|Remove obsoleted port. Use net/r
 net/rubygem-ipaddr122|net/rubygem-ipaddr|2023-05-27|Remove obsoleted port. Use net/rubygem-ipaddr instead
 security/rubygem-doorkeeper562|security/rubygem-doorkeeper|2023-05-27|Remove obsoleted port. Use security/rubygem-doorkeeper instead
 security/rubygem-ed2551912|security/rubygem-ed25519|2023-05-27|Remove obsoleted port. Use security/rubygem-ed25519 instead
+sysutils/rubygem-chef16|sysutils/rubygem-chef|2023-05-27|Remove obsoleted port. Use sysutils/rubygem-chef instead
diff --git a/sysutils/Makefile b/sysutils/Makefile
index d97a641029ef..305d13f52798 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -1233,7 +1233,6 @@
     SUBDIR += rubygem-chef-utils17
     SUBDIR += rubygem-chef-vault
     SUBDIR += rubygem-chef-zero
-    SUBDIR += rubygem-chef16
     SUBDIR += rubygem-chef17
     SUBDIR += rubygem-choria-mcorpc-support
     SUBDIR += rubygem-facter
diff --git a/sysutils/rubygem-chef16/Makefile b/sysutils/rubygem-chef16/Makefile
deleted file mode 100644
index 3dbb52a0b443..000000000000
--- a/sysutils/rubygem-chef16/Makefile
+++ /dev/null
@@ -1,69 +0,0 @@
-PORTNAME=	chef
-PORTVERSION=	16.18.30
-CATEGORIES=	sysutils
-MASTER_SITES=	RG
-PKGNAMESUFFIX=	16
-
-MAINTAINER=	ruby@FreeBSD.org
-COMMENT=	Systems integration framework. Client part
-WWW=		https://www.chef.io/
-
-LICENSE=	APACHE20
-LICENSE_FILE=	${WRKSRC}/LICENSE
-
-RUN_DEPENDS=	rubygem-addressable>=0:www/rubygem-addressable \
-		rubygem-bcrypt_pbkdf>=1.1<2:security/rubygem-bcrypt_pbkdf \
-		rubygem-bundler>=1.10:sysutils/rubygem-bundler \
-		rubygem-chef-config>=${PORTVERSION}<${PORTVERSION}_99:sysutils/rubygem-chef-config \
-		rubygem-chef-utils>=${PORTVERSION}<${PORTVERSION}_99:sysutils/rubygem-chef-utils \
-		rubygem-chef-vault>=0:sysutils/rubygem-chef-vault \
-		rubygem-chef-zero>=14.0.11:sysutils/rubygem-chef-zero \
-		rubygem-diff-lcs>=1.2.4<1.6.0:textproc/rubygem-diff-lcs \
-		rubygem-ed25519>=1.2<2:security/rubygem-ed25519 \
-		rubygem-erubis>=2.7<3:www/rubygem-erubis \
-		rubygem-ffi>=1.15: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-highline>=1.6.9<3:devel/rubygem-highline \
-		rubygem-iniparse>=1.4<2:devel/rubygem-iniparse \
-		rubygem-inspec-core>=4.23<5:devel/rubygem-inspec-core \
-		rubygem-license-acceptance>=1.0.5<3: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.1.1<4.0:devel/rubygem-mixlib-shellout \
-		rubygem-net-sftp>=2.1.2<5.0:security/rubygem-net-sftp \
-		rubygem-net-ssh6>=5.1<7:security/rubygem-net-ssh6 \
-		rubygem-net-ssh-multi>=1.2.1<2:security/rubygem-net-ssh-multi \
-		rubygem-ohai16>=16.0<17:sysutils/rubygem-ohai16 \
-		rubygem-pastel>=0:devel/rubygem-pastel \
-		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-winrm>=0.2.5:net/rubygem-train-winrm \
-		rubygem-tty-prompt>=0.21<1:devel/rubygem-tty-prompt \
-		rubygem-tty-screen>=0.6<1:devel/rubygem-tty-screen \
-		rubygem-tty-table>=0.11<1:devel/rubygem-tty-table \
-		rubygem-uuidtools>=2.1.5<3.0:devel/rubygem-uuidtools
-
-USES=		cpe gem shebangfix
-
-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}${PREFIX}/man/man1/
-#	${INSTALL_MAN} ${WRKSRC}/distro/common/man/man8/*.8 ${STAGEDIR}${PREFIX}/man/man8/
-	${MKDIR} ${STAGEDIR}/var/chef
-
-.include <bsd.port.mk>
diff --git a/sysutils/rubygem-chef16/distinfo b/sysutils/rubygem-chef16/distinfo
deleted file mode 100644
index bbb0012ee8a0..000000000000
--- a/sysutils/rubygem-chef16/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1684104788
-SHA256 (rubygem/chef-16.18.30.gem) = 3cc8c86878b8400e37b65339535be5d286c937a11a339c4694f5930ac71b8b89
-SIZE (rubygem/chef-16.18.30.gem) = 1903616
diff --git a/sysutils/rubygem-chef16/files/chef_client.in b/sysutils/rubygem-chef16/files/chef_client.in
deleted file mode 100644
index 9c2f52e6142c..000000000000
--- a/sysutils/rubygem-chef16/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-chef16/files/patch-gemspec b/sysutils/rubygem-chef16/files/patch-gemspec
deleted file mode 100644
index a7376ac21b3c..000000000000
--- a/sysutils/rubygem-chef16/files/patch-gemspec
+++ /dev/null
@@ -1,20 +0,0 @@
---- chef.gemspec.orig	2023-01-06 04:14:37 UTC
-+++ chef.gemspec
-@@ -39,7 +39,7 @@ Gem::Specification.new do |s|
-   s.add_runtime_dependency(%q<ffi-yajl>.freeze, ["~> 2.2"])
-   s.add_runtime_dependency(%q<net-ssh>.freeze, [">= 5.1", "< 7"])
-   s.add_runtime_dependency(%q<net-ssh-multi>.freeze, ["~> 1.2", ">= 1.2.1"])
--  s.add_runtime_dependency(%q<net-sftp>.freeze, [">= 2.1.2", "< 4.0"])
-+  s.add_runtime_dependency(%q<net-sftp>.freeze, [">= 2.1.2", "< 5.0"])
-   s.add_runtime_dependency(%q<ed25519>.freeze, ["~> 1.2"])
-   s.add_runtime_dependency(%q<bcrypt_pbkdf>.freeze, ["~> 1.1"])
-   s.add_runtime_dependency(%q<highline>.freeze, [">= 1.6.9", "< 3"])
-@@ -48,7 +48,7 @@ Gem::Specification.new do |s|
-   s.add_runtime_dependency(%q<tty-table>.freeze, ["~> 0.11"])
-   s.add_runtime_dependency(%q<pastel>.freeze, [">= 0"])
-   s.add_runtime_dependency(%q<erubis>.freeze, ["~> 2.7"])
--  s.add_runtime_dependency(%q<diff-lcs>.freeze, [">= 1.2.4", "< 1.4.0"])
-+  s.add_runtime_dependency(%q<diff-lcs>.freeze, [">= 1.2.4", "< 1.6.0"])
-   s.add_runtime_dependency(%q<ffi-libarchive>.freeze, ["~> 1.0", ">= 1.0.3"])
-   s.add_runtime_dependency(%q<chef-zero>.freeze, [">= 14.0.11"])
-   s.add_runtime_dependency(%q<chef-vault>.freeze, [">= 0"])
diff --git a/sysutils/rubygem-chef16/pkg-descr b/sysutils/rubygem-chef16/pkg-descr
deleted file mode 100644
index 7015d3a8bb3d..000000000000
--- a/sysutils/rubygem-chef16/pkg-descr
+++ /dev/null
@@ -1,9 +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?")
diff --git a/sysutils/rubygem-chef16/pkg-plist b/sysutils/rubygem-chef16/pkg-plist
deleted file mode 100644
index 1740eb7010c4..000000000000
--- a/sysutils/rubygem-chef16/pkg-plist
+++ /dev/null
@@ -1,2 +0,0 @@
-bin/knife
-@dir /var/chef