From 62431fb8e87381deddc7ff2e900bebc550271d952ee99a0d76695658ff97a7bb Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Wed, 16 May 2012 22:37:19 +0000 Subject: [PATCH] Accepting request 121025 from home:gary_lin:branches:Base:System update to version 1.0 OBS-URL: https://build.opensuse.org/request/show/121025 OBS-URL: https://build.opensuse.org/package/show/Base:System/hostapd?expand=0&rev=14 --- hostapd-0.7.3.tar.gz | 3 --- hostapd-1.0.tar.gz | 3 +++ hostapd.changes | 8 ++++++++ hostapd.dif | 34 ++++++++++++++-------------------- hostapd.spec | 18 ++++++++---------- 5 files changed, 33 insertions(+), 33 deletions(-) delete mode 100644 hostapd-0.7.3.tar.gz create mode 100644 hostapd-1.0.tar.gz diff --git a/hostapd-0.7.3.tar.gz b/hostapd-0.7.3.tar.gz deleted file mode 100644 index 8fb3f2e..0000000 --- a/hostapd-0.7.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:31eb2781f37e1a4c27969d1594f8019c0ca87779349c099ab812833289961567 -size 1138869 diff --git a/hostapd-1.0.tar.gz b/hostapd-1.0.tar.gz new file mode 100644 index 0000000..bc699a3 --- /dev/null +++ b/hostapd-1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:002e9dcb7e46cf82b5900a2fcf92b30fc8cdfd32a72d7fd4488588f1c013dfcc +size 1327943 diff --git a/hostapd.changes b/hostapd.changes index b02e9b2..9eaeb86 100644 --- a/hostapd.changes +++ b/hostapd.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue May 15 04:55:22 UTC 2012 - glin@suse.com + +- update to version 1.0 +- respin hostapd.dif to fit the new defconfig +- change the file permission of the config files with passwords + to 600 (bnc#740964) + ------------------------------------------------------------------- Wed Oct 12 08:46:43 UTC 2011 - lnussel@suse.de diff --git a/hostapd.dif b/hostapd.dif index e3d9821..7b2ba3b 100644 --- a/hostapd.dif +++ b/hostapd.dif @@ -1,8 +1,10 @@ -Index: hostapd-0.7.3/hostapd/defconfig -=================================================================== ---- hostapd-0.7.3.orig/hostapd/defconfig -+++ hostapd-0.7.3/hostapd/defconfig -@@ -13,14 +13,14 @@ +--- + hostapd/defconfig | 14 +++++++------- + 1 file changed, 7 insertions(+), 7 deletions(-) + +--- a/hostapd/defconfig ++++ b/hostapd/defconfig +@@ -13,7 +13,7 @@ CONFIG_DRIVER_HOSTAP=y # Driver interface for wired authenticator @@ -11,15 +13,7 @@ Index: hostapd-0.7.3/hostapd/defconfig # Driver interface for madwifi driver #CONFIG_DRIVER_MADWIFI=y - #CFLAGS += -I../../madwifi # change to the madwifi source directory - - # Driver interface for drivers using the nl80211 kernel interface --#CONFIG_DRIVER_NL80211=y -+CONFIG_DRIVER_NL80211=y - # driver_nl80211.c requires a rather new libnl (version 1.1) which may not be - # shipped with your distribution yet. If that is the case, you need to build - # newer libnl version and point the hostapd build to use it. -@@ -36,7 +36,7 @@ CONFIG_DRIVER_HOSTAP=y +@@ -30,7 +30,7 @@ CONFIG_DRIVER_NL80211=y #LIBS_c += -L/usr/local/lib # Driver interface for no driver (e.g., RADIUS server only) @@ -28,7 +22,7 @@ Index: hostapd-0.7.3/hostapd/defconfig # IEEE 802.11F/IAPP CONFIG_IAPP=y -@@ -75,7 +75,7 @@ CONFIG_EAP_GTC=y +@@ -69,7 +69,7 @@ CONFIG_EAP_GTC=y CONFIG_EAP_TTLS=y # EAP-SIM for the integrated EAP server @@ -37,7 +31,7 @@ Index: hostapd-0.7.3/hostapd/defconfig # EAP-AKA for the integrated EAP server #CONFIG_EAP_AKA=y -@@ -85,10 +85,10 @@ CONFIG_EAP_TTLS=y +@@ -79,10 +79,10 @@ CONFIG_EAP_TTLS=y #CONFIG_EAP_AKA_PRIME=y # EAP-PAX for the integrated EAP server @@ -48,9 +42,9 @@ Index: hostapd-0.7.3/hostapd/defconfig -#CONFIG_EAP_PSK=y +CONFIG_EAP_PSK=y - # EAP-SAKE for the integrated EAP server - #CONFIG_EAP_SAKE=y -@@ -122,7 +122,7 @@ CONFIG_PKCS12=y + # EAP-pwd for the integrated EAP server (secure authentication with a password) + #CONFIG_EAP_PWD=y +@@ -121,7 +121,7 @@ CONFIG_PKCS12=y # RADIUS authentication server. This provides access to the integrated EAP # server from external hosts using RADIUS. @@ -59,7 +53,7 @@ Index: hostapd-0.7.3/hostapd/defconfig # Build IPv6 support for RADIUS operations CONFIG_IPV6=y -@@ -135,7 +135,7 @@ CONFIG_IPV6=y +@@ -134,7 +134,7 @@ CONFIG_IPV6=y #CONFIG_DRIVER_RADIUS_ACL=y # IEEE 802.11n (High Throughput) support diff --git a/hostapd.spec b/hostapd.spec index 45a52ef..f4a35ff 100644 --- a/hostapd.spec +++ b/hostapd.spec @@ -1,7 +1,7 @@ # # spec file for package hostapd # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,8 +15,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: hostapd %if 0%{?suse_version} > 1140 @@ -26,10 +24,10 @@ BuildRequires: libnl-devel %endif BuildRequires: openssl-devel Summary: Turns Your WLAN Card into a WPA capable Access Point -Version: 0.7.3 -Release: 0 +License: BSD-3-Clause ; GPL-2.0+ Group: Hardware/Wifi -License: BSD3c ; GPLv2+ +Version: 1.0 +Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build Url: http://hostap.epitest.fi/ PreReq: %insserv_prereq @@ -73,14 +71,14 @@ install -m 755 hostapd %{buildroot}/%{_sbindir} install -D -m 755 %{SOURCE1} %{buildroot}/etc/init.d/hostapd ln -s /etc/init.d/hostapd %{buildroot}/%{_sbindir}/rchostapd install -m 755 hostapd_cli %{buildroot}/%{_sbindir} -install -m 644 hostapd.conf %{buildroot}/etc +install -m 600 hostapd.conf %{buildroot}/etc install -m 644 hostapd.accept %{buildroot}/etc install -m 644 hostapd.deny %{buildroot}/etc -install -m 644 hostapd.eap_user %{buildroot}/etc -install -m 644 hostapd.radius_clients %{buildroot}/etc +install -m 600 hostapd.eap_user %{buildroot}/etc +install -m 600 hostapd.radius_clients %{buildroot}/etc install -m 644 hostapd.sim_db %{buildroot}/etc install -m 644 hostapd.vlan %{buildroot}/etc -install -m 644 hostapd.wpa_psk %{buildroot}/etc +install -m 600 hostapd.wpa_psk %{buildroot}/etc install -m 644 hostapd.8 %{buildroot}/%{_mandir}/man8 %post