View | Details | Raw Unified | Return to bug 247177
Collapse All | Expand All

(-)w/security/wpa_supplicant/Makefile (-3 / +7 lines)
Lines 1-216 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	wpa_supplicant
3
PORTNAME=	wpa_supplicant
4
PORTVERSION=	2.9
4
PORTVERSION=	2.9
5
PORTREVISION=	6
5
PORTREVISION=	7
6
CATEGORIES=	security net
6
CATEGORIES=	security net
7
MASTER_SITES=	https://w1.fi/releases/
7
MASTER_SITES=	https://w1.fi/releases/
8
8
9
PATCH_SITES=	https://w1.fi/security/2020-1/
9
PATCH_SITES=	https://w1.fi/security/2020-1/
10
PATCHFILES=	0001-WPS-UPnP-Do-not-allow-event-subscriptions-with-URLs-.patch:-p1 \
10
PATCHFILES=	0001-WPS-UPnP-Do-not-allow-event-subscriptions-with-URLs-.patch:-p1 \
11
		0002-WPS-UPnP-Fix-event-message-generation-using-a-long-U.patch:-p1 \
11
		0002-WPS-UPnP-Fix-event-message-generation-using-a-long-U.patch:-p1 \
12
		0003-WPS-UPnP-Handle-HTTP-initiation-failures-for-events-.patch:-p1
12
		0003-WPS-UPnP-Handle-HTTP-initiation-failures-for-events-.patch:-p1
13
13
14
MAINTAINER=	cy@FreeBSD.org
14
MAINTAINER=	cy@FreeBSD.org
15
COMMENT=	Supplicant (client) for WPA/802.1x protocols
15
COMMENT=	Supplicant (client) for WPA/802.1x protocols
16
16
17
LICENSE=	BSD3CLAUSE
17
LICENSE=	BSD3CLAUSE
18
LICENSE_FILE=	${WRKSRC}/README
18
LICENSE_FILE=	${WRKSRC}/README
19
19
20
USES=		cpe gmake pkgconfig:build readline ssl
20
USES=		cpe gmake pkgconfig:build readline ssl
21
BUILD_WRKSRC=	${WRKSRC}/wpa_supplicant
21
BUILD_WRKSRC=	${WRKSRC}/wpa_supplicant
22
INSTALL_WRKSRC=	${WRKSRC}/src
22
INSTALL_WRKSRC=	${WRKSRC}/src
23
CFLAGS+=	${CPPFLAGS} # USES=readline only augments CPPFLAGS and LDFLAGS
23
CFLAGS+=	${CPPFLAGS} # USES=readline only augments CPPFLAGS and LDFLAGS
24
CFLAGS+=	-I${OPENSSLINC}
24
CFLAGS+=	-I${OPENSSLINC}
25
LDFLAGS+=	-L${OPENSSLLIB} -lutil
25
LDFLAGS+=	-L${OPENSSLLIB} -lutil
26
MAKE_ENV=	V=1
26
MAKE_ENV=	V=1
27
27
28
SUB_FILES=	pkg-message
28
SUB_FILES=	pkg-message
29
PORTDOCS=	README ChangeLog
29
PORTDOCS=	README ChangeLog
30
30
31
CFG=		${BUILD_WRKSRC}/.config
31
CFG=		${BUILD_WRKSRC}/.config
32
32
33
.if !exists(/etc/rc.d/wpa_supplicant)
33
.if !exists(/etc/rc.d/wpa_supplicant)
34
USE_RC_SUBR=	wpa_supplicant
34
USE_RC_SUBR=	wpa_supplicant
35
.endif
35
.endif
36
36
37
OPTIONS_MULTI=		DRV EAP
37
OPTIONS_MULTI=		DRV EAP
38
OPTIONS_MULTI_DRV=	BSD WIRED NDIS TEST NONE #ROBOSWITCH
38
OPTIONS_MULTI_DRV=	BSD WIRED NDIS TEST NONE #ROBOSWITCH
39
OPTIONS_MULTI_EAP=	TLS PEAP TTLS MD5 MSCHAPV2 GTC LEAP OTP PSK FAST \
39
OPTIONS_MULTI_EAP=	TLS PEAP TTLS MD5 MSCHAPV2 GTC LEAP OTP PSK FAST \
40
			SIM PWD PAX AKA AKA_PRIME SAKE GPSK TNC IKEV2 EKE
