head	1.7;
access;
symbols
	PRE_XORG_7:1.4
	RELEASE_4_EOL:1.4
	RELEASE_6_2_0:1.4
	RELEASE_6_1_0:1.4
	RELEASE_5_5_0:1.4
	RELEASE_6_0_0:1.3
	RELEASE_5_4_0:1.2
	RELEASE_4_11_0:1.2
	RELEASE_5_3_0:1.2
	RELEASE_4_10_0:1.2
	RELEASE_5_2_1:1.1
	RELEASE_5_2_0:1.1
	RELEASE_4_9_0:1.1;
locks; strict;
comment	@# @;


1.7
date	2007.10.16.03.35.04;	author tabthorpe;	state dead;
branches;
next	1.6;

1.6
date	2007.09.08.00.38.24;	author linimon;	state Exp;
branches;
next	1.5;

1.5
date	2007.07.10.01.45.56;	author clsung;	state Exp;
branches;
next	1.4;

1.4
date	2005.12.29.12.42.13;	author skv;	state Exp;
branches;
next	1.3;

1.3
date	2005.06.11.16.13.00;	author skv;	state Exp;
branches;
next	1.2;

1.2
date	2004.01.16.12.10.25;	author skv;	state Exp;
branches;
next	1.1;

1.1
date	2003.08.06.15.52.30;	author skv;	state Exp;
branches;
next	;


desc
@@


1.7
log
@2007-09-10 security/p5-Digest-SHA2: Has numerious known bugs, deprecated in favor of Digest::SHA
@
text
@# New ports collection makefile for:	Digest-SHA2
# Date created:	   06 August 2003
# Whom:		   Sergey Skvortsov <skv@@protey.ru>
#
# $FreeBSD: ports/security/p5-Digest-SHA2/Makefile,v 1.6 2007/09/08 00:38:24 linimon Exp $
#

PORTNAME=	Digest-SHA2
PORTVERSION=	1.1.1
CATEGORIES=	security perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR=	Digest
PKGNAMEPREFIX=	p5-

MAINTAINER=	clsung@@FreeBSD.org
COMMENT=	Perl interface to the SHA-2 algorithms

BUILD_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 \
		${SITE_PERL}/Digest/base.pm:${PORTSDIR}/security/p5-Digest
RUN_DEPENDS=	${BUILD_DEPENDS}

DEPRECATED=		Has numerious known bugs, deprecated in favor of Digest::SHA
EXPIRATION_DATE=	2007-09-10

PERL_CONFIGURE=	yes

MAN3=		Digest::SHA2.3

.include <bsd.port.mk>
@


1.6
log
@Remove support for antique perl.

Hat:	portmgr
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.5
log
@- mark DEPRECATED
- This module has numerious known bugs, is not compatable with the Digest
  interface and its functionality is a subset of the functionality of
  Digest::SHA (which is in perl core as of 5.9.3).
- I'll trace it

Ref: http://search.cpan.org/dist/Digest-SHA2/SHA2.pm
@
text
@d29 1
a29 12
.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500600
EXTRA_PATCHES=	${PATCHDIR}/extrapatch-SHA2.xs

post-patch:
	${PERL} -pi -e 's/^our\s+([\$$\@@\%]\w+)/use vars qw($$1); $$1/;' ${WRKSRC}/SHA2.pm
	${PERL} -pi -e '$$_="" if m{warnings}' ${WRKSRC}/SHA2.pm ${WRKSRC}/t/*.t
	${PERL} -pi -e 's/\)/, char **env\)/ if m{int main}' ${WRKSRC}/_sha2.c
.endif

.include <bsd.port.post.mk>
@


1.4
log
@* unbreak on old perl.
* change MAINTAINER to perl@@

PR:		ports/90878
Submitted by:	leeym
@
text
@d9 1
a9 1
PORTVERSION=	1.1.0
d15 1
a15 1
MAINTAINER=	perl@@FreeBSD.org
d22 3
@


1.3
log
@* reflect renaming on CPAN File-Spec to PathTools
   + add devel/p5-PathTools, remove devel/p5-File-Spec
   + update dependencies for all affected ports (make them unconditional),
     bump PORTREVISION for these ports
module was renamed
* reflect renaming on CPAN PodParser to Pod-Parser
   + add textproc/p5-Pod-Parser, remove textproc/p5-PodParser
   + update dependencies for all affected ports (make them unconditional),
     bump PORTREVISION for these ports

* for all changed ports make dependencies on File::Temp, Digest::MD5,
  Storable unconditional

* remove 'CONFIGURE_ARGS= INSTALLDIRS=site' from Makefile's
  (this variable is forced by bsd.port.mk now)

* update Class-Autouse to 1.17

* update POE-API-Hooks to 1.05

* make portlint happy (clean IGNORE, convert spaces to tabs and so on)
@
text
@d15 1
a15 1
MAINTAINER=	skv@@FreeBSD.org
d29 6
a34 1
IGNORE=	Perl 5.6 or newer required. Install lang/perl5 or lang/perl5.8 and try again.
@


1.2
log
@Updated to 1.1.0
@
text
@d29 1
a29 1
IGNORE=	"Perl 5.6 or newer required. Install lang/perl5 or lang/perl5.8 and try again."
@


1.1
log
@Add p5-Digest-SHA2 1.0.0, perl interface to the SHA-2 algorithms.
@
text
@d9 1
a9 1
PORTVERSION=	1.0.0
d18 2
a19 1
BUILD_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
@

