summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cummings <mcummings@gentoo.org>2006-06-24 17:37:55 +0000
committerMichael Cummings <mcummings@gentoo.org>2006-06-24 17:37:55 +0000
commita880c5dbfa91d28c8a883119c2b5716b02ad879f (patch)
treef3ac42bc4dbb99cf24e863b6a4e6a0216bfa7095 /dev-perl/Crypt-Rijndael
parentInitial commit. Thanks to Rohan McGovern <rohan@rohanpm.net> for the initial ... (diff)
downloadgentoo-2-a880c5dbfa91d28c8a883119c2b5716b02ad879f.tar.gz
gentoo-2-a880c5dbfa91d28c8a883119c2b5716b02ad879f.tar.bz2
gentoo-2-a880c5dbfa91d28c8a883119c2b5716b02ad879f.zip
Keywording ~amd64, including patch derived from rt#9514
(Portage version: 2.1.1_pre1-r1)
Diffstat (limited to 'dev-perl/Crypt-Rijndael')
-rw-r--r--dev-perl/Crypt-Rijndael/ChangeLog6
-rw-r--r--dev-perl/Crypt-Rijndael/Crypt-Rijndael-0.05.ebuild11
-rw-r--r--dev-perl/Crypt-Rijndael/files/crypt-rijndael-amd64.patch12
-rw-r--r--dev-perl/Crypt-Rijndael/files/digest-Crypt-Rijndael-0.052
4 files changed, 27 insertions, 4 deletions
diff --git a/dev-perl/Crypt-Rijndael/ChangeLog b/dev-perl/Crypt-Rijndael/ChangeLog
index 7b8d7b1fa73c..3b8b7cecfaff 100644
--- a/dev-perl/Crypt-Rijndael/ChangeLog
+++ b/dev-perl/Crypt-Rijndael/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-perl/Crypt-Rijndael
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/Crypt-Rijndael/ChangeLog,v 1.6 2006/04/21 21:05:18 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Crypt-Rijndael/ChangeLog,v 1.7 2006/06/24 17:37:55 mcummings Exp $
+
+ 24 Jun 2006; Michael Cummings <mcummings@gentoo.org>
+ +files/crypt-rijndael-amd64.patch, Crypt-Rijndael-0.05.ebuild:
+ Keywording ~amd64, including patch derived from rt#9514
21 Apr 2006; Gustavo Zacarias <gustavoz@gentoo.org>
Crypt-Rijndael-0.05.ebuild:
diff --git a/dev-perl/Crypt-Rijndael/Crypt-Rijndael-0.05.ebuild b/dev-perl/Crypt-Rijndael/Crypt-Rijndael-0.05.ebuild
index f5e68563d0cc..bea80dc85d81 100644
--- a/dev-perl/Crypt-Rijndael/Crypt-Rijndael-0.05.ebuild
+++ b/dev-perl/Crypt-Rijndael/Crypt-Rijndael-0.05.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/Crypt-Rijndael/Crypt-Rijndael-0.05.ebuild,v 1.6 2006/04/21 21:05:18 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Crypt-Rijndael/Crypt-Rijndael-0.05.ebuild,v 1.7 2006/06/24 17:37:55 mcummings Exp $
-inherit perl-module
+inherit perl-module eutils
DESCRIPTION="Crypt::CBC compliant Rijndael encryption module"
HOMEPAGE="http://search.cpan.org/~dido/${P}/"
@@ -11,7 +11,12 @@ SRC_URI="mirror://cpan/authors/id/D/DI/DIDO/${P}.tar.gz"
LICENSE="|| ( Artistic GPL-2 )"
SLOT="0"
-KEYWORDS="hppa ~ia64 sparc x86"
+KEYWORDS="~amd64 hppa ~ia64 sparc x86"
IUSE=""
SRC_TEST="do"
+
+src_unpack() {
+ unpack ${A}
+ use amd64 && cd ${S} && epatch ${FILESDIR}/crypt-rijndael-amd64.patch
+}
diff --git a/dev-perl/Crypt-Rijndael/files/crypt-rijndael-amd64.patch b/dev-perl/Crypt-Rijndael/files/crypt-rijndael-amd64.patch
new file mode 100644
index 000000000000..c9b504b40035
--- /dev/null
+++ b/dev-perl/Crypt-Rijndael/files/crypt-rijndael-amd64.patch
@@ -0,0 +1,12 @@
+diff -Naurp Crypt-Rijndael-0.05.orig/rijndael.h Crypt-Rijndael-0.05/rijndael.h
+--- Crypt-Rijndael-0.05.orig/rijndael.h 2001-09-17 04:52:05.000000000 -0400
++++ Crypt-Rijndael-0.05/rijndael.h 2006-06-24 13:35:04.000000000 -0400
+@@ -27,7 +27,7 @@
+
+ #include <stdlib.h>
+
+-typedef unsigned long UINT32;
++typedef unsigned int UINT32;
+ typedef unsigned char UINT8;
+
+ /* Other block sizes and key lengths are possible, but in the context of
diff --git a/dev-perl/Crypt-Rijndael/files/digest-Crypt-Rijndael-0.05 b/dev-perl/Crypt-Rijndael/files/digest-Crypt-Rijndael-0.05
index 414f8bdfbe24..c6c23767891d 100644
--- a/dev-perl/Crypt-Rijndael/files/digest-Crypt-Rijndael-0.05
+++ b/dev-perl/Crypt-Rijndael/files/digest-Crypt-Rijndael-0.05
@@ -1 +1,3 @@
MD5 af8628fee8648f26c94916ef8edf32d9 Crypt-Rijndael-0.05.tar.gz 23676
+RMD160 53727dea6eea199a06774e6542360b74a1fcd89e Crypt-Rijndael-0.05.tar.gz 23676
+SHA256 5863e140cce50e8435c94802dc60880419bdab77c5001d74cd2fbcf1fa781fc0 Crypt-Rijndael-0.05.tar.gz 23676