openbsd-ports/www/links+/Makefile
sthen 0dde427829 Security update to links 2.6, fixes include:
- Buffer overflow when pasting too long text from clipboard to dialog
boxes (not remotely exploitable)
- A write out of allocated memory in the graphics renderer
(potentially exploitable)
- An infinite loop when parsing invalid usemap specification in text and
graphics mode (can cause browser lockup, but not otherwise exploitable)
- Accesses out of memory in the xbm decoder (potentially exploitable)

Also drop dip.c patch to resolve crashes with libpng 1.5, upstream
appears to have fixed this separately in the update to 2.5.
Thanks jasper@ for additional testing.
2012-04-10 11:59:44 +00:00

49 lines
948 B
Makefile

# $OpenBSD: Makefile,v 1.45 2012/04/10 11:59:44 sthen Exp $
COMMENT= graphics and text browser
VER= 2.6
DISTNAME= links-${VER}
PKGNAME= links+-${VER}
CATEGORIES= www
HOMEPAGE= http://links.twibright.com/
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= bz2>=10 c crypto m ssl z
MASTER_SITES= ${HOMEPAGE}download/
LIB_DEPENDS= archivers/bzip2
AUTOCONF_VERSION=2.13
CONFIGURE_STYLE= autoconf
CONFIGURE_ARGS+= --with-ssl --without-sdl
USE_GROFF = Yes
FLAVORS= no_x11
FLAVOR?=
.if !${FLAVOR:L:Mno_x11}
LIB_DEPENDS+= graphics/jpeg \
graphics/png \
graphics/tiff
CONFIGURE_ARGS+= --with-x --enable-graphics
WANTLIB+= X11 jpeg>=62 png>=2 pthread-stubs tiff>=35 xcb
MESSAGE= ${PKGDIR}/MESSAGE.x11
.endif
NO_REGRESS= Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/links+
${INSTALL_DATA} ${WRKSRC}/doc/links_cal/* ${PREFIX}/share/links+
.include <bsd.port.mk>