]>
Commit | Line | Data |
---|---|---|
49163db5 | 1 | Summary: Make TCP connection using SOCKS4/5 or HTTPS proxy |
d25e62d2 | 2 | Summary(pl.UTF-8): Tworzenie połączeń TCP poprzez proxy SOCKS4/5 lub HTTPS |
49163db5 JB |
3 | Name: connect |
4 | Version: 1.96 | |
00fb02e3 | 5 | Release: 2 |
49163db5 JB |
6 | License: GPL v2+ |
7 | Group: Applications/Networking | |
ffb38f37 | 8 | Source0: http://www.taiyo.co.jp/~gotoh/ssh/%{name}.c |
49163db5 | 9 | # NoSource0-md5: b856937f1cdfca7a3ccfb2fac36ef726 |
ffb38f37 | 10 | Source1: http://www.taiyo.co.jp/~gotoh/ssh/%{name}.html |
49163db5 | 11 | # NoSource1-md5: bb972b3a9d435c62023b355960d78f78 |
ffb38f37 | 12 | URL: http://bent.latency.net/bent/git/goto-san-connect-1.85/src/connect.html |
49163db5 JB |
13 | Conflicts: openssh-clients < 2:4.5p1-2 |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %description | |
17 | connect is the simple relaying command to make network connection via | |
18 | SOCKS and HTTPS proxy. It is mainly intended to be used as "proxy | |
ffb38f37 ER |
19 | command" of OpenSSH. You can make SSH session beyond the firewall with |
20 | this command. | |
21 | ||
22 | NOTE: Since OpenSSH 5.4 you can use ssh -W option for plain TCP | |
23 | tunnel: ProxyCommand ssh -q -W %h:%p gateway.example.com | |
49163db5 | 24 | |
3ad66989 JR |
25 | %description -l pl.UTF-8 |
26 | connect to proste polecenie przekazujące tworzące połączenie sieciowe | |
27 | przez proxy SOCKS lub HTTPS. Powstało głównie z myślą o używaniu jako | |
28 | "proxy command" w OpenSSH. Pozwala nawiązywać sesje SSH zza firewalli. | |
49163db5 JB |
29 | |
30 | %prep | |
31 | %setup -q -c -T | |
ffb38f37 | 32 | cp -p %{SOURCE0} %{SOURCE1} . |
49163db5 JB |
33 | |
34 | %build | |
35 | %{__cc} %{rpmcflags} %{rpmldflags} connect.c -o connect | |
36 | ||
37 | %install | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | install -d $RPM_BUILD_ROOT%{_bindir} | |
ffb38f37 | 40 | install -p connect $RPM_BUILD_ROOT%{_bindir} |
49163db5 JB |
41 | |
42 | %clean | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %files | |
46 | %defattr(644,root,root,755) | |
47 | %doc connect.html | |
48 | %attr(755,root,root) %{_bindir}/connect |