aboutsummaryrefslogtreecommitdiff
path: root/net/hostapd
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2014-10-12 10:46:34 +0000
committerJohn Marino <marino@FreeBSD.org>2014-10-12 10:46:34 +0000
commit0f77513f639fb25d62bb31b1f204b969680bc477 (patch)
tree19b2615a0d0157ece5579d6c204c227f00116a94 /net/hostapd
parent6f29b19517f8eb144f7733a458ea4ff8b6ad19ba (diff)
downloadports-0f77513f639fb25d62bb31b1f204b969680bc477.tar.gz
ports-0f77513f639fb25d62bb31b1f204b969680bc477.zip
Notes
Diffstat (limited to 'net/hostapd')
-rw-r--r--net/hostapd/Makefile14
-rw-r--r--net/hostapd/files/patch-src-l2_packet-l2_packet_freebsd.c11
-rw-r--r--net/hostapd/pkg-descr2
3 files changed, 14 insertions, 13 deletions
diff --git a/net/hostapd/Makefile b/net/hostapd/Makefile
index 3277d8346ea4..41357d819435 100644
--- a/net/hostapd/Makefile
+++ b/net/hostapd/Makefile
@@ -4,7 +4,7 @@
PORTNAME= hostapd
PORTVERSION= 2.2
CATEGORIES= net
-MASTER_SITES= http://hostap.epitest.fi/releases/
+MASTER_SITES= http://w1.fi/releases/
MAINTAINER= leres@ee.lbl.gov
COMMENT= IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
@@ -12,16 +12,14 @@ COMMENT= IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
LICENSE= BSD3CLAUSE
USES= gmake
-BUILD_WRKSRC= ${WRKSRC}/${PORTNAME}
+BUILD_WRKSRC= ${WRKSRC}/hostapd
PLIST_FILES= sbin/hostapd sbin/hostapd_cli man/man1/hostapd_cli.1.gz \
man/man8/hostapd.8.gz
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
-BROKEN= Does not compile on ia64, powerpc, or sparc64
-.endif
+BROKEN_ia64= does not compile
+BROKEN_powerpc= does not compile
+BROKEN_sparc64= does not compile
post-patch:
@${REINPLACE_CMD} -e 's|@$$(E) " CC " $$<|@$$(E) " $$(CC) " $$<|' \
@@ -39,4 +37,4 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/hostapd/hostapd.8 \
${STAGEDIR}${MANPREFIX}/man/man8
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/net/hostapd/files/patch-src-l2_packet-l2_packet_freebsd.c b/net/hostapd/files/patch-src-l2_packet-l2_packet_freebsd.c
index 0811796c25cd..8b34e0fbdd89 100644
--- a/net/hostapd/files/patch-src-l2_packet-l2_packet_freebsd.c
+++ b/net/hostapd/files/patch-src-l2_packet-l2_packet_freebsd.c
@@ -1,11 +1,14 @@
---- src/l2_packet/l2_packet_freebsd.c.orig 2011-02-05 17:11:19.000000000 -0800
-+++ src/l2_packet/l2_packet_freebsd.c 2011-02-05 17:11:35.000000000 -0800
-@@ -14,7 +14,7 @@
+--- src/l2_packet/l2_packet_freebsd.c.orig 2014-06-04 13:26:14 UTC
++++ src/l2_packet/l2_packet_freebsd.c
+@@ -8,7 +8,10 @@
*/
#include "includes.h"
-#if defined(__APPLE__) || defined(__GLIBC__)
-+#if defined(__FreeBSD__) || defined(__APPLE__) || defined(__GLIBC__)
++#if defined(__FreeBSD__) \
++ || defined(__DragonFly__) \
++ || defined(__APPLE__) \
++ || defined(__GLIBC__)
#include <net/bpf.h>
#endif /* __APPLE__ */
#include <pcap.h>
diff --git a/net/hostapd/pkg-descr b/net/hostapd/pkg-descr
index da2c084e450e..35d892575e55 100644
--- a/net/hostapd/pkg-descr
+++ b/net/hostapd/pkg-descr
@@ -10,4 +10,4 @@ To use the ports version instead of the base, add:
to /etc/rc.conf
-WWW: http://hostap.epitest.fi/hostapd/
+WWW: http://w1.fi/hostapd/