40
			SIM PWD PAX AKA AKA_PRIME SAKE GPSK TNC IKEV2 EKE
41
OPTIONS_DEFINE=		WPS WPS_ER WPS_NOREG WPS_NFC WPS_UPNP PKCS12 SMARTCARD \
41
OPTIONS_DEFINE=		WPS WPS_ER WPS_NOREG WPS_NFC WPS_UPNP PKCS12 SMARTCARD \
42
			HT_OVERRIDES VHT_OVERRIDES TLSV12 IEEE80211W \
42
			HT_OVERRIDES VHT_OVERRIDES TLSV12 IEEE80211W \
43
			IEEE80211R DEBUG_FILE DEBUG_SYSLOG PRIVSEP \
43
			IEEE80211R DEBUG_FILE DEBUG_SYSLOG PRIVSEP \
44
			DELAYED_MIC IEEE80211N IEEE80211AC INTERWORKING \
44
			DELAYED_MIC IEEE80211N IEEE80211AC INTERWORKING \
45
			IEEE8021X_EAPOL EAPOL_TEST \
45
			IEEE8021X_EAPOL EAPOL_TEST \
46
			HS20 NO_ROAMING P2P TDLS DBUS DOCS
46
			HS20 NO_ROAMING P2P TDLS DBUS MATCH DOCS
47
OPTIONS_DEFAULT=	BSD WIRED NDIS \
47
OPTIONS_DEFAULT=	BSD WIRED NDIS \
48
			TLS PEAP TTLS MD5 MSCHAPV2 GTC LEAP OTP PSK \
48
			TLS PEAP TTLS MD5 MSCHAPV2 GTC LEAP OTP PSK \
49
			WPS PKCS12 SMARTCARD IEEE80211R DEBUG_SYSLOG \
49
			WPS PKCS12 SMARTCARD IEEE80211R DEBUG_SYSLOG \
50
			INTERWORKING HS20 DBUS IEEE80211R IEEE80211W \
50
			INTERWORKING HS20 DBUS MATCH IEEE80211R IEEE80211W \
51
			IEEE8021X_EAPOL WPS_ER WPS_NFC WPS_UPNP NDIS \
51
			IEEE8021X_EAPOL WPS_ER WPS_NFC WPS_UPNP NDIS \
52
			FAST PWD PAX SAKE GPSK TNC IKEV2 EKE
52
			FAST PWD PAX SAKE GPSK TNC IKEV2 EKE
