aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-01-02 16:28:20 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-01-02 16:28:20 +0000
commit76f485c2f282343e83b682916095ff2eaf0a80a7 (patch)
tree33866717b38a8973c9bde2414fa7019e73bf0208
parentf7787102e5b097baea2dff12d9ba0d7a7516e548 (diff)
www/rubygem-actionpack80: Add rubygem-actionpack80 8.0.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.
-rw-r--r--www/Makefile1
-rw-r--r--www/rubygem-actionpack80/Makefile31
-rw-r--r--www/rubygem-actionpack80/distinfo3
-rw-r--r--www/rubygem-actionpack80/pkg-descr19
4 files changed, 54 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 0ad2e4090f9d..56122abe9983 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1979,6 +1979,7 @@
SUBDIR += rubygem-actionpack70
SUBDIR += rubygem-actionpack71
SUBDIR += rubygem-actionpack72
+ SUBDIR += rubygem-actionpack80
SUBDIR += rubygem-activeresource
SUBDIR += rubygem-activeresource4
SUBDIR += rubygem-acts-as-taggable-on
diff --git a/www/rubygem-actionpack80/Makefile b/www/rubygem-actionpack80/Makefile
new file mode 100644
index 000000000000..acc89ec314f5
--- /dev/null
+++ b/www/rubygem-actionpack80/Makefile
@@ -0,0 +1,31 @@
+PORTNAME= actionpack
+PORTVERSION= 8.0.1
+CATEGORIES= www rubygems
+MASTER_SITES= RG
+PKGNAMESUFFIX= 80
+
+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-actionview80>=${PORTVERSION}<${PORTVERSION}_99:devel/rubygem-actionview80 \
+ rubygem-activesupport80>=${PORTVERSION}<${PORTVERSION}_99:devel/rubygem-activesupport80 \
+ rubygem-nokogiri>=1.8.5:textproc/rubygem-nokogiri \
+ 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-rails80>=2.2<3:textproc/rubygem-rails-dom-testing-rails80 \
+ 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:^8\.0\.
+
+.include <bsd.port.mk>
diff --git a/www/rubygem-actionpack80/distinfo b/www/rubygem-actionpack80/distinfo
new file mode 100644
index 000000000000..56dfbab2803f
--- /dev/null
+++ b/www/rubygem-actionpack80/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1735802488
+SHA256 (rubygem/actionpack-8.0.1.gem) = c764e4bfc0ad9d3505c09ef9b6fbf9eca4292793550c6b7e2ea93167181bfcba
+SIZE (rubygem/actionpack-8.0.1.gem) = 248320
diff --git a/www/rubygem-actionpack80/pkg-descr b/www/rubygem-actionpack80/pkg-descr
new file mode 100644
index 000000000000..2f8df748c74a
--- /dev/null
+++ b/www/rubygem-actionpack80/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.