From nobody Sat Mar 19 07:24:27 2022 X-Original-To: dev-commits-ports-all@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 94BE91A240EB; Sat, 19 Mar 2022 07:24:27 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KLC7H3XBxz3ljk; Sat, 19 Mar 2022 07:24:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647674667; 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=D4lZUXC3YApvy7VXzZTsp7ZhCW51l6qpi/Xy1v4KVNs=; b=bNRcZYUPvTv+/lsLLC1WNQipB/k4Zx1NwTh3cyDb6ywOMZWMWCe193AAdjMaNMlymAa65G tPJG99FWO6E8G0ybTriUtPOTGK+YHP6vPjK08BJpeLQfiv0F2KXkP92hvhPUVBjEEdNt1d LxGdHXaOIDIiFQuICIong4Hh5xX3zFaY1U0YNf1RZ6aedfnFUzJf5GLdiP47hVUFYnu3vY 7KrknbcIze8q3W2Ukzs7zPqR7qVy+/W7H4s3Qiz8HfxeuMWIDjizu74i2vJV+TBnar3W1b rf74a99Nk+hJGQj+EMy447RJ0nS59Dvb6Bs/Eb58VZqhGxIOTkAG841IHvCIfQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 592C77054; Sat, 19 Mar 2022 07:24:27 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 22J7ORRw057953; Sat, 19 Mar 2022 07:24:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 22J7ORvX057952; Sat, 19 Mar 2022 07:24:27 GMT (envelope-from git) Date: Sat, 19 Mar 2022 07:24:27 GMT Message-Id: <202203190724.22J7ORvX057952@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Yasuhiro Kimura Subject: git: c22b848a5d76 - 2022Q1 - mail/rubygem-mail: Fix dependency with Ruby 3.1 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yasu X-Git-Repository: ports X-Git-Refname: refs/heads/2022Q1 X-Git-Reftype: branch X-Git-Commit: c22b848a5d76a963762a9ea244c029c3d485d693 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647674667; 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=D4lZUXC3YApvy7VXzZTsp7ZhCW51l6qpi/Xy1v4KVNs=; b=FttccWZRzQScSQ1tgp+emhS/HcKZu4tVGl0BIEre2HPSAkeumPvpfvuu2yAwJdwDz2nolX UDO/hKGdkDF3POigcDt5ZO0m1h3CMqPUGGvWQ5o66nVtNlTsv6NOWDKwaqr4aWMgaLpJem omI8TRawne2XgwxzEmpV2okmIU+xqmVTjGxbGT0XI0vWqnNEc2nnWgg/oa9SgZQunpfou4 utRHxCfk4L7lzhvtyjfyHLTb/IkIXAV9O5cL4vn3C2roc4oYuhMidDmOwqJ04Pzx9x4dmj IZasXb9y+GAAwL3Ftmb7xwr3YPltUUZDKACoCgMjb43XpuoYhmBqLpkgn7gTaQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1647674667; a=rsa-sha256; cv=none; b=Pt735YcWxWKxKT26gzykYHN3Aru2rJax36Af3QzrFDVEXUtIYdAYQMtm7+WMCX4BVoQsPc MI7IDa8S5MY6EMUbJYRNGBpSc9zq9SmT6JqZWULltnY2knyZ1saKytU06OqPO9yxMrSNOX TaXjb4XcO0elAIRKH5av8QOWi5GeR9fYXlbs7j1JzYPTwOJ/ex1tug2Om6/7L0lZbzw3LS u9KFYDC9AUyYnHtK2+LTt/9Ac78zjXofCR+dH+DXH6LWj3luHJ62lJqSBwWUXlv8fb1/qY WzxMcO16U6ufDrQ65N3LzSJZ4WeBH1cIA8ef/cpNcURsWuWfDnTICZFGTFBAyw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch 2022Q1 has been updated by yasu: URL: https://cgit.FreeBSD.org/ports/commit/?id=c22b848a5d76a963762a9ea244c029c3d485d693 commit c22b848a5d76a963762a9ea244c029c3d485d693 Author: Yasuhiro Kimura AuthorDate: 2021-11-10 17:59:42 +0000 Commit: Yasuhiro Kimura CommitDate: 2022-03-19 07:23:55 +0000 mail/rubygem-mail: Fix dependency with Ruby 3.1 In Ruby 3.1 net/smtp is distributed as bundled gem. On the other hand, our ruby ports (lang/rubyXY) don't include bundled gems in their packages and it also applies to lang/ruby31. That means net/smtp isn't include in the package of Ruby 3.1. So add mail/rubygem-net-smtp to RUN_DEPENDS so this port works fine with Ruby 3.1. PR: 262088 Approved by: portmgr (blanket: dependency fix) MFH: 2022Q1 (dependency fix) (cherry picked from commit da6b7803d1f8bccac09d69a6d2eaa96e93522743) --- mail/rubygem-mail/Makefile | 4 +++- mail/rubygem-mail/files/patch-mail.gemspec | 18 ++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/mail/rubygem-mail/Makefile b/mail/rubygem-mail/Makefile index 6b12707478bd..0c4695ae0124 100644 --- a/mail/rubygem-mail/Makefile +++ b/mail/rubygem-mail/Makefile @@ -2,6 +2,7 @@ PORTNAME= mail PORTVERSION= 2.7.1 +PORTREVISION= 1 PORTEPOCH= 2 CATEGORIES= mail rubygems MASTER_SITES= RG @@ -12,7 +13,8 @@ COMMENT= Ruby email handler LICENSE= MIT LICENSE_FILE= ${WRKSRC}/MIT-LICENSE -RUN_DEPENDS= rubygem-mini_mime>=0.1.1:mail/rubygem-mini_mime +RUN_DEPENDS= rubygem-mini_mime>=0.1.1:mail/rubygem-mini_mime \ + rubygem-net-smtp>0:mail/rubygem-net-smtp USES= cpe gem CPE_VENDOR= ${PORTNAME}_project diff --git a/mail/rubygem-mail/files/patch-mail.gemspec b/mail/rubygem-mail/files/patch-mail.gemspec new file mode 100644 index 000000000000..5b1682def046 --- /dev/null +++ b/mail/rubygem-mail/files/patch-mail.gemspec @@ -0,0 +1,18 @@ +--- mail.gemspec.orig 2021-11-10 18:38:59 UTC ++++ mail.gemspec +@@ -24,6 +24,7 @@ Gem::Specification.new do |s| + end + + if s.respond_to? :add_runtime_dependency then ++ s.add_runtime_dependency(%q.freeze, [">= 0"]) + s.add_runtime_dependency(%q.freeze, [">= 0.1.1"]) + s.add_development_dependency(%q.freeze, [">= 1.0.3"]) + s.add_development_dependency(%q.freeze, ["> 0.8.7"]) +@@ -31,6 +32,7 @@ Gem::Specification.new do |s| + s.add_development_dependency(%q.freeze, [">= 0"]) + s.add_development_dependency(%q.freeze, [">= 0"]) + else ++ s.add_dependency(%q.freeze, [">= 0"]) + s.add_dependency(%q.freeze, [">= 0.1.1"]) + s.add_dependency(%q.freeze, [">= 1.0.3"]) + s.add_dependency(%q.freeze, ["> 0.8.7"])