mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
Update 2.6 --> 2.7
This commit is contained in:
parent
d3df2c4b0f
commit
409a482cec
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=486778
@ -2,23 +2,11 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= hostapd
|
||||
PORTVERSION= 2.6
|
||||
PORTREVISION= 2
|
||||
PORTVERSION= 2.7
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= https://w1.fi/releases/
|
||||
|
||||
PATCH_SITES= https://w1.fi/security/2017-1/:2017_1 \
|
||||
https://w1.fi/security/2018-1/:2018_1
|
||||
|
||||
PATCHFILES= rebased-v2.6-0001-hostapd-Avoid-key-reinstallation-in-FT-handshake.patch:2017_1 \
|
||||
rebased-v2.6-0002-Prevent-reinstallation-of-an-already-in-use-group-ke.patch:2017_1 \
|
||||
rebased-v2.6-0003-Extend-protection-of-GTK-IGTK-reinstallation-of-WNM-.patch:2017_1 \
|
||||
rebased-v2.6-0004-Prevent-installation-of-an-all-zero-TK.patch:2017_1 \
|
||||
rebased-v2.6-0005-Fix-PTK-rekeying-to-generate-a-new-ANonce.patch:2017_1 \
|
||||
rebased-v2.6-0006-TDLS-Reject-TPK-TK-reconfiguration.patch:2017_1 \
|
||||
rebased-v2.6-0008-FT-Do-not-allow-multiple-Reassociation-Response-fram.patch:2017_1 \
|
||||
rebased-v2.6-0001-WPA-Ignore-unauthenticated-encrypted-EAPOL-Key-data.patch:2018_1
|
||||
PATCH_DIST_STRIP= -p1
|
||||
PATCH_SITES= https://w1.fi/security/2018-1/:2018_1
|
||||
|
||||
MAINTAINER= cy@FreeBSD.org
|
||||
COMMENT= IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
|
||||
|
@ -1,19 +1,3 @@
|
||||
TIMESTAMP = 1534471067
|
||||
SHA256 (hostapd-2.6.tar.gz) = 01526b90c1d23bec4b0f052039cc4456c2fd19347b4d830d1d58a0a6aea7117d
|
||||
SIZE (hostapd-2.6.tar.gz) = 1822341
|
||||
SHA256 (rebased-v2.6-0001-hostapd-Avoid-key-reinstallation-in-FT-handshake.patch) = 529113cc81256c6178f3c1cf25dd8d3f33e6d770e4a180bd31c6ab7e4917f40b
|
||||
SIZE (rebased-v2.6-0001-hostapd-Avoid-key-reinstallation-in-FT-handshake.patch) = 6218
|
||||
SHA256 (rebased-v2.6-0002-Prevent-reinstallation-of-an-already-in-use-group-ke.patch) = d86d47ab74170f3648b45b91bce780949ca92b09ab43df065178850ec0c335d7
|
||||
SIZE (rebased-v2.6-0002-Prevent-reinstallation-of-an-already-in-use-group-ke.patch) = 7883
|
||||
SHA256 (rebased-v2.6-0003-Extend-protection-of-GTK-IGTK-reinstallation-of-WNM-.patch) = d4535e36739a0cc7f3585e6bcba3c0bb8fc67cb3e729844e448c5dc751f47e81
|
||||
SIZE (rebased-v2.6-0003-Extend-protection-of-GTK-IGTK-reinstallation-of-WNM-.patch) = 6861
|
||||
SHA256 (rebased-v2.6-0004-Prevent-installation-of-an-all-zero-TK.patch) = 793a54748161b5af430dd9de4a1988d19cb8e85ab29bc2340f886b0297cee20b
|
||||
SIZE (rebased-v2.6-0004-Prevent-installation-of-an-all-zero-TK.patch) = 2566
|
||||
SHA256 (rebased-v2.6-0005-Fix-PTK-rekeying-to-generate-a-new-ANonce.patch) = 147c8abe07606905d16404fb2d2c8849796ca7c85ed8673c09bb50038bcdeb9e
|
||||
SIZE (rebased-v2.6-0005-Fix-PTK-rekeying-to-generate-a-new-ANonce.patch) = 1949
|
||||
SHA256 (rebased-v2.6-0006-TDLS-Reject-TPK-TK-reconfiguration.patch) = 596d4d3b63ea859ed7ea9791b3a21cb11b6173b04c0a14a2afa47edf1666afa6
|
||||
SIZE (rebased-v2.6-0006-TDLS-Reject-TPK-TK-reconfiguration.patch) = 4309
|
||||
SHA256 (rebased-v2.6-0008-FT-Do-not-allow-multiple-Reassociation-Response-fram.patch) = c8840d857b9432f3b488113c85c1ff5d4a4b8d81078b7033388dae1e990843b1
|
||||
SIZE (rebased-v2.6-0008-FT-Do-not-allow-multiple-Reassociation-Response-fram.patch) = 2750
|
||||
SHA256 (rebased-v2.6-0001-WPA-Ignore-unauthenticated-encrypted-EAPOL-Key-data.patch) = 960c3cf2a514479b0b4cf09665186a1a9f5d28e8b05dec23db75c6cc13eb1f7c
|
||||
SIZE (rebased-v2.6-0001-WPA-Ignore-unauthenticated-encrypted-EAPOL-Key-data.patch) = 1999
|
||||
TIMESTAMP = 1544073078
|
||||
SHA256 (hostapd-2.7.tar.gz) = 21b0dda3cc3abe75849437f6b9746da461f88f0ea49dd621216936f87440a141
|
||||
SIZE (hostapd-2.7.tar.gz) = 2101166
|
||||
|
@ -1,30 +0,0 @@
|
||||
--- src/crypto/crypto_openssl.c.orig 2016-10-02 18:51:11 UTC
|
||||
+++ src/crypto/crypto_openssl.c
|
||||
@@ -33,7 +33,8 @@
|
||||
#include "aes_wrap.h"
|
||||
#include "crypto.h"
|
||||
|
||||
-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
|
||||
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || \
|
||||
+ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L)
|
||||
/* Compatibility wrappers for older versions. */
|
||||
|
||||
static HMAC_CTX * HMAC_CTX_new(void)
|
||||
@@ -611,7 +612,7 @@ void crypto_cipher_deinit(struct crypto_
|
||||
|
||||
void * dh5_init(struct wpabuf **priv, struct wpabuf **publ)
|
||||
{
|
||||
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined (LIBRESSL_VERSION_NUMBER)
|
||||
DH *dh;
|
||||
struct wpabuf *pubkey = NULL, *privkey = NULL;
|
||||
size_t publen, privlen;
|
||||
@@ -712,7 +713,7 @@ err:
|
||||
|
||||
void * dh5_init_fixed(const struct wpabuf *priv, const struct wpabuf *publ)
|
||||
{
|
||||
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
|
||||
DH *dh;
|
||||
|
||||
dh = DH_new();
|
25
net/hostapd/files/patch-src_common_dhcp.h
Normal file
25
net/hostapd/files/patch-src_common_dhcp.h
Normal file
@ -0,0 +1,25 @@
|
||||
--- 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>
|
@ -1,11 +0,0 @@
|
||||
--- src/crypto/tls_openssl.c.orig 2016-10-02 18:51:11 UTC
|
||||
+++ src/crypto/tls_openssl.c
|
||||
@@ -59,7 +59,7 @@ typedef int stack_index_t;
|
||||
#endif /* SSL_set_tlsext_status_type */
|
||||
|
||||
#if (OPENSSL_VERSION_NUMBER < 0x10100000L || \
|
||||
- defined(LIBRESSL_VERSION_NUMBER)) && \
|
||||
+ (defined(LIBRESSL_VERSION_NUMBER)) && LIBRESSL_VERSION_NUMBER < 0x20700000L) && \
|
||||
!defined(BORINGSSL_API_VERSION)
|
||||
/*
|
||||
* SSL_get_client_random() and SSL_get_server_random() were added in OpenSSL
|
Loading…
Reference in New Issue
Block a user