ports/79211: NEW PORT: security/p5-Digest-SHA256 SHA{256,384,512} for Perl

Christopher Nehren apeiron+ports at coitusmentis.info
Thu Mar 24 19:10:07 UTC 2005


>Number:         79211
>Category:       ports
>Synopsis:       NEW PORT: security/p5-Digest-SHA256 SHA{256,384,512} for Perl
>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 Mar 24 19:10:06 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Christopher Nehren
>Release:        FreeBSD 5.4-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD prophecy.dyndns.org 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #0: Tue Mar 22 05:37:35 EST 2005 root at prophecy.dyndns.org:/usr/obj/usr/src/sys/PROPHECY i386


	
>Description:
Digest::SHA256 is a module which gives Perl users access to the SHA256, SHA384,
and SHA512 algorithms in Perl via XS.

The author of this module has broken a few consistency rules with regard to
packaging modules. I'll contact him shortly and request a more conventional
setup so that I don't need to set both DISTNAME and WRKSRC. If anyone who sees
this PR has a better way of making it work, please notify me.

>How-To-Repeat:
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	p5-Digest-SHA256
#	p5-Digest-SHA256/Makefile
#	p5-Digest-SHA256/pkg-descr
#	p5-Digest-SHA256/pkg-plist
#	p5-Digest-SHA256/distinfo
#
echo c - p5-Digest-SHA256
mkdir -p p5-Digest-SHA256 > /dev/null 2>&1
echo x - p5-Digest-SHA256/Makefile
sed 's/^X//' >p5-Digest-SHA256/Makefile << 'END-of-p5-Digest-SHA256/Makefile'
X# New ports collection makefile for:    p5-Digest-SHA256
X# Date created:				2005/03/24
X# Whom:					Christopher Nehren
X#
X# $FreeBSD$
X#
X# The author of this port needs a good talking-to concerning naming
X# consistencies. The definitions of DISTNAME *and* WRKSRC are unfortunately
X# necessary at the current time.
X
XPORTNAME=	Digest-SHA256
XPORTVERSION=	0.01b
XCATEGORIES=	security perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	Digest
XPKGNAMEPREFIX=	p5-
XDISTNAME=	SHA256-${PORTVERSION}
X
XMAINTAINER=	apeiron+ports at coitusmentis.info
XCOMMENT=	Perl5 interface to the SHA256 algorithm
X
XWRKSRC=		${WRKDIR}/SHA256-0.01
XPERL_CONFIGURE=	yes
X
XMAN3=	Digest::SHA256.3 Digest::sha256.3
X
X.include <bsd.port.mk>
END-of-p5-Digest-SHA256/Makefile
echo x - p5-Digest-SHA256/pkg-descr
sed 's/^X//' >p5-Digest-SHA256/pkg-descr << 'END-of-p5-Digest-SHA256/pkg-descr'
XThe Digest::SHA256 module allows you to use the NIST SHA 256/384/512 hash
Xalgorithms in your Perl code. Performance is optimized via the usage of XS
Xcode.
X
XWWW: http://search.cpan.org/search?dist=SHA256
END-of-p5-Digest-SHA256/pkg-descr
echo x - p5-Digest-SHA256/pkg-plist
sed 's/^X//' >p5-Digest-SHA256/pkg-plist << 'END-of-p5-Digest-SHA256/pkg-plist'
X%%SITE_PERL%%/%%PERL_ARCH%%/Digest/SHA256.pm
X%%SITE_PERL%%/%%PERL_ARCH%%/Digest/SHA256.pod
X%%SITE_PERL%%/%%PERL_ARCH%%/Digest/sha256.pod
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest/SHA256/.packlist
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest/SHA256/SHA256.bs
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest/SHA256/SHA256.so
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest/SHA256/autosplit.ix
X at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest/SHA256
X at unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest 2>/dev/null || true
X at unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Digest 2>/dev/null || true
END-of-p5-Digest-SHA256/pkg-plist
echo x - p5-Digest-SHA256/distinfo
sed 's/^X//' >p5-Digest-SHA256/distinfo << 'END-of-p5-Digest-SHA256/distinfo'
XMD5 (SHA256-0.01b.tar.gz) = 08f2b87bad328275bdebf64c18bfcb31
XSIZE (SHA256-0.01b.tar.gz) = 9326
END-of-p5-Digest-SHA256/distinfo
exit

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



More information about the freebsd-ports-bugs mailing list