Edit

IABSD.fr/ports/misc/screen/Makefile

Branch :

  • Show log

    Commit

  • Author : op
    Date : 2022-02-05 11:57:36
    Hash : 9c6d916a
    Message : update screen to 4.9.0, from Alexander Naumov (alexander_naumov at opensuse dot org) thanks! Changelog: Version 4.9.0 (30/01/2022): * Hardstatus option for used encoding (escape string '%e') * OpenBSD uses native openpty() from its util.h * Fixes: - fix combining char handling that could lead to a segfault - CVE-2021-26937: possible denial of service via a crafted UTF-8 character sequence (bug #60030) - make screen exit code be 0 when checking --help - session names limit is 80 symbols (bug #61534) - option -X ignores specified user in multiuser env (bug #37437) - a lot of reformations/fixes/cleanups (man page and source code)

  • misc/screen/Makefile
  • # $OpenBSD: Makefile,v 1.76 2022/02/05 11:57:36 op Exp $
    
    COMMENT=	multi-screen window manager
    
    DISTNAME=	screen-4.9.0
    CATEGORIES=	misc
    MASTER_SITES=	${MASTER_SITE_GNU:=screen/}
    
    HOMEPAGE=	https://www.gnu.org/software/screen/
    
    # GPLv3+
    PERMIT_PACKAGE=	Yes
    
    AUTOCONF_VERSION=2.69
    CONFIGURE_STYLE=autoconf
    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
    DEBUG_PACKAGES=	${BUILD_PACKAGES}
    
    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>