From: areq Date: Sun, 28 Aug 2005 08:18:20 +0000 (+0000) Subject: - Init PLD spec X-Git-Tag: auto/th/proxytunnel-1_9_0-0_1~4 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fproxytunnel.git;a=commitdiff_plain;h=4d331b1f5bf89ae5d483cf2d006b20462b37fdcf - Init PLD spec Changed files: proxytunnel.spec -> 1.1 --- 4d331b1f5bf89ae5d483cf2d006b20462b37fdcf diff --git a/proxytunnel.spec b/proxytunnel.spec new file mode 100644 index 0000000..03bd099 --- /dev/null +++ b/proxytunnel.spec @@ -0,0 +1,49 @@ +Summary: Proxy Tunnel ssh-over-https hack +Name: proxytunnel +Version: 1.5.0 +Release: 0.1 +License: GPL +Group: Applications +Source0: http://proxytunnel.sourceforge.net/files/%{name}-%{version}.tgz +# Source0-md5: 2a36409580391e25421fc06e82eed4ce +URL: http://proxytunnel.sourceforge.net/ +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +ProxyTunnel is a program that connects stdin and stdout to a server +somewhere on the network, through a standard HTTPS proxy. We mostly +use it to tunnel SSH sessions through HTTP(S) proxies, allowing us to +do many things that wouldn't be possible without ProxyTunnel. +Proxytunnel can currently do the following: +- Create tunnels using HTTP and HTTPS proxies (That understand the + HTTP CONNECT command). +- Work as a back-end driver for an OpenSSH client, and create SSH + connections through HTTP(S) proxies. +- Work as a stand-alone application, listening on a port for + connections, and then tunneling these connections to a specified + destination. + +%prep +%setup -q + +%build + +%{__make} \ + CC="%{__cc}" \ + CFLAGS="%{rpmcflags}" \ + LDFLAGS="%{rpmldflags}" + +%install +rm -rf $RPM_BUILD_ROOT + +install -D proxytunnel $RPM_BUILD_ROOT%{_bindir}/proxytunnel +install -D debian/proxytunnel.1 $RPM_BUILD_ROOT%{_mandir}/man1/proxytunnel.1 + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc CREDITS CHANGES README +%attr(755,root,root) %{_bindir}/* +%{_mandir}/man1/*