forked from open-edge-platform/edge-microvisor-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprebuilt-ca-certificates.spec
More file actions
134 lines (95 loc) · 5.12 KB
/
prebuilt-ca-certificates.spec
File metadata and controls
134 lines (95 loc) · 5.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
Summary: Prebuilt version of ca-certificates package.
Name: prebuilt-ca-certificates
# When updating, "Epoch, "Version", AND "Release" tags must be updated in the "ca-certificates" package as well.
Epoch: 1
Version: %{emt}.0.0
Release: 1%{?dist}
License: MIT
Vendor: Intel Corporation
Distribution: Edge Microvisor Toolkit
Group: System Environment/Security
URL: https://docs.microsoft.com/en-us/security/trusted-root/program-requirements
BuildArch: noarch
BuildRequires: ca-certificates = %{epoch}:%{version}-%{release}
Provides: %{name}-microsoft = %{version}-%{release}
Provides: %{name}-mozilla = %{version}-%{release}
Conflicts: ca-certificates-shared
Conflicts: prebuilt-ca-certificates-base
%description
Prebuilt version of the ca-certificates package with no runtime dependencies.
%prep
# Remove 'ca-certificates-base', if present. We don't want them
# to get mixed into the bundle provided by 'ca-certificates'.
if rpm ca-certificates-base &>/dev/null ; then rpm -e --nodeps ca-certificates-base; fi
%build
%install
mkdir -p %{buildroot}%{_sysconfdir}/pki/{tls/certs,ca-trust/extracted,java}
cp %{_sysconfdir}/pki/tls/cert.pem %{buildroot}%{_sysconfdir}/pki/tls/
cp -r %{_sysconfdir}/pki/tls/certs/* %{buildroot}%{_sysconfdir}/pki/tls/certs/
cp -r %{_sysconfdir}/pki/ca-trust/extracted/* %{buildroot}%{_sysconfdir}/pki/ca-trust/extracted/
cp %{_sysconfdir}/pki/java/cacerts %{buildroot}%{_sysconfdir}/pki/java/
find %{buildroot} -name README -delete
%files
# Certs bundle file with trust
%{_sysconfdir}/pki/tls/cert.pem
%{_sysconfdir}/pki/tls/certs/*
%{_sysconfdir}/pki/ca-trust/extracted/*
%{_sysconfdir}/pki/java/cacerts
%changelog
* Mon Mar 30 2025 Lee Chee Yang <chee.yang.lee@intel.com> - 1:26.0.0-1
- bump for 26.06 release
* Mon Jan 5 2026 Lee Chee Yang <chee.yang.lee@intel.com> - 1:3.0.0-14
- merge from Azure Linux 3.0.20251206-3.0
- Making 'Release' match with 'ca-certificates'
* Fri Oct 3 2025 Lee Chee Yang <chee.yang.lee@intel.com> - 1:3.0.0-11
- merge from Azure Linux 3.0.20250910-3.0
- Making 'Release' match with 'ca-certificates'
* Wed Mar 12 2024 Chee Yang Lee <chee.yang.lee@intel.com> - 3.0.0-9
- drop -q from prep/rpm command.
* Wed Dec 11 2024 Pawel Winogrodzki <pawelwi@microsoft.com> - 3.0.0-8
- Update adding Microsoft distrusted CAs.
* Tue Aug 13 2024 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 3.0.0-7
- Making 'Release' match with 'ca-certificates'
* Mon Apr 22 2024 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 3.0.0-6
- Updating Microsoft trusted root CAs.
* Mon Mar 18 2024 Pawel Winogrodzki <pawelwi@microsoft.com> - 3.0.0-5
- Extending base set of certificates.
* Wed Feb 28 2024 Mykhailo Bykhovtsev <mbykhovtsev@microsoft.com> - 3.0.0-4
- Bumping release version to match with 'ca-certificates'
* Sat Jan 27 2024 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 3.0.0-3
- Making 'Release' match with 'ca-certificates'
* Fri Jan 19 2024 Andrew Phelps <anphel@microsoft.com> - 3.0.0-2
- Making 'Release' match with 'ca-certificates'
* Tue Jan 09 2024 Cameron Baird <cameronbaird@microsoft.com> - 3.0.0-1
- Initial version for AzureLinux 3.0.
* Mon May 08 2023 CBL-Mariner Service Account <cblmargh@microsoft.com> - 2.0.0-13
- Making 'Release' match with 'ca-certificates'.
* Thu Mar 30 2023 CBL-Mariner Service Account <cblmargh@microsoft.com> - 2.0.0-12
- Making 'Release' match with 'ca-certificates'.
* Fri Mar 17 2023 Pawel Winogrodzki <pawelwi@microsoft.com> - 1:2.0.0-11
- Making 'Release' match with 'ca-certificates'.
* Thu Feb 23 2023 Pawel Winogrodzki <pawelwi@microsoft.com> - 1:2.0.0-10
- Making 'Release' match with 'ca-certificates'.
* Tue Dec 06 2022 CBL-Mariner Service Account <cblmargh@microsoft.com> - 2.0.0-9
- Making 'Release' match with 'ca-certificates'.
* Fri Oct 07 2022 CBL-Mariner Service Account <cblmargh@microsoft.com> - 2.0.0-8
- Making 'Release' match with 'ca-certificates'.
* Wed Aug 03 2022 CBL-Mariner Service Account <cblmargh@microsoft.com> - 2.0.0-7
- Making 'Release' match with 'ca-certificates'.
* Wed Jun 29 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 2.0.0-6
- Adding conflict information with "ca-certificates-shared".
* Wed Jun 29 2022 CBL-Mariner Service Account <cblmargh@microsoft.com> - 2.0.0-5
- Making 'Release' match with 'ca-certificates'.
* Thu Jun 02 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 2.0.0-4
- Add provides for '%%{name}-microsoft' and '%%{name}-mozilla' for consistency with 'ca-certificates'.
* Fri May 20 2022 CBL-Mariner Service Account <cblmargh@microsoft.com> - 2.0.0-3
- Making 'Release' match with 'ca-certificates'.
* Fri May 06 2022 CBL-Mariner Service Account <cblmargh@microsoft.com> - 2.0.0-2
- Making 'Release' match with 'ca-certificates'.
* Wed Dec 15 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 1:2.0.0-1
- Updating 'URL' and 'Version' tags for CBL-Mariner 2.0.
* Tue Oct 12 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 20200720-20
- Removing conflicts with 'ca-certificates-shared'.
- License verified.
* Thu Sep 23 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 20200720-19
- Original version for CBL-Mariner.