1 |
blino |
174650 |
%define patchSet0 20060404 |
2 |
|
|
|
3 |
wally |
335011 |
Name: corkscrew |
4 |
|
|
Summary: Tool for tunneling SSH through HTTP proxies |
5 |
|
|
Version: 2.0 |
6 |
umeabot |
1791672 |
Release: %mkrel 18 |
7 |
wally |
335011 |
License: GPLv2 |
8 |
danf |
1946345 |
Url: https://www.agroman.net/%{name} |
9 |
wally |
335011 |
Group: Networking/Other |
10 |
danf |
1946345 |
Source0: https://www.agroman.net/%{name}/%{name}-%{version}.tar.bz2 |
11 |
wally |
335011 |
Patch0: %{name}-%{version}.%{patchSet0}-manpage.patch |
12 |
|
|
Patch1: %{name}-%{version}.%{patchSet0}-firstpacket.patch |
13 |
|
|
Patch2: corkscrew-2.0-automake.patch |
14 |
blino |
174650 |
|
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 |
wally |
335011 |
%patch2 -p1 -b .automake |
23 |
blino |
174650 |
|
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 |
wally |
335011 |
autoreconf -vfi |
29 |
wally |
1478528 |
%configure |
30 |
ovitters |
1578906 |
%make_build |
31 |
blino |
174650 |
|
32 |
|
|
%install |
33 |
wally |
1471032 |
%make_install |
34 |
blino |
174650 |
|
35 |
wally |
335011 |
# man page |
36 |
|
|
install -Dpm 644 corkscrew.1 %{buildroot}%{_mandir}/man1/corkscrew.1 |
37 |
blino |
174650 |
|
38 |
|
|
%files |
39 |
|
|
%doc README |
40 |
|
|
%{_bindir}/%{name} |
41 |
|
|
%{_mandir}/man1/%{name}.1* |