diff options
author | Warner Losh <imp@FreeBSD.org> | 2004-12-13 00:19:20 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2004-12-13 00:19:20 +0000 |
commit | 9b7bf58ffa2105d7803babfa2a4bc1adba5c7381 (patch) | |
tree | 447c89822c0e7de9056a3b1491a45324fabb0957 /security/wpa_supplicant | |
parent | 6ec9d598feac01a09156deb7e404f69d4be06209 (diff) | |
download | ports-9b7bf58ffa2105d7803babfa2a4bc1adba5c7381.tar.gz ports-9b7bf58ffa2105d7803babfa2a4bc1adba5c7381.zip |
Notes
Diffstat (limited to 'security/wpa_supplicant')
-rw-r--r-- | security/wpa_supplicant/Makefile | 1 | ||||
-rw-r--r-- | security/wpa_supplicant/files/config.bsd | 12 | ||||
-rw-r--r-- | security/wpa_supplicant/files/patch-grp.h | 143 | ||||
-rw-r--r-- | security/wpa_supplicant/files/patch-type | 12 |
4 files changed, 168 insertions, 0 deletions
diff --git a/security/wpa_supplicant/Makefile b/security/wpa_supplicant/Makefile index 4a25eb3dbd05..e9a238362301 100644 --- a/security/wpa_supplicant/Makefile +++ b/security/wpa_supplicant/Makefile @@ -18,6 +18,7 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libdnet.a:${PORTSDIR}/net/libdnet WRKSRC= ${WRKDIR}/${DISTNAME} USE_GMAKE= yes +PATCH_ARGS= -p0 post-extract: @${CP} ${FILESDIR}/config.bsd ${WRKSRC}/.config diff --git a/security/wpa_supplicant/files/config.bsd b/security/wpa_supplicant/files/config.bsd index 814a97d5e283..6e96461de5dc 100644 --- a/security/wpa_supplicant/files/config.bsd +++ b/security/wpa_supplicant/files/config.bsd @@ -1,3 +1,15 @@ CONFIG_DRIVER_BSD=y +CONFIG_IEEE8021X_EAPOL=y +CONFIG_EAP_MD5=y +CONFIG_EAP_MSCHAPV2=y +CONFIG_EAP_TLS=y +CONFIG_EAP_PEAP=y +CONFIG_EAP_TTLS=y +CONFIG_EAP_GTC=y +CONFIG_EAP_OTP=y +CONFIG_EAP_SIM=y +CONFIG_EAP_AKA=y +CONFIG_EAP_PSK=y +CONFIG_EAP_LEAP=y CFLAGS += -I/usr/local/include LIBS += -L/usr/local/lib diff --git a/security/wpa_supplicant/files/patch-grp.h b/security/wpa_supplicant/files/patch-grp.h new file mode 100644 index 000000000000..c25542377197 --- /dev/null +++ b/security/wpa_supplicant/files/patch-grp.h @@ -0,0 +1,143 @@ +diff -ru work/wpa_supplicant-0.3.0/eap.c work.sav/wpa_supplicant-0.3.0/eap.c +--- work/wpa_supplicant-0.3.0/eap.c Sun Dec 5 16:28:25 2004 ++++ work.sav/wpa_supplicant-0.3.0/eap.c Sun Dec 12 15:53:27 2004 +@@ -16,6 +16,7 @@ + #include <stdio.h> + #include <string.h> + #include <netinet/in.h> ++#include <grp.h> + + #include "common.h" + #include "eap_i.h" +diff -ru work/wpa_supplicant-0.3.0/eap_aka.c work.sav/wpa_supplicant-0.3.0/eap_aka.c +--- work/wpa_supplicant-0.3.0/eap_aka.c Sat Nov 27 10:29:04 2004 ++++ work.sav/wpa_supplicant-0.3.0/eap_aka.c Sun Dec 12 15:51:53 2004 +@@ -16,6 +16,7 @@ + #include <stdio.h> + #include <string.h> + #include <netinet/in.h> ++#include <grp.h> + + #include "common.h" + #include "eap_i.h" +diff -ru work/wpa_supplicant-0.3.0/eap_gtc.c work.sav/wpa_supplicant-0.3.0/eap_gtc.c +--- work/wpa_supplicant-0.3.0/eap_gtc.c Sat Nov 27 10:29:04 2004 ++++ work.sav/wpa_supplicant-0.3.0/eap_gtc.c Sun Dec 12 15:50:50 2004 +@@ -16,6 +16,7 @@ + #include <stdio.h> + #include <netinet/in.h> + #include <string.h> ++#include <grp.h> + + #include "common.h" + #include "eap_i.h" +diff -ru work/wpa_supplicant-0.3.0/eap_leap.c work.sav/wpa_supplicant-0.3.0/eap_leap.c +--- work/wpa_supplicant-0.3.0/eap_leap.c Sat Nov 27 10:29:04 2004 ++++ work.sav/wpa_supplicant-0.3.0/eap_leap.c Sun Dec 12 15:51:40 2004 +@@ -16,6 +16,7 @@ + #include <stdio.h> + #include <string.h> + #include <netinet/in.h> ++#include <grp.h> + + #include "common.h" + #include "eap_i.h" +diff -ru work/wpa_supplicant-0.3.0/eap_md5.c work.sav/wpa_supplicant-0.3.0/eap_md5.c +--- work/wpa_supplicant-0.3.0/eap_md5.c Sat Dec 4 08:53:24 2004 ++++ work.sav/wpa_supplicant-0.3.0/eap_md5.c Sun Dec 12 15:50:32 2004 +@@ -15,6 +15,7 @@ + #include <stdlib.h> + #include <stdio.h> + #include <netinet/in.h> ++#include <grp.h> + + #include "common.h" + #include "eap_i.h" +diff -ru work/wpa_supplicant-0.3.0/eap_mschapv2.c work.sav/wpa_supplicant-0.3.0/eap_mschapv2.c +--- work/wpa_supplicant-0.3.0/eap_mschapv2.c Sun Dec 5 16:28:25 2004 ++++ work.sav/wpa_supplicant-0.3.0/eap_mschapv2.c Sun Dec 12 15:50:42 2004 +@@ -16,6 +16,7 @@ + #include <stdio.h> + #include <string.h> + #include <netinet/in.h> ++#include <grp.h> + + #include "common.h" + #include "eap_i.h" +diff -ru work/wpa_supplicant-0.3.0/eap_otp.c work.sav/wpa_supplicant-0.3.0/eap_otp.c +--- work/wpa_supplicant-0.3.0/eap_otp.c Sat Nov 27 10:29:04 2004 ++++ work.sav/wpa_supplicant-0.3.0/eap_otp.c Sun Dec 12 15:51:01 2004 +@@ -16,6 +16,7 @@ + #include <stdio.h> + #include <netinet/in.h> + #include <string.h> ++#include <grp.h> + + #include "common.h" + #include "eap_i.h" +diff -ru work/wpa_supplicant-0.3.0/eap_peap.c work.sav/wpa_supplicant-0.3.0/eap_peap.c +--- work/wpa_supplicant-0.3.0/eap_peap.c Sun Dec 5 16:28:25 2004 ++++ work.sav/wpa_supplicant-0.3.0/eap_peap.c Sun Dec 12 15:50:15 2004 +@@ -16,6 +16,7 @@ + #include <stdio.h> + #include <string.h> + #include <netinet/in.h> ++#include <grp.h> + + #include "common.h" + #include "eap_i.h" +diff -ru work/wpa_supplicant-0.3.0/eap_psk.c work.sav/wpa_supplicant-0.3.0/eap_psk.c +--- work/wpa_supplicant-0.3.0/eap_psk.c Sat Nov 27 10:29:04 2004 ++++ work.sav/wpa_supplicant-0.3.0/eap_psk.c Sun Dec 12 15:51:47 2004 +@@ -16,6 +16,7 @@ + #include <stdio.h> + #include <string.h> + #include <netinet/in.h> ++#include <grp.h> + + #include "common.h" + #include "eap_i.h" +diff -ru work/wpa_supplicant-0.3.0/eap_sim.c work.sav/wpa_supplicant-0.3.0/eap_sim.c +--- work/wpa_supplicant-0.3.0/eap_sim.c Sat Nov 27 10:29:04 2004 ++++ work.sav/wpa_supplicant-0.3.0/eap_sim.c Sun Dec 12 15:51:08 2004 +@@ -16,6 +16,7 @@ + #include <stdio.h> + #include <string.h> + #include <netinet/in.h> ++#include <grp.h> + + #include "common.h" + #include "eap_i.h" +diff -ru work/wpa_supplicant-0.3.0/eap_tls.c work.sav/wpa_supplicant-0.3.0/eap_tls.c +--- work/wpa_supplicant-0.3.0/eap_tls.c Sat Nov 27 10:29:04 2004 ++++ work.sav/wpa_supplicant-0.3.0/eap_tls.c Sun Dec 12 15:49:28 2004 +@@ -16,6 +16,7 @@ + #include <stdio.h> + #include <string.h> + #include <netinet/in.h> ++#include <grp.h> + + #include "common.h" + #include "eap_i.h" +diff -ru work/wpa_supplicant-0.3.0/eap_tls_common.c work.sav/wpa_supplicant-0.3.0/eap_tls_common.c +--- work/wpa_supplicant-0.3.0/eap_tls_common.c Wed Oct 6 21:25:17 2004 ++++ work.sav/wpa_supplicant-0.3.0/eap_tls_common.c Sun Dec 12 15:53:38 2004 +@@ -16,6 +16,7 @@ + #include <stdio.h> + #include <string.h> + #include <netinet/in.h> ++#include <grp.h> + + #include "common.h" + #include "eap_i.h" +diff -ru work/wpa_supplicant-0.3.0/eap_ttls.c work.sav/wpa_supplicant-0.3.0/eap_ttls.c +--- work/wpa_supplicant-0.3.0/eap_ttls.c Sat Nov 27 10:29:04 2004 ++++ work.sav/wpa_supplicant-0.3.0/eap_ttls.c Sun Dec 12 15:50:25 2004 +@@ -16,6 +16,7 @@ + #include <stdio.h> + #include <string.h> + #include <netinet/in.h> ++#include <grp.h> + + #include "common.h" + #include "eap_i.h" diff --git a/security/wpa_supplicant/files/patch-type b/security/wpa_supplicant/files/patch-type new file mode 100644 index 000000000000..3d79ab02e82a --- /dev/null +++ b/security/wpa_supplicant/files/patch-type @@ -0,0 +1,12 @@ +diff -ru work/wpa_supplicant-0.3.0/eapol_sm.c work.sav/wpa_supplicant-0.3.0/eapol_sm.c +--- work/wpa_supplicant-0.3.0/eapol_sm.c Sun Dec 5 16:28:25 2004 ++++ work.sav/wpa_supplicant-0.3.0/eapol_sm.c Sun Dec 12 15:53:17 2004 +@@ -1371,7 +1371,7 @@ + } + + +-static unsigned int eapol_sm_get_int(void *ctx, enum eapol_int_var variable) ++static unsigned int eapol_sm_get_int(void *ctx, enum eapol_bool_var variable) + { + struct eapol_sm *sm = ctx; + if (sm == NULL) |