53
OPTIONS_SUB=
53
OPTIONS_SUB=
54
54
55
WPS_DESC=		Wi-Fi Protected Setup
55
WPS_DESC=		Wi-Fi Protected Setup
56
WPS_ER_DESC=		Enable WPS External Registrar
56
WPS_ER_DESC=		Enable WPS External Registrar
57
WPS_NOREG_DESC=		Disable open network credentials when registrar
57
WPS_NOREG_DESC=		Disable open network credentials when registrar
58
WPS_NFC_DESC=		Near Field Communication (NFC) configuration
58
WPS_NFC_DESC=		Near Field Communication (NFC) configuration
59
WPS_UPNP_DESC=		Universal Plug and Play support
59
WPS_UPNP_DESC=		Universal Plug and Play support
60
PKCS12_DESC=		PKCS\#12 (PFS) support
60
PKCS12_DESC=		PKCS\#12 (PFS) support
61
SMARTCARD_DESC=		Private key on smartcard support
61
SMARTCARD_DESC=		Private key on smartcard support
62
HT_OVERRIDES_DESC=	Disable HT/HT40, mask MCS rates, etc
62
HT_OVERRIDES_DESC=	Disable HT/HT40, mask MCS rates, etc
63
VHT_OVERRIDES_DESC=	Disable VHT, mask MCS rates, etc
63
VHT_OVERRIDES_DESC=	Disable VHT, mask MCS rates, etc
64
TLSV12_DESC=		Build with TLS v1.2 instead of TLS v1.0
64
TLSV12_DESC=		Build with TLS v1.2 instead of TLS v1.0
65
IEEE80211AC_DESC=	Very High Throughput, AP mode (IEEE 802.11ac)
65
IEEE80211AC_DESC=	Very High Throughput, AP mode (IEEE 802.11ac)
66
IEEE80211N_DESC=	High Throughput, AP mode (IEEE 802.11n)
66
IEEE80211N_DESC=	High Throughput, AP mode (IEEE 802.11n)
67
IEEE80211R_DESC=	Fast BSS Transition (IEEE 802.11r-2008)
67
IEEE80211R_DESC=	Fast BSS Transition (IEEE 802.11r-2008)
68
IEEE80211W_DESC=	Management Frame Protection (IEEE 802.11w)
68
IEEE80211W_DESC=	Management Frame Protection (IEEE 802.11w)
69
IEEE8021X_EAPOL_DESC=	EAP over LAN support
69
IEEE8021X_EAPOL_DESC=	EAP over LAN support
70
EAPOL_TEST_DESC=	Development testing
70
EAPOL_TEST_DESC=	Development testing
71
DEBUG_FILE_DESC=	Support for writing debug log to a file
71
DEBUG_FILE_DESC=	Support for writing debug log to a file
72
DEBUG_SYSLOG_DESC=	Send debug messages to syslog instead of stdout
72
DEBUG_SYSLOG_DESC=	Send debug messages to syslog instead of stdout
73
PRIVSEP_DESC=		Privilege separation
73
PRIVSEP_DESC=		Privilege separation
74
DELAYED_MIC_DESC=	Mitigate TKIP attack, random delay on MIC errors
74
DELAYED_MIC_DESC=	Mitigate TKIP attack, random delay on MIC errors
75
INTERWORKING_DESC=	Improve ext. network interworking (IEEE 802.11u)
75
INTERWORKING_DESC=	Improve ext. network interworking (IEEE 802.11u)
76
HS20_DESC=		Hotspot 2.0
76
HS20_DESC=		Hotspot 2.0
77
NO_ROAMING_DESC=	Disable roaming
77
NO_ROAMING_DESC=	Disable roaming
78
P2P_DESC=		Peer-to-Peer support
78
P2P_DESC=		Peer-to-Peer support
79
TDLS_DESC=		Tunneled Direct Link Setup
79
TDLS_DESC=		Tunneled Direct Link Setup
80
MATCH_DESC=		Interface match mode
80
81
81
DRV_DESC=		Driver options
82
DRV_DESC=		Driver options
82
BSD_DESC=		BSD net80211 interface
83
BSD_DESC=		BSD net80211 interface
83
NDIS_DESC=		Windows NDIS interface
84
NDIS_DESC=		Windows NDIS interface
84
WIRED_DESC=		Wired ethernet interface
85
WIRED_DESC=		Wired ethernet interface
85
ROBOSWITCH_DESC=	Broadcom Roboswitch interface
86
ROBOSWITCH_DESC=	Broadcom Roboswitch interface
86
TEST_DESC=		Development testing interface
87
TEST_DESC=		Development testing interface
87
NONE_DESC=		The 'no driver' interface, e.g. WPS ER only
88
NONE_DESC=		The 'no driver' interface, e.g. WPS ER only
88
89
89
EAP_DESC=		Extensible Authentication Protocols
90
EAP_DESC=		Extensible Authentication Protocols
90
TLS_DESC=		Transport Layer Security
91
TLS_DESC=		Transport Layer Security
91
PEAP_DESC=		Protected Extensible Authentication Protocol
92
PEAP_DESC=		Protected Extensible Authentication Protocol
92
TTLS_DESC=		Tunneled Transport Layer Security
93
TTLS_DESC=		Tunneled Transport Layer Security
93
MD5_DESC=		MD5 hash (deprecated, no key generation)
94
MD5_DESC=		MD5 hash (deprecated, no key generation)
94
MSCHAPV2_DESC=		Microsoft CHAP version 2 (RFC 2759)
95
MSCHAPV2_DESC=		Microsoft CHAP version 2 (RFC 2759)
95
GTC_DESC=		Generic Token Card
96
GTC_DESC=		Generic Token Card
96
LEAP_DESC=		Lightweight Extensible Authentication Protocol
97
LEAP_DESC=		Lightweight Extensible Authentication Protocol
97
OTP_DESC=		One-Time Password
98
OTP_DESC=		One-Time Password
98
PSK_DESC=		Pre-Shared key
99
PSK_DESC=		Pre-Shared key
99
FAST_DESC=		Flexible Authentication via Secure Tunneling
100
FAST_DESC=		Flexible Authentication via Secure Tunneling
100
AKA_DESC=		Autentication and Key Agreement (UMTS)
101
AKA_DESC=		Autentication and Key Agreement (UMTS)
101
AKA_PRIME_DESC=		AKA Prime variant (RFC 5448)
102
AKA_PRIME_DESC=		AKA Prime variant (RFC 5448)
102
EKE_DESC=		Encrypted Key Exchange
103
EKE_DESC=		Encrypted Key Exchange
103
SIM_DESC=		Subscriber Identity Module
104
SIM_DESC=		Subscriber Identity Module
104
IKEV2_DESC=		Internet Key Exchange version 2
105
IKEV2_DESC=		Internet Key Exchange version 2
105
PWD_DESC=		Shared password (RFC 5931)
106
PWD_DESC=		Shared password (RFC 5931)
106
PAX_DESC=		Password Authenticated Exchange
107
PAX_DESC=		Password Authenticated Exchange
107
SAKE_DESC=		Shared-Secret Authentication & Key Establishment
108
SAKE_DESC=		Shared-Secret Authentication & Key Establishment
108
GPSK_DESC=		Generalized Pre-Shared Key
109
GPSK_DESC=		Generalized Pre-Shared Key
109
TNC_DESC=		Trusted Network Connect
110
TNC_DESC=		Trusted Network Connect
110
111
111
PRIVSEP_PLIST_FILES=	sbin/wpa_priv
112
PRIVSEP_PLIST_FILES=	sbin/wpa_priv
112
DBUS_PLIST_FILES=	share/dbus-1/system-services/fi.w1.wpa_supplicant1.service \
113
DBUS_PLIST_FILES=	share/dbus-1/system-services/fi.w1.wpa_supplicant1.service \
113
			etc/dbus-1/system.d/dbus-wpa_supplicant.conf
