From nobody Mon Oct 3 17:12:31 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 4Mh6pS16Kfz4djVn; Mon, 3 Oct 2022 17:12:32 +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 4Mh6pR6v1Tz3VbX; Mon, 3 Oct 2022 17:12:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664817152; 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=2D/uGmXvAihBu1O98Q3BZ0vYuTxqzIuMynum8Fc1QNI=; b=fW4G8gj6SJKp6u98WqTcUW1yGqVhxqUV46GZXehSTTV8t+obS3hmRkSMflP5kZeSEIEWJL Xl3wbYTPVMshGm85iTS+d1b/mexptu39/DxaJBmJuRTEW8Tk875/KC6xy03ntw9nASCcK3 e2QvV+TT9KybftFCDQZ0Fr1W4tsJT+6wHRDmwDEn6lOgSCI6CmqaGz3hjz5M7QxH+Hh5ix tNenJNd1GEkz3x+lCqNrKduTSJQV+Ho7hN4Z6dp5HVPWFIz/1uorOpdqyUJuFvyY6UWx56 xplpXewbF3Wtyh178tWkzrClXAqmmWrKxdo5P5u/pG82Ogh/EyUq75iFs2WtRQ== 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 4Mh6pR60MszH4k; Mon, 3 Oct 2022 17:12:31 +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 293HCVvZ011620; Mon, 3 Oct 2022 17:12:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 293HCVRp011619; Mon, 3 Oct 2022 17:12:31 GMT (envelope-from git) Date: Mon, 3 Oct 2022 17:12:31 GMT Message-Id: <202210031712.293HCVRp011619@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: c6ae15317631 - main - www/rubygem-sinatra2: Add rubygem-sinatra2 2.2.2 (copied from rubygem-sinatra) 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: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c6ae15317631fec3a2f6f3ea929a27db091f495b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664817152; 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=2D/uGmXvAihBu1O98Q3BZ0vYuTxqzIuMynum8Fc1QNI=; b=TUtiIentCUMj4aKnYldH0gbJNJFdQO0LPVZ/DC/StdW2akCd12zeBURwEsmCtsO2pDSOCw JGL4odstSzLX3Km7AgCh9kijAx5adrB6BdJWISiA0vqIiWTUhVAUcYkGEryPstNclH6aa7 0w6InLd0aoLqoeVDMtCd3ng5THHat/l8VgZ0eMQzDeUd9DXhbt1TponyZzdG9BwogoxY3M tSP7TKsNh05d5vBP5XRrt5PHyIzh3v/CJqAXeuk1b8veCiJFqplH5PTWgU8YkoEnsIZ87G yDMKCS7VYLdPnTux704oVvyr5jOYZTiUbURgCyXng354CzwABkp+4mUbg8gC+g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664817152; a=rsa-sha256; cv=none; b=dG0HSIbiXzh+PukcQaRmGowjOZowWddgAVR4okmGMZTbRaFf9kmwWoNStxUfPqEL47bHo7 /g7XBs2Euwm4edohph4RFtF0sEvlokXBiDD+OegfNrC7WI4TwiJfcC2CpJ3+K2sB7R+ik2 mSzzMaQAaUrO3BTrMgBjyRyLDzh4/vaXqxjj4A3uft12tMSz38cMKw7GnQ2yqozZIZDhR/ PeDdIK5P4p2HcKwVStQFOW9ejNvyaz0OX+sMZYVXqOJd65nbTc+rX+gscu/LJisj8aiEyO eUk+ZuPFuiFwdJ0s6KAWQ+69taWwHzSwHjkm1Ir7IMDGj8AkHigVr19B1N5FOA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=c6ae15317631fec3a2f6f3ea929a27db091f495b commit c6ae15317631fec3a2f6f3ea929a27db091f495b Author: Po-Chuan Hsieh AuthorDate: 2022-10-03 16:56:44 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-10-03 17:10:14 +0000 www/rubygem-sinatra2: Add rubygem-sinatra2 2.2.2 (copied from rubygem-sinatra) - Change RUN_DEPENDS from rubygem-rack-protection to rubygem-rack-protection2 - Add PORTSCOUT --- www/Makefile | 1 + www/rubygem-sinatra2/Makefile | 28 ++++++++++++++++++++++++++++ www/rubygem-sinatra2/distinfo | 3 +++ www/rubygem-sinatra2/files/patch-gemspec | 11 +++++++++++ www/rubygem-sinatra2/pkg-descr | 4 ++++ www/rubygem-sinatra2/pkg-message | 14 ++++++++++++++ 6 files changed, 61 insertions(+) diff --git a/www/Makefile b/www/Makefile index 63d8794f892d..c89f35733c6e 100644 --- a/www/Makefile +++ b/www/Makefile @@ -2137,6 +2137,7 @@ SUBDIR += rubygem-sinatra-r18n SUBDIR += rubygem-sinatra-respond_to SUBDIR += rubygem-sinatra1 + SUBDIR += rubygem-sinatra2 SUBDIR += rubygem-sitemap_generator SUBDIR += rubygem-smashing SUBDIR += rubygem-socksify diff --git a/www/rubygem-sinatra2/Makefile b/www/rubygem-sinatra2/Makefile new file mode 100644 index 000000000000..d97c85cd0156 --- /dev/null +++ b/www/rubygem-sinatra2/Makefile @@ -0,0 +1,28 @@ +PORTNAME= sinatra +PORTVERSION= 2.2.2 +CATEGORIES= www rubygems +MASTER_SITES= RG +PKGNAMESUFFIX= 2 + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Classy web development framework in ruby +WWW= http://www.sinatrarb.com/ + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= rubygem-mustermann>=2.0:devel/rubygem-mustermann \ + rubygem-rack>=2.2,3<3,3:www/rubygem-rack \ + rubygem-rack-protection2>=${PORTVERSION}<${PORTVERSION}_99:www/rubygem-rack-protection2 \ + rubygem-tilt>=2.0<3:devel/rubygem-tilt + +USES= cpe gem +USE_RUBY= yes + +NO_ARCH= yes + +CPE_VENDOR= sinatrarb + +PORTSCOUT= limit:^2\. + +.include diff --git a/www/rubygem-sinatra2/distinfo b/www/rubygem-sinatra2/distinfo new file mode 100644 index 000000000000..ccff7dad8982 --- /dev/null +++ b/www/rubygem-sinatra2/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1659161337 +SHA256 (rubygem/sinatra-2.2.2.gem) = 7f335aa51fbe8e70452606e1c1c42b65bee3f58fa865154d3ab80cdfcab97255 +SIZE (rubygem/sinatra-2.2.2.gem) = 383488 diff --git a/www/rubygem-sinatra2/files/patch-gemspec b/www/rubygem-sinatra2/files/patch-gemspec new file mode 100644 index 000000000000..7fc6531b17a1 --- /dev/null +++ b/www/rubygem-sinatra2/files/patch-gemspec @@ -0,0 +1,11 @@ +--- sinatra.gemspec.orig 2022-09-11 06:39:09 UTC ++++ sinatra.gemspec +@@ -29,7 +29,7 @@ Gem::Specification.new do |s| + s.add_runtime_dependency(%q.freeze, ["~> 2.2"]) + s.add_runtime_dependency(%q.freeze, ["~> 2.0"]) + s.add_runtime_dependency(%q.freeze, ["= 2.2.2"]) +- s.add_runtime_dependency(%q.freeze, ["~> 2.0"]) ++ s.add_runtime_dependency(%q.freeze, [">= 2.0"]) + else + s.add_dependency(%q.freeze, ["~> 2.2"]) + s.add_dependency(%q.freeze, ["~> 2.0"]) diff --git a/www/rubygem-sinatra2/pkg-descr b/www/rubygem-sinatra2/pkg-descr new file mode 100644 index 000000000000..8fae27543e0a --- /dev/null +++ b/www/rubygem-sinatra2/pkg-descr @@ -0,0 +1,4 @@ +Sinatra is a DSL for quickly creating web-applications in Ruby +with minimal effort. It sits on top of Rack, a minimal standard +interface for Ruby web frameworks. For templating, the choices +include erb, haml, sass and Builder. diff --git a/www/rubygem-sinatra2/pkg-message b/www/rubygem-sinatra2/pkg-message new file mode 100644 index 000000000000..12315e90d3e8 --- /dev/null +++ b/www/rubygem-sinatra2/pkg-message @@ -0,0 +1,14 @@ +[ +{ type: install + message: <