Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > a7b0ce34e656c0c44bd3048b2f68ab2b > files > 1

connect-1.93-2mdv2007.0.src.rpm

%define name    connect
%define version 1.93
%define release %mkrel 2

Name:           %{name} 
Version:        %{version}
Release:        %{release} 
Summary:        Connect is a relaying command to make network connection via proxy
Source:         %{name}.tar.bz2
URL:            http://www.taiyo.co.jp/~gotoh/ssh/connect.html
Group:          Networking/Other 
BuildRoot:	%{_tmppath}/%{name}-%{version}
License:	GPL

%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,

Features of connect.c are:

 * Supports SOCKS (version 4/4a/5) and https CONNECT method.
 * Supports NO-AUTH and USERPASS authentication of SOCKS
 * Partially supports telnet proxy (experimental).
 * You can input password from tty, ssh-askpass or environment variable.
 * Run on UNIX or Windows platform.
 * You can compile with various C compiler (cc, gcc, Visual C, 
Borland C. etc.)
 * Simple and general program independent from OpenSSH.
 * You can also relay local socket stream instead of standard I/O.


%prep 
rm -rf %{buildroot}
%setup -q -n connect
# strip away annoying ^M
find . -type f|xargs file|grep 'CRLF'|cut -d: -f1|xargs perl -p -i -e 's/\r//'
find . -type f|xargs file|grep 'text'|cut -d: -f1|xargs perl -p -i -e 's/\r//'

%build 
gcc connect.c -o %{name}

%install
install -m755 connect -D $RPM_BUILD_ROOT/%{_bindir}/%{name}

%clean 
rm -rf %{buildroot} 

%files
%defattr(-,root,root)
%{_bindir}/connect
%doc connect.html emacs-wiki.css

%changelog
* Fri Jun 23 2006 Eskild Hustvedt <eskild@mandriva.org> 1.93-2mdv
- Yearly rebuild

* Mon May 23 2005 Eskild Hustvedt <eskild@mandriva.org> 1.93-1mdk
- Minor spec cleanup
- From Patrice Ferlet <metal3d@copix.org>
	- First build