1 |
%define patchSet0 20060404 |
2 |
|
3 |
Name: corkscrew |
4 |
Summary: Tool for tunneling SSH through HTTP proxies |
5 |
Version: 2.0 |
6 |
Release: %mkrel 18 |
7 |
License: GPLv2 |
8 |
Url: https://www.agroman.net/%{name} |
9 |
Group: Networking/Other |
10 |
Source0: https://www.agroman.net/%{name}/%{name}-%{version}.tar.bz2 |
11 |
Patch0: %{name}-%{version}.%{patchSet0}-manpage.patch |
12 |
Patch1: %{name}-%{version}.%{patchSet0}-firstpacket.patch |
13 |
Patch2: corkscrew-2.0-automake.patch |
14 |
|
15 |
%description |
16 |
Corkscrew is a tool for tunneling SSH through HTTP proxies. |
17 |
|
18 |
%prep |
19 |
%setup |
20 |
%patch0 -p1 -b .manpage |
21 |
%patch1 -p1 -b .firstpacket |
22 |
%patch2 -p1 -b .automake |
23 |
|
24 |
# Fix some bad references in the man pages |
25 |
perl -pi -e 's|/usr/local/bin|%{_bindir}|g;' corkscrew.1 README |
26 |
|
27 |
%build |
28 |
autoreconf -vfi |
29 |
%configure |
30 |
%make_build |
31 |
|
32 |
%install |
33 |
%make_install |
34 |
|
35 |
# man page |
36 |
install -Dpm 644 corkscrew.1 %{buildroot}%{_mandir}/man1/corkscrew.1 |
37 |
|
38 |
%files |
39 |
%doc README |
40 |
%{_bindir}/%{name} |
41 |
%{_mandir}/man1/%{name}.1* |