pkgsrc/misc/screen/Makefile
wiz 4b0261de50 Update to 4.0.2, provided by Soren Jacobsen in PR 24000.
In his own words:
4.0.2 fixes a local privelege escalation problem.  See
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0972 for
more information.

There's no ChangeLog available, but other than the fix for this
and regeneration of the configure script, changes are extremely
small.

Also, I've removed the info files from PLIST and PLIST.SunOS.  They
are handled automatically as of bsd.pkg.mk 1.1332.
2004-01-06 16:30:39 +00:00

42 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.52 2004/01/06 16:30:39 wiz Exp $
DISTNAME= screen-4.0.2
CATEGORIES= misc
MASTER_SITES= ftp://ftp.uni-erlangen.de/pub/utilities/screen/ \
${MASTER_SITE_GNU:=screen/}
MAINTAINER= hubertf@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/screen/screen.html
COMMENT= Multi-screen window manager
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_BUILDLINK3= YES
USE_PKGINSTALL= YES
INFO_FILES= screen.info
PLIST_SUBST= DISTNAME=${DISTNAME}
GNU_CONFIGURE= # defined
CONFIGURE_ARGS+= --with-sys-screenrc=${PKG_SYSCONFDIR}/screenrc
CONFIGURE_ARGS+= --enable-telnet
.include "../../mk/bsd.prefs.mk"
post-patch:
@for file in etc/etcscreenrc doc/screen.1; do \
${MV} ${WRKSRC}/$$file ${WRKSRC}/$$file.orig; \
${SED} ${FILES_SUBST_SED} \
${WRKSRC}/$$file.orig > ${WRKSRC}/$$file; \
done
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/screen
${INSTALL_DATA} ${WRKSRC}/etc/etcscreenrc \
${PREFIX}/share/examples/screen/screenrc
.if ${OPSYS} == "SunOS"
cd ${WRKSRC}/terminfo && \
${SETENV} TERMINFO=${PREFIX}/share/lib/terminfo \
/usr/5bin/tic screeninfo.src
.endif
.include "../../mk/bsd.pkg.mk"