import p5-Digest-Skein 0.03

Digest::Skein implements the Skein digest algorithm, submitted to NIST
for the SHA-3 competition. Skein is "Fast, Secure, Simple, Flexible,
Efficient. And it rhymes with rain."

from stephan a rickauer, with tweaks by me
This commit is contained in:
jasper 2009-09-23 20:30:55 +00:00
parent 8fdf733fdd
commit 0a517bf9d7
6 changed files with 66 additions and 0 deletions

View File

@ -0,0 +1,31 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/09/23 20:30:55 jasper Exp $
COMMENT= interface to the Skein digest algorithm
HOMEPAGE= http://www.skein-hash.info/
MODULES= cpan
DISTNAME= Digest-Skein-0.03
CATEGORIES= security
MAINTAINER= Stephan A. Rickauer <stephan.rickauer@startek.ch>
# Perl
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
BYTEORDER!=sysctl -n hw.byteorder
.if ${BYTEORDER} == "1234"
BO= LITTLE
.else
BO= BIG
.endif
pre-configure:
@perl -pi -e 's,!!ENDIAN!!,IS_${BO}_ENDIAN,g' \
${WRKSRC}/Optimized_64bit/brg_endian.h
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (Digest-Skein-0.03.tar.gz) = tD+eEuq0/2oFPbZxRKTxcQ==
RMD160 (Digest-Skein-0.03.tar.gz) = qezwKLshWOF0j4ns0zZPDZPLGa8=
SHA1 (Digest-Skein-0.03.tar.gz) = DqscXqCjUn3Cti/cAKx/9+047QQ=
SHA256 (Digest-Skein-0.03.tar.gz) = XX82JMcJXLWZwHxBQw3YdxdYaBt1ft+zzXPS6FUgWWI=
SIZE (Digest-Skein-0.03.tar.gz) = 68392

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-Optimized_64bit_brg_endian_h,v 1.1.1.1 2009/09/23 20:30:55 jasper Exp $
--- Optimized_64bit/brg_endian.h.orig Mon Sep 21 18:47:06 2009
+++ Optimized_64bit/brg_endian.h Mon Sep 21 19:02:04 2009
@@ -103,6 +103,8 @@
# define PLATFORM_BYTE_ORDER IS_LITTLE_ENDIAN
#endif
+#define PLATFORM_BYTE_ORDER !!ENDIAN!!
+
/* if the platform byte order could not be determined, then try to */
/* set this define using common machine defines */
#if !defined(PLATFORM_BYTE_ORDER)

View File

@ -0,0 +1,3 @@
Digest::Skein implements the Skein digest algorithm, submitted to NIST
for the SHA-3 competition. Skein is "Fast, Secure, Simple, Flexible,
Efficient. And it rhymes with rain."

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2009/09/23 20:30:55 jasper Exp $
${P5ARCH}/auto/Digest/Skein/Skein.so

View File

@ -0,0 +1,13 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/09/23 20:30:55 jasper Exp $
%%SHARED%%
${P5ARCH}/
${P5ARCH}/Digest/
${P5ARCH}/Digest/Skein.pm
${P5ARCH}/auto/
${P5ARCH}/auto/Digest/
${P5ARCH}/auto/Digest/Skein/
${P5ARCH}/auto/Digest/Skein/Skein.bs
${P5ARCH}/auto/libskein/
${P5ARCH}/auto/libskein/extralibs.ld
${P5ARCH}/auto/libskein/libskein.a
@man man/man3p/Digest::Skein.3p