Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/wpa bye old wpa.



details:   https://anonhg.NetBSD.org/src/rev/44fdacc9c044
branches:  trunk
changeset: 757359:44fdacc9c044
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Aug 26 14:58:29 2010 +0000

description:
bye old wpa.

diffstat:

 usr.sbin/wpa/Makefile                             |    5 -
 usr.sbin/wpa/Makefile.inc                         |   32 -
 usr.sbin/wpa/hostapd/Makefile                     |   62 --
 usr.sbin/wpa/hostapd/hostapd.8                    |  131 -----
 usr.sbin/wpa/hostapd/hostapd.conf.5               |  213 --------
 usr.sbin/wpa/hostapd_cli/Makefile                 |   12 -
 usr.sbin/wpa/hostapd_cli/hostapd_cli.8            |  114 ----
 usr.sbin/wpa/wpa_cli/Makefile                     |   16 -
 usr.sbin/wpa/wpa_cli/wpa_cli.8                    |  227 ---------
 usr.sbin/wpa/wpa_passphrase/Makefile              |   14 -
 usr.sbin/wpa/wpa_passphrase/wpa_passphrase.8      |   50 --
 usr.sbin/wpa/wpa_supplicant/Makefile              |   59 --
 usr.sbin/wpa/wpa_supplicant/wpa_supplicant.8      |  164 ------
 usr.sbin/wpa/wpa_supplicant/wpa_supplicant.conf.5 |  538 ----------------------
 14 files changed, 0 insertions(+), 1637 deletions(-)

diffs (truncated from 1693 to 300 lines):

