summaryrefslogtreecommitdiff
path: root/security/p5-Crypt-IDEA
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-12-30 14:28:04 +0000
committerwiz <wiz@pkgsrc.org>2001-12-30 14:28:04 +0000
commitd4c5221f8ad98b3ccb2bd32af55c8c8c631dbae3 (patch)
treebdc34e7d1d8fd7dd139e94fc2efe79c1c85c81d6 /security/p5-Crypt-IDEA
parenta19f568af8e78897d5040f4139e133453b665abe (diff)
downloadpkgsrc-d4c5221f8ad98b3ccb2bd32af55c8c8c631dbae3.tar.gz
Initial import of p5-Crypt-IDEA, provided by Sen Nagata in pkg/14158.
Perl module for the IDEA symmetric key algorithm.
Diffstat (limited to 'security/p5-Crypt-IDEA')
-rw-r--r--security/p5-Crypt-IDEA/DESCR1
-rw-r--r--security/p5-Crypt-IDEA/Makefile22
-rw-r--r--security/p5-Crypt-IDEA/PLIST1
-rw-r--r--security/p5-Crypt-IDEA/distinfo6
-rw-r--r--security/p5-Crypt-IDEA/patches/patch-aa13
-rw-r--r--security/p5-Crypt-IDEA/patches/patch-ab13
6 files changed, 56 insertions, 0 deletions
diff --git a/security/p5-Crypt-IDEA/DESCR b/security/p5-Crypt-IDEA/DESCR
new file mode 100644
index 00000000000..afd0d6ec1d5
--- /dev/null
+++ b/security/p5-Crypt-IDEA/DESCR
@@ -0,0 +1 @@
+This perl extension is an implementation of the IDEA block cipher algorithm.
diff --git a/security/p5-Crypt-IDEA/Makefile b/security/p5-Crypt-IDEA/Makefile
new file mode 100644
index 00000000000..fae81555940
--- /dev/null
+++ b/security/p5-Crypt-IDEA/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/12/30 14:28:04 wiz Exp $
+#
+
+DISTNAME= Crypt-IDEA-1.01
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= security perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Crypt/}
+
+MAINTAINER= packages@netbsd.org
+#HOMEPAGE=
+COMMENT= perl5 module for the IDEA symmetric key algorithm
+
+# IDEA's license
+LICENCE= fee-based-commercial-use
+
+USE_PERL5= # defined
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Crypt/IDEA/.packlist
+
+do-configure:
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/p5-Crypt-IDEA/PLIST b/security/p5-Crypt-IDEA/PLIST
new file mode 100644
index 00000000000..11422994bba
--- /dev/null
+++ b/security/p5-Crypt-IDEA/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/12/30 14:28:04 wiz Exp $
diff --git a/security/p5-Crypt-IDEA/distinfo b/security/p5-Crypt-IDEA/distinfo
new file mode 100644
index 00000000000..b8d0e79e87d
--- /dev/null
+++ b/security/p5-Crypt-IDEA/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/12/30 14:28:04 wiz Exp $
+
+SHA1 (Crypt-IDEA-1.01.tar.gz) = 43fb64fb81d4ab52a74e5897d6ae6836d39be2b7
+Size (Crypt-IDEA-1.01.tar.gz) = 5281 bytes
+SHA1 (patch-aa) = 6a1b70d0d7e4ac854b0afdedf6a188f2a2d1c228
+SHA1 (patch-ab) = 0c3239aa73bbd94803bdfcd7bf745e7169dc66a2
diff --git a/security/p5-Crypt-IDEA/patches/patch-aa b/security/p5-Crypt-IDEA/patches/patch-aa
new file mode 100644
index 00000000000..b096752fc13
--- /dev/null
+++ b/security/p5-Crypt-IDEA/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/12/30 14:28:04 wiz Exp $
+
+--- idea.c.orig Sun Sep 16 22:50:43 2001
++++ idea.c Sun Sep 16 22:50:08 2001
+@@ -5,7 +5,7 @@
+
+ #include "idea.h"
+
+-#include <endian.h>
++#include <sys/endian.h>
+
+ #define KEYS_PER_ROUND 6
+ #define ROUNDS 8
diff --git a/security/p5-Crypt-IDEA/patches/patch-ab b/security/p5-Crypt-IDEA/patches/patch-ab
new file mode 100644
index 00000000000..fee9d1e8e31
--- /dev/null
+++ b/security/p5-Crypt-IDEA/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/12/30 14:28:04 wiz Exp $
+
+--- IDEA.xs.orig Sun Sep 16 22:47:03 2001
++++ IDEA.xs Sun Sep 16 22:47:14 2001
+@@ -63,7 +63,7 @@
+ if (ks_len != sizeof(idea_ks))
+ croak("Invalid key schedule");
+
+- if (output == &sv_undef)
++ if (output == &PL_sv_undef)
+ output = sv_newmortal();
+ output_len = 8;
+