summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentfredric@gmail.com>2016-03-04 20:20:15 +1300
committerKent Fredric <kentfredric@gmail.com>2016-03-05 21:31:16 +1300
commit8b3d96bd483aabe73d4146ac832d6e0bddacbfa3 (patch)
tree61e7c6368aaf4cdfa105d8393bfc0b38be27f2fd /dev-perl/Crypt-DSA
parentdev-perl/Crypt-DH: Copy from crypt-dh (diff)
downloadgentoo-8b3d96bd483aabe73d4146ac832d6e0bddacbfa3.tar.gz
gentoo-8b3d96bd483aabe73d4146ac832d6e0bddacbfa3.tar.bz2
gentoo-8b3d96bd483aabe73d4146ac832d6e0bddacbfa3.zip
dev-perl/Crypt-DSA: Copy from crypt-dsa
Bulk migration begins Package-Manager: portage-2.2.27
Diffstat (limited to 'dev-perl/Crypt-DSA')
-rw-r--r--dev-perl/Crypt-DSA/Crypt-DSA-1.170.0.ebuild26
-rw-r--r--dev-perl/Crypt-DSA/Manifest1
-rw-r--r--dev-perl/Crypt-DSA/files/crypt-dsa-1.16-dsaparam.patch14
-rw-r--r--dev-perl/Crypt-DSA/metadata.xml19
4 files changed, 60 insertions, 0 deletions
diff --git a/dev-perl/Crypt-DSA/Crypt-DSA-1.170.0.ebuild b/dev-perl/Crypt-DSA/Crypt-DSA-1.170.0.ebuild
new file mode 100644
index 000000000000..ef9ee63d9df8
--- /dev/null
+++ b/dev-perl/Crypt-DSA/Crypt-DSA-1.170.0.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+MODULE_AUTHOR=ADAMK
+MODULE_VERSION=1.17
+inherit perl-module
+
+DESCRIPTION="DSA Signatures and Key Generation"
+
+SLOT="0"
+KEYWORDS="alpha amd64 hppa ppc sparc x86 ~x86-solaris"
+IUSE="test"
+
+RDEPEND="dev-perl/data-buffer
+ dev-perl/Digest-SHA1
+ virtual/perl-File-Spec
+ dev-perl/File-Which
+ virtual/perl-MIME-Base64
+ >=virtual/perl-Math-BigInt-1.78"
+DEPEND="test? ( ${RDEPEND}
+ dev-perl/Math-BigInt-GMP )"
+
+SRC_TEST="do"
diff --git a/dev-perl/Crypt-DSA/Manifest b/dev-perl/Crypt-DSA/Manifest
new file mode 100644
index 000000000000..8b52deaa4e45
--- /dev/null
+++ b/dev-perl/Crypt-DSA/Manifest
@@ -0,0 +1 @@
+DIST Crypt-DSA-1.17.tar.gz 42930 SHA256 d1b8585f6bf746f76e5dc5da3641d325ed656bc2e5f344b54514b55c31009a03 SHA512 2eac27cb08439a6d5cfdf1ee5f38412bc1dddb53c1865e5adc4f8c758ba1d221e5d30608bd12178beb15aed28940fa5db547520d57d8714919e20f0588fb1bfc WHIRLPOOL 2a2b40311526a5cb7990d1de0ce06afd31fd10f95e3d5141ac6c7034856dfca65f13953c40aae8a9e9aa8d1f9c081c04e35d4b6c491f3b9185afdca41410a117
diff --git a/dev-perl/Crypt-DSA/files/crypt-dsa-1.16-dsaparam.patch b/dev-perl/Crypt-DSA/files/crypt-dsa-1.16-dsaparam.patch
new file mode 100644
index 000000000000..fe3dfbb6480d
--- /dev/null
+++ b/dev-perl/Crypt-DSA/files/crypt-dsa-1.16-dsaparam.patch
@@ -0,0 +1,14 @@
+https://rt.cpan.org/Public/Bug/Display.html?id=49668
+http://cvs.fedoraproject.org/viewvc/rpms/perl-Crypt-DSA/devel/perl-Crypt-DSA-dsaparam.patch?view=log
+
+--- lib/Crypt/DSA/KeyChain.pm
++++ lib/Crypt/DSA/KeyChain.pm
+@@ -53,7 +53,7 @@
+ my $cur_part;
+ foreach (@res) {
+ if (/^\s+(\w):\s*$/) {
+- $cur_part = $1;
++ $cur_part = lc($1);
+ next;
+ }
+ if (/^\s*((?:[0-9a-f]{2,2}:?)+)\s*$/) {
diff --git a/dev-perl/Crypt-DSA/metadata.xml b/dev-perl/Crypt-DSA/metadata.xml
new file mode 100644
index 000000000000..bb3e7a6e3099
--- /dev/null
+++ b/dev-perl/Crypt-DSA/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>perl@gentoo.org</email>
+ <name>Gentoo Perl Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="cpan">Crypt-DSA</remote-id>
+ <remote-id type="cpan-module">BufferWithInt</remote-id>
+ <remote-id type="cpan-module">Crypt::DSA</remote-id>
+ <remote-id type="cpan-module">Crypt::DSA::Key</remote-id>
+ <remote-id type="cpan-module">Crypt::DSA::Key::PEM</remote-id>
+ <remote-id type="cpan-module">Crypt::DSA::Key::SSH2</remote-id>
+ <remote-id type="cpan-module">Crypt::DSA::KeyChain</remote-id>
+ <remote-id type="cpan-module">Crypt::DSA::Signature</remote-id>
+ <remote-id type="cpan-module">Crypt::DSA::Util</remote-id>
+ </upstream>
+</pkgmetadata>