From 25569f07e85a4bca94708cd788c1c863ca721e9d Mon Sep 17 00:00:00 2001 From: sturm Date: Wed, 4 Dec 2002 15:46:51 +0000 Subject: [PATCH] import of p5-Crypt-Rijndael 0.05 submitted by Claudio Jeker This is Crypt::Rijndael, an XS-based implementation of the newly-selected Advanced Encryption Standard algorithm Rijndael, designed by Joan Daemen and Vincent Rijmen. naddy@ OK --- security/p5-Crypt-Rijndael/Makefile | 21 +++++++++++++++++++ security/p5-Crypt-Rijndael/distinfo | 3 +++ .../patches/patch-rijndael_h | 16 ++++++++++++++ security/p5-Crypt-Rijndael/pkg/DESCR | 3 +++ security/p5-Crypt-Rijndael/pkg/PLIST | 6 ++++++ 5 files changed, 49 insertions(+) create mode 100644 security/p5-Crypt-Rijndael/Makefile create mode 100644 security/p5-Crypt-Rijndael/distinfo create mode 100644 security/p5-Crypt-Rijndael/patches/patch-rijndael_h create mode 100644 security/p5-Crypt-Rijndael/pkg/DESCR create mode 100644 security/p5-Crypt-Rijndael/pkg/PLIST diff --git a/security/p5-Crypt-Rijndael/Makefile b/security/p5-Crypt-Rijndael/Makefile new file mode 100644 index 00000000000..c2ac4bd74b4 --- /dev/null +++ b/security/p5-Crypt-Rijndael/Makefile @@ -0,0 +1,21 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2002/12/04 15:46:51 sturm Exp $ + +COMMENT= "interface to the rijndael encryption alogorithm aka AES" + +DISTNAME= Crypt-Rijndael-0.05 +PKGNAME= p5-${DISTNAME} +CATEGORIES= security perl5 + +MAINTAINER= Claudio Jeker + +# LGPL +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Crypt/} + +CONFIGURE_STYLE= perl + +.include diff --git a/security/p5-Crypt-Rijndael/distinfo b/security/p5-Crypt-Rijndael/distinfo new file mode 100644 index 00000000000..cedbd554cfb --- /dev/null +++ b/security/p5-Crypt-Rijndael/distinfo @@ -0,0 +1,3 @@ +MD5 (Crypt-Rijndael-0.05.tar.gz) = af8628fee8648f26c94916ef8edf32d9 +RMD160 (Crypt-Rijndael-0.05.tar.gz) = 53727dea6eea199a06774e6542360b74a1fcd89e +SHA1 (Crypt-Rijndael-0.05.tar.gz) = 48494cbe2c142d291ee65ec5d8e794836ef82a39 diff --git a/security/p5-Crypt-Rijndael/patches/patch-rijndael_h b/security/p5-Crypt-Rijndael/patches/patch-rijndael_h new file mode 100644 index 00000000000..7a3d44b6b9c --- /dev/null +++ b/security/p5-Crypt-Rijndael/patches/patch-rijndael_h @@ -0,0 +1,16 @@ +$OpenBSD: patch-rijndael_h,v 1.1.1.1 2002/12/04 15:46:51 sturm Exp $ +--- rijndael.h.orig Wed Dec 4 10:35:35 2002 ++++ rijndael.h Wed Dec 4 10:30:00 2002 +@@ -26,9 +26,10 @@ + #define RIJNDAEL_H + + #include ++#include + +-typedef unsigned long UINT32; +-typedef unsigned char UINT8; ++typedef u_int32_t UINT32; ++typedef u_int8_t UINT8; + + /* Other block sizes and key lengths are possible, but in the context of + * the ssh protocols, 256 bits is the default. */ diff --git a/security/p5-Crypt-Rijndael/pkg/DESCR b/security/p5-Crypt-Rijndael/pkg/DESCR new file mode 100644 index 00000000000..ef5ccfd9623 --- /dev/null +++ b/security/p5-Crypt-Rijndael/pkg/DESCR @@ -0,0 +1,3 @@ +This is Crypt::Rijndael, an XS-based implementation of the newly-selected +Advanced Encryption Standard algorithm Rijndael, designed by Joan Daemen +and Vincent Rijmen. diff --git a/security/p5-Crypt-Rijndael/pkg/PLIST b/security/p5-Crypt-Rijndael/pkg/PLIST new file mode 100644 index 00000000000..f4fa9611e37 --- /dev/null +++ b/security/p5-Crypt-Rijndael/pkg/PLIST @@ -0,0 +1,6 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2002/12/04 15:46:51 sturm Exp $ +${P5ARCH}/Crypt/Rijndael.pm +${P5ARCH}/auto/Crypt/Rijndael/Rijndael.bs +${P5ARCH}/auto/Crypt/Rijndael/Rijndael.so +man/man3p/Crypt::Rijndael.3p +@dirrm ${P5ARCH}/auto/Crypt/Rijndael