diff options
author | cy <cy@FreeBSD.org> | 2018-12-07 04:11:15 +0800 |
---|---|---|
committer | cy <cy@FreeBSD.org> | 2018-12-07 04:11:15 +0800 |
commit | c112e2f6e091a23fcfc468a91bfa137783e7034e (patch) | |
tree | 141fc52370da7fc21f8adc8e2596f66d3e415146 /net | |
parent | f35df7e78ada0bf9015f80c6f713629cf0e394a4 (diff) | |
download | freebsd-ports-gnome-c112e2f6e091a23fcfc468a91bfa137783e7034e.tar.gz freebsd-ports-gnome-c112e2f6e091a23fcfc468a91bfa137783e7034e.tar.zst freebsd-ports-gnome-c112e2f6e091a23fcfc468a91bfa137783e7034e.zip |
Update 2.6 --> 2.7
Diffstat (limited to 'net')
-rw-r--r-- | net/hostapd/Makefile | 16 | ||||
-rw-r--r-- | net/hostapd/distinfo | 22 | ||||
-rw-r--r-- | net/hostapd/files/patch-crypto__openssl.c | 30 | ||||
-rw-r--r-- | net/hostapd/files/patch-src_common_dhcp.h | 25 | ||||
-rw-r--r-- | net/hostapd/files/patch-src_crypto_tls__openssl.c | 11 |
5 files changed, 30 insertions, 74 deletions
diff --git a/net/hostapd/Makefile b/net/hostapd/Makefile index 85a56a3bb81e..74ad7b7b626b 100644 --- a/net/hostapd/Makefile +++ b/net/hostapd/Makefile @@ -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 diff --git a/net/hostapd/distinfo b/net/hostapd/distinfo index da081b6cc488..3ffdeb6dd4b1 100644 --- a/net/hostapd/distinfo +++ b/net/hostapd/distinfo @@ -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 diff --git a/net/hostapd/files/patch-crypto__openssl.c b/net/hostapd/files/patch-crypto__openssl.c deleted file mode 100644 index 213c648ed07c..000000000000 --- a/net/hostapd/files/patch-crypto__openssl.c +++ /dev/null @@ -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(); diff --git a/net/hostapd/files/patch-src_common_dhcp.h b/net/hostapd/files/patch-src_common_dhcp.h new file mode 100644 index 000000000000..f88d1921a380 --- /dev/null +++ b/net/hostapd/files/patch-src_common_dhcp.h @@ -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> diff --git a/net/hostapd/files/patch-src_crypto_tls__openssl.c b/net/hostapd/files/patch-src_crypto_tls__openssl.c deleted file mode 100644 index 04f34b268584..000000000000 --- a/net/hostapd/files/patch-src_crypto_tls__openssl.c +++ /dev/null @@ -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 |