From eb2f714c43ee1cf7c6070ca11511ccae6ec44604 Mon Sep 17 00:00:00 2001 From: Po-Chuan Hsieh Date: Fri, 3 Jan 2025 00:28:30 +0800 Subject: [PATCH] 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. --- www/Makefile | 1 + www/rubygem-kamal/Makefile | 31 +++++++++++++++++++++++++++++++ www/rubygem-kamal/distinfo | 3 +++ www/rubygem-kamal/pkg-descr | 5 +++++ 4 files changed, 40 insertions(+) create mode 100644 www/rubygem-kamal/Makefile create mode 100644 www/rubygem-kamal/distinfo create mode 100644 www/rubygem-kamal/pkg-descr 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 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.