summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandro Bonazzola <sanchan@gentoo.org>2006-06-15 19:55:07 +0000
committerSandro Bonazzola <sanchan@gentoo.org>2006-06-15 19:55:07 +0000
commit7b3e35eaff9b7127270551376ff641e7ba763a36 (patch)
tree808388a6991b7f812f345859b99b93876fc384c9 /dev-libs/beecrypt/files
parentVersion bump to 0.21.1. Removed ancient 0.11 ebuild. (diff)
downloadgentoo-2-7b3e35eaff9b7127270551376ff641e7ba763a36.tar.gz
gentoo-2-7b3e35eaff9b7127270551376ff641e7ba763a36.tar.bz2
gentoo-2-7b3e35eaff9b7127270551376ff641e7ba763a36.zip
Fixing ebuild headers, adding metadata.xml. Updated without bumping beecrypt-4.1.2-r1 ebuild. This ebuild uses upstream patches from cvs. Fixes python test failures on pentium3, athlon-xp, pentium-mmx; provides a workaround for pentium-m and athlon64. The ebuild is far from perfection, see bug #124900 for known issues. Thanks to Benedikt Boehm, #gentoo-python, #gentoo-amd64-dev, #gentoo-java for their support.
(Portage version: 2.1)
Diffstat (limited to 'dev-libs/beecrypt/files')
-rw-r--r--dev-libs/beecrypt/files/beecrypt-4.1.2-configure-ac.patch56
-rw-r--r--dev-libs/beecrypt/files/beecrypt-4.1.2-python-Makefile-am.patch8
-rw-r--r--dev-libs/beecrypt/files/beecrypt-4.1.2-python-debug-py-c.patch23
-rw-r--r--dev-libs/beecrypt/files/digest-beecrypt-3.1.0-r12
-rw-r--r--dev-libs/beecrypt/files/digest-beecrypt-3.1.0-r22
-rw-r--r--dev-libs/beecrypt/files/digest-beecrypt-4.1.22
-rw-r--r--dev-libs/beecrypt/files/digest-beecrypt-4.1.2-r12
7 files changed, 95 insertions, 0 deletions
diff --git a/dev-libs/beecrypt/files/beecrypt-4.1.2-configure-ac.patch b/dev-libs/beecrypt/files/beecrypt-4.1.2-configure-ac.patch
new file mode 100644
index 000000000000..e224ea8b51bf
--- /dev/null
+++ b/dev-libs/beecrypt/files/beecrypt-4.1.2-configure-ac.patch
@@ -0,0 +1,56 @@
+--- beecrypt-4.1.2/configure.ac 2004-12-21 12:37:56.000000000 +0100
++++ beecrypt-cvs/configure.ac 2006-01-07 09:48:07.000000000 +0100
+@@ -502,8 +513,7 @@
+ CPPFLAGS="$CPPFLAGS -DOPTIMIZE_ARM"
+ ;;
+ athlon*)
+- CPPFLAGS="$CPPFLAGS -DOPTIMIZE_I386 -DOPTIMIZE_MMX"
+- CFLAGS="$CFLAGS -mmmx"
++ CPPFLAGS="$CPPFLAGS -DOPTIMIZE_I686 -DOPTIMIZE_MMX"
+ ;;
+ i386)
+ CPPFLAGS="$CPPFLAGS -DOPTIMIZE_I386"
+@@ -526,24 +536,23 @@
+ pentium)
+ CPPFLAGS="$CPPFLAGS -DOPTIMIZE_I586"
+ ;;
++ pentium-m)
++ CPPFLAGS="$CPPFLAGS -DOPTIMIZE_I686 -DOPTIMIZE_MMX -DOPTIMIZE_SSE -DOPTIMIZE_SSE2"
++ ;;
+ pentium-mmx)
+ CPPFLAGS="$CPPFLAGS -DOPTIMIZE_I586 -DOPTIMIZE_MMX"
+- CFLAGS="$CFLAGS -mmmx"
+ ;;
+ pentiumpro)
+ CPPFLAGS="$CPPFLAGS -DOPTIMIZE_I686"
+ ;;
+ pentium2)
+ CPPFLAGS="$CPPFLAGS -DOPTIMIZE_I686 -DOPTIMIZE_MMX"
+- CFLAGS="$CFLAGS -mmmx"
+ ;;
+ pentium3)
+ CPPFLAGS="$CPPFLAGS -DOPTIMIZE_I686 -DOPTIMIZE_MMX -DOPTIMIZE_SSE"
+- CFLAGS="$CFLAGS -msse"
+ ;;
+ pentium4)
+ CPPFLAGS="$CPPFLAGS -DOPTIMIZE_I686 -DOPTIMIZE_MMX -DOPTIMIZE_SSE -DOPTIMIZE_SSE2"
+- CFLAGS="$CFLAGS -msse2"
+ ;;
+ powerpc)
+ CPPFLAGS="$CPPFLAGS -DOPTIMIZE_POWERPC"
+@@ -556,15 +565,12 @@
+ ;;
+ sparcv8)
+ CPPFLAGS="$CPPFLAGS -DOPTIMIZE_SPARCV8"
+- CFLAGS="$CFLAGS -Wa,-xarch=v8"
+ ;;
+ sparcv8plus*)
+ CPPFLAGS="$CPPFLAGS -DOPTIMIZE_SPARCV8PLUS"
+- CFLAGS="$CFLAGS -Wa,-xarch=v8plus"
+ ;;
+ sparcv9*)
+ CPPFLAGS="$CPPFLAGS -DOPTIMIZE_SPARCV9"
+- CFLAGS="$CFLAGS -Wa,-xarch=v9"
+ ;;
+ x86_64)
+ CPPFLAGS="$CPPFLAGS -DOPTIMIZE_X86_64"
diff --git a/dev-libs/beecrypt/files/beecrypt-4.1.2-python-Makefile-am.patch b/dev-libs/beecrypt/files/beecrypt-4.1.2-python-Makefile-am.patch
new file mode 100644
index 000000000000..c78982afbaf6
--- /dev/null
+++ b/dev-libs/beecrypt/files/beecrypt-4.1.2-python-Makefile-am.patch
@@ -0,0 +1,8 @@
+--- beecrypt-4.1.2/python/test/Makefile.am 2004-07-19 08:07:59.000000000 +0200
++++ beecrypt-cvs/python/test/Makefile.am 2006-05-06 15:04:17.000000000 +0200
+@@ -11,4 +11,4 @@
+ all:
+
+ check:
+- $(VALGRIND) PYTHONPATH=.. python test_all.py verbose
++ $(VALGRIND) PYTHONPATH="..:../.libs" python test_all.py verbose
diff --git a/dev-libs/beecrypt/files/beecrypt-4.1.2-python-debug-py-c.patch b/dev-libs/beecrypt/files/beecrypt-4.1.2-python-debug-py-c.patch
new file mode 100644
index 000000000000..7bb0e7886a0b
--- /dev/null
+++ b/dev-libs/beecrypt/files/beecrypt-4.1.2-python-debug-py-c.patch
@@ -0,0 +1,23 @@
+--- beecrypt-4.1.2/python/debug-py.c 2004-06-20 13:09:21.000000000 +0200
++++ beecrypt-cvs/python/debug-py.c 2005-06-16 09:38:01.000000000 +0200
+@@ -1,10 +1,5 @@
+-
+-/*@unchecked@*/
+-extern PyTypeObject PyCode_Type;
+-/*@unchecked@*/
+-extern PyTypeObject PyDictIter_Type;
+-/*@unchecked@*/
+-extern PyTypeObject PyFrame_Type;
++#include "compile.h"
++#include "frameobject.h"
+
+ #include "beecrypt/python/mpw-py.h" /* XXX debug only */
+ #include "beecrypt/python/rng-py.h" /* XXX debug only */
+@@ -33,7 +28,6 @@
+ if (o->ob_type == &PyCode_Type) return "Code";
+ if (o->ob_type == &PyComplex_Type) return "Complex";
+ if (o->ob_type == &PyDict_Type) return "Dict";
+- if (o->ob_type == &PyDictIter_Type) return "DictIter";
+ if (o->ob_type == &PyFile_Type) return "File";
+ if (o->ob_type == &PyFloat_Type) return "Float";
+ if (o->ob_type == &PyFrame_Type) return "Frame";
diff --git a/dev-libs/beecrypt/files/digest-beecrypt-3.1.0-r1 b/dev-libs/beecrypt/files/digest-beecrypt-3.1.0-r1
index c1eceaa1cc97..89b4d6802bff 100644
--- a/dev-libs/beecrypt/files/digest-beecrypt-3.1.0-r1
+++ b/dev-libs/beecrypt/files/digest-beecrypt-3.1.0-r1
@@ -1 +1,3 @@
MD5 1472cada46e2ab9f532f984de9740386 beecrypt-3.1.0.tar.gz 452555
+RMD160 da5f1ad11f8724ee75c2860252a881d1591ccb43 beecrypt-3.1.0.tar.gz 452555
+SHA256 50b574d330fecbc9faed81746a1abfcec903c264ae753ac64d4edf22c701519f beecrypt-3.1.0.tar.gz 452555
diff --git a/dev-libs/beecrypt/files/digest-beecrypt-3.1.0-r2 b/dev-libs/beecrypt/files/digest-beecrypt-3.1.0-r2
index c1eceaa1cc97..89b4d6802bff 100644
--- a/dev-libs/beecrypt/files/digest-beecrypt-3.1.0-r2
+++ b/dev-libs/beecrypt/files/digest-beecrypt-3.1.0-r2
@@ -1 +1,3 @@
MD5 1472cada46e2ab9f532f984de9740386 beecrypt-3.1.0.tar.gz 452555
+RMD160 da5f1ad11f8724ee75c2860252a881d1591ccb43 beecrypt-3.1.0.tar.gz 452555
+SHA256 50b574d330fecbc9faed81746a1abfcec903c264ae753ac64d4edf22c701519f beecrypt-3.1.0.tar.gz 452555
diff --git a/dev-libs/beecrypt/files/digest-beecrypt-4.1.2 b/dev-libs/beecrypt/files/digest-beecrypt-4.1.2
index 8f5416806b20..776005bb16fb 100644
--- a/dev-libs/beecrypt/files/digest-beecrypt-4.1.2
+++ b/dev-libs/beecrypt/files/digest-beecrypt-4.1.2
@@ -1 +1,3 @@
MD5 820d26437843ab0a6a8a5151a73a657c beecrypt-4.1.2.tar.gz 774280
+RMD160 fe26e5429738450fa2ef00b37e9725eec29bda08 beecrypt-4.1.2.tar.gz 774280
+SHA256 f29eb246947677a9e7870521e3d576fd0d91a7072210a4404ed137e40cfc18fd beecrypt-4.1.2.tar.gz 774280
diff --git a/dev-libs/beecrypt/files/digest-beecrypt-4.1.2-r1 b/dev-libs/beecrypt/files/digest-beecrypt-4.1.2-r1
index 8f5416806b20..776005bb16fb 100644
--- a/dev-libs/beecrypt/files/digest-beecrypt-4.1.2-r1
+++ b/dev-libs/beecrypt/files/digest-beecrypt-4.1.2-r1
@@ -1 +1,3 @@
MD5 820d26437843ab0a6a8a5151a73a657c beecrypt-4.1.2.tar.gz 774280
+RMD160 fe26e5429738450fa2ef00b37e9725eec29bda08 beecrypt-4.1.2.tar.gz 774280
+SHA256 f29eb246947677a9e7870521e3d576fd0d91a7072210a4404ed137e40cfc18fd beecrypt-4.1.2.tar.gz 774280