Skip site navigation (1)Skip section navigation (2)
Date:      7 Oct 2002 15:09:47 -0700
From:      Jim Geovedi <negative@toxic.magnesium.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/43799: New Port: security/p5-SHA (Perl5 interface to the SHA1 algorithm)
Message-ID:  <20021007220947.13434.qmail@magnesium.net>

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

>Number:         43799
>Category:       ports
>Synopsis:       New Port: security/p5-SHA (Perl5 interface to the SHA1 algorithm)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 07 15:10:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Jim Geovedi
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
>Environment:
System: FreeBSD toxic.magnesium.net 4.6-STABLE FreeBSD 4.6-STABLE #5: Thu Aug 1 09:24:17 PDT 2002 unfurl@toxic.magnesium.net:/users/world/obj/users/world/src/sys/TOXIC i386


	
>Description:
	
The SHA module allows you to use the NIST SHA message digest algorithm
from within Perl programs.

The final message digest value is returned by the digest operation as
a 20-byte binary string. This operation delivers the result of
operations since the last new or reset operation. Once the operation
has been performed, the context must be reset before being used to
calculate another digest value.

>How-To-Repeat:
	
>Fix:

	

--- security_p5-SHA.shar begins here ---
# 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-SHA
#	p5-SHA/Makefile
#	p5-SHA/distinfo
#	p5-SHA/pkg-descr
#	p5-SHA/pkg-comment
#	p5-SHA/files
#	p5-SHA/files/patch-Makefile.PL
#	p5-SHA/pkg-plist
#
echo c - p5-SHA
mkdir -p p5-SHA > /dev/null 2>&1
echo x - p5-SHA/Makefile
sed 's/^X//' >p5-SHA/Makefile << 'END-of-p5-SHA/Makefile'
X# New ports collection makefile for:	p5-SHA
X# Date created:				Sep 30, 2002
X# Whom:	      				Jim Geovedi <jim@corebsd.or.id>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	SHA
XPORTVERSION=	1.2
XCATEGORIES=	security perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	SHA
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	jim@corebsd.or.id
X
XPERL_CONFIGURE=	yes
X
XMAN3=		SHA.3
XMANPREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
X
X.include <bsd.port.mk>
END-of-p5-SHA/Makefile
echo x - p5-SHA/distinfo
sed 's/^X//' >p5-SHA/distinfo << 'END-of-p5-SHA/distinfo'
XMD5 (SHA-1.2.tar.gz) = fc23793219770f156d32fa676ab49be4
END-of-p5-SHA/distinfo
echo x - p5-SHA/pkg-descr
sed 's/^X//' >p5-SHA/pkg-descr << 'END-of-p5-SHA/pkg-descr'
XThe SHA module allows you to use the NIST SHA message digest algorithm
Xfrom within Perl programs.
X
XThe final message digest value is returned by the digest operation as
Xa 20-byte binary string. This operation delivers the result of
Xoperations since the last new or reset operation. Once the operation
Xhas been performed, the context must be reset before being used to
Xcalculate another digest value.
END-of-p5-SHA/pkg-descr
echo x - p5-SHA/pkg-comment
sed 's/^X//' >p5-SHA/pkg-comment << 'END-of-p5-SHA/pkg-comment'
XPerl5 interface to the SHA1 algorithm
END-of-p5-SHA/pkg-comment
echo c - p5-SHA/files
mkdir -p p5-SHA/files > /dev/null 2>&1
echo x - p5-SHA/files/patch-Makefile.PL
sed 's/^X//' >p5-SHA/files/patch-Makefile.PL << 'END-of-p5-SHA/files/patch-Makefile.PL'
X--- Makefile.PL.orig	Mon Sep 30 04:33:16 2002
X+++ Makefile.PL	Mon Sep 30 04:34:51 2002
X@@ -20,7 +20,7 @@ if (exists($Config{'byteorder'}) and def
X 	print "Writing endian.h for SHA\n";
X     }
X     print "Do you want to use the original SHA or the new standard SHA-1?\nEnter 0 for the original or 1 for the new standard. [1]";
X-    $resp = <STDIN>;
X+    $resp = 1;
X     if (defined($resp)) {
X 	$resp =~ s/^\s+//;
X 	$resp =~ s/\s+$//;
END-of-p5-SHA/files/patch-Makefile.PL
echo x - p5-SHA/pkg-plist
sed 's/^X//' >p5-SHA/pkg-plist << 'END-of-p5-SHA/pkg-plist'
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/SHA.pm
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/SHA.pod
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/sha_driver.pl
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/SHA/SHA.so
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/SHA/SHA.bs
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/SHA/autosplit.ix
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/SHA/.packlist
X@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/SHA
END-of-p5-SHA/pkg-plist
exit
--- security_p5-SHA.shar ends here ---


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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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