Changeset 15318 in niluje


Ignore:
Timestamp:
Aug 15, 2018, 1:51:04 AM (22 months ago)
Author:
NiLuJe
Message:

Kindle Hacks:

  • X-TC:
    • Bump OpenSSL 1.0.x
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Configs/trunk/Kindle/Misc/x-compile.sh

    r15316 r15318  
    15711571        echo ""
    15721572        cd ..
    1573         tar -I pigz -xvf /usr/portage/distfiles/openssl-1.0.2o.tar.gz
    1574         cd openssl-1.0.2o
     1573        tar -I pigz -xvf /usr/portage/distfiles/openssl-1.0.2p.tar.gz
     1574        cd openssl-1.0.2p
    15751575        update_title_info
    1576         tar xvJf /usr/portage/distfiles/openssl-1.0.2-patches-1.4.tar.xz
     1576        tar xvJf /usr/portage/distfiles/openssl-1.0.2-patches-1.5.tar.xz
    15771577        export CPPFLAGS="${BASE_CPPFLAGS} -DOPENSSL_NO_BUF_FREELISTS"
    15781578        #export CFLAGS="${CPPFLAGS} ${BASE_CFLAGS} -fno-strict-aliasing"
     
    15841584                patch -p1 < ${patchfile}
    15851585        done
    1586         patch -p1 < /usr/portage/dev-libs/openssl/files/openssl-1.0.2o-CVE-2018-0732.patch
    15871586        # FIXME: Periodically check if the Kernel has been tweaked, and we can use the PMCCNTR in userland.
    15881587        # NOTE: When Amazon ported FW 5.4.x to the PW1, they apparently helpfully backported this regression too, so apply that to K5 builds, too...
     
    16171616        CFLAG="$(< x-compile-tmp)"
    16181617        sed -i -e "/^CFLAG/s:=.*:=${CFLAG} ${CFLAGS}:" -e "/^SHARED_LDFLAGS=/s:$: ${LDFLAGS}:" Makefile
    1619         make -j1 AR="${CROSS_TC}-gcc-ar r" RANLIB="${CROSS_TC}-gcc-ranlib" NM="${CROSS_TC}-gcc-nm" depend
    1620         make AR="${CROSS_TC}-gcc-ar r" RANLIB="${CROSS_TC}-gcc-ranlib" NM="${CROSS_TC}-gcc-nm" all
    1621         make AR="${CROSS_TC}-gcc-ar r" RANLIB="${CROSS_TC}-gcc-ranlib" NM="${CROSS_TC}-gcc-nm" rehash
    1622         make AR="${CROSS_TC}-gcc-ar r" RANLIB="${CROSS_TC}-gcc-ranlib" NM="${CROSS_TC}-gcc-nm" install
     1618        make -j1 AR="${CROSS_TC}-gcc-ar r" RANLIB="${CROSS_TC}-gcc-ranlib" NM="${CROSS_TC}-gcc-nm" V=1 depend
     1619        make AR="${CROSS_TC}-gcc-ar r" RANLIB="${CROSS_TC}-gcc-ranlib" NM="${CROSS_TC}-gcc-nm" V=1 all
     1620        make AR="${CROSS_TC}-gcc-ar r" RANLIB="${CROSS_TC}-gcc-ranlib" NM="${CROSS_TC}-gcc-nm" V=1 rehash
     1621        make AR="${CROSS_TC}-gcc-ar r" RANLIB="${CROSS_TC}-gcc-ranlib" NM="${CROSS_TC}-gcc-nm" V=1 install
    16231622        # If we want to only link statically because FW 5.1 moved to OpenSSL 1 while FW 5.0 was on OpenSSL 0.9.8...
    16241623        #rm -fv ../lib/engines/lib*.so ../lib/libcrypto.so ../lib/libcrypto.so.1.0.0 ../lib/libssl.so ../lib/libssl.so.1.0.0
Note: See TracChangeset for help on using the changeset viewer.