head	1.15;
access;
symbols
	RELEASE_7_0_0:1.14
	RELEASE_6_3_0:1.14
	PRE_XORG_7:1.14
	RELEASE_4_EOL:1.13
	RELEASE_6_2_0:1.13
	RELEASE_6_1_0:1.8
	RELEASE_5_5_0:1.8
	RELEASE_6_0_0:1.8
	RELEASE_5_4_0:1.6
	RELEASE_4_11_0:1.4;
locks; strict;
comment	@# @;


1.15
date	2008.04.25.23.21.08;	author pav;	state dead;
branches;
next	1.14;

1.14
date	2007.02.03.01.55.47;	author markus;	state Exp;
branches;
next	1.13;

1.13
date	2006.09.14.17.37.55;	author brooks;	state Exp;
branches;
next	1.12;

1.12
date	2006.09.14.17.37.05;	author brooks;	state Exp;
branches;
next	1.11;

1.11
date	2006.09.10.23.32.56;	author kris;	state Exp;
branches;
next	1.10;

1.10
date	2006.09.10.23.31.58;	author kris;	state Exp;
branches;
next	1.9;

1.9
date	2006.05.13.04.15.18;	author edwin;	state Exp;
branches;
next	1.8;

1.8
date	2005.05.27.01.10.30;	author brooks;	state Exp;
branches;
next	1.7;

1.7
date	2005.04.23.03.29.45;	author brooks;	state Exp;
branches;
next	1.6;

1.6
date	2005.02.16.07.03.32;	author brooks;	state Exp;
branches;
next	1.5;

1.5
date	2005.01.08.19.06.48;	author brooks;	state Exp;
branches;
next	1.4;

1.4
date	2004.12.13.00.19.20;	author imp;	state Exp;
branches;
next	1.3;

1.3
date	2004.12.12.22.59.36;	author imp;	state Exp;
branches;
next	1.2;

1.2
date	2004.12.12.22.41.06;	author imp;	state Exp;
branches;
next	1.1;

1.1
date	2004.12.12.22.23.07;	author imp;	state Exp;
branches;
next	;


desc
@@


1.15
log
@- Remove, it's ancient and newer version is included in base of all supported
  releases

Suggested by:	sam
@
text
@# New ports collection makefile for:	wpa_supplicant
# Date created:		7 December 2004
# Whom:			sam
#
# $FreeBSD: ports/security/wpa_supplicant/Makefile,v 1.14 2007/02/03 01:55:47 markus Exp $
#

# WITH_STATIC_SUPPLICANT - If you use wpa_supplicant with devd(8) to
#       start your wireless NIC at boot, it will not be able to resolve
#       the libdnet library dependency because devd is run before
#       ldconfig.  Defining this variable will get around the problem by
#       static-linking the wpa_supplicant executable.  A static-linked
#       version of the executable is about 1.25MB larger and you will be
#       required to rebuild this port whenever the net/libdnet port is
#       updated.

PORTNAME=	wpa_supplicant
PORTVERSION=	0.3.8
PORTREVISION=	2
CATEGORIES=	security net
MASTER_SITES=	http://hostap.epitest.fi/releases/

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	Supplicant (client) for WPA/802.1x protocols

LIB_DEPENDS=	dnet.1:${PORTSDIR}/net/libdnet

PLIST_FILES=	sbin/wpa_supplicant \
		sbin/wpa_passphrase \
		sbin/wpa_cli

PLIST_FILES+=	etc/${PORTNAME}.conf.sample

PORTDOCS=	README ChangeLog

WRKSRC=		${WRKDIR}/${DISTNAME}
USE_GMAKE=	yes

.if defined(WITH_STATIC_SUPPLICANT)
SUPPLICANT_STATIC=	-static
.else
SUPPLICANT_STATIC=
.endif
MAKE_ENV+=	SUPPLICANT_STATIC=${SUPPLICANT_STATIC}

post-patch:
	@@${CP} ${FILESDIR}/config.bsd ${WRKSRC}/.config
	@@${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/.config

post-install:
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}
	@@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
	@@${INSTALL_DATA} ${WRKSRC}/wpa_supplicant.conf ${PREFIX}/etc/wpa_supplicant.conf.sample

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 600007
IGNORE=is not supported on FreeBSD < 6.0
.endif

