bin/116606: [patch] Enable history support in wpa_cli(8)

Henrik Brix Andersen henrik at brixandersen.dk
Mon Sep 24 06:20:03 PDT 2007


>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 at 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:


More information about the freebsd-bugs mailing list