ports/164379: security/p5-Crypt-DH-GMP update to 0.00010
Peter Vereshagin
peter at vereshagin.org
Sun Jan 22 19:10:10 UTC 2012
>Number: 164379
>Category: ports
>Synopsis: security/p5-Crypt-DH-GMP update to 0.00010
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Jan 22 19:10:09 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Peter Vereshagin
>Release: 7.4-stable
>Organization:
http:/vereshagin.org
>Environment:
FreeBSD teh.ost 7.4-STABLE FreeBSD 7.4-STABLE #12: Wed Oct 5 05:49:39 MSK 2011 usr at teh.ost:JUICY i386
>Description:
Perl module update, some fixes but still have no a tinderbox to check ;)
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -ur p5-Crypt-DH-GMP.orig/Makefile p5-Crypt-DH-GMP/Makefile
--- p5-Crypt-DH-GMP.orig/Makefile 2010-11-12 12:51:10.000000000 +0300
+++ p5-Crypt-DH-GMP/Makefile 2012-01-22 22:46:00.000000000 +0400
@@ -1,4 +1,4 @@
-# New ports collection makefile for: p5-Crypt-DH
+# New ports collection makefile for: p5-Crypt-DH-GMP
# Date created: 2010/11/14
# Whom: Peter Vereshagin <peter at veershagin.org>
#
@@ -6,7 +6,7 @@
#
PORTNAME= Crypt-DH-GMP
-PORTVERSION= 0.00009
+PORTVERSION= 0.00010
CATEGORIES= security perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -15,16 +15,15 @@
COMMENT= Perl5 interface to a Diffie-Hellman system with direct GMP usage
BUILD_DEPENDS= p5-Devel-CheckLib>=0.9:${PORTSDIR}/devel/p5-Devel-CheckLib
-RUN_DEPENDS:= ${BUILD_DEPENDS}
+
+LICENSE= ART10
PERL_CONFIGURE= yes
-MAN3= Crypt::DH::GMP.3
-PLIST_FILES= %%SITE_PERL%%/Crypt/DH/GMP.pm \
- %%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/DH/GMP/.packlist
-PLIST_DIRS= %%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/DH/GMP \
- %%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/DH \
- %%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt\
- %%SITE_PERL%%/Crypt
+MAN3= Crypt::DH::GMP.3 \
+ Crypt::DH::GMP::Compat.3
+
+post-patch:
+ @${SED} -i orig -e 's#%%PREFIX%%#${PREFIX}#g' ${WRKDIR}/${PORTNAME}-${PORTVERSION}/Makefile.PL
.include <bsd.port.mk>
diff -ur p5-Crypt-DH-GMP.orig/distinfo p5-Crypt-DH-GMP/distinfo
--- p5-Crypt-DH-GMP.orig/distinfo 2010-11-12 12:34:13.000000000 +0300
+++ p5-Crypt-DH-GMP/distinfo 2012-01-22 22:09:31.000000000 +0400
@@ -1,2 +1,2 @@
-SHA256 (Crypt-DH-GMP-0.00009.tar.gz) = ebfbcf2630f6a85b63cd87585d301442f43c91df71d214f7ec325d41a7617ab9
-SIZE (Crypt-DH-GMP-0.00009.tar.gz) = 73737
+SHA256 (Crypt-DH-GMP-0.00010.tar.gz) = 7d947cd48a98880df4fb5b0785758bef9ae1357eba7c376ad0fca3fd262a5fe9
+SIZE (Crypt-DH-GMP-0.00010.tar.gz) = 75721
diff -ur p5-Crypt-DH-GMP.orig/files/patch-MakeFile.PL p5-Crypt-DH-GMP/files/patch-MakeFile.PL
--- p5-Crypt-DH-GMP.orig/files/patch-MakeFile.PL 2011-06-30 18:04:16.000000000 +0400
+++ p5-Crypt-DH-GMP/files/patch-MakeFile.PL 2012-01-22 22:50:32.000000000 +0400
@@ -1,11 +1,11 @@
---- ../Crypt-DH-GMP-0.00009.orig/Makefile.PL 2011-06-30 17:59:18.000000000 +0400
-+++ Makefile.PL 2011-06-30 18:00:13.000000000 +0400
+--- Makefile.PL.orig 2011-11-16 18:57:34.000000000 +0400
++++ Makefile.PL 2012-01-22 22:27:29.000000000 +0400
@@ -7,7 +7,7 @@
- my @CCFLAGS = split(//, $ENV{CCFLAGS} || '');
- my @LDFLAGS = split(//, $ENV{LDFLAGS} || '');
+ my @CCFLAGS = split(' ', $ENV{CCFLAGS} || '');
+ my @LDFLAGS = split(' ', $ENV{LDFLAGS} || '');
-my @INCLUDES;
-+my @INCLUDES = '/usr/local/include';
++my @INCLUDES = '%%PREFIX%%/include';
my @LIBPATHS;
if ($^O eq 'darwin') {
diff -ur p5-Crypt-DH-GMP.orig/pkg-descr p5-Crypt-DH-GMP/pkg-descr
--- p5-Crypt-DH-GMP.orig/pkg-descr 2002-03-14 17:58:35.000000000 +0300
+++ p5-Crypt-DH-GMP/pkg-descr 2012-01-22 22:45:18.000000000 +0400
@@ -1,6 +1,2 @@
-Crypt::DH is a Perl implementation of the Diffie-Hellman key
-exchange system. Diffie-Hellman is an algorithm by which two
-parties can agree on a shared secret key, known only to them.
-The secret is negotiated over an insecure network without the
-two parties ever passing the actual shared secret, or their
-private keys, between them.
+Crypt::DH::GMP is a Perl module of the Diffie-Hellman key exchange algorithm
+which is different from Crypt::DH in that it is implemented mostly in C.
Only in p5-Crypt-DH-GMP: pkg-plist
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list