From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Aug 30 20:40:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D0D0AA4A for ; Fri, 30 Aug 2013 20:40:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AEF822DF9 for ; Fri, 30 Aug 2013 20:40:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r7UKe0No017763 for ; Fri, 30 Aug 2013 20:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r7UKe0Ao017762; Fri, 30 Aug 2013 20:40:00 GMT (envelope-from gnats) Resent-Date: Fri, 30 Aug 2013 20:40:00 GMT Resent-Message-Id: <201308302040.r7UKe0Ao017762@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alex Deiter Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 1112BA02 for ; Fri, 30 Aug 2013 20:38:07 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id F37D42DDA for ; Fri, 30 Aug 2013 20:38:06 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r7UKc6tp018282 for ; Fri, 30 Aug 2013 20:38:06 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r7UKc6YJ018281; Fri, 30 Aug 2013 20:38:06 GMT (envelope-from nobody) Message-Id: <201308302038.r7UKc6YJ018281@oldred.freebsd.org> Date: Fri, 30 Aug 2013 20:38:06 GMT From: Alex Deiter To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/181692: x11/xterm logging support X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Aug 2013 20:40:01 -0000 >Number: 181692 >Category: ports >Synopsis: x11/xterm logging support >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Aug 30 20:40:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Alex Deiter >Release: 10-CURRENT >Organization: N/A >Environment: FreeBSD blackstar.deiter.ru 10.0-CURRENT-r255075-p20 FreeBSD 10.0-CURRENT-r255075-p20 #0 r255075M: Fri Aug 30 22:50:36 MSK 2013 root@blackstar.deiter.ru:/usr/obj/usr/src/sys/BLACKSTAR amd64 >Description: Please add logging support to x11/xterm: man xterm: -l Turn logging on. Normally logging is not supported, due to security concerns. Some versions of xterm may have logging enabled. The logfile is written to the directory from which xterm is invoked. The filename is generated, of the form XtermLog.XXXXXX -lf filename Specify the log-filename. See the -l option. very useful options. >How-To-Repeat: install x11/xterm port >Fix: apply patch Patch attached with submission follows: --- x11/xterm/Makefile.orig 2013-08-31 00:29:25.342819323 +0400 +++ x11/xterm/Makefile 2013-08-31 00:32:21.095806210 +0400 @@ -26,7 +26,7 @@ ICONVERSION= 1 -OPTIONS_DEFINE= WCHAR LUIT DECTERM PCRE GNOME DABBREV 256COLOR SIXEL +OPTIONS_DEFINE= WCHAR LUIT DECTERM PCRE GNOME DABBREV 256COLOR SIXEL LOGGING DABBREV_DESC= Enable support for dabbrev-expand DECTERM_DESC= Enable DECterm Locator support @@ -34,11 +34,16 @@ SIXEL_DESC= Enable Sixel graphics support WCHAR_DESC= Enable wide-character support 256COLOR_DESC= Enable 256-color support +LOGGING_DESC= Enable logging support OPTIONS_DEFAULT=WCHAR LUIT 256COLOR .include +.if ${PORT_OPTIONS:MLOGGING} +CONFIGURE_ARGS+= --enable-logging --enable-logfile-exec +.endif + .if ${PORT_OPTIONS:M256COLOR} CONFIGURE_ARGS+= --enable-256-color .endif >Release-Note: >Audit-Trail: >Unformatted: