From 908c56ff3ffb201b7749ad26a3269e212cfdfc94 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 22:01:30 +0100 Subject: [PATCH] package created using the webbuild interface [release 2.2.1-1mamba;Tue Apr 29 2014] --- README.md | 2 ++ easy-rsa.spec | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 easy-rsa.spec diff --git a/README.md b/README.md index f23a374..2bc14ed 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # easy-rsa +A small RSA key management package, based on the openssl command line tool. + diff --git a/easy-rsa.spec b/easy-rsa.spec new file mode 100644 index 0000000..d90578c --- /dev/null +++ b/easy-rsa.spec @@ -0,0 +1,48 @@ +Name: easy-rsa +Version: 2.2.1 +Release: 1mamba +Summary: Simple shell based CA utility +Group: Network/Security +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/OpenVPN/easy-rsa +## GITSOURCE https://github.com/OpenVPN/easy-rsa.git v2.2.1 +Source: https://github.com/OpenVPN/easy-rsa.git/v%{version}/easy-rsa-%{version}.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +A small RSA key management package, based on the openssl command line tool. + +%prep +%setup -q + +%build +autoreconf -f -i +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +ln -s openssl-1.0.0.cnf %{buildroot}%{_datadir}/easy-rsa/openssl.cnf + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%dir %{_datadir}/easy-rsa +%{_datadir}/easy-rsa/* +%config(noreplace) %{_datadir}/easy-rsa/vars +%{_datadir}/doc/easy-rsa/COPYING +%{_datadir}/doc/easy-rsa/COPYRIGHT.GPL +%{_datadir}/doc/easy-rsa/README-2.0 + +%changelog +* Tue Apr 29 2014 Silvan Calarco 2.2.1-1mamba +- package created using the webbuild interface