From nobody Thu Apr 07 05:50:47 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 69FB71A99191; Thu, 7 Apr 2022 05:50:47 +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 4KYr8R2ZXdz4kTX; Thu, 7 Apr 2022 05:50:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649310647; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8yGJC6qj3+qlg1ut1DqjnD3B59GRZ2pnOc0fT04lmkU=; b=f9IO4J6htKtpd1eP2sFm30MS/kxEL4vXHp9URrlp98oRQCC2xoj3+TGs3hl83mZu6X1Jl0 Cg8yXstPYmRZOBHsixElipWE2AO5BlQyPSwYWqjH57G6Jy3tROt8AT1HGBBnL5G7dNc2R4 mP+jCPkNoc6vaCywKWXDlel46HcPFzmcx2ZcNVGLIM0iLs5aBcCRYpzUZWx2MgUVYjtcDt B44goJCsDUw/gZS1CCbFaUPuk2PTQ3Ty89qTDK+7oZEA97MgU6UEuD2BOMOA3UEl7VXIQP rvZsu83I3M0fM5rqDE78NX8wPGga7q5fuK11HX3KXeHo1IoaLYkJ9j7h3jzLyQ== 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 384961E9C; Thu, 7 Apr 2022 05:50:47 +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 2375ol48008670; Thu, 7 Apr 2022 05:50:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2375olKu008669; Thu, 7 Apr 2022 05:50:47 GMT (envelope-from git) Date: Thu, 7 Apr 2022 05:50:47 GMT Message-Id: <202204070550.2375olKu008669@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Wen Heping Subject: git: e3f56bae6e6b - main - www/p5-Dancer2-Plugin-FormValidator: Add new port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: wen X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e3f56bae6e6b560eb21396143298b59ed9ad2d97 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649310647; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8yGJC6qj3+qlg1ut1DqjnD3B59GRZ2pnOc0fT04lmkU=; b=fSEP3UFZspGc7N+UG1QMUqZtvKivn9WdgBT8zZPAh6/BhIut4SdjHP1KKOnsGfx5sNW5WY MuuGmJj6WIAWbEJBbHxk1e8Z7AcaXXaXotsoT+l3KbS2LkdkZFrgJiO0dXTp41xAzBQeZw hHznh8asCGFZXX07Bjp7afVIzy+3cJGM7fxmjMHGYr8QujriMlAgZb7CTF3Fzlzd6NEzVK bqiDP/9BRU7MXKfCDfKQLoGuf8lDzJ9EJlSUeVZbv+lXn4ANPNsMg+kA+BWJjhRudozUXE 2Ch7gJ2QbwfhZaJjvpMo3KqTnFHptSJXEtQnEjtbJPalbujyr+c0OIHwOTYiOA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649310647; a=rsa-sha256; cv=none; b=M0LKYE3pSFEWlEhJpl9H6jcdb5DfXoNlBZRLdzFoWHyvW6bhPewom1dT1rFfLDBKDYO/BO FUERHD+hPRbHSdc+jwGPA/rqDJeYJz1MLKn04vT1FZ6G70NQuCoZumOfXQjC0XUIx0hXju QPbUOwOR++a5mcWs7ESomsu2vgjYVjNNOPuWkM4sDIcV19X5HTbARB2fM5V+QUOnROIK33 1pa8ZDOvhTzcrJc16yakcU6jxXQAISkGG8lS1nlc4zVzCuyH9pXl3bLa7cum2ZdNxHO1So aOyYnXjozGqgqdLPgNGUs6ZP8dGWAzBj1Av69ia0F1Vq6GYeOL3FhHB9kd+O2A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by wen: URL: https://cgit.FreeBSD.org/ports/commit/?id=e3f56bae6e6b560eb21396143298b59ed9ad2d97 commit e3f56bae6e6b560eb21396143298b59ed9ad2d97 Author: Wen Heping AuthorDate: 2022-04-07 04:38:45 +0000 Commit: Wen Heping CommitDate: 2022-04-07 04:38:45 +0000 www/p5-Dancer2-Plugin-FormValidator: Add new port This is micro-framework that provides validation in your Dancer2 application. It consists of dsl's keywords and a set of agreements. It has a set of built-in validators that can be extended by compatible modules (extensions). Also proved runtime switching between languages, so you can show proper error messages to users. WWW: https://metacpan.org/pod/Dancer2::Plugin::FormValidator --- www/Makefile | 1 + www/p5-Dancer2-Plugin-FormValidator/Makefile | 29 +++++++++++++++++++++++++++ www/p5-Dancer2-Plugin-FormValidator/distinfo | 3 +++ www/p5-Dancer2-Plugin-FormValidator/pkg-descr | 7 +++++++ www/p5-Dancer2-Plugin-FormValidator/pkg-plist | 27 +++++++++++++++++++++++++ 5 files changed, 67 insertions(+) diff --git a/www/Makefile b/www/Makefile index 6f4d5cade00e..100f4c9af3c0 100644 --- a/www/Makefile +++ b/www/Makefile @@ -757,6 +757,7 @@ SUBDIR += p5-Dancer2 SUBDIR += p5-Dancer2-Plugin-Ajax SUBDIR += p5-Dancer2-Plugin-Deferred + SUBDIR += p5-Dancer2-Plugin-FormValidator SUBDIR += p5-Dancer2-Plugin-Interchange6 SUBDIR += p5-Dancer2-Plugin-Path-Class SUBDIR += p5-Data-TreeDumper-Renderer-DHTML diff --git a/www/p5-Dancer2-Plugin-FormValidator/Makefile b/www/p5-Dancer2-Plugin-FormValidator/Makefile new file mode 100644 index 000000000000..e25a29a3f2e3 --- /dev/null +++ b/www/p5-Dancer2-Plugin-FormValidator/Makefile @@ -0,0 +1,29 @@ +PORTNAME= Dancer2-Plugin-FormValidator +PORTVERSION= 0.50 +CATEGORIES= www perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= wen@FreeBSD.org +COMMENT= Neat and easy to start form validation plugin for Dancer2 + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= p5-Dancer2>=0.200000:www/p5-Dancer2 \ + p5-Dancer2-Plugin-Deferred>=0:www/p5-Dancer2-Plugin-Deferred \ + p5-Email-Valid>=0:mail/p5-Email-Valid \ + p5-Moo>=0:devel/p5-Moo \ + p5-namespace-clean>=0:devel/p5-namespace-clean \ + p5-utf8-all>=0:textproc/p5-utf8-all +TEST_DEPENDS= p5-Data-FormValidator>=0:textproc/p5-Data-FormValidator \ + p5-Test-Pod>=0:devel/p5-Test-Pod + +USES= perl5 +USE_PERL5= configure + +NO_ARCH= yes + +.include diff --git a/www/p5-Dancer2-Plugin-FormValidator/distinfo b/www/p5-Dancer2-Plugin-FormValidator/distinfo new file mode 100644 index 000000000000..ba707e53cc6a --- /dev/null +++ b/www/p5-Dancer2-Plugin-FormValidator/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1649254699 +SHA256 (Dancer2-Plugin-FormValidator-0.50.tar.gz) = 7e7f7979a3d473fd642ae4b9062ea298b568fb74df351d986d36a78bf101f7a3 +SIZE (Dancer2-Plugin-FormValidator-0.50.tar.gz) = 20447 diff --git a/www/p5-Dancer2-Plugin-FormValidator/pkg-descr b/www/p5-Dancer2-Plugin-FormValidator/pkg-descr new file mode 100644 index 000000000000..60e20215b371 --- /dev/null +++ b/www/p5-Dancer2-Plugin-FormValidator/pkg-descr @@ -0,0 +1,7 @@ +This is micro-framework that provides validation in your Dancer2 +application. It consists of dsl's keywords and a set of agreements. +It has a set of built-in validators that can be extended by +compatible modules (extensions). Also proved runtime switching +between languages, so you can show proper error messages to users. + +WWW: https://metacpan.org/pod/Dancer2::Plugin::FormValidator diff --git a/www/p5-Dancer2-Plugin-FormValidator/pkg-plist b/www/p5-Dancer2-Plugin-FormValidator/pkg-plist new file mode 100644 index 000000000000..87992a3badb2 --- /dev/null +++ b/www/p5-Dancer2-Plugin-FormValidator/pkg-plist @@ -0,0 +1,27 @@ +%%SITE_PERL%%/Dancer2/Plugin/FormValidator.pm +%%SITE_PERL%%/Dancer2/Plugin/FormValidator/Config.pm +%%SITE_PERL%%/Dancer2/Plugin/FormValidator/Processor.pm +%%SITE_PERL%%/Dancer2/Plugin/FormValidator/Registry.pm +%%SITE_PERL%%/Dancer2/Plugin/FormValidator/Result.pm +%%SITE_PERL%%/Dancer2/Plugin/FormValidator/Role/Extension.pm +%%SITE_PERL%%/Dancer2/Plugin/FormValidator/Role/HasMessages.pm +%%SITE_PERL%%/Dancer2/Plugin/FormValidator/Role/Profile.pm +%%SITE_PERL%%/Dancer2/Plugin/FormValidator/Role/ProfileHasMessages.pm +%%SITE_PERL%%/Dancer2/Plugin/FormValidator/Role/Validator.pm +%%SITE_PERL%%/Dancer2/Plugin/FormValidator/Validator/Accepted.pm +%%SITE_PERL%%/Dancer2/Plugin/FormValidator/Validator/Alpha.pm +%%SITE_PERL%%/Dancer2/Plugin/FormValidator/Validator/AlphaAscii.pm +%%SITE_PERL%%/Dancer2/Plugin/FormValidator/Validator/AlphaNum.pm +%%SITE_PERL%%/Dancer2/Plugin/FormValidator/Validator/AlphaNumAscii.pm +%%SITE_PERL%%/Dancer2/Plugin/FormValidator/Validator/Email.pm +%%SITE_PERL%%/Dancer2/Plugin/FormValidator/Validator/EmailDns.pm +%%SITE_PERL%%/Dancer2/Plugin/FormValidator/Validator/Enum.pm +%%SITE_PERL%%/Dancer2/Plugin/FormValidator/Validator/Integer.pm +%%SITE_PERL%%/Dancer2/Plugin/FormValidator/Validator/LengthMax.pm +%%SITE_PERL%%/Dancer2/Plugin/FormValidator/Validator/LengthMin.pm +%%SITE_PERL%%/Dancer2/Plugin/FormValidator/Validator/Max.pm +%%SITE_PERL%%/Dancer2/Plugin/FormValidator/Validator/Min.pm +%%SITE_PERL%%/Dancer2/Plugin/FormValidator/Validator/Numeric.pm +%%SITE_PERL%%/Dancer2/Plugin/FormValidator/Validator/Required.pm +%%SITE_PERL%%/Dancer2/Plugin/FormValidator/Validator/Same.pm +%%PERL5_MAN3%%/Dancer2::Plugin::FormValidator.3.gz