File httptunnel-la.spec of Package httptunnel-la
#
# spec file for package httptunnel-la
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: httptunnel-la
Version: 1.4.0
Release: 0
Summary: Tunnel Arbitrary TCP Connections over HTTP
# http://the-linux-academy.co.uk/downloads/httptunnel-%{version}.tgz
Source: httptunnel-%{version}.tgz
Url: http://the-linux-academy.co.uk/downloads.htm
Group: Productivity/Networking/Web/Proxy
License: GPL-2.0+
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gcc-c++ libstdc++-devel make
BuildRequires: libopenssl-devel
%description
HTTPTunnel is a simple client/server application for creating an HTTP tunnel
between two machines, optionally via a Web proxy. This tunnel can then be used
to wrap arbitrary TCP socket traffic in HTTP, thus allowing communications
even through a restrictive firewall that only allows outgoing HTTP connections.
%prep
%setup -q -n "httptunnel"
%build
%__make -C src \
%{?jobs:-j%{jobs}} \
SSL=yes \
CC="%__cxx" \
DEBUGCFLAGS="%{optflags} -fstack-protector"
%install
%__install -D -m 0755 src/httptunnel "%{buildroot}%{_bindir}/httptunnel"
%clean
%__rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%doc docs/COPYING docs/CHANGES docs/README
%doc config/*.cfg
%{_bindir}/httptunnel
%changelog