Sync from SUSE:SLFO:Main cepces revision b4ca519586d7a6f9554934a073a06a75

This commit is contained in:
Adrian Schröter 2024-10-03 17:05:26 +02:00
parent fb4ce885ef
commit e4c604b91a
6 changed files with 40 additions and 13 deletions

View File

@ -8,6 +8,7 @@
<param name="versionrewrite-replacement">\1</param>
<param name="filename">cepces</param>
<param name="exclude">.git</param>
<param name="changesgenerate">enable</param>
</service>
<service name="set_version" mode="disabled">

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/openSUSE/cepces.git</param>
<param name="changesrevision">6abc53e7edff33cd07204c7cd10ac658c9f4db4c</param></service></servicedata>

BIN
cepces-0.3.7.tar.bz2 (Stored with Git LFS)

Binary file not shown.

BIN
cepces-0.3.9.tar.bz2 (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
Thu Jun 13 10:37:44 UTC 2024 - Markéta Machová <mmachova@suse.com>
- 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 <dmulder@suse.com>

View File

@ -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