]>
Commit | Line | Data |
---|---|---|
9bb38b7d | 1 | Summary: Crypto Tunnel for Proxying and Forwarding TCP/UDP Connections |
2 | Name: ctunnel | |
c539e047 | 3 | Version: 0.6 |
9bb38b7d | 4 | Release: 1 |
5 | License: GPL | |
6 | Group: Networking/Utilities | |
7 | Source0: http://www.nardcore.org/ctunnel/%{name}-%{version}.tar.gz | |
c539e047 | 8 | # Source0-md5: 23ba8758fb92dd71915b869ea82aa475 |
9bb38b7d | 9 | URL: http://nardcore.org/ctunnel/ |
10 | BuildRequires: rpmbuild(macros) >= 1.268 | |
11 | BuildRequires: openssl-devel | |
12 | BuildRequires: zlib-devel | |
13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
14 | ||
15 | %description | |
16 | ctunnel is a software for proxying and forwarding TCP connections via | |
17 | a cryptographic tunnel. | |
18 | ||
19 | ctunnel can be used to secure any existing TCP based protocol, such as | |
20 | HTTP, VNC, Telnet, FTP, RSH, MySQL, etc, as well as UDP. You can even | |
21 | tunnel SSH! (if you are really paranoid!). | |
22 | ||
23 | You can also chain/bounce connections to any number of intermediary | |
24 | hosts.ctunnel is a software for proxying and forwarding TCP | |
25 | connections via a cryptographic tunnel. | |
26 | ||
27 | %prep | |
28 | %setup -q | |
29 | sed -i 's/=.*-O2/=%{rpmcflags}/' src/Makefile | |
30 | ||
31 | %build | |
32 | %{__make} \ | |
33 | CC="%{__cc}" | |
34 | ||
35 | %install | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | ||
38 | install -D src/ctunnel $RPM_BUILD_ROOT%{_bindir}/ctunnel | |
39 | install -D ctunnel.1 $RPM_BUILD_ROOT%{_mandir}/man1/ctunnel.1 | |
40 | ||
41 | %clean | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | %files | |
45 | %defattr(644,root,root,755) | |
46 | %doc AUTHORS ChangeLog README | |
47 | %attr(755,root,root) %{_bindir}/ctunnel | |
48 | %{_mandir}/man1/* |