]>
Commit | Line | Data |
---|---|---|
4d331b1f | 1 | Summary: Proxy Tunnel ssh-over-https hack |
2 | Name: proxytunnel | |
3 | Version: 1.5.0 | |
4 | Release: 0.1 | |
5 | License: GPL | |
6 | Group: Applications | |
7 | Source0: http://proxytunnel.sourceforge.net/files/%{name}-%{version}.tgz | |
8 | # Source0-md5: 2a36409580391e25421fc06e82eed4ce | |
9 | URL: http://proxytunnel.sourceforge.net/ | |
10 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
11 | ||
12 | %description | |
13 | ProxyTunnel is a program that connects stdin and stdout to a server | |
14 | somewhere on the network, through a standard HTTPS proxy. We mostly | |
15 | use it to tunnel SSH sessions through HTTP(S) proxies, allowing us to | |
16 | do many things that wouldn't be possible without ProxyTunnel. | |
17 | Proxytunnel can currently do the following: | |
18 | - Create tunnels using HTTP and HTTPS proxies (That understand the | |
19 | HTTP CONNECT command). | |
20 | - Work as a back-end driver for an OpenSSH client, and create SSH | |
21 | connections through HTTP(S) proxies. | |
22 | - Work as a stand-alone application, listening on a port for | |
23 | connections, and then tunneling these connections to a specified | |
24 | destination. | |
25 | ||
26 | %prep | |
27 | %setup -q | |
28 | ||
29 | %build | |
30 | ||
31 | %{__make} \ | |
32 | CC="%{__cc}" \ | |
33 | CFLAGS="%{rpmcflags}" \ | |
34 | LDFLAGS="%{rpmldflags}" | |
35 | ||
36 | %install | |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | ||
39 | install -D proxytunnel $RPM_BUILD_ROOT%{_bindir}/proxytunnel | |
40 | install -D debian/proxytunnel.1 $RPM_BUILD_ROOT%{_mandir}/man1/proxytunnel.1 | |
41 | ||
42 | %clean | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %files | |
46 | %defattr(644,root,root,755) | |
47 | %doc CREDITS CHANGES README | |
48 | %attr(755,root,root) %{_bindir}/* | |
49 | %{_mandir}/man1/* |