]>
Commit | Line | Data |
---|---|---|
4d331b1f | 1 | Summary: Proxy Tunnel ssh-over-https hack |
3627bd5d | 2 | Summary(pl.UTF-8): Tunel proxy ssh-po-https |
4d331b1f | 3 | Name: proxytunnel |
c8b62589 | 4 | Version: 1.9.0 |
4d331b1f | 5 | Release: 0.1 |
6 | License: GPL | |
7 | Group: Applications | |
c8b62589 | 8 | Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tgz |
9 | # Source0-md5: d74472b89c3f3b3b0abf6bd809ae34c2 | |
4d331b1f | 10 | URL: http://proxytunnel.sourceforge.net/ |
11 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
12 | ||
13 | %description | |
14 | ProxyTunnel is a program that connects stdin and stdout to a server | |
15 | somewhere on the network, through a standard HTTPS proxy. We mostly | |
16 | use it to tunnel SSH sessions through HTTP(S) proxies, allowing us to | |
17 | do many things that wouldn't be possible without ProxyTunnel. | |
944c0096 | 18 | ProxyTunnel can currently do the following: |
4d331b1f | 19 | - Create tunnels using HTTP and HTTPS proxies (That understand the |
20 | HTTP CONNECT command). | |
21 | - Work as a back-end driver for an OpenSSH client, and create SSH | |
22 | connections through HTTP(S) proxies. | |
23 | - Work as a stand-alone application, listening on a port for | |
24 | connections, and then tunneling these connections to a specified | |
25 | destination. | |
26 | ||
9c990a3a JR |
27 | %description -l pl.UTF-8 |
28 | ProxyTunnel to program łączący stdin i stdout do serwera gdzieś w | |
29 | sieci poprzez standardowe proxy HTTPS. Jest używany głównie do | |
944c0096 | 30 | tunelowania sesji SSH poprzez proxy HTTP(S), co pozwala na robienie |
9c990a3a | 31 | wielu rzeczy, które nie byłyby możliwe bez niego. ProxyTunnel |
944c0096 | 32 | aktualnie potrafi: |
9c990a3a | 33 | - tworzyć tunele przy użyciu proxy HTTP i HTTPS (rozumiejących |
944c0096 | 34 | polecenie HTTP CONNECT), |
9c990a3a JR |
35 | - działać jako sterownik backendu dla klienta OpenSSH i tworzyć |
36 | połączenia SSH poprzez proxy HTTP(S), | |
37 | - działać jako samodzielna aplikacja, nasłuchując na jakimś porcie na | |
38 | połączenia, a następnie tunelując te połączenia na podany adres. | |
944c0096 | 39 | |
4d331b1f | 40 | %prep |
41 | %setup -q | |
42 | ||
43 | %build | |
4d331b1f | 44 | %{__make} \ |
45 | CC="%{__cc}" \ | |
46 | CFLAGS="%{rpmcflags}" \ | |
c8b62589 | 47 | LDFLAGS="%{rpmldflags} `pkg-config --libs openssl`" |
4d331b1f | 48 | |
49 | %install | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
c8b62589 | 52 | %{__make} install \ |
53 | PREFIX=$RPM_BUILD_ROOT%{_prefix} | |
4d331b1f | 54 | |
55 | %clean | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %files | |
59 | %defattr(644,root,root,755) | |
60 | %doc CREDITS CHANGES README | |
61 | %attr(755,root,root) %{_bindir}/* | |
62 | %{_mandir}/man1/* |