114
			etc/dbus-1/system.d/dbus-wpa_supplicant.conf
114
115
115
.include <bsd.port.pre.mk>
116
.include <bsd.port.pre.mk>
116
117
117
.if ${PORT_OPTIONS:MNDIS} && ${PORT_OPTIONS:MPRIVSEP}
118
.if ${PORT_OPTIONS:MNDIS} && ${PORT_OPTIONS:MPRIVSEP}
118
BROKEN=	Fails to compile with both NDIS and PRIVSEP
119
BROKEN=	Fails to compile with both NDIS and PRIVSEP
119
.endif
120
.endif
120
121
121
.if ${PORT_OPTIONS:MIEEE80211AC} && ${PORT_OPTIONS:MIEEE80211N}
122
.if ${PORT_OPTIONS:MIEEE80211AC} && ${PORT_OPTIONS:MIEEE80211N}
122
BROKEN=	Fails to compile with both IEEE80211AC and IEEE80211N
123
BROKEN=	Fails to compile with both IEEE80211AC and IEEE80211N
123
.endif
124
.endif
124
125
125
.if ${PORT_OPTIONS:MSIM} || ${PORT_OPTIONS:MAKA} || ${PORT_OPTIONS:MAKA_PRIME}
126
.if ${PORT_OPTIONS:MSIM} || ${PORT_OPTIONS:MAKA} || ${PORT_OPTIONS:MAKA_PRIME}
126
LIB_DEPENDS+=	libpcsclite.so:devel/pcsc-lite
127
LIB_DEPENDS+=	libpcsclite.so:devel/pcsc-lite
127
CFLAGS+=	-I${LOCALBASE}/include/PCSC
128
CFLAGS+=	-I${LOCALBASE}/include/PCSC
128
LDFLAGS+=	-L${LOCALBASE}/lib
129
LDFLAGS+=	-L${LOCALBASE}/lib
129
.endif
130
.endif
130
131
131
.if ${PORT_OPTIONS:MDBUS}
132
.if ${PORT_OPTIONS:MDBUS}
132
LIB_DEPENDS+=	libdbus-1.so:devel/dbus
133
LIB_DEPENDS+=	libdbus-1.so:devel/dbus
133
.endif
134
.endif
134
135
135
post-patch:
136
post-patch:
136
	@${CP} ${FILESDIR}/Packet32.[ch] ${FILESDIR}/ntddndis.h \
