From b9b8a416e88c690e1e028a9154709eae2a5e8c43 Mon Sep 17 00:00:00 2001 From: Sam Leffler Date: Fri, 17 Jun 2005 05:37:08 +0000 Subject: [PATCH] o move hostapd to section 8 o add placeholder for hostapd.conf Approved by: re (blanket wpa) --- usr.sbin/wpa/hostapd/Makefile | 2 + usr.sbin/wpa/hostapd/{hostapd.1 => hostapd.8} | 4 +- usr.sbin/wpa/hostapd/hostapd.conf.5 | 50 +++++++++++++++++++ 3 files changed, 54 insertions(+), 2 deletions(-) rename usr.sbin/wpa/hostapd/{hostapd.1 => hostapd.8} (98%) create mode 100644 usr.sbin/wpa/hostapd/hostapd.conf.5 diff --git a/usr.sbin/wpa/hostapd/Makefile b/usr.sbin/wpa/hostapd/Makefile index ef22f92a7602..80ece1195182 100644 --- a/usr.sbin/wpa/hostapd/Makefile +++ b/usr.sbin/wpa/hostapd/Makefile @@ -10,6 +10,8 @@ SRCS= hostapd.c eloop.c ieee802_1x.c eapol_sm.c radius.c md5.c rc4.c \ ctrl_iface.c driver_conf.c l2_packet.c driver_freebsd.c CLEANFILES=driver_conf.c +MAN= hostapd.8 hostapd.conf.5 + CFLAGS+= -I${.CURDIR} -I${HOSTAPD_DISTDIR} CFLAGS+= -DCONFIG_DRIVER_BSD DPADD+= ${LIBPCAP} diff --git a/usr.sbin/wpa/hostapd/hostapd.1 b/usr.sbin/wpa/hostapd/hostapd.8 similarity index 98% rename from usr.sbin/wpa/hostapd/hostapd.1 rename to usr.sbin/wpa/hostapd/hostapd.8 index a567b0a23b99..73d3781ad8a8 100644 --- a/usr.sbin/wpa/hostapd/hostapd.1 +++ b/usr.sbin/wpa/hostapd/hostapd.8 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd June 5, 2005 +.Dd June 16, 2005 .Dt HOSTAPD 8 .Os .Sh NAME @@ -101,7 +101,7 @@ Include key information in debugging output. .Xr ral 4 , .Xr ural 4 , .Xr wi 4 , -.Xr hostapd_cli 1 , +.Xr hostapd_cli 8 , .Xr hostapd.conf 5 , .Xr ifconfig 8 .Sh HISTORY diff --git a/usr.sbin/wpa/hostapd/hostapd.conf.5 b/usr.sbin/wpa/hostapd/hostapd.conf.5 new file mode 100644 index 000000000000..c08bdc111094 --- /dev/null +++ b/usr.sbin/wpa/hostapd/hostapd.conf.5 @@ -0,0 +1,50 @@ +.\" Copyright (c) 2005 Sam Leffler +.\" All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE +.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +.\" SUCH DAMAGE. +.\" +.\" $FreeBSD$ +.\" +.Dd June 16, 2005 +.Dt HOSTAPD.CONF 5 +.Os +.Sh NAME +.Nm hostapd.conf +.Nd "configuration file for hostapd utility" +.Sh DESCRIPTION +This is a placeholder for a real manual page. +.Sh SEE ALSO +.Xr hostapd 8 , +.Xr hostapd_cli 8 . +.Sh HISTORY +The +.Nm +manual page and +.Nm hostapd +functionality first appeared in +.Fx 6.0 . +.Sh AUTHORS +This manual page is derived from the README and hostapd.conf +files in the +.Nm hostapd +distribution provided by +.An Jouni Malinen Aq jkmaline@cc.hut.fi .