netpbm/prepare-src-tarball.sh
Fridrich Strba e748e6824f Accepting request 638489 from home:pmonrealgonzalez:branches:graphics
- updated to 10.83.00
  * Add pamlevels.  Thanks Anton Shepelev <anton.txt@gmail.com>.
  * Add pamgetcolor.  Thanks Anton Shepelev <anton.txt@gmail.com>.
  * Add rgb-<maxval>:r/g/b color specification format.
  * pngtopam: Fix bogus warning of non-square pixels when image does
    not contain pixel resolution information.  Introduced in Netpbm
    10.48 (September 2009).
  * pstopnm: Fix divide-by-zero crash when Postscript input says
    the image has zero size.
  * pstopnm: Fix divide-by-zero crash when computed resolution
    rounds down to zero dots per inch.
  * pbmmask: Fix invalid memory reference with zero-dimension
    input image.  Broken in primordial Netpbm, ca 1989.
    [CVE-2018-8975, bsc#1086777] 
    https://sourceforge.net/p/netpbm/code/3279/
  * libnetpbm: Add pnm_colorspec_rgb_integer,
    pnm_colorspec_rgb_norm, pnm_colorspec_rgb_x11,
    pnm_colorspec_dict, pnm_colorspec_dict_close.
  * libnetpbm: Add pnm_parsecolor2.
  * libnetpbm: Add pnm_allocpamtuplen, pnm_freepamtuplen.
  * libnetpbm: Make the normalized tuple functions respect the
    allocation depth specified in struct pam (member
    'allocation_depth') instead of using the actual tuple depth
    (member 'depth').
  * ilbmtoppm: Fix bug: may fail with bogus error message about an
    invalid CLUT chunk if image has a CLUT chunk.  Introduced after
    Netpbm 10.26 (January 2005) and at or before Netpbm 10.35
    (August 2006).
- Refreshed patch netpbm-security-code.patch
- Dropped patch fixed upstream netpbm-CVE-2018-8975.patch

OBS-URL: https://build.opensuse.org/request/show/638489
OBS-URL: https://build.opensuse.org/package/show/graphics/netpbm?expand=0&rev=93
2018-09-27 06:26:36 +00:00

39 lines
951 B
Bash

#!/bin/sh -x
#This script is used to create netpbm-$VER-nohpcdtoppm-nojbig.tar.bz2
#from upstream svn, http://sourceforge.net/projects/netpbm/
rm -rf REMOVE
mkdir REMOVE
cd REMOVE
svn checkout https://svn.code.sf.net/p/netpbm/code/advanced/ netpbm
VER=`echo \`cut -f2 -d= netpbm*/version.mk \`|sed -e "s| |.|g"`
mv netpbm* netpbm-$VER
find . -name ".svn" -exec rm -rf {} \;
cd netpbm*/converter/ppm/hpcdtoppm || exit 1
rm -rf *
echo all: >> Makefile
echo install.bin: >> Makefile
echo install.man: >> Makefile
echo install.data: >> Makefile
echo clean: >> Makefile
cd ../../../..
cd netpbm*/converter/ppm/ppmtompeg || exit 1
rm -rf *
echo all: >> Makefile
echo install.bin: >> Makefile
echo install.man: >> Makefile
echo install.data: >> Makefile
echo clean: >> Makefile
cd ../../../..
tar cjf ../netpbm-$VER-nohpcdtoppm-noppmtompeg.tar.bz2 *
wget -m netpbm.sourceforge.net
tar cjf ../netpbm-$VER-documentation.tar.bz2 netpbm.sourceforge.net