From nobody Mon Mar 9 18:21:39 2026 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4fV51w0PYCz6TdJb for ; Mon, 09 Mar 2026 18:21:40 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fV51v5FDyz3bm6 for ; Mon, 09 Mar 2026 18:21:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1773080499; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=cYK4E19cxF1Htjolx+yWS7FjOR/3oAJUN4HDaF+oLdg=; b=MaoSy6KN7SlczRjlIsttl7pGJN5aqmhrmdDL/WZ5UIy889vcCqI3UD9tof+Ar4YW6PdHBN z6duwWCWIHf2047lq0di/r2EmSJg0+vWSuXts6ElnQoz49Z+L2nctI1SjRsOrc0rszYQdx gYOSCR6dwgu77qSx2vmI55aR0EikPB9AlWce5rydwa8AvWgmGs3XD3wU1PLDwsW4JChXLl Wkgh72/4nBLNH9FRvwoKmdu4u9gBVfIKIypUJg5UPVN4zhEeyzMy4yHi6+4cXk31wSOjEN KBHQjpIC0vunEeFgrANZnGNNbXI7X2qwIH5DM+mi8lHfGbAUiDsH3bCg5SDbPA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1773080499; a=rsa-sha256; cv=none; b=FImRVtrdPtvLFQYO2S5xUDnhfmhe6OLynk0Mm4LczOAR6yLCj0D97ru+/DqqbkQprHNWMw p0pvyvQRatt7BjbULxaY47tAXOwrtCC9EVSE0UrhHvrkzMvRDEPj64Q3+UI1fxjp8yxB6Z d13lZOW/6iTaf/waci5HR0285YWYYs1os5wmdopSgEPK27xn4os0bY/RFMiNbPCw6B7vAA cuxymQd0rQgUYqtLyC9lT9SLP1lB6qFEOJn5Ir3xH0YlC8NZ3UvVBEu2rY+7Y3XOFXwzga xce6vpoB3jwu+uBV18ZmS411imfyOdERFjNFDYQcZc9dZ9+0auLlBxS42UuBJQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1773080499; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=cYK4E19cxF1Htjolx+yWS7FjOR/3oAJUN4HDaF+oLdg=; b=xNyK15GBgOZUeh2ggrs3GH5FG8JiJlhiIfGFSU9NQNvwgfLbCnACldf0GomPK4Cdv/dNcg fCER/Jtsh6nQIzcA4Vrh9eX6pMPuSbr/S1y+8J9wsvaGP2udV69/I08wgzsiquxhVvvaKu UapfZQgdcD4bVFNsfrGr5k/6/7XrSXr5PfavDyZA1R1+MsF+NhD2lSjK4Sd9uJwI07UOBb dpx7TpOeQBGoVKO2Nh7BpKk3NXfdLeFmm7VETgvR89v0u7+MOem0h1OOgZy3QnN4qnpkzP 5KKg+BikZnoT11TqbmSxTHtzKMXV7cf+q+RcDYsuvhx6Tf4GuEJbn9Ihw7Rozw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4fV51v4dT3zd3y for ; Mon, 09 Mar 2026 18:21:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 1d5bb by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Mon, 09 Mar 2026 18:21:39 +0000 To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 3f352c99841c - main - devel/rubygem-cookstyle: Add rubygem-cookstyle 8.6.4 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3f352c99841ca3a441861d56acc160a865ed0baa Auto-Submitted: auto-generated Date: Mon, 09 Mar 2026 18:21:39 +0000 Message-Id: <69af0fb3.1d5bb.432ff0e4@gitrepo.freebsd.org> The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=3f352c99841ca3a441861d56acc160a865ed0baa commit 3f352c99841ca3a441861d56acc160a865ed0baa Author: Po-Chuan Hsieh AuthorDate: 2026-03-09 17:51:52 +0000 Commit: Po-Chuan Hsieh CommitDate: 2026-03-09 18:18:11 +0000 devel/rubygem-cookstyle: Add rubygem-cookstyle 8.6.4 Cookstyle is a code linting tool that helps you to write better Chef Infra cookbooks and InSpec profiles by detecting and automatically correcting style, syntax, logic, and security mistakes in your code. Cookstyle is powered by the RuboCop linting engine. RuboCop ships with over three-hundred rules, or cops, designed to detect common Ruby coding mistakes and enforce a common coding style. We've customized Cookstyle with a subset of those cops that we believe are perfectly tailored for cookbook development. We also ship 260 Chef Infra specific cops that catch common cookbook coding mistakes, clean up portions of code that are no longer necessary, and detect deprecations that prevent cookbooks from running on the latest releases of Chef Infra Client. --- devel/Makefile | 1 + devel/rubygem-cookstyle/Makefile | 22 ++++++++++++++++++++++ devel/rubygem-cookstyle/distinfo | 3 +++ devel/rubygem-cookstyle/files/patch-gemspec | 10 ++++++++++ devel/rubygem-cookstyle/pkg-descr | 11 +++++++++++ 5 files changed, 47 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 35b1d353bb1b..51f503b12a93 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -7279,6 +7279,7 @@ SUBDIR += rubygem-contracts SUBDIR += rubygem-contracts016 SUBDIR += rubygem-cookbook-omnifetch + SUBDIR += rubygem-cookstyle SUBDIR += rubygem-cool.io SUBDIR += rubygem-corefines SUBDIR += rubygem-corefoundation diff --git a/devel/rubygem-cookstyle/Makefile b/devel/rubygem-cookstyle/Makefile new file mode 100644 index 000000000000..c82d3287508d --- /dev/null +++ b/devel/rubygem-cookstyle/Makefile @@ -0,0 +1,22 @@ +PORTNAME= cookstyle +PORTVERSION= 8.6.4 +CATEGORIES= devel rubygems +MASTER_SITES= RG + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Code linting tool +WWW= https://docs.chef.io/workstation/cookstyle/ \ + https://github.com/chef/cookstyle + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= rubygem-rubocop>=1.84.2:devel/rubygem-rubocop + +USES= gem + +NO_ARCH= yes + +PLIST_FILES= bin/cookstyle + +.include diff --git a/devel/rubygem-cookstyle/distinfo b/devel/rubygem-cookstyle/distinfo new file mode 100644 index 000000000000..586e5fe7d7c1 --- /dev/null +++ b/devel/rubygem-cookstyle/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1771421404 +SHA256 (rubygem/cookstyle-8.6.4.gem) = 9b9ba8e23449e4892220aba707280734e2d721f3cc9c9b7cfd20d52ee8040cf1 +SIZE (rubygem/cookstyle-8.6.4.gem) = 126464 diff --git a/devel/rubygem-cookstyle/files/patch-gemspec b/devel/rubygem-cookstyle/files/patch-gemspec new file mode 100644 index 000000000000..3b72256f8215 --- /dev/null +++ b/devel/rubygem-cookstyle/files/patch-gemspec @@ -0,0 +1,10 @@ +--- cookstyle.gemspec.orig 2026-02-18 15:04:07 UTC ++++ cookstyle.gemspec +@@ -21,6 +21,6 @@ Gem::Specification.new do |s| + + s.specification_version = 4 + +- s.add_runtime_dependency(%q.freeze, ["= 1.84.2".freeze]) ++ s.add_runtime_dependency(%q.freeze, [">= 1.84.2".freeze]) + end + diff --git a/devel/rubygem-cookstyle/pkg-descr b/devel/rubygem-cookstyle/pkg-descr new file mode 100644 index 000000000000..5b7b4d8568d8 --- /dev/null +++ b/devel/rubygem-cookstyle/pkg-descr @@ -0,0 +1,11 @@ +Cookstyle is a code linting tool that helps you to write better Chef Infra +cookbooks and InSpec profiles by detecting and automatically correcting style, +syntax, logic, and security mistakes in your code. + +Cookstyle is powered by the RuboCop linting engine. RuboCop ships with over +three-hundred rules, or cops, designed to detect common Ruby coding mistakes and +enforce a common coding style. We've customized Cookstyle with a subset of those +cops that we believe are perfectly tailored for cookbook development. We also +ship 260 Chef Infra specific cops that catch common cookbook coding mistakes, +clean up portions of code that are no longer necessary, and detect deprecations +that prevent cookbooks from running on the latest releases of Chef Infra Client.