1691f11
Name:           connect-proxy
73c9223
Version:        1.100
3c829ca
Release:        3%{?dist}
1691f11
Summary:        SSH Proxy command helper
1691f11
1691f11
Group:          Applications/System
22baba4
License:        GPLv2+
1691f11
URL:            http://www.taiyo.co.jp/~gotoh/ssh/connect.html
1691f11
Source0:        connect-%{version}.c
1691f11
# Real source listed below, it was renamed for sanity's sake
1691f11
#Source0:        http://www.taiyo.co.jp/~gotoh/ssh/connect.c
1691f11
Source1:        http://www.taiyo.co.jp/~gotoh/ssh/connect.html
1691f11
Patch0:         connect-proxy-make-man.patch
1691f11
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
1691f11
1691f11
Requires:       openssh
1691f11
1691f11
%description
1691f11
connect-proxy is the simple relaying command to make network connection via
1691f11
SOCKS and https proxy. It is mainly intended to be used as proxy command
1691f11
of OpenSSH. You can make SSH session beyond the firewall with this command.
1691f11
1691f11
Features of connect-proxy are:
1691f11
1691f11
    * Supports SOCKS (version 4/4a/5) and https CONNECT method.
1691f11
    * Supports NO-AUTH and USERPASS authentication of SOCKS
1691f11
    * Partially supports telnet proxy (experimental).
1691f11
    * You can input password from tty, ssh-askpass or environment variable.
1691f11
    * Simple and general program independent from OpenSSH.
1691f11
    * You can also relay local socket stream instead of standard I/O.
1691f11
1691f11
%prep
1691f11
#setup -q -T -c -n %{name}-%{version}
1691f11
%setup -q -T -c
1691f11
cp %{SOURCE0} connect.c
1691f11
cp %{SOURCE1} .
1691f11
%patch0 -p1
1691f11
1691f11
%build
1691f11
make CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
1691f11
1691f11
%install
1691f11
rm -rf $RPM_BUILD_ROOT
1691f11
mkdir -p $RPM_BUILD_ROOT
1691f11
make DESTDIR=$RPM_BUILD_ROOT install
1691f11
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
1691f11
cp -p %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1/
1691f11
1691f11
%clean
1691f11
rm -rf $RPM_BUILD_ROOT
1691f11
1691f11
%files
1691f11
%defattr(-,root,root,-)
1691f11
%doc connect.html
1691f11
%{_mandir}/man1/*
1691f11
%{_bindir}/%{name}
1691f11
1691f11
%changelog
3c829ca
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.100-3
3c829ca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
3c829ca
22baba4
* Tue Jul 15 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.100-2
22baba4
- fix license tag
22baba4
73c9223
* Wed Feb 13 2008 Jarod Wilson <jwilson@redhat.com> 1.100-1
73c9223
- Upgrade to r100.
73c9223
bcc2174
* Tue Sep 05 2006 Jarod Wilson <jwilson@redhat.com> 1.95-5
bcc2174
- Rebuild for new glibc
bcc2174
1691f11
* Wed Jul 05 2006 Jarod Wilson <jwilson@redhat.com> 1.95-4
1691f11
- Minor spec cleanups
1691f11
- Add copy of html doc page
1691f11
1691f11
* Wed Jul 05 2006 Jarod Wilson <jwilson@redhat.com> 1.95-3
1691f11
- Rename source file with version for sanity's sake
1691f11
1691f11
* Wed Jul 05 2006 Jarod Wilson <jwilson@redhat.com> 1.95-2
1691f11
- Fix BuildRoot and enable CFLAGS
1691f11
1691f11
* Wed Jul 05 2006 Jarod Wilson <jwilson@redhat.com> 1.95-1
1691f11
- Initial build for Fedora Extras
1691f11
1691f11
* Wed Dec 12 2005 Jarod Wilson <jarod@wilsonet.com> 1.93-1
1691f11
- Initial build