Tomohiro "Tomo-p" KATO 3 rokov pred
rodič
commit
074f178d45
1 zmenil súbory, kde vykonal 12 pridanie a 5 odobranie
  1. 12 5
      p/polkit/polkit-vl.spec

+ 12 - 5
p/polkit/polkit-vl.spec

@@ -3,8 +3,8 @@
 Summary: PolicyKit Authorization Framework
 Summary(ja): PolicyKit 認証フレームワーク
 Name: polkit
-Version: 0.118
-Release: 2%{?_dist_release}%{?with_systemd:.systemd}
+Version: 0.120
+Release: 1%{?_dist_release}%{?with_systemd:.systemd}
 Group: system
 Vendor: Project Vine
 Distribution: Vine Linux
@@ -13,7 +13,7 @@ License: LGPLv2+
 URL: https://www.freedesktop.org/wiki/Software/polkit
 Source0: https://www.freedesktop.org/software/%{name}/releases/%{name}-%{version}.tar.gz
 Patch0: polkit-0.115-elogind.patch
-Patch1000: CVE-2021-3560.patch
+Patch1001: CVE-2021-4034.patch
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires: glib2-devel
@@ -80,7 +80,7 @@ Development documentation for PolicyKit.
 %if !%{with systemd}
 %patch0 -p1
 %endif
-%patch1000 -p1
+%patch1001 -p1
 
 
 %build
@@ -154,7 +154,9 @@ exit 0
 %dir %{_sysconfdir}/polkit-1
 %{_sysconfdir}/polkit-1/rules.d/50-default.rules
 %attr(0700,polkitd,root) %dir %{_sysconfdir}/polkit-1/rules.d
-%{_sysconfdir}/dbus-1/system.d/org.freedesktop.PolicyKit1.conf
+%dir %{_datadir}/dbus-1
+%dir %{_datadir}/dbus-1/system.d
+%{_datadir}/dbus-1/system.d/org.freedesktop.PolicyKit1.conf
 %{_sysconfdir}/pam.d/polkit-1
 %{_bindir}/pkaction
 %{_bindir}/pkcheck
@@ -185,6 +187,11 @@ exit 0
 
 
 %changelog
+* Thu Jan 27 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.120-1
+- new upstream release.
+- dropped Patch1000: fixed in upstream.
+- imported Patch1001 from upstream to fix CVE-2021-4034.
+
 * Sat Jun 12 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.118-2
 - added Patch1000 to fix CVE-2021-3560.
 - dropped ldconfig scriptlets.