sthen 0f45c2a28b update to screen-4.8.0, including:
"- Fix potential memory corruption when using OSC 49

As last fix, fixes potential memory overwrite of quite big size (~768
bytes), and even though I'm not sure about potential exploitability of
that issue, I highly recommend everyone to upgrade as soon as possible.
This issue is present at least since v.4.2.0 (haven't checked earlier)."
2020-02-06 16:17:20 +00:00

42 lines
864 B
Makefile

# $OpenBSD: Makefile,v 1.73 2020/02/06 16:17:20 sthen Exp $
COMMENT= multi-screen window manager
DISTNAME= screen-4.8.0
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_GNU:=screen/}
HOMEPAGE= https://www.gnu.org/software/screen/
# GPLv3+
PERMIT_PACKAGE= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --with-sys-screenrc="${SYSCONFDIR}/screenrc"
USE_GMAKE= Yes
USE_GROFF= Yes
FLAVORS= static
FLAVOR?=
.if ${FLAVOR} == "static"
CONFIGURE_ENV= LDFLAGS="${STATIC}"
.else
WANTLIB= c curses util
.endif
ALL_TARGET= screen screen.info
#MAKE_FLAGS= OPTIONS=-DDEBUG
pre-build:
@${SUBST_CMD} ${WRKSRC}/doc/screen.1
post-install:
@cd ${PREFIX}/bin && mv -f screen-* screen
@chmod 755 ${PREFIX}/bin/screen
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/screen
${INSTALL_DATA} ${WRKSRC}/etc/etcscreenrc \
${PREFIX}/share/examples/screen/screenrc
.include <bsd.port.mk>