137
	@${CP} ${FILESDIR}/Packet32.[ch] ${FILESDIR}/ntddndis.h \
137
		${WRKSRC}/src/utils
138
		${WRKSRC}/src/utils
138
	# Set driver(s)
139
	# Set driver(s)
139
.for item in BSD NDIS WIRED ROBOSWITCH TEST NONE
140
.for item in BSD NDIS WIRED ROBOSWITCH TEST NONE
140
.  if ${PORT_OPTIONS:M${item}}
141
.  if ${PORT_OPTIONS:M${item}}
141
	@${ECHO_CMD} CONFIG_DRIVER_${item}=y >> ${CFG}
142
	@${ECHO_CMD} CONFIG_DRIVER_${item}=y >> ${CFG}
142
.  endif
143
.  endif
143
.endfor
144
.endfor
144
	# Set EAP protocol(s)
145
	# Set EAP protocol(s)
145
.for item in MD5 MSCHAPV2 TLS PEAP TTLS FAST GTC OTP PSK PWD PAX LEAP SIM \
146
.for item in MD5 MSCHAPV2 TLS PEAP TTLS FAST GTC OTP PSK PWD PAX LEAP SIM \
146
	AKA AKA_PRIME SAKE GPSK TNC IKEV2 EKE
147
	AKA AKA_PRIME SAKE GPSK TNC IKEV2 EKE
147
.  if ${PORT_OPTIONS:M${item}}
148
.  if ${PORT_OPTIONS:M${item}}
148
	@${ECHO_CMD} CONFIG_EAP_${item:tu}=y >> ${CFG}
149
	@${ECHO_CMD} CONFIG_EAP_${item:tu}=y >> ${CFG}
149
.  endif
150
.  endif
150
.endfor
151
.endfor
151
.if ${PORT_OPTIONS:MSIM} || ${PORT_OPTIONS:MAKA} || ${PORT_OPTIONS:MAKA_PRIME}
152
.if ${PORT_OPTIONS:MSIM} || ${PORT_OPTIONS:MAKA} || ${PORT_OPTIONS:MAKA_PRIME}
152
	@${ECHO_CMD} CONFIG_PCSC=y >> ${CFG}
153
	@${ECHO_CMD} CONFIG_PCSC=y >> ${CFG}
153
.endif
154
.endif
154
.for simple in WPS WPS_ER WPS_NFC WPS_UPNP PKCS12 SMARTCARD HT_OVERRIDES \
155
.for simple in WPS WPS_ER WPS_NFC WPS_UPNP PKCS12 SMARTCARD HT_OVERRIDES \
155
	VHT_OVERRIDES TLSV12 IEEE80211AC IEEE80211N IEEE80211R IEEE80211W \
