Olav Reinert
21cd123d35
- Update to 3.0.9 (2022-05-04) * Upgrade OpenSSL from 1.1.0j to 1.1.1o (#405, #407) - We are buliding this ourselves now. * Fix --version so it uses EASYRSA_OPENSSL (#416) * Use openssl rand instead of non-POSIX mktemp (#478) * Fix paths with spaces (#443) * Correct OpenSSL version from Homebrew on macOs (#416) * Fix revoking a renewed certificate (Original PR #394) * Follow-up commit: ef22701 * Introduce 'show-crl' (d199389) * Support Windows-Git 'version of bash' (#533) * Disallow use of single quote (') in vars file, Warning (#530) * Creating a CA uses x509-types/ca and COMMON (#526) * Prefer 'PKI/vars' over all other locations (#528) * Introduce 'init-pki soft' option (#197) * Warnings are no longer silenced by --batch (#523) * Improve packaging options (#510) OBS-URL: https://build.opensuse.org/request/show/989601 OBS-URL: https://build.opensuse.org/package/show/network:vpn/easy-rsa?expand=0&rev=31
69 lines
2.4 KiB
RPMSpec
69 lines
2.4 KiB
RPMSpec
#
|
|
# spec file for package easy-rsa
|
|
#
|
|
# Copyright (c) 2022 SUSE LLC
|
|
# Copyright (c) 2015 Stefan Jakobs.
|
|
#
|
|
# 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/
|
|
#
|
|
|
|
|
|
%define pname EasyRSA
|
|
|
|
Name: easy-rsa
|
|
Version: 3.0.9
|
|
Release: 0
|
|
Summary: CLI utility to build and manage a PKI CA
|
|
License: GPL-2.0-or-later
|
|
Group: Productivity/Networking/Security
|
|
URL: https://github.com/OpenVPN/easy-rsa
|
|
Source: https://github.com/OpenVPN/%{name}/releases/download/v%{version}/%{pname}-v%{version}.tgz
|
|
Source1: https://github.com/OpenVPN/%{name}/releases/download/v%{version}/%{pname}-v%{version}.tgz.sig
|
|
# https://github.com/OpenVPN/easy-rsa/tree/master/release-keys
|
|
Source2: %{name}.keyring
|
|
Patch100: suse-packaging.patch
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
easy-rsa is a CLI utility to build and manage a Public Key Infrastructure
|
|
(PKI). Once the Certificate Authority (CA) is created, you can request and sign
|
|
certificates, including sub-CAs, and create Certificate Revokation Lists (CRL).
|
|
|
|
%prep
|
|
%setup -q -n %{pname}-v%{version}
|
|
%patch100
|
|
|
|
%build
|
|
|
|
%install
|
|
install -dm0755 %{buildroot}/%{_sysconfdir}/%{name}/
|
|
install -dm0755 %{buildroot}/%{_sysconfdir}/%{name}/x509-types
|
|
install -Dm0644 vars.example %{buildroot}/%{_sysconfdir}/%{name}/
|
|
install -Dm0644 openssl-easyrsa.cnf %{buildroot}/%{_sysconfdir}/%{name}/
|
|
install -Dm0644 x509-types/* %{buildroot}/%{_sysconfdir}/%{name}/x509-types/
|
|
install -Dm0755 easyrsa %{buildroot}/%{_bindir}/easyrsa
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc ChangeLog README.md README.quickstart.md
|
|
%doc doc/*
|
|
%if 0%{?sle_version} == 11 || 0%{?sle_version} <= 120400
|
|
%doc COPYING.md gpl-2.0.txt
|
|
%else
|
|
%license COPYING.md gpl-2.0.txt
|
|
%endif
|
|
%{_bindir}/easyrsa
|
|
%config(noreplace) %{_sysconfdir}/%{name}
|
|
|
|
%changelog
|