]> git.pld-linux.org Git - packages/connect.git/blobdiff - connect.spec
Since OpenSSH 5.4 ssh -W can do the basic TCP tunnel
[packages/connect.git] / connect.spec
index 8d68a0aa783a6db35f0dae2cbb779b6a3d1459e5..ffb211a69ac047e79bc4a7848d200fc44ae6a745 100644 (file)
@@ -2,22 +2,25 @@ Summary:      Make TCP connection using SOCKS4/5 or HTTPS proxy
 Summary(pl.UTF-8):     Tworzenie połączeń TCP poprzez proxy SOCKS4/5 lub HTTPS
 Name:          connect
 Version:       1.96
-Release:       1
+Release:       2
 License:       GPL v2+
 Group:         Applications/Networking
-Source0:       http://www.taiyo.co.jp/~gotoh/ssh/connect.c
+Source0:       http://www.taiyo.co.jp/~gotoh/ssh/%{name}.c
 # NoSource0-md5:       b856937f1cdfca7a3ccfb2fac36ef726
-Source1:       http://www.taiyo.co.jp/~gotoh/ssh/connect.html
+Source1:       http://www.taiyo.co.jp/~gotoh/ssh/%{name}.html
 # NoSource1-md5:       bb972b3a9d435c62023b355960d78f78
-URL:           http://www.taiyo.co.jp/~gotoh/ssh/connect.html
+URL:           http://bent.latency.net/bent/git/goto-san-connect-1.85/src/connect.html
 Conflicts:     openssh-clients < 2:4.5p1-2
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 connect is the simple relaying command to make network connection via
 SOCKS and HTTPS proxy. It is mainly intended to be used as "proxy
-command" of OpenSSH. You can make SSH session beyond the firewall
-with this command.
+command" of OpenSSH. You can make SSH session beyond the firewall with
+this command.
+
+NOTE: Since OpenSSH 5.4 you can use ssh -W option for plain TCP
+tunnel: ProxyCommand ssh -q -W %h:%p gateway.example.com
 
 %description -l pl.UTF-8
 connect to proste polecenie przekazujące tworzące połączenie sieciowe
@@ -26,8 +29,7 @@ przez proxy SOCKS lub HTTPS. Powstało głównie z myślą o używaniu jako
 
 %prep
 %setup -q -c -T
-
-cp %{SOURCE0} %{SOURCE1} .
+cp -p %{SOURCE0} %{SOURCE1} .
 
 %build
 %{__cc} %{rpmcflags} %{rpmldflags} connect.c -o connect
@@ -35,8 +37,7 @@ cp %{SOURCE0} %{SOURCE1} .
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_bindir}
-
-install connect $RPM_BUILD_ROOT%{_bindir}
+install -p connect $RPM_BUILD_ROOT%{_bindir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.213594 seconds and 4 git commands to generate.