156
	VHT_OVERRIDES TLSV12 IEEE80211AC IEEE80211N IEEE80211R IEEE80211W \
156
	IEEE8021X_EAPOL EAPOL_TEST \
157
	IEEE8021X_EAPOL EAPOL_TEST \
157
	INTERWORKING DEBUG_FILE DEBUG_SYSLOG HS20 NO_ROAMING PRIVSEP P2P TDLS
158
	INTERWORKING DEBUG_FILE DEBUG_SYSLOG HS20 NO_ROAMING PRIVSEP P2P TDLS
158
.  if ${PORT_OPTIONS:M${simple}}
159
.  if ${PORT_OPTIONS:M${simple}}
159
	@${ECHO_CMD} CONFIG_${simple}=y >> ${CFG}
160
	@${ECHO_CMD} CONFIG_${simple}=y >> ${CFG}
160
.  endif
161
.  endif
161
.endfor
162
.endfor
162
.for item in READLINE PEERKEY
163
.for item in READLINE PEERKEY
163
	@${ECHO_CMD} CONFIG_${item}=y >> ${CFG}
164
	@${ECHO_CMD} CONFIG_${item}=y >> ${CFG}
164
.endfor
165
.endfor
165
.if ${PORT_OPTIONS:MIEEE80211AC} || ${PORT_OPTIONS:MIEEE80211N}
166
.if ${PORT_OPTIONS:MIEEE80211AC} || ${PORT_OPTIONS:MIEEE80211N}
166
	@${ECHO_CMD} CONFIG_AP=y >> ${CFG}
167
	@${ECHO_CMD} CONFIG_AP=y >> ${CFG}
167
.endif
168
.endif
168
.if ${PORT_OPTIONS:MGPSK}
169
.if ${PORT_OPTIONS:MGPSK}
169
	# GPSK desired, assume highest SHA desired too
170
	# GPSK desired, assume highest SHA desired too
170
	@${ECHO_CMD} CONFIG_EAP_GPSK_SHA256=y >> ${CFG}
171
	@${ECHO_CMD} CONFIG_EAP_GPSK_SHA256=y >> ${CFG}
171
.endif
172
.endif
172
.if ${PORT_OPTIONS:MWPS_NOREG}
173
.if ${PORT_OPTIONS:MWPS_NOREG}
173
	@${ECHO_CMD} CONFIG_WPS_REG_DISABLE_OPEN=y >> ${CFG}
174
	@${ECHO_CMD} CONFIG_WPS_REG_DISABLE_OPEN=y >> ${CFG}
174
.endif
175
.endif
175
.if ${PORT_OPTIONS:MDELAYED_MIC}
176
.if ${PORT_OPTIONS:MDELAYED_MIC}
176
	@${ECHO_CMD} CONFIG_DELAYED_MIC_ERROR_REPORT=y >> ${CFG}
177
	@${ECHO_CMD} CONFIG_DELAYED_MIC_ERROR_REPORT=y >> ${CFG}
177
.endif
178
.endif
178
.if ${PORT_OPTIONS:MDBUS}
179
.if ${PORT_OPTIONS:MDBUS}
179
	@${ECHO_CMD} CONFIG_CTRL_IFACE_DBUS_NEW=y >> ${CFG}
180
	@${ECHO_CMD} CONFIG_CTRL_IFACE_DBUS_NEW=y >> ${CFG}
180
	@${ECHO_CMD} CONFIG_CTRL_IFACE_DBUS_INTRO=y >> ${CFG}
181
	@${ECHO_CMD} CONFIG_CTRL_IFACE_DBUS_INTRO=y >> ${CFG}
182
.endif
183
.if ${PORT_OPTIONS:MMATCH}
184
	@${ECHO_CMD} CONFIG_MATCH_IFACE=y >> ${CFG}
181
.endif
185
.endif
182
	@${ECHO_CMD} CONFIG_OS=unix >> ${CFG}
186
	@${ECHO_CMD} CONFIG_OS=unix >> ${CFG}
183
	@${ECHO_CMD} CONFIG_CTRL_IFACE=unix >> ${CFG}
