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