forked from pool/usbguard
Accepting request 958318 from home:rfrohl:branches:hardware
usbguard: enable dbus OBS-URL: https://build.opensuse.org/request/show/958318 OBS-URL: https://build.opensuse.org/package/show/hardware/usbguard?expand=0&rev=40
This commit is contained in:
parent
0913b59d2d
commit
68467d6ec2
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 1 16:31:24 UTC 2022 - Robert Frohl <rfrohl@suse.com>
|
||||||
|
|
||||||
|
- Enable dbus support
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Feb 25 10:43:56 UTC 2022 - Robert Frohl <rfrohl@suse.com>
|
Fri Feb 25 10:43:56 UTC 2022 - Robert Frohl <rfrohl@suse.com>
|
||||||
|
|
||||||
|
@ -112,7 +112,7 @@ autoreconf -i -s --no-recursive ./
|
|||||||
--with-bundled-catch \
|
--with-bundled-catch \
|
||||||
--with-bundled-pegtl \
|
--with-bundled-pegtl \
|
||||||
--enable-systemd \
|
--enable-systemd \
|
||||||
--without-dbus \
|
--with-dbus \
|
||||||
--disable-static
|
--disable-static
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
@ -142,16 +142,16 @@ install -p -m 644 scripts/usbguard-zsh-completion %{buildroot}%{_datadir}/zsh/si
|
|||||||
find %{buildroot} \( -name '*.la' -o -name '*.a' \) -delete
|
find %{buildroot} \( -name '*.la' -o -name '*.a' \) -delete
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
%service_del_preun usbguard.service
|
%service_del_preun usbguard.service usbguard-dbus.service
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%service_add_post usbguard.service
|
%service_add_post usbguard.service usbguard-dbus.service
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
%service_del_postun usbguard.service
|
%service_del_postun usbguard.service usbguard-dbus.service
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
%service_add_pre usbguard.service
|
%service_add_pre usbguard.service usbguard-dbus.service
|
||||||
|
|
||||||
%post -n %{lname} -p /sbin/ldconfig
|
%post -n %{lname} -p /sbin/ldconfig
|
||||||
%postun -n %{lname} -p /sbin/ldconfig
|
%postun -n %{lname} -p /sbin/ldconfig
|
||||||
@ -163,17 +163,23 @@ find %{buildroot} \( -name '*.la' -o -name '*.a' \) -delete
|
|||||||
%dir %{_localstatedir}/log/usbguard
|
%dir %{_localstatedir}/log/usbguard
|
||||||
%dir %{_sysconfdir}/usbguard
|
%dir %{_sysconfdir}/usbguard
|
||||||
%{_sbindir}/rcusbguard
|
%{_sbindir}/rcusbguard
|
||||||
|
%{_sbindir}/usbguard-dbus
|
||||||
%dir %{_sysconfdir}/usbguard/IPCAccessControl.d
|
%dir %{_sysconfdir}/usbguard/IPCAccessControl.d
|
||||||
%config(noreplace) %attr(0600,-,-) %{_sysconfdir}/usbguard/usbguard-daemon.conf
|
%config(noreplace) %attr(0600,-,-) %{_sysconfdir}/usbguard/usbguard-daemon.conf
|
||||||
%config(noreplace) %attr(0600,-,-) %{_sysconfdir}/usbguard/rules.conf
|
%config(noreplace) %attr(0600,-,-) %{_sysconfdir}/usbguard/rules.conf
|
||||||
%{_unitdir}/usbguard.service
|
%{_unitdir}/usbguard.service
|
||||||
|
%{_unitdir}/usbguard-dbus.service
|
||||||
%{_mandir}/man8/usbguard-daemon.8%{?ext_man}
|
%{_mandir}/man8/usbguard-daemon.8%{?ext_man}
|
||||||
|
%{_mandir}/man8/usbguard-dbus.8%{?ext_man}
|
||||||
%{_mandir}/man5/usbguard-daemon.conf.5%{?ext_man}
|
%{_mandir}/man5/usbguard-daemon.conf.5%{?ext_man}
|
||||||
%{_mandir}/man5/usbguard-rules.conf.5%{?ext_man}
|
%{_mandir}/man5/usbguard-rules.conf.5%{?ext_man}
|
||||||
%{_datadir}/bash-completion/completions/usbguard
|
%{_datadir}/bash-completion/completions/usbguard
|
||||||
%dir %{_datadir}/zsh
|
%dir %{_datadir}/zsh
|
||||||
%dir %{_datadir}/zsh/site-functions
|
%dir %{_datadir}/zsh/site-functions
|
||||||
%{_datadir}/zsh/site-functions/_usbguard
|
%{_datadir}/zsh/site-functions/_usbguard
|
||||||
|
%{_datadir}/dbus-1/system-services/org.usbguard1.service
|
||||||
|
%{_datadir}/dbus-1/system.d/org.usbguard1.conf
|
||||||
|
%{_datadir}/polkit-1/actions/org.usbguard1.policy
|
||||||
|
|
||||||
%files -n %{lname}
|
%files -n %{lname}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
Loading…
Reference in New Issue
Block a user