diff -r fbe8ed77145c -r 44fdacc9c044 usr.sbin/wpa/Makefile
--- a/usr.sbin/wpa/Makefile     Thu Aug 26 14:57:47 2010 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-# $NetBSD: Makefile,v 1.3 2006/05/14 19:51:15 dyoung Exp $
-
-SUBDIR= hostapd hostapd_cli wpa_cli wpa_passphrase wpa_supplicant
-
-.include <bsd.subdir.mk>
diff -r fbe8ed77145c -r 44fdacc9c044 usr.sbin/wpa/Makefile.inc
--- a/usr.sbin/wpa/Makefile.inc Thu Aug 26 14:57:47 2010 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,32 +0,0 @@
-# $NetBSD: Makefile.inc,v 1.8 2008/01/26 21:50:21 christos Exp $
-
-BINDIR?=       /usr/sbin
-
-USE_FORT?= yes # network client/server
-
-WPA_DISTDIR?=                  ${.CURDIR}/../../../dist/wpa
-WPA_SUPPLICANT_DISTDIR?=       ${WPA_DISTDIR}/wpa_supplicant
-HOSTAPD_DISTDIR?=              ${WPA_DISTDIR}/hostapd
-
-.PATH.c: \
-       ${WPA_DISTDIR}/src/common \
-       ${WPA_DISTDIR}/src/crypto \
-       ${WPA_DISTDIR}/src/eap_common \
-       ${WPA_DISTDIR}/src/eapol_supp \
-       ${WPA_DISTDIR}/src/l2_packet \
-       ${WPA_DISTDIR}/src/utils
-
-CPPFLAGS+= \
-       -I${WPA_DISTDIR}/src \
-       -I${WPA_DISTDIR}/src/common \
-       -I${WPA_DISTDIR}/src/crypto \
-       -I${WPA_DISTDIR}/src/l2_packet \
-       -I${WPA_DISTDIR}/src/utils
-
-CPPFLAGS+=-DCONFIG_CTRL_IFACE -DCONFIG_CTRL_IFACE_UNIX
-
-.include <bsd.own.mk>
-
-.if ${MKCRYPTO} == "no"
-NO_OPENSSL=    # defined
-.endif
diff -r fbe8ed77145c -r 44fdacc9c044 usr.sbin/wpa/hostapd/Makefile
--- a/usr.sbin/wpa/hostapd/Makefile     Thu Aug 26 14:57:47 2010 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,62 +0,0 @@
-# $NetBSD: Makefile,v 1.3 2008/10/18 12:32:50 scw Exp $
-
-.include "${.CURDIR}/../Makefile.inc"
-
-
-PROG=  hostapd
-SRCS=  accounting.c aes.c aes_wrap.c ap_list.c beacon.c common.c \
-       config.c ctrl_iface.c driver_bsd.c drivers.c eap.c eap_common.c \
-       eap_identity.c eap_methods.c eapol_sm.c eloop.c hostapd.c \
-       hw_features.c ieee802_11.c ieee802_11_auth.c ieee802_11h.c \
-       ieee802_1x.c ip_addr.c l2_packet_freebsd.c md5.c mlme.c os_unix.c \
-       pmksa_cache.c radius.c radius_client.c rc4.c sha1.c sta_info.c \
-       vlan_init.c wme.c wpa.c wpa_auth_ie.c wpa_common.c wpa_debug.c \
-       wpabuf.c
-
-.PATH.c: \
-       ${HOSTAPD_DISTDIR} \
-       ${WPA_DISTDIR}/src/eap_server \
-       ${WPA_DISTDIR}/src/radius \
-       ${.CURDIR}/../wpa_supplicant
-
-MAN=   hostapd.8 hostapd.conf.5
-
-CPPFLAGS+= -I${.CURDIR} -I${HOSTAPD_DISTDIR}
-CPPFLAGS+= -DCONFIG_DRIVER_BSD
-DPADD+= ${LIBPCAP}
-LDADD+= -lpcap
-
-.if !defined(NO_CRYPT) && !defined(NO_OPENSSL) && !defined(RELEASE_CRUNCH)
-CPPFLAGS+= -DEAP_TLS -DEAP_PEAP -DEAP_MSCHAPv2 -DEAP_PSK \
-          -DEAP_TLS_FUNCS -DEAP_TLS_OPENSSL
-SRCS+= crypto_openssl.c
-SRCS+= eap_tls.c eap_peap.c eap_peap_common.c eap_mschapv2.c \
-       eap_psk.c eap_psk_common.c eap_tls_common.c tls_openssl.c \
-       ms_funcs.c chap.c
-
-CPPFLAGS+= -DEAP_TTLS -DEAP_MD5
-SRCS+= eap_ttls.c eap_md5.c
-
-CPPFLAGS+= -DEAP_GTC
-SRCS+= eap_gtc.c
-
-CPPFLAGS+= -DEAP_AKA -DEAP_SIM
-SRCS+= eap_aka.c eap_sim.c eap_sim_common.c eap_sim_db.c
-
-CPPFLAGS+= -DEAP_GPSK -DEAP_GPSK_SHA256 -DINTERNAL_SHA256
-SRCS+= eap_gpsk.c eap_gpsk_common.c sha256.c
-
-CPPFLAGS+= -DEAP_PAX
-SRCS+= eap_pax.c eap_pax_common.c
-
-CPPFLAGS+= -DEAP_SAKE
-SRCS+= eap_sake.c eap_sake_common.c
-
-DPADD+= ${LIBSSL} ${LIBCRYPTO} ${LIBDES}
-LDADD+= -lssl -lcrypto -ldes
-.else
-CPPFLAGS+= -DINTERNAL_AES -DINTERNAL_SHA1 -DINTERNAL_MD5
-SRCS+= tls_none.c
-.endif
-
-.include <bsd.prog.mk>
diff -r fbe8ed77145c -r 44fdacc9c044 usr.sbin/wpa/hostapd/hostapd.8
--- a/usr.sbin/wpa/hostapd/hostapd.8    Thu Aug 26 14:57:47 2010 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,131 +0,0 @@
-.\"    $NetBSD: hostapd.8,v 1.2 2006/06/28 15:06:59 drochner Exp $
-.\"
-.\" Copyright (c) 2005 Sam Leffler <sam%errno.com@localhost>
-.\" 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: src/usr.sbin/wpa/hostapd/hostapd.8,v 1.2 2005/06/27 06:40:43 ru Exp $
-.\"
-.Dd June 16, 2005
-.Dt HOSTAPD 8
-.Os
-.Sh NAME
-.Nm hostapd
-.Nd "authenticator for IEEE 802.11 networks"
-.Sh SYNOPSIS
-.Nm
-.Op Fl BdhKtv
-.Ar config-file ...
-.Sh DESCRIPTION
-The
-.Nm
-utility
-is an authenticator for IEEE 802.11 networks.
-It provides full support for WPA/IEEE 802.11i and
-can also act as an IEEE 802.1X Authenticator with a suitable
-backend Authentication Server (typically
-.Tn FreeRADIUS ) .
-The
-.Nm
-utility
-implements the authentication protocols that piggyback on top
-of the normal IEEE 802.11 protocol mechanisms.
-To use
-.Nm
-as an authenticator, the underlying device must support some
-basic functionality such as the ability to set security information
-in the 802.11 management frames.
-Beware that not all devices have this support.
-.Pp
-The
-.Nm
-utility
-is designed to be a
-.Dq daemon
-program that runs in the
-background and acts as the backend component controlling
-the wireless connection.
-It supports separate frontend programs such as the
-text-based frontend,
-.Xr hostapd_cli 8 .
-.Pp
-The following arguments must be specified on the command line:
-.Bl -tag -width indent
-.It Ar config-file
-Use the settings in the specified configuration file; the name of
-the specified wireless interface is contained in this file.
-See
-.Xr hostapd.conf 5
-for a description of the configuration file syntax.
-.Pp
-Changes to the configuration file can be reloaded by sending a
-.Dv SIGHUP
-to the
-.Nm
-processor or with the
-.Xr hostapd_cli 8
-utility, using
-.Dq Li "hostapd_cli reconfigure" .
-.El
-.Sh OPTIONS
-The options are as follows:
-.Bl -tag -width indent
-.It Fl d
-Enable debugging messages.
-If this option is supplied twice, more verbose messages are displayed.
-.It Fl h
-Show help text.
-.It Fl t
-Include timestamps in debugging output.
-.It Fl v
-Display version information on the terminal and exit.
-.It Fl B
-Detach from the controlling terminal and run as a daemon process
-in the background.
-.It Fl K
-Include key information in debugging output.
-.El
-.Sh SEE ALSO
-.Xr ath 4 ,
-.Xr ipw 4 ,
-.Xr iwi 4 ,
-.Xr ral 4 ,
-.Xr wi 4 ,
-.Xr hostapd.conf 5 ,
-.Xr hostapd_cli 8 ,
-.Xr ifconfig 8
-.Sh HISTORY
-The
-.Nm
-utility first appeared in
-.Nx 4.0 .
-.Sh AUTHORS
-The
-.Nm
-utility was written by
-.An Jouni Malinen Aq jkmaline%cc.hut.fi@localhost .
-This manual page is derived from the
-.Pa README
-file included in the
-.Nm
-distribution.
diff -r fbe8ed77145c -r 44fdacc9c044 usr.sbin/wpa/hostapd/hostapd.conf.5
--- a/usr.sbin/wpa/hostapd/hostapd.conf.5       Thu Aug 26 14:57:47 2010 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,213 +0,0 @@
-.\"    $NetBSD: hostapd.conf.5,v 1.3 2006/08/04 20:38:52 wiz Exp $
-.\"
-.\" Copyright (c) 2006 Rui Paulo
-.\" Copyright (c) 2005 Sam Leffler <sam%errno.com@localhost>
-.\" 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.
-.\"
-.\" Based on:
-.\" $FreeBSD: src/usr.sbin/wpa/hostapd/hostapd.conf.5,v 1.2 2005/06/27 06:40:43 ru Exp $
-.\"
-.Dd August 4, 2006
-.Dt HOSTAPD.CONF 5
-.Os
-.Sh NAME
-.Nm hostapd.conf
-.Nd configuration file for
-.Xr hostapd 8
-utility
-.Sh DESCRIPTION
-The
-.Nm
-utility
-is an authenticator for IEEE 802.11 networks.
-It provides full support for WPA/IEEE 802.11i and
-can also act as an IEEE 802.1X Authenticator with a suitable
-backend Authentication Server (typically
-.Tn FreeRADIUS ) .
-.Pp
-The configuration file consists of global parameters and domain
-specific configuration:



Home | Main Index | Thread Index | Old Index