Browse Source

Update zlib and libpng (previous version had a security issue)

miguelfreitas
Luke Dashjr 13 years ago
parent
commit
f051ee5f96
  1. 16
      contrib/gitian-descriptors/gitian-win32.yml

16
contrib/gitian-descriptors/gitian-win32.yml

@ -21,8 +21,8 @@ files:
- "openssl-1.0.0e.tar.gz" - "openssl-1.0.0e.tar.gz"
- "db-4.8.30.NC.tar.gz" - "db-4.8.30.NC.tar.gz"
- "miniupnpc-1.6.tar.gz" - "miniupnpc-1.6.tar.gz"
- "zlib-1.2.5.tar.gz" - "zlib-1.2.6.tar.gz"
- "libpng-1.5.7.tar.gz" - "libpng-1.5.8.tar.gz"
- "qrencode-3.2.0.tar.bz2" - "qrencode-3.2.0.tar.bz2"
script: | script: |
# #
@ -65,20 +65,20 @@ script: |
cd .. cd ..
mv miniupnpc-1.6 miniupnpc mv miniupnpc-1.6 miniupnpc
# #
tar xzf zlib-1.2.5.tar.gz tar xzf zlib-1.2.6.tar.gz
cd zlib-1.2.5 cd zlib-1.2.6
make -f win32/Makefile.gcc PREFIX=i586-mingw32msvc- $MAKEOPTS make -f win32/Makefile.gcc PREFIX=i586-mingw32msvc- $MAKEOPTS
cd .. cd ..
# #
tar xzf libpng-1.5.7.tar.gz tar xzf libpng-1.5.8.tar.gz
cd libpng-1.5.7 cd libpng-1.5.8
./configure CC=i586-mingw32msvc-cc AR=i586-mingw32msvc-ar STRIP=i586-mingw32msvc-strip RANLIB=i586-mingw32msvc-ranlib OBJDUMP=i586-mingw32msvc-objdump LD=i586-mingw32msvc-ld LDFLAGS="-L../zlib-1.2.5/" CFLAGS="-I../zlib-1.2.5/" ./configure CC=i586-mingw32msvc-cc AR=i586-mingw32msvc-ar STRIP=i586-mingw32msvc-strip RANLIB=i586-mingw32msvc-ranlib OBJDUMP=i586-mingw32msvc-objdump LD=i586-mingw32msvc-ld LDFLAGS="-L../zlib-1.2.6/" CFLAGS="-I../zlib-1.2.6/"
make $MAKEOPTS make $MAKEOPTS
cd .. cd ..
# #
tar xjf qrencode-3.2.0.tar.bz2 tar xjf qrencode-3.2.0.tar.bz2
cd qrencode-3.2.0 cd qrencode-3.2.0
./configure CC=i586-mingw32msvc-cc AR=i586-mingw32msvc-ar STRIP=i586-mingw32msvc-strip RANLIB=i586-mingw32msvc-ranlib OBJDUMP=i586-mingw32msvc-objdump LD=i586-mingw32msvc-ld png_LIBS="../libpng-1.5.7/.libs/libpng15.a ../zlib-1.2.5/libz.a" png_CFLAGS="-I../libpng-1.5.7" ./configure CC=i586-mingw32msvc-cc AR=i586-mingw32msvc-ar STRIP=i586-mingw32msvc-strip RANLIB=i586-mingw32msvc-ranlib OBJDUMP=i586-mingw32msvc-objdump LD=i586-mingw32msvc-ld png_LIBS="../libpng-1.5.8/.libs/libpng15.a ../zlib-1.2.6/libz.a" png_CFLAGS="-I../libpng-1.5.8"
make $MAKEOPTS make $MAKEOPTS
cd .. cd ..
# #

Loading…
Cancel
Save