Index: head/release/packages/Makefile.package =================================================================== --- head/release/packages/Makefile.package (revision 350130) +++ head/release/packages/Makefile.package (revision 350131) @@ -1,82 +1,84 @@ # # $FreeBSD$ # acct_COMMENT= Accounting Utilties acct_DESC= Accounting Utilties acpi_COMMENT= ACPI Utilities acpi_DESC= ACPI Utilities amd_COMMENT= AMD Utilities amd_DESC= AMD Utilities apm_COMMENT= APM Utilities apm_DESC= APM Utilities at_COMMENT= AT Utilities at_DESC= AT Utilities autofs_COMMENT= Autofs Utilities autofs_DESC= Autofs Utilities bhyve_COMMENT= Bhyve Utilities bhyve_DESC= Bhyve Utilities binutils_COMMENT= Binutils binutils_DESC= Binutils bsdinstall_COMMENT= BSDInstall Utilities bsdinstall_DESC= BSDInstall Utilities bsnmp_COMMENT= BSNMP Utilities bsnmp_DESC= BSNMP Utilities clang_COMMENT= Clang Utilities clang_DESC= Clang Utilities clibs_COMMENT= Core C Libraries clibs_DESC= Core C Libraries dma_COMMENT= DMA Mail Agent Utilities dma_DESC= DMA Mail Agent Utilities docs_COMMENT= Documentation docs_DESC= Documentation ee_COMMENT= Easy Editor Utilities ee_DESC= Easy Editor Utilities gdb_COMMENT= GDB Utilities gdb_DESC= GDB Utilities groff_COMMENT= Groff Utilities groff_DESC= Groff Utilities hast_COMMENT= Highly Available Storage daemon hast_DESC= Highly Available Storage daemon +hostapd_COMMENT= 802.11 Access Point Daemon an Utilities +hostapd_DESC= 802.11 Access Point Daemon an Utilities jail_COMMENT= Jail Utilities jail_DESC= Jail Utilities jail-debug_DESCR= Debugging Symbols jail-development_DESCR=Development Files jail-profile_DESCR= Profiling Libraries jail-lib32_DESCR= 32-bit Libraries jail-lib32-debug_DESCR=32-bit Debugging Symbols jail-lib32-development_DESCR=32-bit Development Files jail-lib32-profile_DESCR=32-bit Profiling Libraries kernel_COMMENT= FreeBSD Kernel kernel_DESC= FreeBSD Kernel manuals_COMMENT= Manual Pages manuals_DESC= Manual Pages rcmds_COMMENT= Remote Command Utilities rcmds_DESC= Remote Command Utilities rescue_COMMENT= Rescue Utilities rescue_DESC= Rescue Utilities runtime_COMMENT= FreeBSD Base System runtime_DESC= FreeBSD Base System runtime-debug_DESCR= Debugging Symbols runtime-development_DESCR=Development Files runtime-profile_DESCR= Profiling Libraries runtime-lib32_DESCR= 32-bit Libraries runtime-lib32-debug_DESCR=32-bit Debugging Symbols runtime-lib32-development_DESCR=32-bit Development Files runtime-lib32-profile_DESCR=32-bit Profiling Libraries sendmail_COMMENT= Sendmail Utilities sendmail_DESC= Sendmail Utilities ssh_COMMENT= Secure Shell Utilities ssh_DESC= Secure Shell Utilities svn_COMMENT= Subversion Version Control System svn_DESC= Subversion Version Control System syscons_COMMENT= Syscons Console syscons_DESC= Syscons Console tests_COMMENT= Test Suite tests_DESC= Test Suite unbound_COMMENT= Unbound DNS Resolver unbound_DESC= Unbound DNS Resolver vi_COMMENT= Vi Editor vi_DESC= Vi Editor wpa_COMMENT= 802.11 Supplicant wpa_DESC= 802.11 Supplicant Index: head/release/packages/hostapd.ucl =================================================================== --- head/release/packages/hostapd.ucl (nonexistent) +++ head/release/packages/hostapd.ucl (revision 350131) @@ -0,0 +1,23 @@ +# +# $FreeBSD$ +# + +name = "FreeBSD-%PKGNAME%" +origin = "base" +version = "%VERSION%" +comment = "%COMMENT%" +categories = [ base ] +maintainer = "re@FreeBSD.org" +www = "https://www.FreeBSD.org" +prefix = "/" +licenselogic = "single" +licenses = [ BSD2CLAUSE ] +desc = < .include "../Makefile.inc" .PATH.c:${HOSTAPD_DISTDIR} \ ${WPA_DISTDIR}/src/ap \ ${WPA_DISTDIR}/src/eap_server \ ${WPA_DISTDIR}/src/eap_peer \ ${WPA_DISTDIR}/src/drivers \ ${WPA_DISTDIR}/wpa_supplicant +PACKAGE= hostapd PROG= hostapd SRCS= accounting.c \ ap_config.c \ ap_drv_ops.c \ ap_list.c \ ap_mlme.c \ authsrv.c \ base64.c \ beacon.c \ bss_load.c \ chap.c \ common.c \ config_file.c \ ctrl_iface.c \ ctrl_iface_ap.c \ ctrl_iface_common.c \ dfs.c \ driver_bsd.c \ driver_common.c \ drivers.c \ drv_callbacks.c \ eloop.c \ gas.c \ gas_serv.c \ http_client.c \ http_server.c \ httpread.c \ hostapd.c \ hs20.c \ hw_features.c \ hw_features_common.c \ ieee802_11.c \ ieee802_11_auth.c \ ieee802_11_common.c \ ieee802_11_shared.c \ ieee802_1x.c \ ip_addr.c \ l2_packet_freebsd.c \ main.c \ ms_funcs.c \ neighbor_db.c \ os_unix.c \ pmksa_cache_auth.c \ preauth_auth.c \ radius.c \ radius_client.c \ radius_das.c \ rrm.c \ sta_info.c \ tkip_countermeasures.c \ upnp_xml.c \ utils.c \ uuid.c \ vlan.c \ vlan_ifconfig.c \ vlan_init.c \ wmm.c \ wpa_auth.c \ wpa_auth_glue.c \ wpa_auth_ie.c \ wpa_common.c \ wpa_ctrl.c \ wpa_debug.c \ wpabuf.c \ wps.c \ wps_attr_build.c \ wps_attr_process.c \ wps_attr_parse.c \ wps_common.c \ wps_dev_attr.c \ wps_enrollee.c \ wps_hostapd.c \ wps_registrar.c \ wps_upnp.c \ wps_upnp_ap.c \ wps_upnp_event.c \ wps_upnp_ssdp.c \ wps_upnp_web.c MAN= hostapd.8 hostapd.conf.5 .if ${MK_EXAMPLES} != "no" FILESDIR= ${SHAREDIR}/examples/hostapd .PATH: ${HOSTAPD_DISTDIR} FILES= hostapd.conf hostapd.eap_user hostapd.wpa_psk .endif CFLAGS+=-I${.CURDIR:H}/wpa_supplicant \ -I${WPA_DISTDIR}/src/eap_peer \ -DCONFIG_DRIVER_BSD \ -DCONFIG_DRIVER_RADIUS_ACL \ -DCONFIG_HS20 \ -DCONFIG_INTERWORKING \ -DCONFIG_PEERKEY \ -DCONFIG_RSN_PREAUTH \ -DCONFIG_WPS \ -DCONFIG_WPS2 \ -DCONFIG_WPS_UPNP \ -DHOSTAPD .if ${MK_INET6} != "no" CFLAGS+= -DCONFIG_IPV6 .endif #CFLAGS+= -g LIBADD+= pcap util # User customizations for wpa_supplicant/hostapd build environment CFLAGS+=${HOSTAPD_CFLAGS} #DPADD+=${HOSTAPD_DPADD} LDADD+=${HOSTAPD_LDADD} #LDFLAGS+=${HOSTAPD_LDFLAGS} CFLAGS+=-DDPKCS12_FUNCS \ -DEAP_SERVER \ -DEAP_SERVER_GTC \ -DEAP_SERVER_IDENTITY \ -DEAP_SERVER_MD5 \ -DEAP_SERVER_MSCHAPV2 \ -DEAP_SERVER_PEAP \ -DEAP_SERVER_TLS \ -DEAP_SERVER_TTLS \ -DEAP_SERVER_WSC \ -DEAP_TLS_FUNCS SRCS+= eap_server_gtc.c \ eap_common.c \ eap_peap_common.c \ eap_register.c \ eap_server.c \ eap_server_identity.c \ eap_server_md5.c \ eap_server_methods.c \ eap_server_mschapv2.c \ eap_server_peap.c \ eap_server_tls.c \ eap_server_tls_common.c \ eap_server_ttls.c \ eap_server_wsc.c \ eap_user_db.c \ eap_wsc_common.c \ eapol_auth_dump.c \ eapol_auth_sm.c TLS_FUNCS=y .if !empty(CFLAGS:M*-DCONFIG_WPS) NEED_SIM_COMMON=y .endif .if !empty(CFLAGS:M*-DEAP_SERVER_AKA) SRCS+= eap_server_aka.c NEED_SIM_COMMON=y .endif .if !empty(CFLAGS:M*-DEAP_SERVER_SIM) SRCS+= eap_server_sim.c NEED_SIM_COMMON=y .endif .if defined(NEED_SIM_COMMON) SRCS+= eap_sim_common.c \ eap_sim_db.c NEED_FIPS186_2_PRF=y .endif .if !empty(CFLAGS:M*-DEAP_SERVER_GPSK) CFLAGS+=-DEAP_GPSK_SHA256 SRCS+= eap_server_gpsk.c \ eap_gpsk_common.c NEED_AES_OMAC1=y .endif .if !empty(CFLAGS:M*-DEAP_SERVER_PAX) SRCS+= eap_server_pax.c \ eap_pax_common.c .endif .if !empty(CFLAGS:M*-DEAP_SERVER_SAKE) SRCS+= eap_server_sake.c \ eap_sake_common.c .endif .include "../Makefile.crypto" .include Index: head/usr.sbin/wpa/hostapd_cli/Makefile =================================================================== --- head/usr.sbin/wpa/hostapd_cli/Makefile (revision 350130) +++ head/usr.sbin/wpa/hostapd_cli/Makefile (revision 350131) @@ -1,18 +1,19 @@ # $FreeBSD$ .include "../Makefile.inc" .PATH.c:${HOSTAPD_DISTDIR} +PACKAGE= hostapd PROG= hostapd_cli SRCS= cli.c common.c edit.c eloop.c hostapd_cli.c os_unix.c \ wpa_ctrl.c wpa_debug.c CFLAGS+= -DCONFIG_CTRL_IFACE CFLAGS+= -DCONFIG_CTRL_IFACE_UNIX LIBADD+= util MAN= hostapd_cli.8 .include