Accepting request 534897 from home:AndreasStieger:branches:network:vpn

- update release tarball instead of git snapshot
- add upstream signing keyring and verify source signature

OBS-URL: https://build.opensuse.org/request/show/534897
OBS-URL: https://build.opensuse.org/package/show/network:vpn/easy-rsa?expand=0&rev=17
This commit is contained in:
Olav Reinert 2017-10-18 17:20:23 +00:00 committed by Git OBS Bridge
parent d83ce3ef56
commit 6991e771fd
6 changed files with 1765 additions and 12 deletions

3
EasyRSA-3.0.3.tgz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fb239d67f4bd09f817b0025450d422ed7ae3ee93af737c57d4acd8fdb646079e
size 40960

BIN
EasyRSA-3.0.3.tgz.sig Normal file

Binary file not shown.

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Oct 18 08:40:40 UTC 2017 - astieger@suse.com
- update release tarball instead of git snapshot
- add upstream signing keyring and verify source signature
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Oct 16 06:38:49 UTC 2017 - seroton10@gmail.com Mon Oct 16 06:38:49 UTC 2017 - seroton10@gmail.com

1745
easy-rsa.keyring Normal file

File diff suppressed because it is too large Load Diff

View File

@ -24,7 +24,10 @@ Summary: CLI utility to build and manage a PKI CA
License: GPL-2.0 License: GPL-2.0
Group: Productivity/Networking/Security Group: Productivity/Networking/Security
Url: https://github.com/OpenVPN/easy-rsa Url: https://github.com/OpenVPN/easy-rsa
Source: https://github.com/OpenVPN/easy-rsa/archive/v%{version}.tar.gz 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
Patch100: suse-packaging.patch Patch100: suse-packaging.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch BuildArch: noarch
@ -35,23 +38,22 @@ this means to create a root certificate authority, and request and sign
certificates, including sub-CAs and certificate revokation lists (CRL). certificates, including sub-CAs and certificate revokation lists (CRL).
%prep %prep
%setup -q %setup -q -n EasyRSA-%{version}
%patch100 -p0 %patch100 -p1
%build %build
%install %install
install -dm0755 %{buildroot}/%{_sysconfdir}/easy-rsa/ install -dm0755 %{buildroot}/%{_sysconfdir}/easy-rsa/
install -dm0755 %{buildroot}/%{_sysconfdir}/easy-rsa/x509-types install -dm0755 %{buildroot}/%{_sysconfdir}/easy-rsa/x509-types
install -Dm0644 easyrsa3/vars.example %{buildroot}/%{_sysconfdir}/easy-rsa/ install -Dm0644 vars.example %{buildroot}/%{_sysconfdir}/easy-rsa/
install -Dm0644 easyrsa3/openssl-1.0.cnf %{buildroot}/%{_sysconfdir}/easy-rsa/openssl-1.0.cnf install -Dm0644 openssl-1.0.cnf %{buildroot}/%{_sysconfdir}/easy-rsa/openssl-1.0.cnf
install -Dm0644 easyrsa3/x509-types/* %{buildroot}/%{_sysconfdir}/easy-rsa/x509-types/ install -Dm0644 x509-types/* %{buildroot}/%{_sysconfdir}/easy-rsa/x509-types/
install -Dm0755 easyrsa3/easyrsa %{buildroot}/%{_bindir}/easyrsa install -Dm0755 easyrsa %{buildroot}/%{_bindir}/easyrsa
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc KNOWN_ISSUES README.md README.quickstart.md COPYING.md %doc gpl-2.0.txt README.quickstart.md COPYING.md
%doc Licensing/*
%doc doc/* %doc doc/*
%{_bindir}/easyrsa %{_bindir}/easyrsa
%config(noreplace) %{_sysconfdir}/easy-rsa %config(noreplace) %{_sysconfdir}/easy-rsa

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3e41c0dfebe04332cdc07f13bf48a69e25dfc31d059e94071a9cfb9f3bba6f9a
size 636592