Skip to content

Commit

Permalink
[signon] Provide privileges files for mapplauncher. Contributes to JB…
Browse files Browse the repository at this point in the history
…#38238
  • Loading branch information
rainemak committed Jan 31, 2019
1 parent 3ba347c commit 44e1a7b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rpm/libsignon-qt5.spec
Expand Up @@ -6,6 +6,7 @@ Group: System/Libraries
License: LGPLv2.1
URL: https://gitlab.com/accounts-sso/signond
Source0: %{name}-%{version}.tar.bz2
Source1: %{name}.privileges
BuildRequires: doxygen
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5DBus)
Expand Down Expand Up @@ -35,6 +36,7 @@ Obsoletes: signon
%{_libdir}/libsignon-plugins-common.so.*
%{_libdir}/libsignon-plugins.so.*
%{_datadir}/dbus-1/services/*
%{_datadir}/mapplauncherd/privileges.d/*
%config %{_sysconfdir}/signond.conf
%{_libdir}/signon/libpasswordplugin.so
%{_oneshotdir}/signon-storage-perm
Expand Down Expand Up @@ -188,6 +190,9 @@ rm -f %{buildroot}/%{_docdir}/saslplugin/html/installdox
mkdir -p %{buildroot}/%{_oneshotdir}
install -D -m 755 oneshot/signon-storage-perm %{buildroot}/%{_oneshotdir}

mkdir -p %{buildroot}%{_datadir}/mapplauncherd/privileges.d
install -m 644 -p %{SOURCE1} %{buildroot}%{_datadir}/mapplauncherd/privileges.d/

%post
/sbin/ldconfig
%{_bindir}/add-oneshot signon-storage-perm
Expand Down
1 change: 1 addition & 0 deletions rpm/signon-qt5.privileges
@@ -0,0 +1 @@
/usr/bin/signond,a

0 comments on commit 44e1a7b

Please sign in to comment.