Accepting request 907887 from home:mgerstner:branches:Base:System
- Update to version 1550+20210722.ae1891d: * whitelist zypp-gui action (bsc#1188364) * introduce sub-directories for profiles in both /etc and /usr/etc * remove polkit-default-privs.d package specific directory * Moving polkit-default-privs.easy, polkit-default-privs.local and polkit-default-privs.restrictive from /etc /to /usr/etc directory OBS-URL: https://build.opensuse.org/request/show/907887 OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit-default-privs?expand=0&rev=432
This commit is contained in:
parent
178b3f6413
commit
8a3b918293
@ -1,4 +1,4 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/openSUSE/polkit-default-privs.git</param>
|
||||
<param name="changesrevision">b243c05b0f89046dbd2089d9b64afd501ad51d59</param></service></servicedata>
|
||||
<param name="changesrevision">237941af1cbfe6a70b4fa424070e54628315b862</param></service></servicedata>
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:72f02eb4577b89f8178a7869c41b373bdf71e6d84fd110389c91a553e461c147
|
||||
size 26364
|
3
polkit-default-privs-1550+20210722.ae1891d.tar.xz
Normal file
3
polkit-default-privs-1550+20210722.ae1891d.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0c27446d9cf43a7ae262e0f4a53976bf358946ca94c4be1713e52006994dd931
|
||||
size 26468
|
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 22 09:19:53 UTC 2021 - matthias.gerstner@suse.com
|
||||
|
||||
- Update to version 1550+20210722.ae1891d:
|
||||
* whitelist zypp-gui action (bsc#1188364)
|
||||
* introduce sub-directories for profiles in both /etc and /usr/etc
|
||||
* remove polkit-default-privs.d package specific directory
|
||||
* Moving polkit-default-privs.easy, polkit-default-privs.local and polkit-default-privs.restrictive from /etc /to /usr/etc directory
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 15 11:22:23 UTC 2021 - wolfgang.frisch@suse.com
|
||||
|
||||
|
@ -23,7 +23,7 @@
|
||||
%endif
|
||||
|
||||
Name: polkit-default-privs
|
||||
Version: 1550+20210715.b7d5b97
|
||||
Version: 1550+20210722.ae1891d
|
||||
Release: 0
|
||||
Summary: SUSE PolicyKit default permissions
|
||||
License: GPL-2.0-or-later
|
||||
@ -45,17 +45,8 @@ Predefined polkit profiles for different usage scenarios like desktop and
|
||||
server. These profiles define the kind of authentication required for various
|
||||
polkit actions used across applications.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# use a separate package for the static whitelist (i.e. the one that isn't
|
||||
# part of the different profile selectable during runtime). This whitelist is
|
||||
# part of the different profiles selectable during runtime). This whitelist is
|
||||
# of no use for users and only needed during rpmlint time.
|
||||
%package -n polkit-whitelisting
|
||||
Summary: Static polkit whitelists for processing by rpmlint-checks
|
||||
@ -75,19 +66,28 @@ valid rule file installations by other packages.
|
||||
make install DESTDIR=$RPM_BUILD_ROOT fillupdir="%{_fillupdir}"
|
||||
mkdir -p $RPM_BUILD_ROOT/etc/polkit-1/rules.d/
|
||||
> $RPM_BUILD_ROOT/etc/polkit-1/rules.d/90-default-privs.rules
|
||||
# TODO: this is a backward compatibility entry for the rpmlint-mini check for
|
||||
# polkit priv whitelistings. When rpmlint2 is fully in production we shouldn't
|
||||
# need this any more (apart from adjusting the rpmlint checker in rpmlint2
|
||||
# on the opensuse upstream branch).
|
||||
ln -s /usr/etc/polkit-default-privs/profiles/standard $RPM_BUILD_ROOT/etc/polkit-default-privs.standard
|
||||
|
||||
%post
|
||||
%{fillup_only -ns security polkit_default_privs}
|
||||
/sbin/set_polkit_default_privs >/dev/null
|
||||
|
||||
%files
|
||||
%define basedir %{_distconfdir}/polkit-default-privs
|
||||
%define profiledir %{basedir}/profiles
|
||||
%doc README.md
|
||||
%defattr(-,root,root,-)
|
||||
%ghost %attr(0644,root,root) /etc/polkit-1/rules.d/90-default-privs.rules
|
||||
%config /etc/polkit-default-privs.easy
|
||||
%config /etc/polkit-default-privs.standard
|
||||
%config /etc/polkit-default-privs.restrictive
|
||||
%config(noreplace) /etc/polkit-default-privs.local
|
||||
%dir %{basedir}
|
||||
%dir %{profiledir}
|
||||
%{profiledir}/easy
|
||||
%{profiledir}/standard
|
||||
%{profiledir}/restrictive
|
||||
%{basedir}/local.template
|
||||
%{_sysconfdir}/polkit-default-privs.standard
|
||||
/sbin/chkstat-polkit
|
||||
/sbin/set_polkit_default_privs
|
||||
%_mandir/man*/*
|
||||
|
Loading…
Reference in New Issue
Block a user