aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/Makefile1
-rw-r--r--www/p5-Plack-Middleware-DBIx-DisconnectAll/Makefile26
-rw-r--r--www/p5-Plack-Middleware-DBIx-DisconnectAll/distinfo3
-rw-r--r--www/p5-Plack-Middleware-DBIx-DisconnectAll/pkg-descr6
-rw-r--r--www/p5-Plack-Middleware-DBIx-DisconnectAll/pkg-plist2
5 files changed, 38 insertions, 0 deletions
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@FreeBSD.org>
+
+PORTNAME= Plack-Middleware-DBIx-DisconnectAll
+PORTVERSION= 0.02
+CATEGORIES= www perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet@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