]> git.pld-linux.org Git - packages/wpa_supplicant.git/commitdiff
- apply missing security patch auto/th/wpa_supplicant-2.6-4
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 15 Sep 2019 09:55:55 +0000 (11:55 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 15 Sep 2019 09:55:55 +0000 (11:55 +0200)
- build with qt5 by default
- rel 4

wpa_supplicant-lrelease5.patch [new file with mode: 0644]
wpa_supplicant.spec

diff --git a/wpa_supplicant-lrelease5.patch b/wpa_supplicant-lrelease5.patch
new file mode 100644 (file)
index 0000000..3feb164
--- /dev/null
@@ -0,0 +1,11 @@
+--- wpa_supplicant/Makefile.orig       2010-09-08 15:34:15.413763615 +0100
++++ wpa_supplicant/Makefile    2010-09-08 15:36:34.555511910 +0100
+@@ -1357,7 +1357,7 @@
+       qmake -o wpa_gui-qt4/Makefile wpa_gui-qt4/wpa_gui.pro 
+ wpa_gui-qt4/lang/wpa_gui_de.qm: wpa_gui-qt4/lang/wpa_gui_de.ts
+-      lrelease wpa_gui-qt4/wpa_gui.pro
++      lrelease-qt5 wpa_gui-qt4/wpa_gui.pro
+ wpa_gui-qt4: wpa_gui-qt4/Makefile wpa_gui-qt4/lang/wpa_gui_de.qm
+       $(MAKE) -C wpa_gui-qt4
index dee577aeb307181e22cbfdc872e459d2af60a715..6c896b38c720758865e4fb02509104f7473de342 100644 (file)
@@ -6,13 +6,13 @@
 %bcond_without dbus            # D-BUS control interface
 %bcond_without gui             # GUI (wpa_gui) package
 %bcond_with    pcsc            # PC/SC support for smartcards
-%bcond_with    qt5             # use Qt 5 instead of Qt 4
+%bcond_without qt5             # use Qt 5 instead of Qt 4
 
 Summary:       Linux WPA/WPA2/RSN/IEEE 802.1X supplicant
 Summary(pl.UTF-8):     Suplikant WPA/WPA2/RSN/IEEE 802.1X dla Linuksa
 Name:          wpa_supplicant
 Version:       2.6
-Release:       3
+Release:       4
 License:       BSD
 Group:         Networking
 Source0:       http://w1.fi/releases/%{name}-%{version}.tar.gz
@@ -35,6 +35,7 @@ Patch9:               0005-Fix-PTK-rekeying-to-generate-a-new-ANonce.patch
 Patch10:       0006-TDLS-Reject-TPK-TK-reconfiguration.patch
 Patch11:       0007-WNM-Ignore-WNM-Sleep-Mode-Response-without-pending-r.patch
 Patch12:       0008-FT-Do-not-allow-multiple-Reassociation-Response-fram.patch
+Patch13:       %{name}-lrelease5.patch
 URL:           http://w1.fi/wpa_supplicant/
 %{?with_dbus:BuildRequires:    dbus-devel}
 BuildRequires: libnl-devel >= 1:3.2
@@ -48,7 +49,7 @@ BuildRequires:        rpmbuild(macros) >= 1.647
 BuildRequires: Qt5Gui-devel >= 5
 BuildRequires: Qt5Widgets-devel >= 5
 BuildRequires: qt5-build >= 5
-BuildRequires: qt5-linguist >= 5
+BuildRequires: qt5-linguist >= 5.13.0-3
 BuildRequires: qt5-qmake >= 5
 %else
 BuildRequires: QtGui-devel >= 4
@@ -147,7 +148,9 @@ Pliki programistyczne dla biblioteki eap.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%if %{without qt5}
 %patch2 -p0
+%endif
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
@@ -157,6 +160,10 @@ Pliki programistyczne dla biblioteki eap.
 %patch9 -p1
 %patch10 -p1
 %patch11 -p1
+%patch12 -p1
+%if %{with qt5}
+%patch13 -p0
+%endif
 
 %{__sed} -i -e 's,@LIB@,%{_lib},' src/eap_peer/libeap0.pc
 
This page took 0.148568 seconds and 4 git commands to generate.