From nobody Thu Mar 14 07:01:06 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TwJFG3PHzz5FLBB; Thu, 14 Mar 2024 07:01:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TwJFG2t28z4tqM; Thu, 14 Mar 2024 07:01:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1710399666; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4kW3g1oYDz7DIoHyO4oNPDdYfgCgYpGQrrCoQeLRXEQ=; b=xr3WRVx+nlfdGVW/DHRFCFJioEyz7KQu/kCbWwjE08sVFdv/uqXoqP+QZpz3CCOJEp1T9p y9E7WuDOhOIyn9y/vR7cVdo70HDnNja8sWE5LNUXRtHa6m2GfYsJqrF/cCTPehlLxbV3Ug TXWj/eeSlJm6LOG+oPJ7tSPk3cN7rzZJu3WRGZZIDATOo4rdlPaXbYCnCW69KGye4tSrBo iUcGoDc2egAxu3rRmk9UJYPsbszyM9fI7PIl7C/Kyezc7uSaIg92cxZ+DQbkDddDacJCLc 11St8eqrMBjlZWrl2eYRDrN4D1dz24XTutzpHeCFsJ9PotkJBG+nrAs/tprWUw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1710399666; a=rsa-sha256; cv=none; b=HMUQP4FiDzCMZcSCNiLmooGZaWTkYuGsPJoATZrHs940hpuUoJWGRkC7XdwSa+W4mUcoLh PsgzwGDkmN+TwoaCpNpZpOvvZ4nGY4bpTP9CbeBU84T1PARYYxSQll7/d0Gl98EYjCPm1/ ebjh4Fi0deWJlFVCHDmbMfLvz/vkluIXGUsCzZRRLicsJ9Xqa47q5LWVewIEp6KkWCP5x5 NH1Y1saupM7kRrQKaLhjkVj9EAqK95SjDJnMJxSm0PzKD7+MOSqr2eDv0pYKMRtXdA9GoO KoSV/Y7MSjuZDUcw9DrL20mvCX4ouR0FmUmIsHRnCGeXfa5kKGICGllH1Fm3Pw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1710399666; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4kW3g1oYDz7DIoHyO4oNPDdYfgCgYpGQrrCoQeLRXEQ=; b=UZH4Anc5FJjc8VzlYhMNOezjzMDg9FdtERYS2ZpAjZ1Vsm8DjztXj0FJ8UQhAi5/wygEvx Oi6MYy9A+7ecF499pFeEiCgXnXPQovnK/QfQDST5hUKBT4MpYUXaqz4fvRsYxT6nNPSsvC F+csl02ASk3tFNyfhqakH5MmN+EZxu4pJnfOkYJk0ASP2POLz3PAAqL7KdLEDQYopNAKnM uDHrYAcJoBFC8HByPp39XyM+s9XRM+Oy5ilVXmZROQbHklAyHLHkGk3/84VsXbcwJqANpA odM48/h/Lhh6SzwsDnkJ8GBcz+x5x7PBeeNWqpPfcRiRiwrMG2pLEmHvt6tNIQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TwJFG2TQhzHSG; Thu, 14 Mar 2024 07:01:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 42E716nr069092; Thu, 14 Mar 2024 07:01:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 42E716Tu069089; Thu, 14 Mar 2024 07:01:06 GMT (envelope-from git) Date: Thu, 14 Mar 2024 07:01:06 GMT Message-Id: <202403140701.42E716Tu069089@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Xin LI Subject: git: 4fed5c0681ae - main - devel/rubygem-with_advisory_lock: Add new port. List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: delphij X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4fed5c0681aea1cd4c15c0a01b64e37749c50b6b Auto-Submitted: auto-generated The branch main has been updated by delphij: URL: https://cgit.FreeBSD.org/ports/commit/?id=4fed5c0681aea1cd4c15c0a01b64e37749c50b6b commit 4fed5c0681aea1cd4c15c0a01b64e37749c50b6b Author: Xin LI AuthorDate: 2024-03-14 06:59:43 +0000 Commit: Xin LI CommitDate: 2024-03-14 07:00:46 +0000 devel/rubygem-with_advisory_lock: Add new port. with_advisory_lock adds advisory locking (mutexes) to ActiveRecord 6.0+, with ruby 2.7+, jruby or truffleruby, when used with MySQL or PostgreSQL. --- devel/Makefile | 1 + devel/rubygem-with_advisory_lock/Makefile | 20 ++++++++++++++++++++ devel/rubygem-with_advisory_lock/distinfo | 3 +++ devel/rubygem-with_advisory_lock/pkg-descr | 2 ++ 4 files changed, 26 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 877d787e61f3..92708e150d09 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -7650,6 +7650,7 @@ SUBDIR += rubygem-will_paginate SUBDIR += rubygem-windows_error SUBDIR += rubygem-wisper + SUBDIR += rubygem-with_advisory_lock SUBDIR += rubygem-with_env SUBDIR += rubygem-wmi-lite SUBDIR += rubygem-xdg diff --git a/devel/rubygem-with_advisory_lock/Makefile b/devel/rubygem-with_advisory_lock/Makefile new file mode 100644 index 000000000000..517a38d1c55f --- /dev/null +++ b/devel/rubygem-with_advisory_lock/Makefile @@ -0,0 +1,20 @@ +PORTNAME= with_advisory_lock +PORTVERSION= 5.1.0 +CATEGORIES= devel rubygems +MASTER_SITES= RG + +MAINTAINER= ruby@FreeBSD.org +COMMENT= Advisory locking for ActiveRecord +WWW= https://github.com/ClosureTree/with_advisory_lock + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +RUN_DEPENDS= rubygem-activerecord61>=6.1.5:databases/rubygem-activerecord61 \ + rubygem-zeitwerk>=2.6<3:devel/rubygem-zeitwerk + +USES= gem + +NO_ARCH= yes + +.include diff --git a/devel/rubygem-with_advisory_lock/distinfo b/devel/rubygem-with_advisory_lock/distinfo new file mode 100644 index 000000000000..ba6a87a85946 --- /dev/null +++ b/devel/rubygem-with_advisory_lock/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1710398477 +SHA256 (rubygem/with_advisory_lock-5.1.0.gem) = 0692cd82013b271c59aa5e1f603b741ab94926dbce098990fbace5dd5412fed7 +SIZE (rubygem/with_advisory_lock-5.1.0.gem) = 18944 diff --git a/devel/rubygem-with_advisory_lock/pkg-descr b/devel/rubygem-with_advisory_lock/pkg-descr new file mode 100644 index 000000000000..11b0d6049a9d --- /dev/null +++ b/devel/rubygem-with_advisory_lock/pkg-descr @@ -0,0 +1,2 @@ +with_advisory_lock adds advisory locking (mutexes) to ActiveRecord 6.0+, +with ruby 2.7+, jruby or truffleruby, when used with MySQL or PostgreSQL.