forked from pool/usbguard
Accepting request 717525 from hardware
- link against libpthread to make it build (bsc#1141377) - added usbguard-pthread.patch OBS-URL: https://build.opensuse.org/request/show/717525 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/usbguard?expand=0&rev=7
This commit is contained in:
commit
cd021de6f7
20
usbguard-pthread.patch
Normal file
20
usbguard-pthread.patch
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
Index: usbguard-0.7.4/Makefile.am
|
||||||
|
===================================================================
|
||||||
|
--- usbguard-0.7.4.orig/Makefile.am
|
||||||
|
+++ usbguard-0.7.4/Makefile.am
|
||||||
|
@@ -343,6 +343,7 @@ usbguard_daemon_CPPFLAGS=\
|
||||||
|
@audit_CFLAGS@
|
||||||
|
|
||||||
|
usbguard_daemon_LDADD=\
|
||||||
|
+ -lpthread \
|
||||||
|
$(top_builddir)/libusbguard.la \
|
||||||
|
@seccomp_LIBS@ \
|
||||||
|
@libcapng_LIBS@ \
|
||||||
|
@@ -608,6 +609,7 @@ nodist_usbguard_applet_qt_SOURCES=\
|
||||||
|
src/GUI.Qt/TargetDelegate.moc.cpp
|
||||||
|
|
||||||
|
usbguard_applet_qt_LDADD=\
|
||||||
|
+ -lpthread \
|
||||||
|
$(top_builddir)/libusbguard.la \
|
||||||
|
@qt_LIBS@
|
||||||
|
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 22 09:50:04 UTC 2019 - Marcus Meissner <meissner@suse.com>
|
||||||
|
|
||||||
|
- link against libpthread to make it build (bsc#1141377)
|
||||||
|
- added usbguard-pthread.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed May 22 13:38:28 UTC 2019 - Christophe Giboudeaux <christophe@krop.fr>
|
Wed May 22 13:38:28 UTC 2019 - Christophe Giboudeaux <christophe@krop.fr>
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
@ -26,13 +26,14 @@ Summary: A tool for implementing USB device usage policy
|
|||||||
# src/ThirdParty/Catch: Boost Software License - Version 1.0
|
# src/ThirdParty/Catch: Boost Software License - Version 1.0
|
||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
Group: System/Daemons
|
Group: System/Daemons
|
||||||
URL: https://usbguard.github.io
|
Url: https://usbguard.github.io
|
||||||
Source0: https://github.com/USBGuard/usbguard/releases/download/usbguard-%{version}/usbguard-%{version}.tar.gz
|
Source0: https://github.com/USBGuard/usbguard/releases/download/usbguard-%{version}/usbguard-%{version}.tar.gz
|
||||||
Source1: https://github.com/USBGuard/usbguard/releases/download/usbguard-%{version}/usbguard-%{version}.tar.gz.sig
|
Source1: https://github.com/USBGuard/usbguard/releases/download/usbguard-%{version}/usbguard-%{version}.tar.gz.sig
|
||||||
Source2: usbguard.keyring
|
Source2: usbguard.keyring
|
||||||
Source3: usbguard-daemon.conf
|
Source3: usbguard-daemon.conf
|
||||||
Source4: usbguard-rpmlintrc
|
Source4: usbguard-rpmlintrc
|
||||||
Patch0: usbguard-applet-qt_desktop_menu_categories.patch
|
Patch0: usbguard-applet-qt_desktop_menu_categories.patch
|
||||||
|
Patch1: usbguard-pthread.patch
|
||||||
BuildRequires: asciidoc
|
BuildRequires: asciidoc
|
||||||
BuildRequires: aspell
|
BuildRequires: aspell
|
||||||
BuildRequires: audit-devel
|
BuildRequires: audit-devel
|
||||||
@ -109,6 +110,7 @@ for interacting with the USBGuard daemon component.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n usbguard-%{version}
|
%setup -q -n usbguard-%{version}
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir -p ./m4
|
mkdir -p ./m4
|
||||||
|
Loading…
x
Reference in New Issue
Block a user