aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-03-14 09:37:25 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-03-14 09:53:58 +0000
commit2091e4440a2410cf518ee7b8e69c684168a933cb (patch)
tree69eded375b14f91abac46e05a2bb258f447381f9
parentd4a0579bb1e8cba8c1ef0ca6a107b3869266b509 (diff)
www/p5-Mojolicious-Plugin-BasicAuthPlus: Add p5-Mojolicious-Plugin-BasicAuthPlus 0.11.3
Mojolicious::Plugin::BasicAuthPlus is a helper for basic HTTP authentication that supports multiple authentication schemes, including a callback, explicit username and password (plaintext or encrypted) without a callback, a passwd file, LDAP, and Active Directory.
-rw-r--r--www/Makefile1
-rw-r--r--www/p5-Mojolicious-Plugin-BasicAuthPlus/Makefile26
-rw-r--r--www/p5-Mojolicious-Plugin-BasicAuthPlus/distinfo3
-rw-r--r--www/p5-Mojolicious-Plugin-BasicAuthPlus/pkg-descr4
-rw-r--r--www/p5-Mojolicious-Plugin-BasicAuthPlus/pkg-plist3
5 files changed, 37 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 263241e9e18d..dfe0231e90eb 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1049,6 +1049,7 @@
SUBDIR += p5-MojoX-Renderer-Xslate
SUBDIR += p5-Mojolicious
SUBDIR += p5-Mojolicious-Plugin-Authentication
+ SUBDIR += p5-Mojolicious-Plugin-BasicAuthPlus
SUBDIR += p5-Mojolicious-Plugin-Database
SUBDIR += p5-Mojolicious-Plugin-HamlRenderer
SUBDIR += p5-Mojolicious-Plugin-Mongodb
diff --git a/www/p5-Mojolicious-Plugin-BasicAuthPlus/Makefile b/www/p5-Mojolicious-Plugin-BasicAuthPlus/Makefile
new file mode 100644
index 000000000000..1befdece8e66
--- /dev/null
+++ b/www/p5-Mojolicious-Plugin-BasicAuthPlus/Makefile
@@ -0,0 +1,26 @@
+PORTNAME= Mojolicious-Plugin-BasicAuthPlus
+PORTVERSION= 0.11.3
+CATEGORIES= www perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Basic HTTP Auth Helper Plus
+WWW= https://metacpan.org/dist/Mojolicious-Plugin-BasicAuthPlus
+
+LICENSE= ART10 GPLv1+
+LICENSE_COMB= dual
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${RUN_DEPENDS}
+RUN_DEPENDS= p5-Authen-Simple>=0:security/p5-Authen-Simple \
+ p5-Authen-Simple-Passwd>=0:security/p5-Authen-Simple-Passwd \
+ p5-Mojolicious>=1.4:www/p5-Mojolicious \
+ p5-perl-ldap>=0:net/p5-perl-ldap
+
+USES= perl5
+USE_PERL5= configure
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/www/p5-Mojolicious-Plugin-BasicAuthPlus/distinfo b/www/p5-Mojolicious-Plugin-BasicAuthPlus/distinfo
new file mode 100644
index 000000000000..f973d9b2848b
--- /dev/null
+++ b/www/p5-Mojolicious-Plugin-BasicAuthPlus/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1740836002
+SHA256 (Mojolicious-Plugin-BasicAuthPlus-0.11.3.tar.gz) = 3dfef7c6fe10fa12e08424852270e71d833a9e03be8544ccad93197169b71166
+SIZE (Mojolicious-Plugin-BasicAuthPlus-0.11.3.tar.gz) = 20351
diff --git a/www/p5-Mojolicious-Plugin-BasicAuthPlus/pkg-descr b/www/p5-Mojolicious-Plugin-BasicAuthPlus/pkg-descr
new file mode 100644
index 000000000000..f1d725778f15
--- /dev/null
+++ b/www/p5-Mojolicious-Plugin-BasicAuthPlus/pkg-descr
@@ -0,0 +1,4 @@
+Mojolicious::Plugin::BasicAuthPlus is a helper for basic HTTP authentication
+that supports multiple authentication schemes, including a callback, explicit
+username and password (plaintext or encrypted) without a callback, a passwd
+file, LDAP, and Active Directory.
diff --git a/www/p5-Mojolicious-Plugin-BasicAuthPlus/pkg-plist b/www/p5-Mojolicious-Plugin-BasicAuthPlus/pkg-plist
new file mode 100644
index 000000000000..853f0e64ba5b
--- /dev/null
+++ b/www/p5-Mojolicious-Plugin-BasicAuthPlus/pkg-plist
@@ -0,0 +1,3 @@
+bin/sample.pl
+%%SITE_PERL%%/Mojolicious/Plugin/BasicAuthPlus.pm
+%%PERL5_MAN3%%/Mojolicious::Plugin::BasicAuthPlus.3.gz