Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:infrastructure
ca-certificates-freeipa-opensuse
ca-certificates-freeipa-opensuse.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ca-certificates-freeipa-opensuse.spec of Package ca-certificates-freeipa-opensuse
# # spec file for package ca-certificates-cacert (Version 1) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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 http://bugs.opensuse.org/ # # norootforbuild Name: ca-certificates-freeipa-opensuse Summary: openSUSE Infrastructure internal root certificates Version: 1.1 Release: 1 Url: http://www.suse.com %if 0%{?suse_version} > 1110 %if 0%{?suse_version} < 1310 %bcond_with trustedcerts %define trustdir_static %{_datadir}/ca-certificates/freeipa-opensuse %define certdir %{_datadir}/ca-certificates/freeipa-opensuse %else %bcond_without trustedcerts %define certdir %{trustdir_static}/anchors BuildRequires: p11-kit-devel %endif BuildRequires: ca-certificates PreReq: ca-certificates %else %define certdir %{_sysconfdir}/ssl/certs PreReq: openssl %endif License: MIT Group: Productivity/Networking/Security Source: %{name}-%{version}.tar.bz2 Source1: ca-certificates-freeipa-opensuse.COPYING Source2: ca-certificates-freeipa-opensuse-rpmlintrc BuildRequires: openssl BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description This package contains the internal root certificates from openSUSE Infrastructure. %prep %setup -q 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 %clean rm -rf %{buildroot} %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 %defattr(-, root, root) %doc COPYING %if 0%{?suse_version} > 1110 %if 0%{?suse_version} < 1310 %dir %{_datadir}/ca-certificates %endif %endif %{certdir} %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