OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 18-Sep-2003 16:09:12 Branch: HEAD Handle: 2003091815091200 Modified files: openpkg-src/openpkg HISTORY openpkg.spec Log: use assembly code in BeeCrypt only for platform where it is known to work. This especially gets the bootstrap package again building under ancient Debian 2.2 and other old platforms Summary: Revision Changes Path 1.57 +1 -0 openpkg-src/openpkg/HISTORY 1.220 +25 -12 openpkg-src/openpkg/openpkg.spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/openpkg/HISTORY ============================================================================ $ cvs diff -u -r1.56 -r1.57 HISTORY --- openpkg-src/openpkg/HISTORY 18 Sep 2003 12:43:03 -0000 1.56 +++ openpkg-src/openpkg/HISTORY 18 Sep 2003 14:09:12 -0000 1.57 @@ -2,6 +2,7 @@ 2003 ==== +20030918 use assembly code in BeeCrypt only for platform where it is known to work 20030918 add RPM internal %{_force_oldpackage} option for enforcing --oldpackage on upgrades 20030918 introduce new rpmdb utility for administrating the RPM database on the lower level 20030916 RPM database mutex workaround for Solaris plus the passing of option -b to patch(1) @@ . patch -p0 <<'@@ .' Index: openpkg-src/openpkg/openpkg.spec ============================================================================ $ cvs diff -u -r1.219 -r1.220 openpkg.spec --- openpkg-src/openpkg/openpkg.spec 18 Sep 2003 11:45:07 -0000 1.219 +++ openpkg-src/openpkg/openpkg.spec 18 Sep 2003 14:09:12 -0000 1.220 @@ -497,18 +497,6 @@ ${l_make} CC="${l_cc}" CFLAGS="-O" libz.a || exit $? ) || exit $? - # build BeeCrypt library - ( cd beecrypt-%{V_beecrypt} - CC="${l_cc}" \ - CFLAGS="-O" \ - ./configure \ - --prefix=%{l_prefix} \ - --disable-threads \ - --disable-shared - ${l_make} || exit $? - cp .libs/libbeecrypt.a . - ) || exit $? - # display verbosity header set +x; VERBOSE "BUILD: Build cURL (URL Fetching Tool)" @@ -531,6 +519,31 @@ --with-zlib=`pwd`/../zlib-%{V_zlib} ${l_make} || exit $? ( mv src/curl ..; ${l_make} clean || true; mv ../curl ./src ) || exit $? + ) || exit $? + + # display verbosity header + set +x; VERBOSE "BUILD: Build BeeCrypt (Cryptography Library)" + + # build BeeCrypt library + ( cd beecrypt-%{V_beecrypt} + opts="" + platform="`SOURCE platform`" + platform="`sh $platform -n -L -S '' -C '+' -F '%<ap>-%<sp>'`" + case "$platform" in + ix86-freebsd[45]* ) ;; + ix86-debian3.0 | ix86-redhat9 | ix86-suse8* ) ;; + sparc64-solaris[89] ) ;; + * ) opts="--with-cpu=none --with-arch=none" ;; + esac + CC="${l_cc}" \ + CFLAGS="-O" \ + ./configure \ + --prefix=%{l_prefix} \ + --disable-threads \ + --disable-shared \ + $opts + ${l_make} || exit $? + cp .libs/libbeecrypt.a . ) || exit $? # display verbosity header @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]