Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package policycoreutils for openSUSE:Factory
checked in at 2022-06-20 15:36:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/policycoreutils (Old)
and /work/SRC/openSUSE:Factory/.policycoreutils.new.1548 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "policycoreutils"
Mon Jun 20 15:36:45 2022 rev:61 rq:978300 version:3.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/policycoreutils/policycoreutils.changes
2022-04-30 00:45:42.518960288 +0200
+++
/work/SRC/openSUSE:Factory/.policycoreutils.new.1548/policycoreutils.changes
2022-06-20 15:36:49.170819510 +0200
@@ -1,0 +2,9 @@
+Mon May 9 10:59:34 UTC 2022 - Johannes Segitz <[email protected]>
+
+- Update to version 3.4
+ * fixfiles: Use parallel relabeling
+- Refreshed patches
+ * get_os_version.patch
+ * run_init.pamd.patch
+
+-------------------------------------------------------------------
Old:
----
policycoreutils-3.3.tar.gz
selinux-python-3.3.tar.gz
semodule-utils-3.3.tar.gz
New:
----
policycoreutils-3.4.tar.gz
policycoreutils-3.4.tar.gz.asc
policycoreutils.keyring
selinux-python-3.4.tar.gz
selinux-python-3.4.tar.gz.asc
semodule-utils-3.4.tar.gz
semodule-utils-3.4.tar.gz.asc
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ policycoreutils.spec ++++++
--- /var/tmp/diff_new_pack.xZE3qZ/_old 2022-06-20 15:36:50.418821321 +0200
+++ /var/tmp/diff_new_pack.xZE3qZ/_new 2022-06-20 15:36:50.422821327 +0200
@@ -17,27 +17,31 @@
%define libaudit_ver 2.2
-%define libsepol_ver 3.3
-%define libsemanage_ver 3.3
-%define libselinux_ver 3.3
+%define libsepol_ver 3.4
+%define libsemanage_ver 3.4
+%define libselinux_ver 3.4
%define setools_ver 4.1.1
Name: policycoreutils
-Version: 3.3
+Version: 3.4
Release: 0
Summary: SELinux policy core utilities
License: GPL-2.0-or-later
Group: Productivity/Security
URL: https://github.com/SELinuxProject/selinux
Source0:
https://github.com/SELinuxProject/selinux/releases/download/%{version}/%{name}-%{version}.tar.gz
-Source1:
https://github.com/SELinuxProject/selinux/releases/download/%{version}/selinux-python-%{version}.tar.gz
-Source2: system-config-selinux.png
-Source3: system-config-selinux.desktop
-Source4: system-config-selinux.pam
-Source5: system-config-selinux.console
-Source6: selinux-polgengui.desktop
-Source7: selinux-polgengui.console
-Source8:
https://github.com/SELinuxProject/selinux/releases/download/%{version}/semodule-utils-%{version}.tar.gz
-Source9: newrole.pam
+Source1:
https://github.com/SELinuxProject/selinux/releases/download/%{version}/%{name}-%{version}.tar.gz.asc
+Source2: policycoreutils.keyring
+Source3:
https://github.com/SELinuxProject/selinux/releases/download/%{version}/selinux-python-%{version}.tar.gz
+Source4:
https://github.com/SELinuxProject/selinux/releases/download/%{version}/selinux-python-%{version}.tar.gz.asc
+Source5:
https://github.com/SELinuxProject/selinux/releases/download/%{version}/semodule-utils-%{version}.tar.gz
+Source6:
https://github.com/SELinuxProject/selinux/releases/download/%{version}/semodule-utils-%{version}.tar.gz.asc
+Source7: system-config-selinux.png
+Source8: system-config-selinux.desktop
+Source9: system-config-selinux.pam
+Source10: system-config-selinux.console
+Source11: selinux-polgengui.desktop
+Source12: selinux-polgengui.console
+Source13: newrole.pam
Patch0: make_targets.patch
Patch2: get_os_version.patch
Patch3: run_init.pamd.patch
@@ -159,7 +163,7 @@
%endif
%prep
-%setup -q -a1 -a8
+%setup -q -a3 -a5
setools_python_pwd="$PWD/selinux-python-%{version}"
semodule_utils_pwd="$PWD/semodule-utils-%{version}"
%patch0 -p1
@@ -183,11 +187,11 @@
mkdir -p %{buildroot}%{_sysconfdir}/pam.d
mkdir -p %{buildroot}%{_sysconfdir}/security/console.apps
make LSPP_PRIV=y DESTDIR=%{buildroot} install LIBEXECDIR=%{_libexecdir}
-install -D -m 644 %{SOURCE2}
%{buildroot}%{_datadir}/pixmaps/system-config-selinux.png
-install -m 644 %{SOURCE4}
%{buildroot}%{_sysconfdir}/pam.d/system-config-selinux
-install -m 644 %{SOURCE4} %{buildroot}%{_sysconfdir}/pam.d/selinux-polgengui
-install -m 644 %{SOURCE5}
%{buildroot}%{_sysconfdir}/security/console.apps/system-config-selinux
-install -m 644 %{SOURCE7}
%{buildroot}%{_sysconfdir}/security/console.apps/selinux-polgengui
+install -D -m 644 %{SOURCE12}
%{buildroot}%{_datadir}/pixmaps/system-config-selinux.png
+install -m 644 %{SOURCE13}
%{buildroot}%{_sysconfdir}/pam.d/system-config-selinux
+install -m 644 %{SOURCE13} %{buildroot}%{_sysconfdir}/pam.d/selinux-polgengui
+install -m 644 %{SOURCE10}
%{buildroot}%{_sysconfdir}/security/console.apps/system-config-selinux
+install -m 644 %{SOURCE12}
%{buildroot}%{_sysconfdir}/security/console.apps/selinux-polgengui
rm -f %{buildroot}%{_mandir}/ru/man8/genhomedircon.8.gz
ln -sf consolehelper %{buildroot}%{_bindir}/system-config-selinux
ln -sf consolehelper %{buildroot}%{_bindir}/selinux-polgengui
@@ -210,7 +214,7 @@
%{buildroot}%{_datadir}/applications/system-config-selinux.desktop \
%{buildroot}%{_datadir}/pixmaps/system-config-selinux.png
%endif
-cp -f %{SOURCE9} %{buildroot}%{_sysconfdir}/pam.d/newrole
+cp -f %{SOURCE13} %{buildroot}%{_sysconfdir}/pam.d/newrole
mv %{buildroot}/sbin/* %{buildroot}/usr/sbin/
%post newrole
++++++ get_os_version.patch ++++++
--- /var/tmp/diff_new_pack.xZE3qZ/_old 2022-06-20 15:36:50.454821373 +0200
+++ /var/tmp/diff_new_pack.xZE3qZ/_new 2022-06-20 15:36:50.458821380 +0200
@@ -1,7 +1,7 @@
-Index: policycoreutils-3.3/selinux-python-3.3/sepolicy/sepolicy/__init__.py
+Index: policycoreutils-3.3/selinux-python-3.4/sepolicy/sepolicy/__init__.py
===================================================================
---- policycoreutils-3.3.orig/selinux-python-3.3/sepolicy/sepolicy/__init__.py
-+++ policycoreutils-3.3/selinux-python-3.3/sepolicy/sepolicy/__init__.py
+--- policycoreutils-3.3.orig/selinux-python-3.4/sepolicy/sepolicy/__init__.py
++++ policycoreutils-3.3/selinux-python-3.4/sepolicy/sepolicy/__init__.py
@@ -1243,7 +1243,8 @@ def get_os_version():
elif os_version[0:2] == "el":
os_version = "RHEL" + os_version[2:]
@@ -12,10 +12,10 @@
return os_version
-Index: policycoreutils-3.3/selinux-python-3.3/sepolicy/sepolicy/manpage.py
+Index: policycoreutils-3.3/selinux-python-3.4/sepolicy/sepolicy/manpage.py
===================================================================
---- policycoreutils-3.3.orig/selinux-python-3.3/sepolicy/sepolicy/manpage.py
-+++ policycoreutils-3.3/selinux-python-3.3/sepolicy/sepolicy/manpage.py
+--- policycoreutils-3.3.orig/selinux-python-3.4/sepolicy/sepolicy/manpage.py
++++ policycoreutils-3.3/selinux-python-3.4/sepolicy/sepolicy/manpage.py
@@ -194,11 +194,7 @@ class HTMLManPages:
self.old_path = path + "/"
self.new_path = self.old_path + self.os_version + "/"
++++++ policycoreutils-3.3.tar.gz -> policycoreutils-3.4.tar.gz ++++++
++++ 431687 lines of diff (skipped)
++++++ run_init.pamd.patch ++++++
--- /var/tmp/diff_new_pack.xZE3qZ/_old 2022-06-20 15:36:51.174822420 +0200
+++ /var/tmp/diff_new_pack.xZE3qZ/_new 2022-06-20 15:36:51.178822426 +0200
@@ -1,10 +1,10 @@
-Index: policycoreutils-3.3/run_init/run_init.pamd
+Index: policycoreutils-3.4-rc3/run_init/run_init.pamd
===================================================================
---- policycoreutils-3.3.orig/run_init/run_init.pamd
-+++ policycoreutils-3.3/run_init/run_init.pamd
+--- policycoreutils-3.4-rc3.orig/run_init/run_init.pamd
++++ policycoreutils-3.4-rc3/run_init/run_init.pamd
@@ -1,8 +1,9 @@
#%PAM-1.0
- # Uncomment the next line if you do not want to enter your passwd everytime
+ # Uncomment the next line if you do not want to enter your passwd every time
#auth sufficient pam_rootok.so
-auth include system-auth
-account include system-auth
++++++ selinux-python-3.3.tar.gz -> selinux-python-3.4.tar.gz ++++++
++++ 313945 lines of diff (skipped)
++++++ semodule-utils-3.3.tar.gz -> semodule-utils-3.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/semodule-utils-3.3/VERSION
new/semodule-utils-3.4/VERSION
--- old/semodule-utils-3.3/VERSION 2021-10-21 16:31:23.000000000 +0200
+++ new/semodule-utils-3.4/VERSION 2022-05-18 16:51:03.000000000 +0200
@@ -1 +1 @@
-3.3
+3.4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/semodule-utils-3.3/semodule_package/semodule_package.c
new/semodule-utils-3.4/semodule_package/semodule_package.c
--- old/semodule-utils-3.3/semodule_package/semodule_package.c 2021-10-21
16:31:23.000000000 +0200
+++ new/semodule-utils-3.4/semodule_package/semodule_package.c 2022-05-18
16:51:03.000000000 +0200
@@ -73,6 +73,7 @@
goto err;
}
if (!sb.st_size) {
+ close(fd);
*len = 0;
return 0;
}