Further simplify hostapd.conf installation
- Rebase "EAP-TLS server" patch to 2.3
This commit is contained in:
parent
3c993070da
commit
0d84226850
@ -28,7 +28,7 @@ diff --git a/src/eap_server/eap_server_tls_common.c b/src/eap_server/eap_server_
|
|||||||
index 31be2ec..46f282b 100644
|
index 31be2ec..46f282b 100644
|
||||||
--- a/src/eap_server/eap_server_tls_common.c
|
--- a/src/eap_server/eap_server_tls_common.c
|
||||||
+++ b/src/eap_server/eap_server_tls_common.c
|
+++ b/src/eap_server/eap_server_tls_common.c
|
||||||
@@ -228,6 +228,14 @@ static int eap_server_tls_process_fragment(struct eap_ssl_data *data,
|
@@ -261,6 +261,14 @@
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
11
hostapd.spec
11
hostapd.spec
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: hostapd
|
Name: hostapd
|
||||||
Version: 2.3
|
Version: 2.3
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
|
Summary: IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://w1.fi/hostapd
|
URL: http://w1.fi/hostapd
|
||||||
@ -59,9 +59,6 @@ Logwatch scripts for hostapd.
|
|||||||
# commit 586c446e0ff42ae00315b014924ec669023bd8de
|
# commit 586c446e0ff42ae00315b014924ec669023bd8de
|
||||||
%patch1 -p1 -b .message_length
|
%patch1 -p1 -b .message_length
|
||||||
|
|
||||||
# Prepare default config file
|
|
||||||
cp %{SOURCE2} %{name}.conf
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cd hostapd
|
cd hostapd
|
||||||
cat defconfig | sed \
|
cat defconfig | sed \
|
||||||
@ -100,7 +97,7 @@ install -pm 0755 %{name}/logwatch/%{name} \
|
|||||||
|
|
||||||
# config files
|
# config files
|
||||||
install -d %{buildroot}/%{_sysconfdir}/%{name}
|
install -d %{buildroot}/%{_sysconfdir}/%{name}
|
||||||
install -pm 0600 %{name}.conf %{buildroot}/%{_sysconfdir}/%{name}/%{name}.conf
|
install -pm 0600 %{SOURCE2} %{buildroot}/%{_sysconfdir}/%{name}
|
||||||
|
|
||||||
install -d %{buildroot}/%{_sysconfdir}/sysconfig
|
install -d %{buildroot}/%{_sysconfdir}/sysconfig
|
||||||
install -pm 0644 %{SOURCE3} %{buildroot}/%{_sysconfdir}/sysconfig/%{name}
|
install -pm 0644 %{SOURCE3} %{buildroot}/%{_sysconfdir}/sysconfig/%{name}
|
||||||
@ -176,6 +173,10 @@ fi
|
|||||||
%{_sysconfdir}/logwatch/scripts/services/%{name}
|
%{_sysconfdir}/logwatch/scripts/services/%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Nov 02 2014 poma <poma@gmail.com> - 2.3-3
|
||||||
|
- Further simplify hostapd.conf installation
|
||||||
|
- Rebase "EAP-TLS server" patch to 2.3
|
||||||
|
|
||||||
* Tue Oct 28 2014 John W. Linville <linville@redhat.com> - 2.3-2
|
* Tue Oct 28 2014 John W. Linville <linville@redhat.com> - 2.3-2
|
||||||
- Remove version info from /usr/share/doc/hostapd/hostapd.conf
|
- Remove version info from /usr/share/doc/hostapd/hostapd.conf
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user