Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  9 Dec 2005 07:20:43 +0800 (CST)
From:      Yen-Ming Lee <leeym@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        mharo@FreeBSD.org
Subject:   ports/90126: [PATCH] security/p5-Crypt-DSA: correct dependency
Message-ID:  <20051208232043.968A5B29D40@utopia.leeym.com>
Resent-Message-ID: <200512082330.jB8NU2sO012697@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         90126
>Category:       ports
>Synopsis:       [PATCH] security/p5-Crypt-DSA: correct dependency
>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:   Thu Dec 08 23:30:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Yen-Ming Lee
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
FreeBSD Taiwan
>Environment:
System: FreeBSD utopia.leeym.com 6.0-STABLE FreeBSD 6.0-STABLE #0: Thu Nov 17 09:15:19 CST 2005
>Description:
- correct dependency (Math::Pari -> Math::BigIng)
- utilize SITE_PERL
- set IGNORE on old perl
- add WWW in pkg-descr

Port maintainer (mharo@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- p5-Crypt-DSA-0.13_2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/security/p5-Crypt-DSA/Makefile,v
retrieving revision 1.8
diff -u -u -r1.8 Makefile
--- Makefile	14 Nov 2005 05:03:34 -0000	1.8
+++ Makefile	8 Dec 2005 23:19:26 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=	Crypt-DSA
 PORTVERSION=	0.13
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	security perl5
 MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
 MASTER_SITE_SUBDIR=	Crypt
@@ -16,14 +16,10 @@
 MAINTAINER=	mharo@FreeBSD.org
 COMMENT=	DSA signature and key generation
 
-PERLBASE=	${SITE_PERL}
-
-BUILD_DEPENDS=	${PERLBASE}/Crypt/Random.pm:${PORTSDIR}/security/p5-Crypt-Random \
-		${PERLBASE}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1 \
-		${PERLBASE}/${PERL_ARCH}/Math/Pari.pm:${PORTSDIR}/math/p5-Math-Pari \
-		${PERLBASE}/Convert/PEM.pm:${PORTSDIR}/converters/p5-Convert-PEM \
-		${PERLBASE}/Data/Buffer.pm:${PORTSDIR}/misc/p5-Data-Buffer \
-	 	${PERLBASE}/Class/ErrorHandler.pm:${PORTSDIR}/devel/p5-Class-ErrorHandler 
+BUILD_DEPENDS=	${SITE_PERL}/Math/BigInt.pm:${PORTSDIR}/math/p5-Math-BigInt \
+		${SITE_PERL}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1 \
+		${SITE_PERL}/Convert/PEM.pm:${PORTSDIR}/converters/p5-Convert-PEM \
+		${SITE_PERL}/Data/Buffer.pm:${PORTSDIR}/misc/p5-Data-Buffer
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
 PERL_CONFIGURE=	yes
@@ -32,4 +28,11 @@
 		Crypt::DSA::Key::PEM.3 Crypt::DSA::Signature.3 \
 		Crypt::DSA::KeyChain.3 Crypt::DSA::Util.3
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+# p5-Crypt-DSA -> p5-Digest-SHA1 -> p5-Digest -> p5-MIME-Base64
+.if ${PERL_LEVEL} < 500600
+IGNORE=		requires Perl 5.6 or newer. Install lang/perl5.8 and try again
+.endif
+
+.include <bsd.port.post.mk>
Index: pkg-descr
===================================================================
RCS file: /home/pcvs/ports/security/p5-Crypt-DSA/pkg-descr,v
retrieving revision 1.1
diff -u -u -r1.1 pkg-descr
--- pkg-descr	12 Sep 2001 01:10:17 -0000	1.1
+++ pkg-descr	8 Dec 2005 23:19:26 -0000
@@ -4,3 +4,5 @@
 Math::Pari library.
 
 This package provides DSA signing, signature verification, and key generation.
+
+WWW: http://search.cpan.org/dist/Crypt-DSA/
--- p5-Crypt-DSA-0.13_2.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051208232043.968A5B29D40>