2016-11-29 09:34:59 +01:00
|
|
|
#
|
|
|
|
# spec file for package easy-rsa
|
|
|
|
#
|
2017-05-26 19:07:13 +02:00
|
|
|
# Copyright (c) 2017 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
|
2017-10-16 08:44:30 +02:00
|
|
|
Version: 3.0.3
|
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-16 08:44:30 +02:00
|
|
|
Source: https://github.com/OpenVPN/easy-rsa/archive/v%{version}.tar.gz
|
|
|
|
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
|
|
|
|
easy-rsa is a CLI utility to build and manage a PKI CA. In laymen's terms,
|
2017-05-26 19:07:13 +02:00
|
|
|
this means to create a root certificate authority, and request and sign
|
2016-11-29 09:34:59 +01:00
|
|
|
certificates, including sub-CAs and certificate revokation lists (CRL).
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2017-09-09 11:57:37 +02:00
|
|
|
%patch100 -p0
|
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-08-28 22:15:39 +02:00
|
|
|
install -Dm0644 easyrsa3/vars.example %{buildroot}/%{_sysconfdir}/easy-rsa/
|
2016-11-29 09:34:59 +01:00
|
|
|
install -Dm0644 easyrsa3/openssl-1.0.cnf %{buildroot}/%{_sysconfdir}/easy-rsa/openssl-1.0.cnf
|
|
|
|
install -Dm0644 easyrsa3/x509-types/* %{buildroot}/%{_sysconfdir}/easy-rsa/x509-types/
|
|
|
|
install -Dm0755 easyrsa3/easyrsa %{buildroot}/%{_bindir}/easyrsa
|
|
|
|
|
|
|
|
%files
|
2017-09-09 11:57:37 +02:00
|
|
|
%defattr(-,root,root)
|
2017-06-09 19:44:44 +02:00
|
|
|
%doc KNOWN_ISSUES README.md README.quickstart.md COPYING.md
|
2017-05-26 19:07:13 +02:00
|
|
|
%doc Licensing/*
|
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
|