187
	@${ECHO_CMD} CONFIG_CTRL_IFACE=unix >> ${CFG}
184
	@${ECHO_CMD} CONFIG_BACKEND=file >> ${CFG}
188
	@${ECHO_CMD} CONFIG_BACKEND=file >> ${CFG}
185
	@${ECHO_CMD} CONFIG_L2_PACKET=freebsd >> ${CFG}
189
	@${ECHO_CMD} CONFIG_L2_PACKET=freebsd >> ${CFG}
186
	@${ECHO_CMD} CONFIG_TLS=openssl >> ${CFG}
190
	@${ECHO_CMD} CONFIG_TLS=openssl >> ${CFG}
187
191
188
post-build-EAPOL_TEST-on:
192
post-build-EAPOL_TEST-on:
189
	cd ${BUILD_WRKSRC} && ${GMAKE} eapol_test
193
	cd ${BUILD_WRKSRC} && ${GMAKE} eapol_test
190
194
191
do-install:
195
do-install:
192
	(cd ${BUILD_WRKSRC} && ${INSTALL_PROGRAM} wpa_supplicant wpa_cli \
196
	(cd ${BUILD_WRKSRC} && ${INSTALL_PROGRAM} wpa_supplicant wpa_cli \
193
		wpa_passphrase ${STAGEDIR}${PREFIX}/sbin)
197
		wpa_passphrase ${STAGEDIR}${PREFIX}/sbin)
194
	${INSTALL_DATA} ${BUILD_WRKSRC}/wpa_supplicant.conf \
198
	${INSTALL_DATA} ${BUILD_WRKSRC}/wpa_supplicant.conf \
195
		${STAGEDIR}${PREFIX}/etc/wpa_supplicant.conf.sample
199
		${STAGEDIR}${PREFIX}/etc/wpa_supplicant.conf.sample
196
200
197
do-install-EAPOL_TEST-on:
201
do-install-EAPOL_TEST-on:
198
	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/eapol_test ${STAGEDIR}${PREFIX}/sbin
202
	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/eapol_test ${STAGEDIR}${PREFIX}/sbin
199
203
200
do-install-DOCS-on:
204
do-install-DOCS-on:
201
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
205
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
202
	(cd ${BUILD_WRKSRC} && \
206
	(cd ${BUILD_WRKSRC} && \
203
		${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
207
		${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
204
208
205
do-install-PRIVSEP-on:
209
do-install-PRIVSEP-on:
206
	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/wpa_priv ${STAGEDIR}${PREFIX}/sbin
210
	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/wpa_priv ${STAGEDIR}${PREFIX}/sbin
207
211
208
do-install-DBUS-on:
212
do-install-DBUS-on:
209
	@${MKDIR} ${STAGEDIR}${PREFIX}/share/dbus-1/system-services/
213
	@${MKDIR} ${STAGEDIR}${PREFIX}/share/dbus-1/system-services/
210
	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/dbus-1/system.d/
214
	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/dbus-1/system.d/
211
	${INSTALL_DATA} ${BUILD_WRKSRC}/dbus/fi.w1.wpa_supplicant1.service \
215
	${INSTALL_DATA} ${BUILD_WRKSRC}/dbus/fi.w1.wpa_supplicant1.service \
212
		${STAGEDIR}${PREFIX}/share/dbus-1/system-services/
216
		${STAGEDIR}${PREFIX}/share/dbus-1/system-services/
213
	${INSTALL_DATA} ${BUILD_WRKSRC}/dbus/dbus-wpa_supplicant.conf \
217
	${INSTALL_DATA} ${BUILD_WRKSRC}/dbus/dbus-wpa_supplicant.conf \
214
		${STAGEDIR}${PREFIX}/etc/dbus-1/system.d/
218
		${STAGEDIR}${PREFIX}/etc/dbus-1/system.d/
215
219
216
.include <bsd.port.post.mk>
220
.include <bsd.port.post.mk>

Return to bug 247177