From f05e7a94b08360e0b463c80f66f8fe770321a066 Mon Sep 17 00:00:00 2001 From: Tomáš Mráz Date: Dec 05 2007 09:10:34 +0000 Subject: - beecrypt is now retired from rawhide --- diff --git a/.cvsignore b/.cvsignore deleted file mode 100644 index 9d5d37c..0000000 --- a/.cvsignore +++ /dev/null @@ -1,2 +0,0 @@ -beecrypt-3.1.0.tar.gz -beecrypt-4.1.2.tar.gz diff --git a/Makefile b/Makefile deleted file mode 100644 index ed4c237..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: beecrypt -# $Id$ -NAME := beecrypt -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attempt a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/beecrypt-4.1.2-base64.patch b/beecrypt-4.1.2-base64.patch deleted file mode 100644 index 9f1cfff..0000000 --- a/beecrypt-4.1.2-base64.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- beecrypt-4.1.2/base64.c.b64 2005-04-26 21:46:27.000000000 +0200 -+++ beecrypt-4.1.2/base64.c 2005-04-26 21:47:48.000000000 +0200 -@@ -253,7 +253,6 @@ - unsigned c; - - if (s == NULL) return NULL; -- if (*s == '\0') return calloc(1, sizeof(*t)); - - if (ns == 0) ns = strlen((const char*) s); - nt = ((ns + 2) / 3) * 4; diff --git a/beecrypt-4.1.2-biarch.patch b/beecrypt-4.1.2-biarch.patch deleted file mode 100644 index 7856ab7..0000000 --- a/beecrypt-4.1.2-biarch.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- beecrypt-4.1.2/gnu.h.in.biarch 2006-05-22 15:53:45.000000000 -0400 -+++ beecrypt-4.1.2/gnu.h.in 2006-05-22 15:53:49.000000000 -0400 -@@ -61,7 +61,12 @@ - * make assumptions about the size set by the configure script - */ - #if !defined(MP_WBITS) --# define MP_WBITS @MP_WBITS@ -+# include -+#if __WORDSIZE == 32 -+# define MP_WBITS 32U -+#elif __WORDSIZE == 64 -+# define MP_WBITS 64U -+#endif - #endif - - #endif diff --git a/beecrypt-4.1.2-no-c++.patch b/beecrypt-4.1.2-no-c++.patch deleted file mode 100644 index f547770..0000000 --- a/beecrypt-4.1.2-no-c++.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -uNr beecrypt-4.1.2-nocpp/Makefile.am beecrypt-4.1.2/Makefile.am ---- beecrypt-4.1.2-nocpp/Makefile.am 2004-12-22 09:06:31.000000000 +0200 -+++ beecrypt-4.1.2/Makefile.am 2007-08-07 08:59:34.000000000 +0300 -@@ -49,7 +49,7 @@ - - libalt_LTLIBRARIES = libbeecrypt.la - --libbeecrypt_la_SOURCES = aes.c base64.c beecrypt.c blockmode.c blockpad.c blowfish.c dhaes.c dldp.c dlkp.c dlpk.c dlsvdp-dh.c dsa.c elgamal.c endianness.c entropy.c fips186.c hmac.c hmacmd5.c hmacsha1.c hmacsha256.c md5.c hmacsha384.c hmacsha512.c memchunk.c mp.c mpbarrett.c mpnumber.c mpprime.c mtprng.c pkcs1.c pkcs12.c rsa.c rsakp.c rsapk.c sha1.c sha256.c sha384.c sha512.c sha_k.c timestamp.c cppglue.cxx -+libbeecrypt_la_SOURCES = aes.c base64.c beecrypt.c blockmode.c blockpad.c blowfish.c dhaes.c dldp.c dlkp.c dlpk.c dlsvdp-dh.c dsa.c elgamal.c endianness.c entropy.c fips186.c hmac.c hmacmd5.c hmacsha1.c hmacsha256.c md5.c hmacsha384.c hmacsha512.c memchunk.c mp.c mpbarrett.c mpnumber.c mpprime.c mtprng.c pkcs1.c pkcs12.c rsa.c rsakp.c rsapk.c sha1.c sha256.c sha384.c sha512.c sha_k.c timestamp.c # cppglue.cxx - libbeecrypt_la_DEPENDENCIES = $(BEECRYPT_OBJECTS) - libbeecrypt_la_LIBADD = aesopt.lo blowfishopt.lo mpopt.lo sha1opt.lo - libbeecrypt_la_LDFLAGS = -no-undefined -version-info $(LIBBEECRYPT_LT_CURRENT):$(LIBBEECRYPT_LT_REVISION):$(LIBBEECRYPT_LT_AGE) diff --git a/beecrypt-4.1.2-python-api.patch b/beecrypt-4.1.2-python-api.patch deleted file mode 100644 index 6d59026..0000000 --- a/beecrypt-4.1.2-python-api.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- beecrypt-4.1.2/python/debug-py.c.python-api 2004-06-20 13:09:21.000000000 +0200 -+++ beecrypt-4.1.2/python/debug-py.c 2005-05-17 21:13:14.000000000 +0200 -@@ -1,10 +1,4 @@ -- --/*@unchecked@*/ --extern PyTypeObject PyCode_Type; --/*@unchecked@*/ --extern PyTypeObject PyDictIter_Type; --/*@unchecked@*/ --extern PyTypeObject PyFrame_Type; -+#include "frameobject.h" - - #include "beecrypt/python/mpw-py.h" /* XXX debug only */ - #include "beecrypt/python/rng-py.h" /* XXX debug only */ -@@ -33,7 +27,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/beecrypt-4.1.2-sparc64.patch b/beecrypt-4.1.2-sparc64.patch deleted file mode 100644 index e812348..0000000 --- a/beecrypt-4.1.2-sparc64.patch +++ /dev/null @@ -1,74 +0,0 @@ -diff -uNr beecrypt-4.1.2-orig/acinclude.m4 beecrypt-4.1.2/acinclude.m4 ---- beecrypt-4.1.2-orig/acinclude.m4 2004-12-19 14:16:35.000000000 -0600 -+++ beecrypt-4.1.2/acinclude.m4 2007-11-29 11:48:32.000000000 -0600 -@@ -102,6 +102,29 @@ - ;; - esac - ;; -+ sparc*) -+ case $withval in -+ sparc) -+ ;; -+ sparcv[789]) -+ bc_target_arch=sparc -+ ;; -+ sparcv9v) -+ bc_target_arch=sparc -+ ;; -+ sparc64) -+ bc_target_arch=sparc64 -+ ;; -+ sparc64v) -+ bc_target_arch=sparc64 -+ ;; -+ *) -+ AC_MSG_WARN([unsupported on invalid arch type]) -+ bc_target_arch=sparc -+ ;; -+ esac -+ ;; -+ - esac - ]) - -@@ -133,9 +156,15 @@ - s390x) - bc_target_arch=s390x - ;; -- sparc*) -+ sparc) - bc_target_arch=sparc - ;; -+ sparcv[789]*) -+ bc_target_arch=sparc -+ ;; -+ sparc64*) -+ bc_target_arch=sparc64 -+ ;; - x86_64) - bc_target_arch=x86_64 - ;; -diff -uNr beecrypt-4.1.2-orig/aclocal.m4 beecrypt-4.1.2/aclocal.m4 ---- beecrypt-4.1.2-orig/aclocal.m4 2004-12-21 05:38:18.000000000 -0600 -+++ beecrypt-4.1.2/aclocal.m4 2007-11-28 15:18:51.000000000 -0600 -@@ -1435,7 +1435,7 @@ - # find out which ABI we are using - libsuff= - case "$host_cpu" in -- x86_64*|s390x*|powerpc64*) -+ x86_64*|s390x*|powerpc64*|sparc64*) - echo '[#]line __oline__ "configure"' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - case `/usr/bin/file conftest.$ac_objext` in -diff -uNr beecrypt-4.1.2-orig/configure.ac beecrypt-4.1.2/configure.ac ---- beecrypt-4.1.2-orig/configure.ac 2004-12-21 05:37:56.000000000 -0600 -+++ beecrypt-4.1.2/configure.ac 2007-11-28 12:45:39.000000000 -0600 -@@ -614,7 +614,7 @@ - case $target_os in - linux*) - case $bc_target_arch in -- powerpc64 | s390x | x86_64) -+ powerpc64 | s390x | x86_64| sparc64 ) - bc_libalt="64" - ;; - esac diff --git a/beecrypt-4.1.2-with-debug.patch b/beecrypt-4.1.2-with-debug.patch deleted file mode 100644 index 2e28582..0000000 --- a/beecrypt-4.1.2-with-debug.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -up beecrypt-4.1.2/acinclude.m4.withdebug beecrypt-4.1.2/acinclude.m4 ---- beecrypt-4.1.2/acinclude.m4.withdebug 2007-08-07 09:17:48.000000000 +0300 -+++ beecrypt-4.1.2/acinclude.m4 2007-08-07 09:17:58.000000000 +0300 -@@ -459,7 +459,6 @@ AC_DEFUN([BEECRYPT_GNU_CC],[ - CFLAGS="$CFLAGS -Wall -pedantic" - else - # Generic optimizations, including cpu tuning -- BEECRYPT_CFLAGS_REM([-g]) - CFLAGS="$CFLAGS -DNDEBUG -fomit-frame-pointer" - if test "$bc_cv_c_aggressive_opt" = yes; then - case $bc_target_cpu in diff --git a/beecrypt-4.1.2.tar.gz.sig b/beecrypt-4.1.2.tar.gz.sig deleted file mode 100644 index 76bb6fb..0000000 Binary files a/beecrypt-4.1.2.tar.gz.sig and /dev/null differ diff --git a/beecrypt.spec b/beecrypt.spec deleted file mode 100644 index d47e355..0000000 --- a/beecrypt.spec +++ /dev/null @@ -1,325 +0,0 @@ - -%define with_python --with-python -%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -#define with_java --with-java - -Summary: An open source cryptography library. -Name: beecrypt -Version: 4.1.2 -Release: 15 -Group: System Environment/Libraries -License: LGPLv2+ -URL: http://sourceforge.net/projects/beecrypt -Source0: http://prdownloads.sourceforge.net/beecrypt/%{name}-%{version}.tar.gz -Source1: http://prdownloads.sourceforge.net/beecrypt/%{name}-%{version}.tar.gz.sig -Patch0: beecrypt-4.1.2-base64.patch -Patch1: beecrypt-4.1.2-python-api.patch -Patch2: beecrypt-4.1.2-biarch.patch -Patch3: beecrypt-4.1.2-no-c++.patch -Patch4: beecrypt-4.1.2-with-debug.patch -Patch5: beecrypt-4.1.2-sparc64.patch -# XXX auto* needed for patches 3 & 4 -BuildRequires: autoconf automake libtool -BuildRequires: doxygen tetex-dvips tetex-latex -# XXX this causes hideous amount of syntax errors from ghostscript... -BuildRequires: graphviz -BuildRequires: m4 -%if %{?with_python:1}0 -BuildRequires: python-devel -BuildRequires: python -%endif -BuildRoot: %{_tmppath}/%{name}-root -Obsoletes: beecrypt-java =< 4.1.2-2 - -%description -Beecrypt is a general-purpose cryptography library. - -%package devel -Summary: Files needed for developing applications with beecrypt. -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} - -%description devel -Beecrypt is a general-purpose cryptography library. This package contains -files needed for developing applications with beecrypt. - -%package apidocs -Summary: API documentation for beecrypt -Group: Documentation - -%description apidocs -Beecrypt is a general-purpose cryptography library. This package contains -API documentation for developing applications with beecrypt. - -%if %{?with_python:1}0 -%package python -Summary: Files needed for python applications using beecrypt. -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} - -%description python -Beecrypt is a general-purpose cryptography library. This package contains -files needed for using python with beecrypt. -%endif - -%if %{?with_java:1}0 -%package java -Summary: Files needed for java applications using beecrypt. -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} - -%description java -Beecrypt is a general-purpose cryptography library. This package contains -files needed for using java with beecrypt. -%endif - -%prep -%setup -q -%patch0 -p1 -b .base64 -%patch1 -p1 -b .python-api -%patch2 -p1 -b .biarch -%patch3 -p1 -b .noc++ -%patch4 -p1 -b .withdebug -%patch5 -p1 -b .sparc64 - -autoreconf - -%build - -%configure --enable-shared --enable-static %{?with_python} \ - %{?with_java}%{!?with_java:--with-java=no} --with-cplusplus=no - -make %{?_smp_mflags} \ - %{?with_python:pythondir="%{python_sitelib}"} -doxygen - -%install -rm -fr $RPM_BUILD_ROOT -make install DESTDIR=$RPM_BUILD_ROOT \ - %{?with_python:pythondir="%{python_sitelib}"} - -# XXX nuke unpackaged files, artifacts from using libtool to produce module -rm -f ${RPM_BUILD_ROOT}%{python_sitelib}/_bc.*a - -# XXX delete next line to build with legacy, non-check aware, rpmbuild. -%check -make check || : -cat /proc/cpuinfo -make bench || : - -%clean -rm -fr $RPM_BUILD_ROOT - -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig - -%files -%defattr(-,root,root) -%doc README BENCHMARKS -%{_libdir}/libbeecrypt.so.* - -%files devel -%defattr(-,root,root) -%doc BUGS -%{_includedir}/%{name} -%{_libdir}/libbeecrypt.a -%{_libdir}/libbeecrypt.la -%{_libdir}/libbeecrypt.so - -%files apidocs -%defattr(-,root,root) -%doc docs/html - -%if %{?with_python:1}0 -%files python -%defattr(-,root,root) -%{python_sitelib}/_bc.so -%endif - -%if %{?with_java:1}0 -%files java -%defattr(-,root,root) -%{_libdir}/libbeecrypt_java.a -%{_libdir}/libbeecrypt_java.la -%{_libdir}/libbeecrypt_java.so* -%endif - -%changelog -* Thu Nov 29 2007 Dennis Gilmore - 4.1.2-15 -- update sparc64 patch - -* Wed Nov 28 2007 Dennis Gilmore - 4.1.2-14 -- add patch so sparc64 gets lib64 - -* Wed Aug 22 2007 Panu Matilainen - 4.1.2-13 -- avoid linking against libstdc++ (#165080) -- fix debuginfo contents by building with -g (#250035) -- autoreconf needed for the above, buildrequire autoconf, automake + libtool -- include api documentation in apidocs subpackage -- buildrequire graphviz for generating graphics in apidocs -- license clarification - -* Wed Dec 6 2006 Jeremy Katz - 4.1.2-12 -- rebuild against python 2.5 -- follow python packaging guidelines - -* Wed Jul 12 2006 Jesse Keating - 4.1.2-10.1.1 -- rebuild - -* Tue Jun 27 2006 Paul Nasrat - 4.1.2-10.1 -- Fix missing BR - -* Mon May 22 2006 Paul Nasrat - 4.1.2-10 -- Make multilib-devel work - -* Fri Feb 10 2006 Jesse Keating - 4.1.2-9.2.1 -- bump again for double-long bug on ppc(64) - -* Tue Feb 07 2006 Jesse Keating - 4.1.2-9.2 -- rebuilt for new gcc4.1 snapshot and glibc changes - -* Fri Dec 09 2005 Jesse Keating -- rebuilt - -* Sat Oct 15 2005 Florian La Roche -- Use -with-cplusplus=no. The libs still require libstdc++, so - this needs further cleanup. - -* Tue May 17 2005 Miloslav Trmac - 4.1.2-8 -- Remove dependencies on private symbols not present in Python 2.4 from - beecrypt-python - -* Tue May 17 2005 Miloslav Trmac - 4.1.2-7 -- Doh, actually apply the patch - -* Tue May 17 2005 Miloslav Trmac - 4.1.2-6 -- Fix b64encode() for data starting with NUL (#123650) - -* Fri Apr 01 2005 Warren Togami 4.1.2-5 -- remove huge API docs - -* Fri Apr 01 2005 Paul Nasrat 4.1.2-4 -- Obsolete older beecrypt-java - -* Tue Mar 29 2005 Paul Nasrat 4.1.2-3 -- Disable beecrypt-java (#151294) - -* Fri Mar 4 2005 Jeff Johnson 4.1.2-2 -- rebuild with gcc4. - -* Sat Feb 5 2005 Jeff Johnson 4.1.2-1 -- upgrade to 4.1.2 -- put java components in sub-package. -- check that /usr/lib64 is not used on alpha (#146583). - -* Fri Feb 4 2005 Miloslav Trmac - 3.1.0-7 -- Rebuild against Python 2.4 - -* Sun Aug 08 2004 Alan Cox 3.1.0-6 -- Build requires libtool (Steve Grubb) - -* Fri Jul 02 2004 Elliot Lee 3.1.0-5 -- rebuilt -- Add _smp_mflags - -* Wed Mar 24 2004 Jeff Johnson 3.1.0-3 -- fix: extgcd_w problem fixed by upgrading from CVS. - -* Tue Mar 02 2004 Elliot Lee -- rebuilt - -* Fri Feb 13 2004 Elliot Lee -- rebuilt - -* Mon Dec 22 2003 Jeff Johnson 3.1.0-1 -- upgrade to 3.1.0. -- recompile against python-2.3.3. - -* Mon Jun 30 2003 Jeff Johnson 3.0.1-0.20030630 -- upstream fixes for DSA and ppc64. - -* Mon Jun 23 2003 Jeff Johnson 3.0.0-2 -- upgrade to 3.0.0 final. -- fix for DSA (actually, modulo inverse) sometimes failing. - -* Fri Jun 20 2003 Jeff Johnson 3.0.0-1.20030619 -- avoid asm borkage on ppc64. - -* Thu Jun 19 2003 Jeff Johnson 3.0.0-1.20030618 -- rebuild for release bump. - -* Tue Jun 17 2003 Jeff Johnson 3.0.0-1.20030616 -- try to out smart libtool a different way. -- use $bc_target_cpu, not $bc_target_arch, to detect /usr/lib64. - -* Mon Jun 16 2003 Jeff Johnson 3.0.0-1.20030615 -- use -mcpu=powerpc64 on ppc64. - -* Fri Jun 13 2003 Jeff Johnson 3.0.0-1.20030613 -- upgrade to latest snapshot. - -* Fri Jun 6 2003 Jeff Johnson 3.0.0-1.20030605 -- rebuild into another tree. - -* Wed Jun 04 2003 Elliot Lee -- rebuilt - -* Tue Jun 3 2003 Jeff Johnson 3.0.0-0.20030603 -- update to 3.0.0 snapshot, fix mpmod (and DSA) on 64b platforms. - -* Mon Jun 2 2003 Jeff Johnson 3.0.0-0.20030602 -- update to 3.0.0 snapshot, merge patches, fix gcd rshift and ppc problems. - -* Thu May 29 2003 Jeff Johnson 3.0.0-0.20030529 -- update to 3.0.0 snapshot, fix ia64/x86_64 build problems. - -* Wed May 28 2003 Jeff Johnson 3.0.0-0.20030528 -- upgrade to 3.0.0 snapshot, adding rpm specific base64.[ch] changes. -- add PYTHONPATH=.. so that "make check" can test the just built _bc.so module. -- grab cpuinfo and run "make bench". -- continue ignoring "make check" failures, LD_LIBRARY_PATH needed for _bc.so. -- skip asm build failure on ia64 for now. -- ignore "make bench" exit codes too, x86_64 has AES segfault. - -* Wed May 21 2003 Jeff Johnson 3.0.0-0.20030521 -- upgrade to 3.0.0 snapshot, including python subpackage. -- ignore "make check" failure for now. - -* Fri May 16 2003 Jeff Johnson 3.0.0-0.20030516 -- upgrade to 3.0.0 snapshot, including ia64 and x86_64 fixes. -- add %%check. -- ignore "make check" failure on ia64 for now. - -* Mon May 12 2003 Jeff Johnson 3.0.0-0.20030512 -- upgrade to 3.0.0 snapshot. -- add doxygen doco. -- use /dev/urandom as default entropy source. -- avoid known broken compilation for now. - -* Wed Jan 22 2003 Tim Powers -- rebuilt - -* Tue Nov 19 2002 Tim Powers -- rebuild on all arches - -* Fri Aug 2 2002 Jeff Johnson 2.2.0-6 -- install types.h (#68999). - -* Fri Jun 21 2002 Tim Powers -- automated rebuild - -* Wed Jun 5 2002 Jeff Johnson -- run ldconfig when installing/erasing (#65974). - -* Thu May 23 2002 Tim Powers -- automated rebuild - -* Mon May 13 2002 Jeff Johnson -- upgrade to latest 2.2.0 (from cvs.rpm.org). - -* Mon Jan 21 2002 Jeff Johnson -- use the same beecrypt-2.2.0 that rpm is using internally. - -* Thu Jan 10 2002 Nalin Dahyabhai 2.1.0-1 -- initial package diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..2740486 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +This package is obsolete. diff --git a/sources b/sources deleted file mode 100644 index 71add66..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -820d26437843ab0a6a8a5151a73a657c beecrypt-4.1.2.tar.gz