[packages/openvpn-otp] initial PLD release

gotar gotar at pld-linux.org
Sat Dec 14 17:02:38 CET 2019


commit 31adb860b9c7e740f7dae0752890e536cb4a8e6d
Author: Tomasz Pala <gotar at polanet.pl>
Date:   Sat Dec 14 17:02:18 2019 +0100

    initial PLD release

 openvpn-otp.spec | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 60 insertions(+)
---
diff --git a/openvpn-otp.spec b/openvpn-otp.spec
new file mode 100644
index 0000000..87d6c64
--- /dev/null
+++ b/openvpn-otp.spec
@@ -0,0 +1,60 @@
+Summary:	OpenVPN HOTP/TOTP plugin
+Summary(pl.UTF-8):	Wtyczka HOTP/TOTP dla OpenVPN
+Name:		openvpn-otp
+Version:	1.0
+Release:	1
+License:	GPL v3
+Group:		Networking/Daemons
+Source0:	https://github.com/evgeny-gridasov/openvpn-otp/archive/v%{version}.tar.gz
+# Source0-md5:	3ff2b8f9cc054ccac31f99e9ee704f67
+Patch1:		https://github.com/evgeny-gridasov/openvpn-otp/commit/2d3809abca1909a3a8a55fa8e38d5c139faf3d59.patch
+# Patch1-md5:	b199454e79e9c9cb962cbde9626429a0
+URL:		https://github.com/evgeny-gridasov/openvpn-otp/
+BuildRequires:	autoconf
+BuildRequires:	automake
+BuildRequires:	libtool
+BuildRequires:	openssl-devel
+BuildRequires:	openvpn-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_libdir		%{_prefix}/%{_lib}/openvpn/plugins
+%define		_sysconfdir	/etc/openvpn
+
+%description
+Support for time based OTP and HMAC based OTP tokens for OpenVPN.
+Compatible with Google Authenticator software token, other software
+and hardware based OTP tokens.
+
+%description -l pl.UTF-8
+Wtyczka implementuje uwierzytelnianie hasłami jednorazowymi.
+
+%prep
+%setup -q
+%patch1 -p1
+
+%build
+%{__mkdir_p} m4
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+	--with-openvpn-plugin-dir=%{_libdir}
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/openvpn-otp.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md
+%attr(755,root,root) %{_libdir}/%{name}.so
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openvpn-otp.git/commitdiff/31adb860b9c7e740f7dae0752890e536cb4a8e6d



More information about the pld-cvs-commit mailing list