git: 736c403bb0f3 - main - net/hostapd29: Remove expired port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 30 Sep 2026 21:57:04 UTC
The branch main has been updated by rene:
URL: https://cgit.FreeBSD.org/ports/commit/?id=736c403bb0f31f842151d11a846622f6e6fc83f9
commit 736c403bb0f31f842151d11a846622f6e6fc83f9
Author: Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2026-09-30 21:56:58 +0000
Commit: Rene Ladan <rene@FreeBSD.org>
CommitDate: 2026-09-30 21:56:58 +0000
net/hostapd29: Remove expired port
2026-09-30 net/hostapd29: Unsupported by upstream
---
MOVED | 1 +
net/Makefile | 1 -
net/hostapd29/Makefile | 49 ----
net/hostapd29/distinfo | 9 -
net/hostapd29/files/config | 316 ---------------------
net/hostapd29/files/hostapd.in | 39 ---
.../files/patch-src-l2_packet-l2_packet_freebsd.c | 14 -
net/hostapd29/files/patch-src_common_dhcp.h | 25 --
.../files/patch-src_drivers_driver__bsd.c | 60 ----
net/hostapd29/files/patch-src_utils_os.h | 17 --
net/hostapd29/files/patch-src_utils_os__unix.c | 15 -
net/hostapd29/files/patch-src_wps_wps__upnp.c | 20 --
net/hostapd29/pkg-descr | 10 -
net/hostapd29/pkg-message | 10 -
14 files changed, 1 insertion(+), 585 deletions(-)
diff --git a/MOVED b/MOVED
index e8bc3cbd2493..c1a962ae3f38 100644
--- a/MOVED
+++ b/MOVED
@@ -5698,3 +5698,4 @@ security/barnyard2-sguil||2026-09-30|Has expired: Upstream has been abandoned, a
lang/kotlin22|lang/kotlin|2026-09-30|Has expired: The only port that needed Kotlin 2.2 now requires 2.4, use lang/kotlin instead
comms/zigbee2mqtt||2026-09-30|Has expired: Depends on expired www/node20
net/hostapd210||2026-09-30|Has expired: Unsupported by upstream
+net/hostapd29||2026-09-30|Has expired: Unsupported by upstream
diff --git a/net/Makefile b/net/Makefile
index b56688f0712d..f239412bfb60 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -259,7 +259,6 @@
SUBDIR += honeyd
SUBDIR += hostapd
SUBDIR += hostapd-devel
- SUBDIR += hostapd29
SUBDIR += hping3
SUBDIR += hsflowd
SUBDIR += htpdate
diff --git a/net/hostapd29/Makefile b/net/hostapd29/Makefile
deleted file mode 100644
index 6da27463a95f..000000000000
--- a/net/hostapd29/Makefile
+++ /dev/null
@@ -1,49 +0,0 @@
-PORTNAME= hostapd
-PORTVERSION= 2.9
-PORTREVISION= 5
-CATEGORIES= net
-MASTER_SITES= https://w1.fi/releases/
-PKGNAMESUFFIX= 29
-
-PATCH_SITES= https://w1.fi/security/2020-1/
-PATCHFILES= 0001-WPS-UPnP-Do-not-allow-event-subscriptions-with-URLs-.patch:-p1 \
- 0002-WPS-UPnP-Fix-event-message-generation-using-a-long-U.patch:-p1 \
- 0003-WPS-UPnP-Handle-HTTP-initiation-failures-for-events-.patch:-p1
-
-MAINTAINER= cy@FreeBSD.org
-COMMENT= IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
-WWW= https://w1.fi/hostapd/
-
-DEPRECATED= Unsupported by upstream
-EXPIRATION_DATE=2026-09-30
-
-LICENSE= BSD3CLAUSE
-
-USES= cpe gmake ssl
-CPE_VENDOR= w1.fi
-BUILD_WRKSRC= ${WRKSRC}/hostapd
-CFLAGS+= -I${OPENSSLINC}
-LDFLAGS+= -L${OPENSSLLIB}
-
-PLIST_FILES= sbin/hostapd sbin/hostapd_cli share/man/man1/hostapd_cli.1.gz \
- share/man/man8/hostapd.8.gz
-.if !exists(/etc/rc.d/hostapd)
-USE_RC_SUBR= hostapd
-.endif
-
-post-patch:
- @${REINPLACE_CMD} -e 's|@$$(E) " CC " $$<|@$$(E) " $$(CC) " $$<|' \
- ${BUILD_WRKSRC}/Makefile
- @${SED} -e 's|@PREFIX@|${PREFIX}|g' ${FILESDIR}/config \
- >> ${WRKSRC}/hostapd/.config
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/hostapd/hostapd ${STAGEDIR}${PREFIX}/sbin
- ${INSTALL_PROGRAM} ${WRKSRC}/hostapd/hostapd_cli \
- ${STAGEDIR}${PREFIX}/sbin
- ${INSTALL_MAN} ${WRKSRC}/hostapd/hostapd_cli.1 \
- ${STAGEDIR}${PREFIX}/share/man/man1
- ${INSTALL_MAN} ${WRKSRC}/hostapd/hostapd.8 \
- ${STAGEDIR}${PREFIX}/share/man/man8
-
-.include <bsd.port.mk>
diff --git a/net/hostapd29/distinfo b/net/hostapd29/distinfo
deleted file mode 100644
index c6fd159e26c4..000000000000
--- a/net/hostapd29/distinfo
+++ /dev/null
@@ -1,9 +0,0 @@
-TIMESTAMP = 1591652140
-SHA256 (hostapd-2.9.tar.gz) = 881d7d6a90b2428479288d64233151448f8990ab4958e0ecaca7eeb3c9db2bd7
-SIZE (hostapd-2.9.tar.gz) = 2244312
-SHA256 (0001-WPS-UPnP-Do-not-allow-event-subscriptions-with-URLs-.patch) = 2d9a5b9d616f1b4aa4a22b967cee866e2f69b798b0b46803a7928c8559842bd7
-SIZE (0001-WPS-UPnP-Do-not-allow-event-subscriptions-with-URLs-.patch) = 5909
-SHA256 (0002-WPS-UPnP-Fix-event-message-generation-using-a-long-U.patch) = 49feb35a5276279b465f6836d6fa2c6b34d94dc979e8b840d1918865c04260de
-SIZE (0002-WPS-UPnP-Fix-event-message-generation-using-a-long-U.patch) = 2284
-SHA256 (0003-WPS-UPnP-Handle-HTTP-initiation-failures-for-events-.patch) = a8212a2d89a5bab2824d22b6047e7740553df163114fcec94832bfa9c5c5d78a
-SIZE (0003-WPS-UPnP-Handle-HTTP-initiation-failures-for-events-.patch) = 1553
diff --git a/net/hostapd29/files/config b/net/hostapd29/files/config
deleted file mode 100644
index de05f3384a1a..000000000000
--- a/net/hostapd29/files/config
+++ /dev/null
@@ -1,316 +0,0 @@
-# FreeBSD hostapd build time configuration
-#
-# This file lists the configuration options that are used when building the
-# hostapd binary. All lines starting with # are ignored. Configuration option
-# lines must be commented out complete, if they are not to be included, i.e.,
-# just setting VARIABLE=n is not disabling that variable.
-#
-# This file is included in Makefile, so variables like CFLAGS and LIBS can also
-# be modified from here. In most cass, these lines should use += in order not
-# to override previous values of the variables.
-
-# Driver interface for Host AP driver
-#CONFIG_DRIVER_HOSTAP=y
-
-# Driver interface for wired authenticator
-#CONFIG_DRIVER_WIRED=y
-
-# Driver interface for madwifi driver
-#CONFIG_DRIVER_MADWIFI=y
-#CFLAGS += -I../../madwifi # change to the madwifi source directory
-
-# Driver interface for drivers using the nl80211 kernel interface
-#CONFIG_DRIVER_NL80211=y
-
-# driver_nl80211.c requires libnl. If you are compiling it yourself
-# you may need to point hostapd to your version of libnl.
-#
-#CFLAGS += -I$<path to libnl include files>
-#LIBS += -L$<path to libnl library files>
-
-# Use libnl v2.0 (or 3.0) libraries.
-#CONFIG_LIBNL20=y
-
-# Use libnl 3.2 libraries (if this is selected, CONFIG_LIBNL20 is ignored)
-#CONFIG_LIBNL32=y
-
-# Driver interface for FreeBSD net80211 layer (e.g., Atheros driver)
-CONFIG_DRIVER_BSD=y
-CFLAGS += -I@PREFIX@/include
-LIBS += -L@PREFIX@/lib
-LIBS_p += -L@PREFIX@/lib
-LIBS_c += -L@PREFIX@/lib
-
-# Driver interface for no driver (e.g., RADIUS server only)
-#CONFIG_DRIVER_NONE=y
-
-# IEEE 802.11F/IAPP
-#CONFIG_IAPP=y
-
-# WPA2/IEEE 802.11i RSN pre-authentication
-CONFIG_RSN_PREAUTH=y
-
-# PeerKey handshake for Station to Station Link (IEEE 802.11e DLS)
-#CONFIG_PEERKEY=y
-
-# IEEE 802.11w (management frame protection)
-#CONFIG_IEEE80211W=y
-
-# Integrated EAP server
-CONFIG_EAP=y
-
-# EAP-MD5 for the integrated EAP server
-CONFIG_EAP_MD5=y
-
-# EAP-TLS for the integrated EAP server
-CONFIG_EAP_TLS=y
-
-# EAP-MSCHAPv2 for the integrated EAP server
-CONFIG_EAP_MSCHAPV2=y
-
-# EAP-PEAP for the integrated EAP server
-CONFIG_EAP_PEAP=y
-
-# EAP-GTC for the integrated EAP server
-CONFIG_EAP_GTC=y
-
-# EAP-TTLS for the integrated EAP server
-CONFIG_EAP_TTLS=y
-
-# EAP-SIM for the integrated EAP server
-#CONFIG_EAP_SIM=y
-
-# EAP-AKA for the integrated EAP server
-#CONFIG_EAP_AKA=y
-
-# EAP-AKA' for the integrated EAP server
-# This requires CONFIG_EAP_AKA to be enabled, too.
-#CONFIG_EAP_AKA_PRIME=y
-
-# EAP-PAX for the integrated EAP server
-#CONFIG_EAP_PAX=y
-
-# EAP-PSK for the integrated EAP server (this is _not_ needed for WPA-PSK)
-#CONFIG_EAP_PSK=y
-
-# EAP-pwd for the integrated EAP server (secure authentication with a password)
-#CONFIG_EAP_PWD=y
-
-# EAP-SAKE for the integrated EAP server
-#CONFIG_EAP_SAKE=y
-
-# EAP-GPSK for the integrated EAP server
-#CONFIG_EAP_GPSK=y
-# Include support for optional SHA256 cipher suite in EAP-GPSK
-#CONFIG_EAP_GPSK_SHA256=y
-
-# EAP-FAST for the integrated EAP server
-# Note: If OpenSSL is used as the TLS library, OpenSSL 1.0 or newer is needed
-# for EAP-FAST support. Older OpenSSL releases would need to be patched, e.g.,
-# with openssl-0.9.8x-tls-extensions.patch, to add the needed functions.
-#CONFIG_EAP_FAST=y
-
-# Wi-Fi Protected Setup (WPS)
-#CONFIG_WPS=y
-# Enable UPnP support for external WPS Registrars
-#CONFIG_WPS_UPNP=y
-# Enable WPS support with NFC config method
-#CONFIG_WPS_NFC=y
-
-# EAP-IKEv2
-#CONFIG_EAP_IKEV2=y
-
-# Trusted Network Connect (EAP-TNC)
-#CONFIG_EAP_TNC=y
-
-# EAP-EKE for the integrated EAP server
-#CONFIG_EAP_EKE=y
-
-# PKCS#12 (PFX) support (used to read private key and certificate file from
-# a file that usually has extension .p12 or .pfx)
-CONFIG_PKCS12=y
-
-# RADIUS authentication server. This provides access to the integrated EAP
-# server from external hosts using RADIUS.
-#CONFIG_RADIUS_SERVER=y
-
-# Build IPv6 support for RADIUS operations
-CONFIG_IPV6=y
-
-# IEEE Std 802.11r-2008 (Fast BSS Transition)
-#CONFIG_IEEE80211R=y
-
-# Use the hostapd's IEEE 802.11 authentication (ACL), but without
-# the IEEE 802.11 Management capability (e.g., madwifi or FreeBSD/net80211)
-CONFIG_DRIVER_RADIUS_ACL=y
-
-# IEEE 802.11n (High Throughput) support
-#CONFIG_IEEE80211N=y
-
-# Wireless Network Management (IEEE Std 802.11v-2011)
-# Note: This is experimental and not complete implementation.
-#CONFIG_WNM=y
-
-# IEEE 802.11ac (Very High Throughput) support
-#CONFIG_IEEE80211AC=y
-
-# Remove debugging code that is printing out debug messages to stdout.
-# This can be used to reduce the size of the hostapd considerably if debugging
-# code is not needed.
-#CONFIG_NO_STDOUT_DEBUG=y
-
-# Add support for writing debug log to a file: -f /tmp/hostapd.log
-# Disabled by default.
-#CONFIG_DEBUG_FILE=y
-
-# Add support for sending all debug messages (regardless of debug verbosity)
-# to the Linux kernel tracing facility. This helps debug the entire stack by
-# making it easy to record everything happening from the driver up into the
-# same file, e.g., using trace-cmd.
-#CONFIG_DEBUG_LINUX_TRACING=y
-
-# Remove support for RADIUS accounting
-#CONFIG_NO_ACCOUNTING=y
-
-# Remove support for RADIUS
-#CONFIG_NO_RADIUS=y
-
-# Remove support for VLANs
-#CONFIG_NO_VLAN=y
-
-# Enable support for fully dynamic VLANs. This enables hostapd to
-# automatically create bridge and VLAN interfaces if necessary.
-#CONFIG_FULL_DYNAMIC_VLAN=y
-
-# Use netlink-based kernel API for VLAN operations instead of ioctl()
-# Note: This requires libnl 3.1 or newer.
-#CONFIG_VLAN_NETLINK=y
-
-# Remove support for dumping internal state through control interface commands
-# This can be used to reduce binary size at the cost of disabling a debugging
-# option.
-#CONFIG_NO_DUMP_STATE=y
-
-# Enable tracing code for developer debugging
-# This tracks use of memory allocations and other registrations and reports
-# incorrect use with a backtrace of call (or allocation) location.
-#CONFIG_WPA_TRACE=y
-# For BSD, comment out these.
-#LIBS += -lexecinfo
-#LIBS_p += -lexecinfo
-#LIBS_c += -lexecinfo
-
-# Use libbfd to get more details for developer debugging
-# This enables use of libbfd to get more detailed symbols for the backtraces
-# generated by CONFIG_WPA_TRACE=y.
-#CONFIG_WPA_TRACE_BFD=y
-# For BSD, comment out these.
-#LIBS += -lbfd -liberty -lz
-#LIBS_p += -lbfd -liberty -lz
-#LIBS_c += -lbfd -liberty -lz
-
-# hostapd depends on strong random number generation being available from the
-# operating system. os_get_random() function is used to fetch random data when
-# needed, e.g., for key generation. On Linux and BSD systems, this works by
-# reading /dev/urandom. It should be noted that the OS entropy pool needs to be
-# properly initialized before hostapd is started. This is important especially
-# on embedded devices that do not have a hardware random number generator and
-# may by default start up with minimal entropy available for random number
-# generation.
-#
-# As a safety net, hostapd is by default trying to internally collect
-# additional entropy for generating random data to mix in with the data
-# fetched from the OS. This by itself is not considered to be very strong, but
-# it may help in cases where the system pool is not initialized properly.
-# However, it is very strongly recommended that the system pool is initialized
-# with enough entropy either by using hardware assisted random number
-# generator or by storing state over device reboots.
-#
-# hostapd can be configured to maintain its own entropy store over restarts to
-# enhance random number generation. This is not perfect, but it is much more
-# secure than using the same sequence of random numbers after every reboot.
-# This can be enabled with -e<entropy file> command line option. The specified
-# file needs to be readable and writable by hostapd.
-#
-# If the os_get_random() is known to provide strong random data (e.g., on
-# Linux/BSD, the board in question is known to have reliable source of random
-# data from /dev/urandom), the internal hostapd random pool can be disabled.
-# This will save some in binary size and CPU use. However, this should only be
-# considered for builds that are known to be used on devices that meet the
-# requirements described above.
-#CONFIG_NO_RANDOM_POOL=y
-
-# Select TLS implementation
-# openssl = OpenSSL (default)
-# gnutls = GnuTLS
-# internal = Internal TLSv1 implementation (experimental)
-# none = Empty template
-#CONFIG_TLS=openssl
-
-# TLS-based EAP methods require at least TLS v1.0. Newer version of TLS (v1.1)
-# can be enabled to get a stronger construction of messages when block ciphers
-# are used.
-#CONFIG_TLSV11=y
-
-# TLS-based EAP methods require at least TLS v1.0. Newer version of TLS (v1.2)
-# can be enabled to enable use of stronger crypto algorithms.
-#CONFIG_TLSV12=y
-
-# If CONFIG_TLS=internal is used, additional library and include paths are
-# needed for LibTomMath. Alternatively, an integrated, minimal version of
-# LibTomMath can be used. See beginning of libtommath.c for details on benefits
-# and drawbacks of this option.
-#CONFIG_INTERNAL_LIBTOMMATH=y
-#ifndef CONFIG_INTERNAL_LIBTOMMATH
-#LTM_PATH=/usr/src/libtommath-0.39
-#CFLAGS += -I$(LTM_PATH)
-#LIBS += -L$(LTM_PATH)
-#LIBS_p += -L$(LTM_PATH)
-#endif
-# At the cost of about 4 kB of additional binary size, the internal LibTomMath
-# can be configured to include faster routines for exptmod, sqr, and div to
-# speed up DH and RSA calculation considerably
-#CONFIG_INTERNAL_LIBTOMMATH_FAST=y
-
-# Interworking (IEEE 802.11u)
-# This can be used to enable functionality to improve interworking with
-# external networks.
-#CONFIG_INTERWORKING=y
-
-# Hotspot 2.0
-#CONFIG_HS20=y
-
-# Enable SQLite database support in hlr_auc_gw, EAP-SIM DB, and eap_user_file
-#CONFIG_SQLITE=y
-
-# Testing options
-# This can be used to enable some testing options (see also the example
-# configuration file) that are really useful only for testing clients that
-# connect to this hostapd. These options allow, for example, to drop a
-# certain percentage of probe requests or auth/(re)assoc frames.
-#
-#CONFIG_TESTING_OPTIONS=y
-
-# Automatic Channel Selection
-# This will allow hostapd to pick the channel automatically when channel is set
-# to "acs_survey" or "0". Eventually, other ACS algorithms can be added in
-# similar way.
-#
-# Automatic selection is currently only done through initialization, later on
-# we hope to do background checks to keep us moving to more ideal channels as
-# time goes by. ACS is currently only supported through the nl80211 driver and
-# your driver must have survey dump capability that is filled by the driver
-# during scanning.
-#
-# You can customize the ACS survey algorithm with the hostapd.conf variable
-# acs_num_scans.
-#
-# Supported ACS drivers:
-# * ath9k
-# * ath5k
-# * ath10k
-#
-# For more details refer to:
-# http://wireless.kernel.org/en/users/Documentation/acs
-#
-#CONFIG_ACS=y
diff --git a/net/hostapd29/files/hostapd.in b/net/hostapd29/files/hostapd.in
deleted file mode 100644
index b6e717098472..000000000000
--- a/net/hostapd29/files/hostapd.in
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/sh
-
-# PROVIDE: hostapd
-# REQUIRE: mountcritremote
-# KEYWORD: nojail shutdown
-
-. /etc/rc.subr
-
-name="hostapd"
-desc="Authenticator for IEEE 802.11 networks"
-#
-# This portion of this rc.script is different from base.
-case ${command} in
-/usr/sbin/hostapd) # Assume user does not want base hostapd because
- # user specified WITHOUT_WIRELESS in make.conf
- # and /etc/defaults/rc.conf contains this value.
- unset command;;
-esac
-command=${hostapd_program:-%%PREFIX%%/sbin/hostapd}
-# End of differences from base. The rest of the file should remain the same.
-
-ifn="$2"
-if [ -z "$ifn" ]; then
- rcvar="hostapd_enable"
- conf_file="/etc/${name}.conf"
- pidfile="/var/run/${name}.pid"
-else
- rcvar=
- conf_file="/etc/${name}-${ifn}.conf"
- pidfile="/var/run/${name}-${ifn}.pid"
-fi
-
-command_args="-P ${pidfile} -B ${conf_file}"
-required_files="${conf_file}"
-required_modules="wlan_xauth wlan_wep wlan_tkip wlan_ccmp"
-extra_commands="reload"
-
-load_rc_config ${name}
-run_rc_command "$1"
diff --git a/net/hostapd29/files/patch-src-l2_packet-l2_packet_freebsd.c b/net/hostapd29/files/patch-src-l2_packet-l2_packet_freebsd.c
deleted file mode 100644
index 8b34e0fbdd89..000000000000
--- a/net/hostapd29/files/patch-src-l2_packet-l2_packet_freebsd.c
+++ /dev/null
@@ -1,14 +0,0 @@
---- src/l2_packet/l2_packet_freebsd.c.orig 2014-06-04 13:26:14 UTC
-+++ src/l2_packet/l2_packet_freebsd.c
-@@ -8,7 +8,10 @@
- */
-
- #include "includes.h"
--#if defined(__APPLE__) || defined(__GLIBC__)
-+#if defined(__FreeBSD__) \
-+ || defined(__DragonFly__) \
-+ || defined(__APPLE__) \
-+ || defined(__GLIBC__)
- #include <net/bpf.h>
- #endif /* __APPLE__ */
- #include <pcap.h>
diff --git a/net/hostapd29/files/patch-src_common_dhcp.h b/net/hostapd29/files/patch-src_common_dhcp.h
deleted file mode 100644
index f88d1921a380..000000000000
--- a/net/hostapd29/files/patch-src_common_dhcp.h
+++ /dev/null
@@ -1,25 +0,0 @@
---- src/common/dhcp.h.orig 2018-12-02 11:34:59.000000000 -0800
-+++ src/common/dhcp.h 2018-12-06 00:01:11.429254000 -0800
-@@ -9,6 +9,22 @@
- #ifndef DHCP_H
- #define DHCP_H
-
-+/*
-+ * Translate Linux to FreeBSD
-+ */
-+#define iphdr ip
-+#define ihl ip_hl
-+#define verson ip_v
-+#define tos ip_tos
-+#define tot_len ip_len
-+#define id ip_id
-+#define frag_off ip_off
-+#define ttl ip_ttl
-+#define protocol ip_p
-+#define check ip_sum
-+#define saddr ip_src
-+#define daddr ip_dst
-+
- #include <netinet/ip.h>
- #if __FAVOR_BSD
- #include <netinet/udp.h>
diff --git a/net/hostapd29/files/patch-src_drivers_driver__bsd.c b/net/hostapd29/files/patch-src_drivers_driver__bsd.c
deleted file mode 100644
index fe3064586710..000000000000
--- a/net/hostapd29/files/patch-src_drivers_driver__bsd.c
+++ /dev/null
@@ -1,60 +0,0 @@
---- src/drivers/driver_bsd.c.orig 2019-08-07 06:25:25.000000000 -0700
-+++ src/drivers/driver_bsd.c 2021-06-13 23:10:12.570253000 -0700
-@@ -649,7 +649,7 @@
- len = 2048;
- }
-
-- return len;
-+ return (len == 0) ? 2048 : len;
- }
-
- #ifdef HOSTAPD
-@@ -665,7 +665,11 @@
- static int bsd_sta_deauth(void *priv, const u8 *own_addr, const u8 *addr,
- u16 reason_code);
-
-+#ifdef __DragonFly__
-+const char *
-+#else
- static const char *
-+#endif
- ether_sprintf(const u8 *addr)
- {
- static char buf[sizeof(MACSTR)];
-@@ -1080,7 +1084,14 @@
- mode = 0 /* STA */;
- break;
- case IEEE80211_MODE_IBSS:
-+ /*
-+ * Ref bin/203086 - FreeBSD's net80211 currently uses
-+ * IFM_IEEE80211_ADHOC.
-+ */
-+#if 0
- mode = IFM_IEEE80211_IBSS;
-+#endif
-+ mode = IFM_IEEE80211_ADHOC;
- break;
- case IEEE80211_MODE_AP:
- mode = IFM_IEEE80211_HOSTAP;
-@@ -1336,14 +1347,18 @@
- drv = bsd_get_drvindex(global, ifm->ifm_index);
- if (drv == NULL)
- return;
-- if ((ifm->ifm_flags & IFF_UP) == 0 &&
-- (drv->flags & IFF_UP) != 0) {
-+ if (((ifm->ifm_flags & IFF_UP) == 0 ||
-+ (ifm->ifm_flags & IFF_RUNNING) == 0) &&
-+ (drv->flags & IFF_UP) != 0 &&
-+ (drv->flags & IFF_RUNNING) != 0) {
- wpa_printf(MSG_DEBUG, "RTM_IFINFO: Interface '%s' DOWN",
- drv->ifname);
- wpa_supplicant_event(drv->ctx, EVENT_INTERFACE_DISABLED,
- NULL);
- } else if ((ifm->ifm_flags & IFF_UP) != 0 &&
-- (drv->flags & IFF_UP) == 0) {
-+ (ifm->ifm_flags & IFF_RUNNING) != 0 &&
-+ ((drv->flags & IFF_UP) == 0 ||
-+ (drv->flags & IFF_RUNNING) == 0)) {
- wpa_printf(MSG_DEBUG, "RTM_IFINFO: Interface '%s' UP",
- drv->ifname);
- wpa_supplicant_event(drv->ctx, EVENT_INTERFACE_ENABLED,
diff --git a/net/hostapd29/files/patch-src_utils_os.h b/net/hostapd29/files/patch-src_utils_os.h
deleted file mode 100644
index e92661256d5f..000000000000
--- a/net/hostapd29/files/patch-src_utils_os.h
+++ /dev/null
@@ -1,17 +0,0 @@
---- src/utils/os.h.orig 2016-09-17 20:36:13 UTC
-+++ src/utils/os.h
-@@ -246,12 +246,14 @@ char * os_readfile(const char *name, siz
- */
- int os_file_exists(const char *fname);
-
-+#if !defined __FreeBSD__ && !defined __DragonFly__
- /**
- * os_fdatasync - Sync a file's (for a given stream) state with storage device
- * @stream: the stream to be flushed
- * Returns: 0 if the operation succeeded or -1 on failure
- */
- int os_fdatasync(FILE *stream);
-+#endif
-
- /**
- * os_zalloc - Allocate and zero memory
diff --git a/net/hostapd29/files/patch-src_utils_os__unix.c b/net/hostapd29/files/patch-src_utils_os__unix.c
deleted file mode 100644
index da8dbe006d12..000000000000
--- a/net/hostapd29/files/patch-src_utils_os__unix.c
+++ /dev/null
@@ -1,15 +0,0 @@
---- src/utils/os_unix.c.orig 2024-06-01 22:24:31.970700000 -0700
-+++ src/utils/os_unix.c 2024-06-01 22:25:35.160514000 -0700
-@@ -97,10 +97,12 @@
- break;
- #endif
- #ifdef CLOCK_MONOTONIC
-+#if !(defined(CLOCK_BOOTTIME) && CLOCK_BOOTTIME == CLOCK_MONOTONIC)
- case CLOCK_MONOTONIC:
- clock_id = CLOCK_REALTIME;
- break;
- #endif
-+#endif
- case CLOCK_REALTIME:
- return -1;
- }
diff --git a/net/hostapd29/files/patch-src_wps_wps__upnp.c b/net/hostapd29/files/patch-src_wps_wps__upnp.c
deleted file mode 100644
index 1e3651d33162..000000000000
--- a/net/hostapd29/files/patch-src_wps_wps__upnp.c
+++ /dev/null
@@ -1,20 +0,0 @@
---- src/wps/wps_upnp.c.orig 2015-03-15 17:30:39 UTC
-+++ src/wps/wps_upnp.c
-@@ -837,7 +837,7 @@ fail:
- }
-
-
--#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
-+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__)
- #include <sys/sysctl.h>
- #include <net/route.h>
- #include <net/if_dl.h>
-@@ -924,7 +924,7 @@ int get_netif_info(const char *net_if, u
- goto fail;
- }
- os_memcpy(mac, req.ifr_addr.sa_data, 6);
--#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
-+#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__)
- if (eth_get(net_if, mac) < 0) {
- wpa_printf(MSG_ERROR, "WPS UPnP: Failed to get MAC address");
- goto fail;
diff --git a/net/hostapd29/pkg-descr b/net/hostapd29/pkg-descr
deleted file mode 100644
index 873d58411d7a..000000000000
--- a/net/hostapd29/pkg-descr
+++ /dev/null
@@ -1,10 +0,0 @@
-hostapd is a user space daemon for access point and authentication
-servers. It implements IEEE 802.11 access point management, IEEE
-802.1X/WPA/WPA2/EAP Authenticators, RADIUS client, EAP server, and
-RADIUS authentication server. The current version supports Linux
-(Host AP, madwifi, mac80211-based drivers) and FreeBSD (net80211).
-
-Add the following to /etc/rc.conf to use the ports version instead
-of the base version:
-
- hostapd_program="/usr/local/sbin/hostapd"
diff --git a/net/hostapd29/pkg-message b/net/hostapd29/pkg-message
deleted file mode 100644
index 43d22d9a1e7d..000000000000
--- a/net/hostapd29/pkg-message
+++ /dev/null
@@ -1,10 +0,0 @@
-[
-{ type: install
- message: <<EOM
-Add the following to /etc/rc.conf to use the ports version instead
-of the base version:
-
- hostapd_program="/usr/local/sbin/hostapd"
-EOM
-}
-]