git: 2091e4440a24 - main - www/p5-Mojolicious-Plugin-BasicAuthPlus: Add p5-Mojolicious-Plugin-BasicAuthPlus 0.11.3

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 14 Mar 2025 09:57:12 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2091e4440a2410cf518ee7b8e69c684168a933cb

commit 2091e4440a2410cf518ee7b8e69c684168a933cb
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-03-14 09:37:25 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-03-14 09:53:58 +0000

    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.
---
 www/Makefile                                      |  1 +
 www/p5-Mojolicious-Plugin-BasicAuthPlus/Makefile  | 26 +++++++++++++++++++++++
 www/p5-Mojolicious-Plugin-BasicAuthPlus/distinfo  |  3 +++
 www/p5-Mojolicious-Plugin-BasicAuthPlus/pkg-descr |  4 ++++
 www/p5-Mojolicious-Plugin-BasicAuthPlus/pkg-plist |  3 +++
 5 files changed, 37 insertions(+)

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