2016-11-29 09:34:59 +01:00
|
|
|
#
|
|
|
|
# spec file for package easy-rsa
|
|
|
|
#
|
2022-07-26 13:31:42 +02:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2016-11-29 09:34:59 +01:00
|
|
|
# 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.
|
|
|
|
|
2019-02-12 20:55:41 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2017-05-26 19:07:13 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2020-11-26 08:01:50 +01:00
|
|
|
%define pname EasyRSA
|
2016-11-29 09:34:59 +01:00
|
|
|
Name: easy-rsa
|
2022-12-13 23:54:13 +01:00
|
|
|
Version: 3.1.1
|
2017-05-26 19:07:13 +02:00
|
|
|
Release: 0
|
2016-11-29 09:34:59 +01:00
|
|
|
Summary: CLI utility to build and manage a PKI CA
|
2018-12-01 18:26:16 +01:00
|
|
|
License: GPL-2.0-or-later
|
2016-11-29 09:34:59 +01:00
|
|
|
Group: Productivity/Networking/Security
|
2020-11-26 08:01:50 +01:00
|
|
|
URL: https://github.com/OpenVPN/easy-rsa
|
2022-09-18 10:44:22 +02:00
|
|
|
Source: https://github.com/OpenVPN/%{name}/releases/download/v%{version}/%{pname}-%{version}.tgz
|
|
|
|
Source1: https://github.com/OpenVPN/%{name}/releases/download/v%{version}/%{pname}-%{version}.tgz.sig
|
2017-10-18 19:20:23 +02:00
|
|
|
# https://github.com/OpenVPN/easy-rsa/tree/master/release-keys
|
|
|
|
Source2: %{name}.keyring
|
2022-12-14 00:20:05 +01:00
|
|
|
Patch1: fix-747.patch
|
2017-10-16 08:44:30 +02:00
|
|
|
Patch100: suse-packaging.patch
|
2016-11-29 09:34:59 +01:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
2018-01-28 20:06:35 +01:00
|
|
|
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).
|
2016-11-29 09:34:59 +01:00
|
|
|
|
|
|
|
%prep
|
2022-09-18 10:44:22 +02:00
|
|
|
%setup -q -n %{pname}-%{version}
|
2022-12-14 00:20:05 +01:00
|
|
|
%patch1 -p2
|
2018-12-01 18:26:16 +01:00
|
|
|
%patch100
|
2017-05-26 19:07:13 +02:00
|
|
|
|
2016-11-29 09:34:59 +01:00
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
2018-12-01 18:26:16 +01:00
|
|
|
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/
|
2017-10-18 19:20:23 +02:00
|
|
|
install -Dm0755 easyrsa %{buildroot}/%{_bindir}/easyrsa
|
2016-11-29 09:34:59 +01:00
|
|
|
|
|
|
|
%files
|
2018-12-01 18:26:16 +01:00
|
|
|
%doc ChangeLog README.md README.quickstart.md
|
2016-11-29 09:34:59 +01:00
|
|
|
%doc doc/*
|
2018-12-01 18:26:16 +01:00
|
|
|
%license COPYING.md gpl-2.0.txt
|
2016-11-29 09:34:59 +01:00
|
|
|
%{_bindir}/easyrsa
|
2018-12-01 18:26:16 +01:00
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}
|
2016-11-29 09:34:59 +01:00
|
|
|
|
2017-05-26 19:07:13 +02:00
|
|
|
%changelog
|