%global commit0 5876cf460b248e53548b7aa37d0ee58f024fed81 %global date0 20190724 Name: ocproxy Version: 1.60 Release: 1.%{date0}git%{?dist} Summary: OpenConnect Proxy # BSD for both ocproxy and bundled lwip License: BSD URL: https://github.com/cernekee/%{name} Source0: https://github.com/rapgro/%{name}/archive/%{commit0}.tar.gz BuildRequires: automake make gcc BuildRequires: libevent-devel Requires: openconnect %description OCProxy is a user-level SOCKS and port forwarding proxy for OpenConnect based on lwIP. When using ocproxy, OpenConnect only handles network activity that the user specifically asks to proxy, so the VPN interface no longer "hijacks" all network traffic on the host. %prep %autosetup -n%{name}-%{commit0} ./autogen.sh %build %configure --enable-vpnns %make_build %install %make_install %files %license LICENSE %doc %{_docdir}/%{name}/ %{_bindir}/%{name} %{_bindir}/vpnns %{_mandir}/man1/%{name}.1* %{_mandir}/man1/vpnns.1* %changelog * Wed Jul 24 2019 Raphael Groner - 1.60-1.20190724git - initial - use latest lwip sources with github fork, pull request #11