.include <bsd.port.post.mk>
@


1.14
log
@Utilize PORTDOCS
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.13
log
@Drop maintainership.  I'm not really interested in this now that we've
got it in the base.
@
text
@d34 1
a34 6
.if !defined(NOPORTDOCS)
DOCFILES=	README \
		ChangeLog
PLIST_FILES+=	${DOCFILES:S,^,%%DOCSDIR%%/,}
PLIST_DIRS+=	%%DOCSDIR%%
.endif
d53 1
a53 1
	@@${INSTALL_DATA} ${DOCFILES:S|^|${WRKSRC}/|} ${DOCSDIR}
@


1.12
log
@Fix build with openssl 0.9.8b.

PR:		ports/102822
Submitted by:	simon
@
text
@d23 1
a23 1
MAINTAINER=	brooks@@FreeBSD.org
@


1.11
log
@Change IGNORE to BROKEN in previous
@
text
@a67 4
.if ${OSVERSION} >= 700019
BROKEN=		does not compile on FreeBSD >= 7.0
.endif

@


1.10
log
@BROKEN on 7.x: Does not compile
@
text
@d69 1
a69 1
IGNORE=		does not compile on FreeBSD >= 7.0
@


1.9
log
@Remove USE_REINPLACE from all categories starting with S
@
text
@d68 4
@


1.8
log
@Add a new variable WITH_STATIC_SUPPLICANT to cause wpa_supplicant to be
linked staticly.  This allows it to be used from devd at startup. [1]

Use LIB_DEPENDS instead of BUILD_DEPENDS for the libdnet depend since we
need it to run too. [2]

My changes differ from the submitted fixes.

Submitted by:	Darren Pilgrim <dmp at bitfreak dot org> [1]
		Pawel Worach <pawel dot worach at gmail dot com> [2]
@
text
@a27 2
USE_REINPLACE=	yes

@


1.7
log
@Fix wpa_cli.  You need to pass all of the sockaddr, not just part of it.
Also be sure to keep the path null terminated as Stevens does.

While I'm here, take maintainership since I use this and seem to be
making most of the recent commits.
@
text
@d8 9
d19 1
a19 1
PORTREVISION=	1
d26 2
a29 2
BUILD_DEPENDS=	${LOCALBASE}/lib/libdnet.a:${PORTSDIR}/net/libdnet

d46 7
a55 1
	@@${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/Makefile
@


1.6
log
@- Update to 0.3.8.  See ChangeLog for details.
- Install sample config file in etc/wpa_supplication.conf.sample instead
  of DOCSDIR.
- Obey PREFIX.
- Follow move of binaries from bin to sbin.

Committed from a laptop running this version against an AP with WPA-PSK
and AES encription.

Submitted by:	Yamamoto Shigeru <shigeru at iij dot ad dot jp>
PR:		75609 (by Rong-En Fan <rafan at infor dot org>)
@
text
@d10 1
d14 1
a14 1
MAINTAINER=	ports@@FreeBSD.org
@


1.5
log
@- 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
@
text
@d9 1
a9 2
PORTVERSION=	0.3.0
PORTREVISION=	1
d16 2
d20 5
a24 3
PLIST_FILES=	bin/wpa_supplicant \
		bin/wpa_passphrase \
		bin/wpa_cli
d28 1
a28 2
		ChangeLog \
		wpa_supplicant.conf
d36 1
a36 1
post-extract:
d38 2
d46 1
@


1.4
log
@Add support for EAP.  It might not work only in 802.1x mode, but should
work in WPA+802.1x.

Submitted by: sam
@
text
@d8 1
a8 1
PORTNAME=	wpa_suplicant
d10 2
a11 1
CATEGORIES=	security
a12 1
DISTNAME=	wpa_supplicant-${PORTVERSION}
d19 12
a32 1
PATCH_ARGS=	-p0
d37 6
@


1.3
log
@Fix grammatical error Kris pointed out.

Submitted by: kris
@
text
@d21 1
@


1.2
log
@wpa_supplicant is only for current.
@
text
@d28 1
a28 1
IGNORE="wpa_supplicant is not supported on this version"
@


1.1
log
@WPA supplicant daemon for 802.11 networks.

Submitted by: sam
@
text
@d25 7
a31 1
.include <bsd.port.mk>
@

