From 9bb38b7dbdd268cb2ba6e724c157a9649f013261 Mon Sep 17 00:00:00 2001 From: areq Date: Sun, 13 Feb 2011 14:14:45 +0000 Subject: [PATCH] - init PLD spec Changed files: ctunnel.spec -> 1.1 --- ctunnel.spec | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 ctunnel.spec diff --git a/ctunnel.spec b/ctunnel.spec new file mode 100644 index 0000000..512fbab --- /dev/null +++ b/ctunnel.spec @@ -0,0 +1,48 @@ +Summary: Crypto Tunnel for Proxying and Forwarding TCP/UDP Connections +Name: ctunnel +Version: 0.5 +Release: 1 +License: GPL +Group: Networking/Utilities +Source0: http://www.nardcore.org/ctunnel/%{name}-%{version}.tar.gz +# Source0-md5: cf849741590cdcea776b5a9d67975b20 +URL: http://nardcore.org/ctunnel/ +BuildRequires: rpmbuild(macros) >= 1.268 +BuildRequires: openssl-devel +BuildRequires: zlib-devel +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%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, as well as UDP. You can even +tunnel SSH! (if you are really paranoid!). + +You can also chain/bounce connections to any number of intermediary +hosts.ctunnel is a software for proxying and forwarding TCP +connections via a cryptographic tunnel. + +%prep +%setup -q +sed -i 's/=.*-O2/=%{rpmcflags}/' src/Makefile + +%build +%{__make} \ + CC="%{__cc}" + +%install +rm -rf $RPM_BUILD_ROOT + +install -D src/ctunnel $RPM_BUILD_ROOT%{_bindir}/ctunnel +install -D ctunnel.1 $RPM_BUILD_ROOT%{_mandir}/man1/ctunnel.1 + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc AUTHORS ChangeLog README +%attr(755,root,root) %{_bindir}/ctunnel +%{_mandir}/man1/* -- 2.44.0