Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Sep 2007 15:11:00 +0200 (CEST)
From:      Henrik Brix Andersen <henrik@brixandersen.dk>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Sam Leffler <sam@FreeBSD.org>
Subject:   bin/116606: [patch] Enable history support in wpa_cli(8)
Message-ID:  <20070924131100.9340311428@lothlorien.brixandersen.dk>
Resent-Message-ID: <200709241320.l8ODK2LC076309@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         116606
>Category:       bin
>Synopsis:       [patch] Enable history support in wpa_cli(8)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 24 13:20:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Henrik Brix Andersen
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD lothlorien.brixandersen.dk 7.0-CURRENT FreeBSD 7.0-CURRENT #73: Mon Sep 24 14:11:27 CEST 2007 root@lothlorien.brixandersen.dk:/usr/obj/usr/src/sys/LOTHLORIEN i386


	
>Description:
Enable history support (e.g. arrow-up for last command) in wpa_cli(8).

	
>How-To-Repeat:
	
>Fix:

	

--- wpa_cli.diff begins here ---
--- usr.sbin/wpa/wpa_cli/Makefile.orig	2007-09-24 14:24:52.000000000 +0200
+++ usr.sbin/wpa/wpa_cli/Makefile	2007-09-24 14:26:18.000000000 +0200
@@ -11,4 +11,8 @@ MAN=	wpa_cli.8
 CFLAGS+= -DCONFIG_CTRL_IFACE
 CFLAGS+= -DCONFIG_CTRL_IFACE_UNIX
 
+CFLAGS+= -DCONFIG_READLINE
+DPADD+= ${LIBNCURSES} ${LIBREADLINE}
+LDADD+= -lncurses -lreadline
+
 .include <bsd.prog.mk>
--- wpa_cli.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070924131100.9340311428>