2016-11-29 09:34:59 +01:00
|
|
|
#
|
|
|
|
# spec file for package easy-rsa
|
|
|
|
#
|
2018-01-28 19:55:21 +01:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
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.
|
|
|
|
|
2017-05-26 19:07:13 +02:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2016-11-29 09:34:59 +01:00
|
|
|
Name: easy-rsa
|
2018-01-28 19:55:21 +01:00
|
|
|
Version: 3.0.4
|
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
|
2017-05-26 19:07:13 +02:00
|
|
|
License: GPL-2.0
|
2016-11-29 09:34:59 +01:00
|
|
|
Group: Productivity/Networking/Security
|
2017-05-26 19:07:13 +02:00
|
|
|
Url: https://github.com/OpenVPN/easy-rsa
|
2017-10-18 19:20:23 +02:00
|
|
|
Source: https://github.com/OpenVPN/easy-rsa/releases/download/v%{version}/EasyRSA-%{version}.tgz
|
|
|
|
Source1: https://github.com/OpenVPN/easy-rsa/releases/download/v%{version}/EasyRSA-%{version}.tgz.sig
|
|
|
|
# https://github.com/OpenVPN/easy-rsa/tree/master/release-keys
|
|
|
|
Source2: %{name}.keyring
|
2017-10-16 08:44:30 +02:00
|
|
|
Patch100: suse-packaging.patch
|
2017-09-09 11:57:37 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
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
|
2017-10-18 19:20:23 +02:00
|
|
|
%setup -q -n EasyRSA-%{version}
|
|
|
|
%patch100 -p1
|
2017-05-26 19:07:13 +02:00
|
|
|
|
2016-11-29 09:34:59 +01:00
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
2017-08-28 22:15:39 +02:00
|
|
|
install -dm0755 %{buildroot}/%{_sysconfdir}/easy-rsa/
|
2016-11-29 09:34:59 +01:00
|
|
|
install -dm0755 %{buildroot}/%{_sysconfdir}/easy-rsa/x509-types
|
2017-10-18 19:20:23 +02:00
|
|
|
install -Dm0644 vars.example %{buildroot}/%{_sysconfdir}/easy-rsa/
|
2018-01-28 19:55:21 +01:00
|
|
|
install -Dm0644 openssl-easyrsa.cnf %{buildroot}/%{_sysconfdir}/easy-rsa/
|
2017-10-18 19:20:23 +02:00
|
|
|
install -Dm0644 x509-types/* %{buildroot}/%{_sysconfdir}/easy-rsa/x509-types/
|
|
|
|
install -Dm0755 easyrsa %{buildroot}/%{_bindir}/easyrsa
|
2016-11-29 09:34:59 +01:00
|
|
|
|
|
|
|
%files
|
2017-09-09 11:57:37 +02:00
|
|
|
%defattr(-,root,root)
|
2017-10-18 19:20:23 +02:00
|
|
|
%doc gpl-2.0.txt README.quickstart.md COPYING.md
|
2016-11-29 09:34:59 +01:00
|
|
|
%doc doc/*
|
|
|
|
%{_bindir}/easyrsa
|
|
|
|
%config(noreplace) %{_sysconfdir}/easy-rsa
|
|
|
|
|
2017-05-26 19:07:13 +02:00
|
|
|
%changelog
|