git: 2397e69ae646 - main - textproc/p5-XML-Sig: Add p5-XML-Sig 0.58

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 27 Aug 2022 10:30:37 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2397e69ae646f33b7bafd51014db0fae17cf9e2f

commit 2397e69ae646f33b7bafd51014db0fae17cf9e2f
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-08-27 10:10:23 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-08-27 10:10:23 +0000

    textproc/p5-XML-Sig: Add p5-XML-Sig 0.58
    
    XML::Sig provides two primary capabilities: given an XML string, create and
    insert digital signatures, or if one is already present in the string verify it
    -- all in accordance with the W3C standard governing XML signatures.
    
    WWW: https://metacpan.org/dist/XML-Sig
---
 textproc/Makefile             |  1 +
 textproc/p5-XML-Sig/Makefile  | 32 ++++++++++++++++++++++++++++++++
 textproc/p5-XML-Sig/distinfo  |  3 +++
 textproc/p5-XML-Sig/pkg-descr |  5 +++++
 textproc/p5-XML-Sig/pkg-plist |  2 ++
 5 files changed, 43 insertions(+)

diff --git a/textproc/Makefile b/textproc/Makefile
index 981537fbaf68..b94469e3d373 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1132,6 +1132,7 @@
     SUBDIR += p5-XML-STX
     SUBDIR += p5-XML-Schematron
     SUBDIR += p5-XML-SemanticDiff
+    SUBDIR += p5-XML-Sig
     SUBDIR += p5-XML-Simple
     SUBDIR += p5-XML-SimpleObject
     SUBDIR += p5-XML-SimpleObject-LibXML
diff --git a/textproc/p5-XML-Sig/Makefile b/textproc/p5-XML-Sig/Makefile
new file mode 100644
index 000000000000..c48941f2f9ee
--- /dev/null
+++ b/textproc/p5-XML-Sig/Makefile
@@ -0,0 +1,32 @@
+PORTNAME=	XML-Sig
+PORTVERSION=	0.58
+CATEGORIES=	textproc perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Toolkit to help sign and verify XML Digital Signatures
+
+LICENSE=	ART10 GPLv1+
+LICENSE_COMB=	dual
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${RUN_DEPENDS}
+RUN_DEPENDS=	p5-Class-Accessor>=0:devel/p5-Class-Accessor \
+		p5-Crypt-OpenSSL-Bignum>=0:security/p5-Crypt-OpenSSL-Bignum \
+		p5-Crypt-OpenSSL-DSA>=0.20:security/p5-Crypt-OpenSSL-DSA \
+		p5-Crypt-OpenSSL-RSA>=0:security/p5-Crypt-OpenSSL-RSA \
+		p5-Crypt-OpenSSL-X509>=0:security/p5-Crypt-OpenSSL-X509 \
+		p5-CryptX>=0.036:security/p5-CryptX \
+		p5-URI>=0:net/p5-URI \
+		p5-XML-LibXML>=0:textproc/p5-XML-LibXML
+TEST_DEPENDS=	p5-Crypt-OpenSSL-Guess>=0:security/p5-Crypt-OpenSSL-Guess \
+		p5-File-Which>=0:sysutils/p5-File-Which \
+		p5-Test-Exception>=0:devel/p5-Test-Exception
+
+USES=		perl5
+USE_PERL5=	configure
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-XML-Sig/distinfo b/textproc/p5-XML-Sig/distinfo
new file mode 100644
index 000000000000..4175c01c78dd
--- /dev/null
+++ b/textproc/p5-XML-Sig/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1660576678
+SHA256 (XML-Sig-0.58.tar.gz) = fcda81ca8321aaceaa21ff48963619878ac9802bdcd4516d212cb22debe96a37
+SIZE (XML-Sig-0.58.tar.gz) = 87751
diff --git a/textproc/p5-XML-Sig/pkg-descr b/textproc/p5-XML-Sig/pkg-descr
new file mode 100644
index 000000000000..599f89a13962
--- /dev/null
+++ b/textproc/p5-XML-Sig/pkg-descr
@@ -0,0 +1,5 @@
+XML::Sig provides two primary capabilities: given an XML string, create and
+insert digital signatures, or if one is already present in the string verify it
+-- all in accordance with the W3C standard governing XML signatures.
+
+WWW: https://metacpan.org/dist/XML-Sig
diff --git a/textproc/p5-XML-Sig/pkg-plist b/textproc/p5-XML-Sig/pkg-plist
new file mode 100644
index 000000000000..7d623dd4aa50
--- /dev/null
+++ b/textproc/p5-XML-Sig/pkg-plist
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/XML/Sig.pm
+%%PERL5_MAN3%%/XML::Sig.3.gz