From e4c604b91a123f5cef9323ce0217dd2a9045c73a6756a783e798ed4e5db0094d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Thu, 3 Oct 2024 17:05:26 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main cepces revision b4ca519586d7a6f9554934a073a06a75 --- _service | 1 + _servicedata | 4 ++++ cepces-0.3.7.tar.bz2 | 3 --- cepces-0.3.9.tar.bz2 | 3 +++ cepces.changes | 19 +++++++++++++++++++ cepces.spec | 23 +++++++++++++---------- 6 files changed, 40 insertions(+), 13 deletions(-) create mode 100644 _servicedata delete mode 100644 cepces-0.3.7.tar.bz2 create mode 100644 cepces-0.3.9.tar.bz2 diff --git a/_service b/_service index dbe0204..bf76026 100644 --- a/_service +++ b/_service @@ -8,6 +8,7 @@ \1 cepces .git + enable diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..8d6633c --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/openSUSE/cepces.git + 6abc53e7edff33cd07204c7cd10ac658c9f4db4c \ No newline at end of file diff --git a/cepces-0.3.7.tar.bz2 b/cepces-0.3.7.tar.bz2 deleted file mode 100644 index ce37e07..0000000 --- a/cepces-0.3.7.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:755be7bb0377fd1609ec77edc7c7e49da580e2927925d1e200b0721f44778760 -size 42918 diff --git a/cepces-0.3.9.tar.bz2 b/cepces-0.3.9.tar.bz2 new file mode 100644 index 0000000..ecb83ee --- /dev/null +++ b/cepces-0.3.9.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:676753d7f9e6aed506274087fe63bf4218e0c4d2ed0d1b4180fa1ded05540e08 +size 43010 diff --git a/cepces.changes b/cepces.changes index b8150a7..ba058a2 100644 --- a/cepces.changes +++ b/cepces.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Thu Jun 13 10:37:44 UTC 2024 - Markéta Machová + +- remove dependency on /usr/bin/python3 (bsc#1212476) + +------------------------------------------------------------------- +Mon Mar 18 19:06:40 UTC 2024 - dmulder@suse.com + +- Update to version 0.3.9: + * Fix failure to parse DER encoded cert; (bsc#1196658). +- Also disable selinux in 15.6, since it is still not supported. + +------------------------------------------------------------------- +Mon Jan 22 15:17:33 UTC 2024 - dmulder@suse.com + +- Update to version 0.3.8: + * Fix WSTEP BinarySecurityToken attribute namespaces + * Migrate to SPNEGO auth mech + ------------------------------------------------------------------- Thu Dec 1 14:44:33 UTC 2022 - David Mulder diff --git a/cepces.spec b/cepces.spec index e48bae0..39a8e75 100644 --- a/cepces.spec +++ b/cepces.spec @@ -1,7 +1,7 @@ # -# spec file +# spec file for package cepces # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,7 +21,7 @@ %global logdir %{_localstatedir}/log/%{app_name} Name: %{app_name} -Version: 0.3.7 +Version: 0.3.9 Release: 0%{?dist} Summary: Certificate Enrollment through CEP/CES @@ -32,9 +32,10 @@ BuildArch: noarch Requires: %{app_name}-certmonger == %{version} Requires: python3-%{app_name} == %{version} -%if 0%{?sle_version} > 150400 || 0%{?suse_version} > 1500 +%if 0%{?sle_version} > 150600 || 0%{?suse_version} > 1500 Requires: (%{app_name}-selinux == %{version} if selinux-policy) %endif +BuildRequires: fdupes %description %{app_name} is an application for enrolling certificates through CEP and CES. @@ -67,7 +68,7 @@ Requires: certmonger %{app_name} is an application for enrolling certificates through CEP and CES. This package provides the certmonger integration. -%if 0%{?sle_version} > 150400 || 0%{?suse_version} > 1500 +%if 0%{?sle_version} > 150600 || 0%{?suse_version} > 1500 %package selinux Summary: SELinux support for %{app_name} @@ -86,7 +87,7 @@ SELinux support for %{app_name} %build %py3_build -%if 0%{?sle_version} > 150400 || 0%{?suse_version} > 1500 +%if 0%{?sle_version} > 150600 || 0%{?suse_version} > 1500 # Build the SELinux module(s). for SELINUXVARIANT in %{selinux_variants}; do make -C selinux clean all @@ -99,7 +100,7 @@ done install -d -m 0700 %{buildroot}%{logdir} -%if 0%{?sle_version} > 150400 || 0%{?suse_version} > 1500 +%if 0%{?sle_version} > 150600 || 0%{?suse_version} > 1500 # Install the SELinux module(s). rm -fv selinux-files.txt @@ -128,9 +129,11 @@ install -p -m 755 bin/%{app_name}-submit \ %{__rm} -rfv %{buildroot}/usr/local/etc %{__rm} -rfv %{buildroot}/usr/local/libexec/certmonger -sed -i 's/\/usr\/bin\/env python3/\/usr\/bin\/python3/g' %{buildroot}%{_libexecdir}/certmonger/%{app_name}-submit +sed -i 's/\/usr\/bin\/env python3/\/usr\/bin\/python%python3_bin_suffix/g' %{buildroot}%{_libexecdir}/certmonger/%{app_name}-submit -%if 0%{?sle_version} > 150400 || 0%{?suse_version} > 1500 +%fdupes %{buildroot}/%{python3_sitelib}/%{app_name} + +%if 0%{?sle_version} > 150600 || 0%{?suse_version} > 1500 %post selinux for SELINUXVARIANT in %{selinux_variants}; do %{_sbindir}/semodule -n -s ${SELINUXVARIANT} \ @@ -188,7 +191,7 @@ popd %dir %{_libexecdir}/certmonger %{_libexecdir}/certmonger/%{app_name}-submit -%if 0%{?sle_version} > 150400 || 0%{?suse_version} > 1500 +%if 0%{?sle_version} > 150600 || 0%{?suse_version} > 1500 %files selinux -f selinux-files.txt %defattr(0644,root,root,0755) %endif