]> 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 2099783e8e5e1bf754364d12a3512aee538e6a97..ffb211a69ac047e79bc4a7848d200fc44ae6a745 100644 (file)
@@ -1,33 +1,35 @@
 Summary:       Make TCP connection using SOCKS4/5 or HTTPS proxy
-Summary(pl):   Tworzenie po³±czeñ TCP poprzez proxy SOCKS4/5 lub HTTPS
+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.
 
-%description -l pl
-connect to proste polecenie przekazuj±ce tworz±ce po³±czenie sieciowe
-przez proxy SOCKS lub HTTPS. Powsta³o g³ównie z my¶l± o u¿ywaniu jako
-"proxy command" w OpenSSH. Pozwala nawi±zywaæ sesje SSH zza firewalli.
+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
+przez proxy SOCKS lub HTTPS. Powstało głównie z myślą o używaniu jako
+"proxy command" w OpenSSH. Pozwala nawiązywać sesje SSH zza firewalli.
 
 %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.058476 seconds and 4 git commands to generate.