forked from pool/wpa_supplicant
Accepting request 719803 from hardware
- Refresh spec-file via spec-cleaner and manual optimizations. * Change URL and Source0 to actual project homepage. * Remove macro %{?systemd_requires} and rm (not needed). * Add %autopatch macro. * Add %make_build macro. - Chenged patch wpa_supplicant-flush-debug-output.patch (to -p1). - Changed service-files for start after network (systemd-networkd). OBS-URL: https://build.opensuse.org/request/show/719803 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wpa_supplicant?expand=0&rev=75
This commit is contained in:
commit
890dcf38d2
@ -1,7 +1,7 @@
|
||||
Index: src/utils/wpa_debug.c
|
||||
===================================================================
|
||||
--- src/utils/wpa_debug.c.orig
|
||||
+++ src/utils/wpa_debug.c
|
||||
--- a/src/utils/wpa_debug.c
|
||||
+++ b/src/utils/wpa_debug.c
|
||||
@@ -45,6 +45,7 @@ void wpa_debug_print_timestamp(void)
|
||||
if (out_file) {
|
||||
fprintf(out_file, "%ld.%06u: ", (long) tv.sec,
|
||||
|
@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 29 12:08:59 UTC 2019 - Илья Индиго <ilya@ilya.pp.ua>
|
||||
|
||||
- Refresh spec-file via spec-cleaner and manual optimizations.
|
||||
* Change URL and Source0 to actual project homepage.
|
||||
* Remove macro %{?systemd_requires} and rm (not needed).
|
||||
* Add %autopatch macro.
|
||||
* Add %make_build macro.
|
||||
- Chenged patch wpa_supplicant-flush-debug-output.patch (to -p1).
|
||||
- Changed service-files for start after network (systemd-networkd).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 2 09:50:48 UTC 2018 - Илья Индиго <ilya@ilya.pp.ua>
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
[Unit]
|
||||
Description=WPA Supplicant daemon
|
||||
Before=network.target
|
||||
After=dbus.service
|
||||
After=dbus.service network.target
|
||||
|
||||
[Service]
|
||||
Type=dbus
|
||||
@ -10,4 +9,3 @@ ExecStart=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package wpa_supplicant
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -22,8 +22,8 @@ Release: 0
|
||||
Summary: WPA supplicant implementation
|
||||
License: BSD-3-Clause AND GPL-2.0-or-later
|
||||
Group: Productivity/Networking/Other
|
||||
URL: http://hostap.epitest.fi/wpa_supplicant/
|
||||
Source: http://hostap.epitest.fi/releases/wpa_supplicant-%{version}.tar.gz
|
||||
URL: https://w1.fi/wpa_supplicant
|
||||
Source0: https://w1.fi/releases/%{name}-%{version}.tar.gz
|
||||
Source1: config
|
||||
Source2: %{name}.conf
|
||||
Source3: fi.epitest.hostap.WPASupplicant.service
|
||||
@ -65,7 +65,6 @@ BuildRequires: pkgconfig(Qt5Widgets)
|
||||
BuildRequires: pkgconfig(dbus-1)
|
||||
BuildRequires: pkgconfig(libnl-3.0)
|
||||
Requires: logrotate
|
||||
%{?systemd_requires}
|
||||
|
||||
%description
|
||||
wpa_supplicant is an implementation of the WPA Supplicant component,
|
||||
@ -84,28 +83,8 @@ implementation of the WPA Supplicant component.
|
||||
|
||||
%prep
|
||||
%setup -q -n wpa_supplicant-%{version}
|
||||
rm -rf wpa_supplicant-%{version}/patches
|
||||
cp %{SOURCE1} wpa_supplicant/.config
|
||||
%patch1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
%patch5 -p1
|
||||
%patch10 -p1
|
||||
%patch11 -p1
|
||||
%patch12 -p1
|
||||
%patch13 -p1
|
||||
%patch14 -p1
|
||||
%patch15 -p1
|
||||
%patch16 -p1
|
||||
%patch17 -p1
|
||||
%patch18 -p1
|
||||
%patch19 -p1
|
||||
%patch20 -p1
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
%patch23 -p1
|
||||
%patch24 -p1
|
||||
%autopatch -p1
|
||||
|
||||
%build
|
||||
cd wpa_supplicant
|
||||
@ -113,7 +92,7 @@ CFLAGS="%{optflags}" make V=1 %{?_smp_mflags}
|
||||
CFLAGS="%{optflags}" make V=1 %{?_smp_mflags} eapol_test
|
||||
cd wpa_gui-qt4
|
||||
%qmake5
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
install -d %{buildroot}/%{_sbindir}
|
||||
|
@ -1,7 +1,6 @@
|
||||
[Unit]
|
||||
Description=WPA Supplicant daemon (interface %i)
|
||||
Before=network.target
|
||||
After=dbus.service
|
||||
After=dbus.service network.target
|
||||
|
||||
[Service]
|
||||
Type=dbus
|
||||
@ -10,4 +9,3 @@ ExecStart=/usr/sbin/wpa_supplicant -i%i -c /etc/wpa_supplicant/wpa_supplicant.co
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user