Name: ctunnel Version: 0.6 Release: 2 Summary: Crypto Tunnel for Proxying and Forwarding TCP Connections Source0: http://www.nardcore.org/ctunnel/%{name}-%{version}.tar.gz Patch0: %{name}-%{version}-aix.patch URL: http://nardcore.org/ctunnel/ Group: Productivity/Networking/Other License: GNU General Public License version 2 (GPL v2) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} BuildRequires: make BuildRequires: coreutils BuildRequires: gcc >= 4.5.4-1 BuildRequires: openssl-devel >= 1.0.1s-1 BuildRequires: libgcrypt-devel >= 1.6.4-1 BuildRequires: libgpg-error-devel >= 1.21-1 BuildRequires: zlib-devel >= 1.2.3-7 Requires: openssl >= 1.0.1s-1 Requires: libgcrypt >= 1.6.4-1 Requires: libgpg-error >= 1.21-1 Requires: zlib >= 1.2.3-7 %description ctunnel is a software for proxying and forwarding TCP connections via a cryptographic tunnel. ctunnel can be used to secure any existing TCP based protocol, such as HTTP, VNC, Telnet, FTP, RSH, MySQL, etc. You can even tunnel SSH! (if you are really paranoid!). You can also chain/bounce connections to any number of intermediary hosts. %prep %setup -q %patch0 %build gmake %{?_smp_mflags} %install [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} mkdir -p ${RPM_BUILD_ROOT}%{_bindir} mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1 export PATH=/opt/freeware/bin:$PATH gmake PREFIX=${RPM_BUILD_ROOT}%{_prefix} install /usr/bin/strip ${RPM_BUILD_ROOT}%{_bindir}/* || : cd ${RPM_BUILD_ROOT} mkdir -p usr/bin cd usr/bin ln -sf ../..%{_bindir}/* . %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,system) %doc AUTHORS COPYING README %{_bindir}/* %{_mandir}/man1/* /usr/bin/* %changelog * Fri Mar 04 2016 Michael Perzl - 0.6-2 - recompiled against latest versions * Mon Feb 14 2011 Michael Perzl - 0.6-1 - updated to version 0.6 * Fri Jun 04 2010 Michael Perzl - 0.4-1 - updated to version 0.4 * Fri Jun 04 2010 Michael Perzl - 0.3-1 - first version for AIX V5.1 and higher