%define name sslh %define version 1.10 %define release %mkrel 1 Summary: ssl/ssh multiplexer Name: %{name} Version: %{version} Release: %{release} Source0: %{name}-%{version}.tar.gz License: GPLv2+ Group: Networking/Other Url: http://www.rutschle.net/tech/sslh.shtml BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot %description sslh accepts HTTPS, SSH, OpenVPN, tinc and XMPP connections on the same port. This makes it possible to connect to any of these servers on port 443 (e.g. from inside a corporate firewall, which almost never block port 443) while still serving HTTPS on that port. %prep %setup -q %build %make CFLAGS="%optflags" %install rm -rf %{buildroot} %makeinstall PREFIX=%{buildroot}%{_prefix} %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc README ChangeLog %{_sbindir}/%{name} %{_mandir}/man8/* %changelog * Thu Dec 01 2011 blino <blino> 1.10-1.mga2 + Revision: 174646 - initial sslh import - Created package structure for sslh.