git: 7411fb870d8a - main - www/p5-Plack-Middleware-DBIx-DisconnectAll: Add p5-Plack-Middleware-DBIx-DisconnectAll 0.02

Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun Jul 18 17:56:09 UTC 2021


The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7411fb870d8a68f6175c28a3b755807d4163b94d

commit 7411fb870d8a68f6175c28a3b755807d4163b94d
Author:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-07-18 17:46:47 +0000
Commit:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-07-18 17:46:47 +0000

    www/p5-Plack-Middleware-DBIx-DisconnectAll: Add p5-Plack-Middleware-DBIx-DisconnectAll 0.02
    
    Plack::Middleware::DBIx::DisconnectAll calls DBIx::DisconnectAll at end of
    request and disconnects all database connections.
    
    This modules is useful for freeing resources.
    
    WWW: https://metacpan.org/dist/Plack-Middleware-DBIx-DisconnectAll
---
 www/Makefile                                       |  1 +
 .../Makefile                                       | 26 ++++++++++++++++++++++
 .../distinfo                                       |  3 +++
 .../pkg-descr                                      |  6 +++++
 .../pkg-plist                                      |  2 ++
 5 files changed, 38 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index 1f39f29029c4..ea89d832dd6c 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1059,6 +1059,7 @@
     SUBDIR += p5-Plack-Middleware-AutoRefresh
     SUBDIR += p5-Plack-Middleware-ConsoleLogger
     SUBDIR += p5-Plack-Middleware-CrossOrigin
+    SUBDIR += p5-Plack-Middleware-DBIx-DisconnectAll
     SUBDIR += p5-Plack-Middleware-Debug
     SUBDIR += p5-Plack-Middleware-Deflater
     SUBDIR += p5-Plack-Middleware-Expires
diff --git a/www/p5-Plack-Middleware-DBIx-DisconnectAll/Makefile b/www/p5-Plack-Middleware-DBIx-DisconnectAll/Makefile
new file mode 100644
index 000000000000..17994c9f14d9
--- /dev/null
+++ b/www/p5-Plack-Middleware-DBIx-DisconnectAll/Makefile
@@ -0,0 +1,26 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+
+PORTNAME=	Plack-Middleware-DBIx-DisconnectAll
+PORTVERSION=	0.02
+CATEGORIES=	www perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	sunpoet at FreeBSD.org
+COMMENT=	Disconnect all database connection at end of request
+
+LICENSE=	ART10 GPLv1+
+LICENSE_COMB=	dual
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${RUN_DEPENDS}
+RUN_DEPENDS=	p5-DBIx-DisconnectAll>=0.03:databases/p5-DBIx-DisconnectAll \
+		p5-Plack>=0.9949:www/p5-Plack
+TEST_DEPENDS=	p5-Test-Requires>=0:devel/p5-Test-Requires
+
+USES=		perl5
+USE_PERL5=	modbuild
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/www/p5-Plack-Middleware-DBIx-DisconnectAll/distinfo b/www/p5-Plack-Middleware-DBIx-DisconnectAll/distinfo
new file mode 100644
index 000000000000..d77ecee6bd1f
--- /dev/null
+++ b/www/p5-Plack-Middleware-DBIx-DisconnectAll/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1626542056
+SHA256 (Plack-Middleware-DBIx-DisconnectAll-0.02.tar.gz) = 90c776e216716a8e1cb924544f1d460a60563ffb453fc90bd9ad40aa89b659ca
+SIZE (Plack-Middleware-DBIx-DisconnectAll-0.02.tar.gz) = 9785
diff --git a/www/p5-Plack-Middleware-DBIx-DisconnectAll/pkg-descr b/www/p5-Plack-Middleware-DBIx-DisconnectAll/pkg-descr
new file mode 100644
index 000000000000..f8c756b6c042
--- /dev/null
+++ b/www/p5-Plack-Middleware-DBIx-DisconnectAll/pkg-descr
@@ -0,0 +1,6 @@
+Plack::Middleware::DBIx::DisconnectAll calls DBIx::DisconnectAll at end of
+request and disconnects all database connections.
+
+This modules is useful for freeing resources.
+
+WWW: https://metacpan.org/dist/Plack-Middleware-DBIx-DisconnectAll
diff --git a/www/p5-Plack-Middleware-DBIx-DisconnectAll/pkg-plist b/www/p5-Plack-Middleware-DBIx-DisconnectAll/pkg-plist
new file mode 100644
index 000000000000..ae8b0b893c1e
--- /dev/null
+++ b/www/p5-Plack-Middleware-DBIx-DisconnectAll/pkg-plist
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/Plack/Middleware/DBIx/DisconnectAll.pm
+%%PERL5_MAN3%%/Plack::Middleware::DBIx::DisconnectAll.3.gz


More information about the dev-commits-ports-main mailing list