aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-01-02 16:28:30 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-01-02 16:28:30 +0000
commiteb2f714c43ee1cf7c6070ca11511ccae6ec44604 (patch)
treeb30b820a0bac27d1a02f02b0b1d3ddf0f3502dfb
parent012da6b2b74866b85b8365a65c55dd3377b044fe (diff)
www/rubygem-kamal: Add rubygem-kamal 2.4.0
From bare metal to cloud VMs, deploy web apps anywhere with zero downtime. Kamal uses kamal-proxy to seamlessly switch requests between containers. Works seamlessly across multiple servers, using SSHKit to execute commands. Originally built for Rails apps, Kamal will work with any type of web app that can be containerized with Docker.
-rw-r--r--www/Makefile1
-rw-r--r--www/rubygem-kamal/Makefile31
-rw-r--r--www/rubygem-kamal/distinfo3
-rw-r--r--www/rubygem-kamal/pkg-descr5
4 files changed, 40 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index b1d26d8e8ba1..6a5c65ecabbc 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -2150,6 +2150,7 @@
SUBDIR += rubygem-jsonb_accessor
SUBDIR += rubygem-jwt
SUBDIR += rubygem-jwt29
+ SUBDIR += rubygem-kamal
SUBDIR += rubygem-kaminari
SUBDIR += rubygem-kaminari-actionview
SUBDIR += rubygem-kaminari-actionview-rails5
diff --git a/www/rubygem-kamal/Makefile b/www/rubygem-kamal/Makefile
new file mode 100644
index 000000000000..8be64c910e7b
--- /dev/null
+++ b/www/rubygem-kamal/Makefile
@@ -0,0 +1,31 @@
+PORTNAME= kamal
+PORTVERSION= 2.4.0
+CATEGORIES= www rubygems
+MASTER_SITES= RG
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Deploy web apps in containers to servers running Docker with zero downtime
+WWW= https://kamal-deploy.org/ \
+ https://github.com/basecamp/kamal
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/MIT-LICENSE
+
+RUN_DEPENDS= rubygem-activesupport80>=7.0:devel/rubygem-activesupport80 \
+ rubygem-base64>=0.2<1:converters/rubygem-base64 \
+ rubygem-bcrypt_pbkdf>=1.0<2:security/rubygem-bcrypt_pbkdf \
+ rubygem-concurrent-ruby>=1.2<2:devel/rubygem-concurrent-ruby \
+ rubygem-dotenv>=3.1<4:misc/rubygem-dotenv \
+ rubygem-ed25519>=1.2<2:security/rubygem-ed25519 \
+ rubygem-net-ssh>=7.3,2<8,2:security/rubygem-net-ssh \
+ rubygem-sshkit>=1.23.0<2.0:security/rubygem-sshkit \
+ rubygem-thor>=1.3<2:devel/rubygem-thor \
+ rubygem-zeitwerk>=2.6.18<3.0:devel/rubygem-zeitwerk
+
+USES= gem
+
+NO_ARCH= yes
+
+PLIST_FILES= bin/kamal
+
+.include <bsd.port.mk>
diff --git a/www/rubygem-kamal/distinfo b/www/rubygem-kamal/distinfo
new file mode 100644
index 000000000000..48d9c089a152
--- /dev/null
+++ b/www/rubygem-kamal/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1735802494
+SHA256 (rubygem/kamal-2.4.0.gem) = 5f62f1858cc15c1506e55b60b075c89a1e7ef9c6bb0a7e3c01b54af190f85181
+SIZE (rubygem/kamal-2.4.0.gem) = 60416
diff --git a/www/rubygem-kamal/pkg-descr b/www/rubygem-kamal/pkg-descr
new file mode 100644
index 000000000000..c039b6ed9157
--- /dev/null
+++ b/www/rubygem-kamal/pkg-descr
@@ -0,0 +1,5 @@
+From bare metal to cloud VMs, deploy web apps anywhere with zero downtime. Kamal
+uses kamal-proxy to seamlessly switch requests between containers. Works
+seamlessly across multiple servers, using SSHKit to execute commands. Originally
+built for Rails apps, Kamal will work with any type of web app that can be
+containerized with Docker.