diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2005-01-08 19:06:48 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2005-01-08 19:06:48 +0000 |
commit | e6d51c6e46a4740de13399f6d62faf936d1dede8 (patch) | |
tree | 356c4e50f79365320de46934bf43bd8fc1bb5def | |
parent | - Add rcNG script (diff) |
- Spell wpa_supplicant with two 'p's in PORTNAME
- Remove now unnecessicary DISTNAME
- Add net to CATEGORIES
- Ditch the pkg-plist file in favor of PLIST_FILES, there were only
three lines in the plist
- Make the patch files relative to WRKSRC so we can drop PATCH_ARGS
- Install some documentation
- Bump PORTREVISION for new docs
Notes
Notes:
svn path=/head/; revision=125860
-rw-r--r-- | security/wpa_supplicant/Makefile | 25 | ||||
-rw-r--r-- | security/wpa_supplicant/files/patch-grp.h | 65 | ||||
-rw-r--r-- | security/wpa_supplicant/files/patch-type | 5 | ||||
-rw-r--r-- | security/wpa_supplicant/pkg-plist | 3 |
4 files changed, 49 insertions, 49 deletions
diff --git a/security/wpa_supplicant/Makefile b/security/wpa_supplicant/Makefile index e9a238362301..6b64ba4884ff 100644 --- a/security/wpa_supplicant/Makefile +++ b/security/wpa_supplicant/Makefile @@ -5,24 +5,41 @@ # $FreeBSD$ # -PORTNAME= wpa_suplicant +PORTNAME= wpa_supplicant PORTVERSION= 0.3.0 -CATEGORIES= security +PORTREVISION= 1 +CATEGORIES= security net MASTER_SITES= http://hostap.epitest.fi/releases/ -DISTNAME= wpa_supplicant-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Supplicant (client) for WPA/802.1x protocols BUILD_DEPENDS= ${LOCALBASE}/lib/libdnet.a:${PORTSDIR}/net/libdnet +PLIST_FILES= bin/wpa_supplicant \ + bin/wpa_passphrase \ + bin/wpa_cli + +.if !defined(NOPORTDOCS) +DOCFILES= README \ + ChangeLog \ + wpa_supplicant.conf +PLIST_FILES+= ${DOCFILES:S,^,%%DOCSDIR%%/,} +PLIST_DIRS+= %%DOCSDIR%% +.endif + WRKSRC= ${WRKDIR}/${DISTNAME} USE_GMAKE= yes -PATCH_ARGS= -p0 post-extract: @${CP} ${FILESDIR}/config.bsd ${WRKSRC}/.config +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + @${INSTALL_DATA} ${DOCFILES:S|^|${WRKSRC}/|} ${DOCSDIR} +.endif + .include <bsd.port.pre.mk> .if ${OSVERSION} < 600007 diff --git a/security/wpa_supplicant/files/patch-grp.h b/security/wpa_supplicant/files/patch-grp.h index c25542377197..cdb758f42ff5 100644 --- a/security/wpa_supplicant/files/patch-grp.h +++ b/security/wpa_supplicant/files/patch-grp.h @@ -1,6 +1,5 @@ -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 +--- eap.c Sun Dec 5 16:28:25 2004 ++++ eap.c Sun Dec 12 15:53:27 2004 @@ -16,6 +16,7 @@ #include <stdio.h> #include <string.h> @@ -9,9 +8,8 @@ diff -ru work/wpa_supplicant-0.3.0/eap.c work.sav/wpa_supplicant-0.3.0/eap.c #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 +--- eap_aka.c Sat Nov 27 10:29:04 2004 ++++ eap_aka.c Sun Dec 12 15:51:53 2004 @@ -16,6 +16,7 @@ #include <stdio.h> #include <string.h> @@ -20,9 +18,8 @@ diff -ru work/wpa_supplicant-0.3.0/eap_aka.c work.sav/wpa_supplicant-0.3.0/eap_a #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 +--- eap_gtc.c Sat Nov 27 10:29:04 2004 ++++ eap_gtc.c Sun Dec 12 15:50:50 2004 @@ -16,6 +16,7 @@ #include <stdio.h> #include <netinet/in.h> @@ -31,9 +28,8 @@ diff -ru work/wpa_supplicant-0.3.0/eap_gtc.c work.sav/wpa_supplicant-0.3.0/eap_g #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 +--- eap_leap.c Sat Nov 27 10:29:04 2004 ++++ eap_leap.c Sun Dec 12 15:51:40 2004 @@ -16,6 +16,7 @@ #include <stdio.h> #include <string.h> @@ -42,9 +38,8 @@ diff -ru work/wpa_supplicant-0.3.0/eap_leap.c work.sav/wpa_supplicant-0.3.0/eap_ #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 +--- eap_md5.c Sat Dec 4 08:53:24 2004 ++++ eap_md5.c Sun Dec 12 15:50:32 2004 @@ -15,6 +15,7 @@ #include <stdlib.h> #include <stdio.h> @@ -53,9 +48,8 @@ diff -ru work/wpa_supplicant-0.3.0/eap_md5.c work.sav/wpa_supplicant-0.3.0/eap_m #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 +--- eap_mschapv2.c Sun Dec 5 16:28:25 2004 ++++ eap_mschapv2.c Sun Dec 12 15:50:42 2004 @@ -16,6 +16,7 @@ #include <stdio.h> #include <string.h> @@ -64,9 +58,8 @@ diff -ru work/wpa_supplicant-0.3.0/eap_mschapv2.c work.sav/wpa_supplicant-0.3.0/ #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 +--- eap_otp.c Sat Nov 27 10:29:04 2004 ++++ eap_otp.c Sun Dec 12 15:51:01 2004 @@ -16,6 +16,7 @@ #include <stdio.h> #include <netinet/in.h> @@ -75,9 +68,8 @@ diff -ru work/wpa_supplicant-0.3.0/eap_otp.c work.sav/wpa_supplicant-0.3.0/eap_o #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 +--- eap_peap.c Sun Dec 5 16:28:25 2004 ++++ eap_peap.c Sun Dec 12 15:50:15 2004 @@ -16,6 +16,7 @@ #include <stdio.h> #include <string.h> @@ -86,9 +78,8 @@ diff -ru work/wpa_supplicant-0.3.0/eap_peap.c work.sav/wpa_supplicant-0.3.0/eap_ #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 +--- eap_psk.c Sat Nov 27 10:29:04 2004 ++++ eap_psk.c Sun Dec 12 15:51:47 2004 @@ -16,6 +16,7 @@ #include <stdio.h> #include <string.h> @@ -97,9 +88,8 @@ diff -ru work/wpa_supplicant-0.3.0/eap_psk.c work.sav/wpa_supplicant-0.3.0/eap_p #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 +--- eap_sim.c Sat Nov 27 10:29:04 2004 ++++ eap_sim.c Sun Dec 12 15:51:08 2004 @@ -16,6 +16,7 @@ #include <stdio.h> #include <string.h> @@ -108,9 +98,8 @@ diff -ru work/wpa_supplicant-0.3.0/eap_sim.c work.sav/wpa_supplicant-0.3.0/eap_s #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 +--- eap_tls.c Sat Nov 27 10:29:04 2004 ++++ eap_tls.c Sun Dec 12 15:49:28 2004 @@ -16,6 +16,7 @@ #include <stdio.h> #include <string.h> @@ -119,9 +108,8 @@ diff -ru work/wpa_supplicant-0.3.0/eap_tls.c work.sav/wpa_supplicant-0.3.0/eap_t #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 +--- eap_tls_common.c Wed Oct 6 21:25:17 2004 ++++ eap_tls_common.c Sun Dec 12 15:53:38 2004 @@ -16,6 +16,7 @@ #include <stdio.h> #include <string.h> @@ -130,9 +118,8 @@ diff -ru work/wpa_supplicant-0.3.0/eap_tls_common.c work.sav/wpa_supplicant-0.3. #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 +--- eap_ttls.c Sat Nov 27 10:29:04 2004 ++++ eap_ttls.c Sun Dec 12 15:50:25 2004 @@ -16,6 +16,7 @@ #include <stdio.h> #include <string.h> diff --git a/security/wpa_supplicant/files/patch-type b/security/wpa_supplicant/files/patch-type index 3d79ab02e82a..fc18a7b977bb 100644 --- a/security/wpa_supplicant/files/patch-type +++ b/security/wpa_supplicant/files/patch-type @@ -1,6 +1,5 @@ -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 +--- eapol_sm.c Sun Dec 5 16:28:25 2004 ++++ eapol_sm.c Sun Dec 12 15:53:17 2004 @@ -1371,7 +1371,7 @@ } diff --git a/security/wpa_supplicant/pkg-plist b/security/wpa_supplicant/pkg-plist deleted file mode 100644 index 5b0ff52f7b5f..000000000000 --- a/security/wpa_supplicant/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -bin/wpa_supplicant -bin/wpa_passphrase -bin/wpa_cli |