git: 8d64251a115a - main - www/rubygem-actionpack72: Add rubygem-actionpack72 7.2.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 18 Sep 2024 06:18:33 UTC
The branch main has been updated by sunpoet:

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

commit 8d64251a115af4f41aeebf2cfed40f05f549e56d
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-18 05:51:19 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-18 06:13:02 +0000

    www/rubygem-actionpack72: Add rubygem-actionpack72 7.2.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-actionpack72/Makefile  | 32 ++++++++++++++++++++++++++++++++
 www/rubygem-actionpack72/distinfo  |  3 +++
 www/rubygem-actionpack72/pkg-descr | 19 +++++++++++++++++++
 4 files changed, 55 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index fad9feab3885..f8573d093a11 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1942,6 +1942,7 @@
     SUBDIR += rubygem-actionpack61
     SUBDIR += rubygem-actionpack70
     SUBDIR += rubygem-actionpack71
+    SUBDIR += rubygem-actionpack72
     SUBDIR += rubygem-activeresource
     SUBDIR += rubygem-activeresource4
     SUBDIR += rubygem-acts-as-taggable-on
diff --git a/www/rubygem-actionpack72/Makefile b/www/rubygem-actionpack72/Makefile
new file mode 100644
index 000000000000..141d09da12b8
--- /dev/null
+++ b/www/rubygem-actionpack72/Makefile
@@ -0,0 +1,32 @@
+PORTNAME=	actionpack
+PORTVERSION=	7.2.1
+CATEGORIES=	www rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	72
+
+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-actionview72>=${PORTVERSION}<${PORTVERSION}_99:devel/rubygem-actionview72 \
+		rubygem-activesupport72>=${PORTVERSION}<${PORTVERSION}_99:devel/rubygem-activesupport72 \
+		rubygem-nokogiri>=1.8.5:textproc/rubygem-nokogiri \
+		rubygem-racc>=0:devel/rubygem-racc \
+		rubygem-rack>=2.2.4,3<3.2,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-rails72>=2.2<3:textproc/rubygem-rails-dom-testing-rails72 \
+		rubygem-rails-html-sanitizer>=1.6<2:textproc/rubygem-rails-html-sanitizer \
+		rubygem-useragent>=0.16<1:devel/rubygem-useragent
+
+USES=		gem
+
+NO_ARCH=	yes
+
+PORTSCOUT=	limit:^7\.2\.
+
+.include <bsd.port.mk>
diff --git a/www/rubygem-actionpack72/distinfo b/www/rubygem-actionpack72/distinfo
new file mode 100644
index 000000000000..3b58fc8c769e
--- /dev/null
+++ b/www/rubygem-actionpack72/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1726487300
+SHA256 (rubygem/actionpack-7.2.1.gem) = 260b80acc720123f23eb2b106b04d2de7d8cf0492d4eeb2dfa7afc8be36dcaad
+SIZE (rubygem/actionpack-7.2.1.gem) = 242688
diff --git a/www/rubygem-actionpack72/pkg-descr b/www/rubygem-actionpack72/pkg-descr
new file mode 100644
index 000000000000..2f8df748c74a
--- /dev/null
+++ b/www/rubygem-actionpack72/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.