From 49163db58f509db72d08c6a2ece0bfa1bfc1af9b Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Wed, 15 Nov 2006 09:17:38 +0000 Subject: [PATCH] - separated from openssh Changed files: connect.spec -> 1.1 --- connect.spec | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 connect.spec diff --git a/connect.spec b/connect.spec new file mode 100644 index 0000000..2099783 --- /dev/null +++ b/connect.spec @@ -0,0 +1,47 @@ +Summary: Make TCP connection using SOCKS4/5 or HTTPS proxy +Summary(pl): Tworzenie po³±czeñ TCP poprzez proxy SOCKS4/5 lub HTTPS +Name: connect +Version: 1.96 +Release: 1 +License: GPL v2+ +Group: Applications/Networking +Source0: http://www.taiyo.co.jp/~gotoh/ssh/connect.c +# NoSource0-md5: b856937f1cdfca7a3ccfb2fac36ef726 +Source1: http://www.taiyo.co.jp/~gotoh/ssh/connect.html +# NoSource1-md5: bb972b3a9d435c62023b355960d78f78 +URL: http://www.taiyo.co.jp/~gotoh/ssh/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. + +%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. + +%prep +%setup -q -c -T + +cp %{SOURCE0} %{SOURCE1} . + +%build +%{__cc} %{rpmcflags} %{rpmldflags} connect.c -o connect + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_bindir} + +install connect $RPM_BUILD_ROOT%{_bindir} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc connect.html +%attr(755,root,root) %{_bindir}/connect -- 2.44.0