dev-perl/Crypt-DSA: Copy from crypt-dsa
authorKent Fredric <kentfredric@gmail.com>
Fri, 4 Mar 2016 07:20:15 +0000 (20:20 +1300)
committerKent Fredric <kentfredric@gmail.com>
Sat, 5 Mar 2016 08:31:16 +0000 (21:31 +1300)
Bulk migration begins

Package-Manager: portage-2.2.27

dev-perl/Crypt-DSA/Crypt-DSA-1.170.0.ebuild [new file with mode: 0644]
dev-perl/Crypt-DSA/Manifest [new file with mode: 0644]
dev-perl/Crypt-DSA/files/crypt-dsa-1.16-dsaparam.patch [new file with mode: 0644]
dev-perl/Crypt-DSA/metadata.xml [new file with mode: 0644]

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 (file)
index 0000000..ef9ee63
--- /dev/null
@@ -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 (file)
index 0000000..8b52dea
--- /dev/null
@@ -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 (file)
index 0000000..fe3dfbb
--- /dev/null
@@ -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 (file)
index 0000000..bb3e7a6
--- /dev/null
@@ -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>