Update to fix vulnerability CAN-2005-0639.

Security:	CAN-2005-0639
Security:	http://www.vuxml.org/freebsd/bfbbd505-3bd6-409c-8c67-445d3635cf4b.html
Prodded by:	nectar
This commit is contained in:
Joseph Koshy 2005-06-04 07:01:13 +00:00
parent 60a578e0f5
commit 5514ee6daf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=136779
4 changed files with 13 additions and 17 deletions

View file

@ -7,11 +7,12 @@
PORTNAME= xli PORTNAME= xli
PORTVERSION= 1.17.0 PORTVERSION= 1.17.0
PORTREVISION= 1 PORTREVISION= 2
CATEGORIES= graphics x11 CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_XCONTRIB} \ MASTER_SITES= http://pantransit.reptiles.org/prog/xli/ \
http://pantransit.reptiles.org/prog/ ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= applications MASTER_SITE_SUBDIR= applications
DISTNAME= xli-${XLI_SNAPVER}
MAINTAINER= jkoshy@FreeBSD.org MAINTAINER= jkoshy@FreeBSD.org
COMMENT= Xli, xsetbg, xview, xlito - utilities to display images on X11 COMMENT= Xli, xsetbg, xview, xlito - utilities to display images on X11
@ -19,10 +20,15 @@ COMMENT= Xli, xsetbg, xview, xlito - utilities to display images on X11
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \ LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
jpeg.9:${PORTSDIR}/graphics/jpeg jpeg.9:${PORTSDIR}/graphics/jpeg
WRKSRC= ${WRKDIR}/xli-${XLI_SNAPVER}
USE_XLIB= yes
USE_IMAKE= yes USE_IMAKE= yes
USE_PERL5_BUILD=yes USE_PERL5_BUILD=yes
MAN1= xli.1 xlito.1 MAN1= xli.1 xlito.1
XLI_SNAPVER= 2005-02-27
post-patch: post-patch:
@${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/Imakefile @${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/Imakefile

View file

@ -1,2 +1,2 @@
MD5 (xli-1.17.0.tar.gz) = 996d8cd0b2be2071332412c6802852e6 MD5 (xli-2005-02-27.tar.gz) = db470da53500017fd6969457c12c98f7
SIZE (xli-1.17.0.tar.gz) = 200069 SIZE (xli-2005-02-27.tar.gz) = 201011

View file

@ -16,7 +16,7 @@
LOCAL_LIBRARIES = $(XLIB) $(JPEG_LDFLAGS) $(PNG_LDFLAGS) -ljpeg -lpng -lz LOCAL_LIBRARIES = $(XLIB) $(JPEG_LDFLAGS) $(PNG_LDFLAGS) -ljpeg -lpng -lz
SYS_LIBRARIES = -lm SYS_LIBRARIES = -lm
-DEFINES = -DHAS_MEMCPY -DEFINES = -DHAS_MEMCPY
+DEFINES = -DHAS_MEMCPY -DHAVE_GUNZIP +DEFINES = -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2
EXTRA_INCLUDES = $(JPEG_INCLUDES) $(PNG_INCLUDES) EXTRA_INCLUDES = $(JPEG_INCLUDES) $(PNG_INCLUDES)
SRCS1 = bright.c clip.c cmuwmrast.c compress.c dither.c faces.c fbm.c fill.c g3.c gif.c halftone.c imagetypes.c img.c mac.c mcidas.c mc_tables.c merge.c misc.c new.c options.c path.c pbm.c pcx.c reduce.c jpeg.c rle.c rlelib.c root.c rotate.c send.c smooth.c sunraster.c value.c window.c xbitmap.c xli.c xpixmap.c xwd.c zio.c zoom.c ddxli.c tga.c bmp.c pcd.c png.c SRCS1 = bright.c clip.c cmuwmrast.c compress.c dither.c faces.c fbm.c fill.c g3.c gif.c halftone.c imagetypes.c img.c mac.c mcidas.c mc_tables.c merge.c misc.c new.c options.c path.c pbm.c pcx.c reduce.c jpeg.c rle.c rlelib.c root.c rotate.c send.c smooth.c sunraster.c value.c window.c xbitmap.c xli.c xpixmap.c xwd.c zio.c zoom.c ddxli.c tga.c bmp.c pcd.c png.c

View file

@ -1,10 +0,0 @@
--- rlelib.c-- Mon Oct 25 02:15:03 1999
+++ rlelib.c Wed Oct 15 22:31:26 2003
@@ -12,7 +12,6 @@
*/
#include "xli.h"
-#include <varargs.h>
#include <ctype.h>
#include "rle.h"