git: 8e3a57dd9630 - main - www/rubygem-actionpack71: Add rubygem-actionpack71 7.1.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 01 Nov 2023 07:59:20 UTC
The branch main has been updated by sunpoet:

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

commit 8e3a57dd963069308beb31b2b208f2b6173c99d6
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-11-01 07:56:20 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-11-01 07:56:20 +0000

    www/rubygem-actionpack71: Add rubygem-actionpack71 7.1.1
    
    Action Pack is a framework for handling and responding to web requests. It
    provides mechanisms for routing (mapping request URLs to actions), defining
    controllers that implement actions, and generating responses. In short, Action
    Pack provides the controller layer in the MVC paradigm.
    
    It consists of several modules:
    - Action Dispatch, which parses information about the web request, handles
      routing as defined by the user, and does advanced processing related to HTTP
      such as MIME-type negotiation, decoding parameters in POST, PATCH, or PUT
      bodies, handling HTTP caching logic, cookies and sessions.
    - Action Controller, which provides a base controller class that can be
      subclassed to implement filters and actions to handle requests. The result of
      an action is typically content generated from views.
    
    With the Ruby on Rails framework, users only directly interface with the Action
    Controller module. Necessary Action Dispatch functionality is activated by
    default and Action View rendering is implicitly triggered by Action Controller.
    However, these modules are designed to function on their own and can be used
    outside of Rails.
---
 www/Makefile                       |  1 +
 www/rubygem-actionpack71/Makefile  | 30 ++++++++++++++++++++++++++++++
 www/rubygem-actionpack71/distinfo  |  3 +++
 www/rubygem-actionpack71/pkg-descr | 19 +++++++++++++++++++
 4 files changed, 53 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index 18bc4d6ef317..70cb1fb62e4f 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1936,6 +1936,7 @@
     SUBDIR += rubygem-actionpack60
     SUBDIR += rubygem-actionpack61
     SUBDIR += rubygem-actionpack70
+    SUBDIR += rubygem-actionpack71
     SUBDIR += rubygem-activeresource
     SUBDIR += rubygem-activeresource4
     SUBDIR += rubygem-acts-as-taggable-on
diff --git a/www/rubygem-actionpack71/Makefile b/www/rubygem-actionpack71/Makefile
new file mode 100644
index 000000000000..0ab058e730e8
--- /dev/null
+++ b/www/rubygem-actionpack71/Makefile
@@ -0,0 +1,30 @@
+PORTNAME=	actionpack
+PORTVERSION=	7.1.1
+CATEGORIES=	www rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	71
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Action Controller and Action View of Rails MVC Framework
+WWW=		https://github.com/rails/rails/tree/main/actionpack \
+		https://rubyonrails.org/
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/MIT-LICENSE
+
+RUN_DEPENDS=	rubygem-actionview71>=${PORTVERSION}<${PORTVERSION}_99:devel/rubygem-actionview71 \
+		rubygem-activesupport71>=${PORTVERSION}<${PORTVERSION}_99:devel/rubygem-activesupport71 \
+		rubygem-nokogiri>=1.8.5:textproc/rubygem-nokogiri \
+		rubygem-rack>=2.2.4,3:www/rubygem-rack \
+		rubygem-rack-session>=1.0.1:www/rubygem-rack-session \
+		rubygem-rack-test>=0.6.3:www/rubygem-rack-test \
+		rubygem-rails-dom-testing-rails71>=2.2<3:textproc/rubygem-rails-dom-testing-rails71 \
+		rubygem-rails-html-sanitizer>=1.6<2:textproc/rubygem-rails-html-sanitizer
+
+USES=		gem
+
+NO_ARCH=	yes
+
+PORTSCOUT=	limit:^7\.1\.
+
+.include <bsd.port.mk>
diff --git a/www/rubygem-actionpack71/distinfo b/www/rubygem-actionpack71/distinfo
new file mode 100644
index 000000000000..7e8a8ad99468
--- /dev/null
+++ b/www/rubygem-actionpack71/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1697330188
+SHA256 (rubygem/actionpack-7.1.1.gem) = 2de4b4cc50becc3ca8746439214cc7fec221d1c8d2b1d889016d79070624592c
+SIZE (rubygem/actionpack-7.1.1.gem) = 244224
diff --git a/www/rubygem-actionpack71/pkg-descr b/www/rubygem-actionpack71/pkg-descr
new file mode 100644
index 000000000000..2f8df748c74a
--- /dev/null
+++ b/www/rubygem-actionpack71/pkg-descr
@@ -0,0 +1,19 @@
+Action Pack is a framework for handling and responding to web requests. It
+provides mechanisms for routing (mapping request URLs to actions), defining
+controllers that implement actions, and generating responses. In short, Action
+Pack provides the controller layer in the MVC paradigm.
+
+It consists of several modules:
+- Action Dispatch, which parses information about the web request, handles
+  routing as defined by the user, and does advanced processing related to HTTP
+  such as MIME-type negotiation, decoding parameters in POST, PATCH, or PUT
+  bodies, handling HTTP caching logic, cookies and sessions.
+- Action Controller, which provides a base controller class that can be
+  subclassed to implement filters and actions to handle requests. The result of
+  an action is typically content generated from views.
+
+With the Ruby on Rails framework, users only directly interface with the Action
+Controller module. Necessary Action Dispatch functionality is activated by
+default and Action View rendering is implicitly triggered by Action Controller.
+However, these modules are designed to function on their own and can be used
+outside of Rails.