Remove chinese/crxvt.
We recently removed mrxvt and rxvt due to the fact that upstream is dead and that thee code is vulnerable to CVE-2017-7483. On top of that, crxvt is very unstable: it dumps core after entering a few commands or pressing enter repeatedly a couple of times. OK jca@, dcoppa@, bcallah@, kevlo@, bentley@
This commit is contained in:
parent
648400c6e2
commit
b9f96a36d3
|
@ -1,10 +1,9 @@
|
|||
# $OpenBSD: Makefile,v 1.23 2012/08/18 07:25:25 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.24 2017/07/17 21:02:08 fcambus Exp $
|
||||
|
||||
SUBDIR =
|
||||
SUBDIR += c2t
|
||||
SUBDIR += cconv
|
||||
SUBDIR += cless
|
||||
SUBDIR += crxvt
|
||||
SUBDIR += hc
|
||||
SUBDIR += libchewing
|
||||
SUBDIR += libtabe
|
||||
|
|
|
@ -1,37 +0,0 @@
|
|||
# $OpenBSD: Makefile,v 1.35 2017/05/04 13:55:32 espie Exp $
|
||||
|
||||
COMMENT= Chinese(Big5) VT100 terminal emulator for X
|
||||
|
||||
DISTNAME= crxvt-2.10-2
|
||||
PKGNAME= zh-crxvt-2.10.2
|
||||
REVISION= 4
|
||||
CATEGORIES= chinese
|
||||
|
||||
MASTER_SITES= ftp://ftp.tw.openbsd.org/pub/OpenBSD/distfiles/
|
||||
|
||||
PERMIT_PACKAGE_CDROM= no license
|
||||
PERMIT_PACKAGE_FTP= no license
|
||||
PERMIT_DISTFILES_FTP= no license
|
||||
|
||||
WANTLIB= c X11
|
||||
|
||||
RUN_DEPENDS= fonts/zh-taipeifonts
|
||||
|
||||
MAKE_FLAGS= CC="${CC}" CFLAGS="${CFLAGS}"
|
||||
|
||||
CONFIGURE_STYLE= gnu old
|
||||
CONFIGURE_ARGS= --os=OpenBSD --no-menu
|
||||
|
||||
post-configure:
|
||||
sed -i.bak -e '/OPT_CRXVT_CFONT/s/=.*/=-taipei-ming-medium-r-normal--16-160-75-75-c-160-big5-0/' ${WRKSRC}/config.status
|
||||
|
||||
post-extract:
|
||||
sed -e '/OS/s/=.*/=OpenBSD/' ${WRKSRC}/script/os_def/FreeBSD > ${WRKSRC}/script/os_def/OpenBSD
|
||||
|
||||
NO_TEST= Yes
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/src/crxvt ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/man/crxvt.1 ${PREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.mk>
|
|
@ -1,2 +0,0 @@
|
|||
SHA256 (crxvt-2.10-2.tar.gz) = ZmidWy9ketM1YyAlRIymQ0Xst6wlngchDeiOW/epIr4=
|
||||
SIZE (crxvt-2.10-2.tar.gz) = 84785
|
|
@ -1,22 +0,0 @@
|
|||
$OpenBSD: patch-src_utmp_c,v 1.1 2017/05/04 13:55:32 espie Exp $
|
||||
|
||||
Index: src/utmp.c
|
||||
--- src/utmp.c.orig
|
||||
+++ src/utmp.c
|
||||
@@ -54,6 +54,7 @@
|
||||
#include <pwd.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
+#include <stdlib.h>
|
||||
#include <memory.h>
|
||||
#include <signal.h>
|
||||
|
||||
@@ -172,7 +173,7 @@ int write_utmp(char *ttyname, struct utmp *u)
|
||||
FILE *utmp;
|
||||
|
||||
if (no_utmp)
|
||||
- return;
|
||||
+ return -1;
|
||||
if ((utmp = fopen(UTMP, "r+")) == NULL)
|
||||
return -1;
|
||||
utmp_pos = get_tslot(ttyname) * sizeof(struct utmp);
|
|
@ -1,4 +0,0 @@
|
|||
Crxvt is a Chinese (Big5) VT100 terminal emulator for X.
|
||||
It is based on rxvt, which is intended as a replacement
|
||||
for xterm for users who do not require the more esoteric
|
||||
features of xterm.
|
|
@ -1,3 +0,0 @@
|
|||
@comment $OpenBSD: PLIST,v 1.3 2004/08/06 16:06:03 espie Exp $
|
||||
bin/crxvt
|
||||
@man man/man1/crxvt.1
|
Loading…
Reference in New Issue
Block a user