aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2010-02-28 11:25:51 +0800
committerwen <wen@FreeBSD.org>2010-02-28 11:25:51 +0800
commita60561ecbd9780955d8351e5c93839d42d1744ec (patch)
treee61db47dd6c875ba2e59b27297f7324e68411a18 /net
parent83c0d6a7f9dbc718538253a7af882a0f4f65c3d5 (diff)
downloadfreebsd-ports-gnome-a60561ecbd9780955d8351e5c93839d42d1744ec.tar.gz
freebsd-ports-gnome-a60561ecbd9780955d8351e5c93839d42d1744ec.tar.zst
freebsd-ports-gnome-a60561ecbd9780955d8351e5c93839d42d1744ec.zip
Crypt::DH::GMP is a (somewhat) portable replacement to Crypt::DH,
implemented mostly in C. Crypt::DH uses Math::BigInt, which is a very feature-full and fast interface to perform high-precision math. WWW: http://search.cpan.org/dist/Crypt-DH-GMP PR: ports/144344 Submitted by: Andrey Kostenko <andrey@kostenko.name> Feature safe: yes
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/p5-Crypt-DH-GMP/Makefile23
-rw-r--r--net/p5-Crypt-DH-GMP/distinfo3
-rw-r--r--net/p5-Crypt-DH-GMP/pkg-descr7
-rw-r--r--net/p5-Crypt-DH-GMP/pkg-plist11
5 files changed, 45 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index c757afd7a8ac..ad91a8a05790 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -476,6 +476,7 @@
SUBDIR += p5-BBS-UserInfo-SOB
SUBDIR += p5-BBS-UserInfo-Wretch
SUBDIR += p5-Beanstalk-Client
+ SUBDIR += p5-Crypt-DH-GMP
SUBDIR += p5-Cisco-IPPhone
SUBDIR += p5-Daemon-Generic
SUBDIR += p5-EasyTCP
diff --git a/net/p5-Crypt-DH-GMP/Makefile b/net/p5-Crypt-DH-GMP/Makefile
new file mode 100644
index 000000000000..a1d83f0fcef8
--- /dev/null
+++ b/net/p5-Crypt-DH-GMP/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: Crypt-DH-GMP
+# Date created: 04 February 2010
+# Whom: andrey@kostenko.name
+#
+# $FreeBSD$
+
+PORTNAME= Crypt-DH-GMP
+PORTVERSION= 0.00006
+CATEGORIES= net perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= andrey@kostenko.name
+COMMENT= Crypt::DH Using GMP Directly
+
+RUN_DEPENDS= libgmp>=0:${PORTSDIR}/math/libgmp4
+BUILD_DEPENDS= ${RUN_DEPENDS}
+
+PERL_CONFIGURE= YES
+MAN3= Crypt::DH::GMP.3 \
+ Crypt::DH::GMP::Compat.3
+
+.include <bsd.port.mk>
diff --git a/net/p5-Crypt-DH-GMP/distinfo b/net/p5-Crypt-DH-GMP/distinfo
new file mode 100644
index 000000000000..59424fac928e
--- /dev/null
+++ b/net/p5-Crypt-DH-GMP/distinfo
@@ -0,0 +1,3 @@
+MD5 (Crypt-DH-GMP-0.00006.tar.gz) = 515d10da337a72f3fb27a800f035986c
+SHA256 (Crypt-DH-GMP-0.00006.tar.gz) = bd7c6ed1d1d76e058650b1eb134007ed4df26a173b7a40502eb047bcc03a6583
+SIZE (Crypt-DH-GMP-0.00006.tar.gz) = 14987
diff --git a/net/p5-Crypt-DH-GMP/pkg-descr b/net/p5-Crypt-DH-GMP/pkg-descr
new file mode 100644
index 000000000000..91a90119849e
--- /dev/null
+++ b/net/p5-Crypt-DH-GMP/pkg-descr
@@ -0,0 +1,7 @@
+Crypt::DH::GMP is a (somewhat) portable replacement to Crypt::DH,
+implemented mostly in C.
+
+Crypt::DH uses Math::BigInt, which is a very feature-full and fast
+interface to perform high-precision math.
+
+WWW: http://search.cpan.org/dist/Crypt-DH-GMP
diff --git a/net/p5-Crypt-DH-GMP/pkg-plist b/net/p5-Crypt-DH-GMP/pkg-plist
new file mode 100644
index 000000000000..8649ff6d7b29
--- /dev/null
+++ b/net/p5-Crypt-DH-GMP/pkg-plist
@@ -0,0 +1,11 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/DH/GMP.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/DH/GMP/Compat.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/DH/GMP/GMP.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/DH/GMP/GMP.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/DH/GMP/.packlist
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/DH/GMP
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/DH
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Crypt/DH/GMP
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Crypt/DH
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Crypt