Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:infrastructure
ca-certificates-opensuse
ca-certificates-opensuse.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ca-certificates-opensuse.spec of Package ca-certificates-opensuse
# # spec file for package ca-certificates-opensuse # # Copyright (c) 2024 SUSE LLC # Copyright (c) 2024 openSUSE contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %if 0%{?suse_version} > 1110 %if 0%{?suse_version} < 1310 %define trustdir_static %{_datadir}/ca-certificates/opensuse %define certdir %{_datadir}/ca-certificates/opensuse %bcond_with trustedcerts %else %define certdir %{trustdir_static}/anchors %bcond_without trustedcerts BuildRequires: p11-kit-devel %endif BuildRequires: ca-certificates PreReq: ca-certificates %else %define certdir %{_sysconfdir}/ssl/certs PreReq: openssl %endif Name: ca-certificates-opensuse Version: 1.2 Release: 0 Summary: openSUSE Infrastructure internal root certificates License: MIT Group: Productivity/Networking/Security URL: https://opensuse.org Source: %{name}-%{version}.tar.bz2 Source1: ca-certificates-opensuse.COPYING Source2: ca-certificates-opensuse-rpmlintrc BuildRequires: openssl BuildArch: noarch Obsoletes: ca-certificates-freeipa-opensuse < %{version} Provides: ca-certificates-freeipa-opensuse = %{version} %description This package contains the internal openSUSE Infrastructure root certificates. %prep %autosetup install -m 644 %{SOURCE1} COPYING %build %install install -d -m 755 %{buildroot}%{certdir} for i in *.crt do openssl x509 -in $i -out \ %{buildroot}%{certdir}/${i##*/}.pem done %post %if 0%{?suse_version} > 1110 update-ca-certificates || true %else # need to do that here so c_rehash can deal with hash collisions c_rehash %{certdir} > /dev/null || true %endif %postun %if 0%{?suse_version} > 1110 update-ca-certificates || true %else c_rehash %{certdir} > /dev/null || true %endif %files %license COPYING %if 0%{?suse_version} > 1110 %if 0%{?suse_version} < 1310 %dir %{_datadir}/ca-certificates %dir %{certdir} %endif %endif %{certdir}/*.pem %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor