From owner-dev-commits-ports-all@freebsd.org Sun Jul 18 17:56:03 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CFBA166E6AD; Sun, 18 Jul 2021 17:56:03 +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 4GSXhg5ZNkz3lSh; Sun, 18 Jul 2021 17:56:03 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 A262227EDC; Sun, 18 Jul 2021 17:56:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 16IHu3kg036316; Sun, 18 Jul 2021 17:56:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 16IHu3TO036315; Sun, 18 Jul 2021 17:56:03 GMT (envelope-from git) Date: Sun, 18 Jul 2021 17:56:03 GMT Message-Id: <202107181756.16IHu3TO036315@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 4f636753cc3e - main - databases/p5-DBIx-DisconnectAll: Add p5-DBIx-DisconnectAll 0.03 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4f636753cc3ed36059d5b658f37403df607ef3d9 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jul 2021 17:56:03 -0000 The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=4f636753cc3ed36059d5b658f37403df607ef3d9 commit 4f636753cc3ed36059d5b658f37403df607ef3d9 Author: Po-Chuan Hsieh AuthorDate: 2021-07-18 17:46:40 +0000 Commit: Po-Chuan Hsieh CommitDate: 2021-07-18 17:46:40 +0000 databases/p5-DBIx-DisconnectAll: Add p5-DBIx-DisconnectAll 0.03 DBIx::DisconnectAll is utility module to disconnect all connected databases. DBI has DBI->disconnect_all methods, but some DBD modules does not support it, so DBI->disconnect_all is undocumented yet and unusable. DBIx::DisconnectAll realizes disconnect_all from DBI's public API. WWW: https://metacpan.org/dist/DBIx-DisconnectAll --- databases/Makefile | 1 + databases/p5-DBIx-DisconnectAll/Makefile | 26 ++++++++++++++++++++++++++ databases/p5-DBIx-DisconnectAll/distinfo | 3 +++ databases/p5-DBIx-DisconnectAll/pkg-descr | 8 ++++++++ databases/p5-DBIx-DisconnectAll/pkg-plist | 2 ++ 5 files changed, 40 insertions(+) diff --git a/databases/Makefile b/databases/Makefile index 5e92ce81ccaf..3c6719681136 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -384,6 +384,7 @@ SUBDIR += p5-DBIx-DBHResolver SUBDIR += p5-DBIx-DBSchema SUBDIR += p5-DBIx-DataSource + SUBDIR += p5-DBIx-DisconnectAll SUBDIR += p5-DBIx-Dump SUBDIR += p5-DBIx-HA SUBDIR += p5-DBIx-Handler diff --git a/databases/p5-DBIx-DisconnectAll/Makefile b/databases/p5-DBIx-DisconnectAll/Makefile new file mode 100644 index 000000000000..dd9e038b119f --- /dev/null +++ b/databases/p5-DBIx-DisconnectAll/Makefile @@ -0,0 +1,26 @@ +# Created by: Po-Chuan Hsieh + +PORTNAME= DBIx-DisconnectAll +PORTVERSION= 0.03 +CATEGORIES= databases perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Disconnect all databases + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= p5-DBD-SQLite>=1.33:databases/p5-DBD-SQLite \ + p5-DBI>=1.604:databases/p5-DBI +TEST_DEPENDS= p5-Test-Requires>=0:devel/p5-Test-Requires + +USES= perl5 +USE_PERL5= modbuild + +NO_ARCH= yes + +.include diff --git a/databases/p5-DBIx-DisconnectAll/distinfo b/databases/p5-DBIx-DisconnectAll/distinfo new file mode 100644 index 000000000000..977de346ece9 --- /dev/null +++ b/databases/p5-DBIx-DisconnectAll/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1626542048 +SHA256 (DBIx-DisconnectAll-0.03.tar.gz) = 3b942a7b96a891ab7425cb5aa57d68e1e61a29af7963df9c38acdfd37348e7c4 +SIZE (DBIx-DisconnectAll-0.03.tar.gz) = 11576 diff --git a/databases/p5-DBIx-DisconnectAll/pkg-descr b/databases/p5-DBIx-DisconnectAll/pkg-descr new file mode 100644 index 000000000000..02b4956e487e --- /dev/null +++ b/databases/p5-DBIx-DisconnectAll/pkg-descr @@ -0,0 +1,8 @@ +DBIx::DisconnectAll is utility module to disconnect all connected databases. + +DBI has DBI->disconnect_all methods, but some DBD modules does not support it, +so DBI->disconnect_all is undocumented yet and unusable. + +DBIx::DisconnectAll realizes disconnect_all from DBI's public API. + +WWW: https://metacpan.org/dist/DBIx-DisconnectAll diff --git a/databases/p5-DBIx-DisconnectAll/pkg-plist b/databases/p5-DBIx-DisconnectAll/pkg-plist new file mode 100644 index 000000000000..19ed9faa67d2 --- /dev/null +++ b/databases/p5-DBIx-DisconnectAll/pkg-plist @@ -0,0 +1,2 @@ +%%SITE_PERL%%/DBIx/DisconnectAll.pm +%%PERL5_MAN3%%/DBIx::DisconnectAll.3.gz