]> git.pld-linux.org Git - packages/connect.git/blob - connect.spec
Since OpenSSH 5.4 ssh -W can do the basic TCP tunnel
[packages/connect.git] / connect.spec
1 Summary:        Make TCP connection using SOCKS4/5 or HTTPS proxy
2 Summary(pl.UTF-8):      Tworzenie połączeń TCP poprzez proxy SOCKS4/5 lub HTTPS
3 Name:           connect
4 Version:        1.96
5 Release:        2
6 License:        GPL v2+
7 Group:          Applications/Networking
8 Source0:        http://www.taiyo.co.jp/~gotoh/ssh/%{name}.c
9 # NoSource0-md5:        b856937f1cdfca7a3ccfb2fac36ef726
10 Source1:        http://www.taiyo.co.jp/~gotoh/ssh/%{name}.html
11 # NoSource1-md5:        bb972b3a9d435c62023b355960d78f78
12 URL:            http://bent.latency.net/bent/git/goto-san-connect-1.85/src/connect.html
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
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
24
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.
29
30 %prep
31 %setup -q -c -T
32 cp -p %{SOURCE0} %{SOURCE1} .
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}
40 install -p connect $RPM_BUILD_ROOT%{_bindir}
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
This page took 0.045094 seconds and 3 git commands to generate.