summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2017-05-24 18:35:14 (GMT)
committerbluhm <bluhm@openbsd.org>2017-05-24 18:35:14 (GMT)
commite57a99ccd24cb581786e302fdd14498a70886233 (patch)
treecabaf74d3fe5d9797e7e6b474efdf47d5676772f
parent83525a978f5c4f4f86ab14913694cb7d3bc8bbf9 (diff)
downloadopenbsd-ports-e57a99ccd24cb581786e302fdd14498a70886233.tar.gz
openbsd-ports-e57a99ccd24cb581786e302fdd14498a70886233.tar.xz
import p5-Crypt-OpenSSL-ECDSA 0.08
from Nils Frohberg; OK sthen@ Comment: ECDSA encoding and decoding using OpenSSL Description: Crypt::OpenSSL::ECDSA is a perl module that provides an interface to the ECDSA (Elliptic Curve Digital Signature Algorithm) functions in OpenSSL.
-rw-r--r--security/p5-Crypt-OpenSSL-ECDSA/Makefile18
-rw-r--r--security/p5-Crypt-OpenSSL-ECDSA/distinfo2
-rw-r--r--security/p5-Crypt-OpenSSL-ECDSA/patches/patch-ECDSA_xs21
-rw-r--r--security/p5-Crypt-OpenSSL-ECDSA/pkg/DESCR3
-rw-r--r--security/p5-Crypt-OpenSSL-ECDSA/pkg/PLIST6
5 files changed, 50 insertions, 0 deletions
diff --git a/security/p5-Crypt-OpenSSL-ECDSA/Makefile b/security/p5-Crypt-OpenSSL-ECDSA/Makefile
new file mode 100644
index 0000000..660fc5e
--- /dev/null
+++ b/security/p5-Crypt-OpenSSL-ECDSA/Makefile
@@ -0,0 +1,18 @@
+# $OpenBSD: Makefile,v 1.1.1.1 2017/05/24 18:35:14 bluhm Exp $
+
+COMMENT = ECDSA encoding and decoding using OpenSSL
+
+MODULES = cpan
+
+DISTNAME = Crypt-OpenSSL-ECDSA-0.08
+CATEGORIES = security
+
+# Perl
+PERMIT_PACKAGE_CDROM = Yes
+
+WANTLIB += c crypto perl ssl
+
+RUN_DEPENDS = security/p5-Crypt-OpenSSL-EC>=0.05
+BUILD_DEPENDS = ${RUN_DEPENDS}
+
+.include <bsd.port.mk>
diff --git a/security/p5-Crypt-OpenSSL-ECDSA/distinfo b/security/p5-Crypt-OpenSSL-ECDSA/distinfo
new file mode 100644
index 0000000..5453b38
--- /dev/null
+++ b/security/p5-Crypt-OpenSSL-ECDSA/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Crypt-OpenSSL-ECDSA-0.08.tar.gz) = hDn2r4HMXmVuiy9N2GqY+qldmTjc3L/HwiuzWOtfjes=
+SIZE (Crypt-OpenSSL-ECDSA-0.08.tar.gz) = 52955
diff --git a/security/p5-Crypt-OpenSSL-ECDSA/patches/patch-ECDSA_xs b/security/p5-Crypt-OpenSSL-ECDSA/patches/patch-ECDSA_xs
new file mode 100644
index 0000000..28746f6
--- /dev/null
+++ b/security/p5-Crypt-OpenSSL-ECDSA/patches/patch-ECDSA_xs
@@ -0,0 +1,21 @@
+$OpenBSD: patch-ECDSA_xs,v 1.1.1.1 2017/05/24 18:35:14 bluhm Exp $
+--- ECDSA.xs.orig Fri Jan 2 02:24:13 2015
++++ ECDSA.xs Wed May 24 11:36:14 2017
+@@ -80,6 +80,8 @@ ECDSA_set_method(EC_KEY *eckey, const ECDSA_METHOD *me
+ int
+ ECDSA_size(const EC_KEY *eckey)
+
++#ifdef ECDSA_F_ECDSA_METHOD_NEW
++
+ ECDSA_METHOD *
+ ECDSA_METHOD_new(ECDSA_METHOD *ecdsa_method=0)
+
+@@ -91,6 +93,8 @@ ECDSA_METHOD_set_flags(ECDSA_METHOD *ecdsa_method, int
+
+ void
+ ECDSA_METHOD_set_name(ECDSA_METHOD *ecdsa_method, char *name)
++
++#endif
+
+ void
+ ERR_load_ECDSA_strings()
diff --git a/security/p5-Crypt-OpenSSL-ECDSA/pkg/DESCR b/security/p5-Crypt-OpenSSL-ECDSA/pkg/DESCR
new file mode 100644
index 0000000..5cdf537
--- /dev/null
+++ b/security/p5-Crypt-OpenSSL-ECDSA/pkg/DESCR
@@ -0,0 +1,3 @@
+Crypt::OpenSSL::ECDSA is a perl module that provides an interface
+to the ECDSA (Elliptic Curve Digital Signature Algorithm) functions
+in OpenSSL.
diff --git a/security/p5-Crypt-OpenSSL-ECDSA/pkg/PLIST b/security/p5-Crypt-OpenSSL-ECDSA/pkg/PLIST
new file mode 100644
index 0000000..bb24659
--- /dev/null
+++ b/security/p5-Crypt-OpenSSL-ECDSA/pkg/PLIST
@@ -0,0 +1,6 @@
+@comment $OpenBSD: PLIST,v 1.1.1.1 2017/05/24 18:35:14 bluhm Exp $
+${P5ARCH}/Crypt/OpenSSL/ECDSA.pm
+${P5ARCH}/auto/Crypt/OpenSSL/ECDSA/
+${P5ARCH}/auto/Crypt/OpenSSL/ECDSA/ECDSA.so
+${P5ARCH}/auto/Crypt/OpenSSL/ECDSA/autosplit.ix
+@man man/man3p/Crypt::OpenSSL::ECDSA.3p