# Non-release commit required because patch required for gcc>10: # https://github.com/dlundquist/sniproxy/commit/822bb80df9b7b345cc9eba55df74a07b498819ba %global commit 822bb80df9b7b345cc9eba55df74a07b498819ba Name: sniproxy Version: 0.6.0.%{commit} Release: 1%{?dist} Summary: Transparent TLS and HTTP layer 4 proxy with SNI support Group: System Environment/Daemons License: BSD URL: https://github.com/dlundquist/sniproxy Source0: %{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: autoconf, automake, curl, libev-devel, pcre-devel, perl, gettext-devel, udns-devel %description Proxies incoming HTTP and TLS connections based on the hostname contained in the initial request of the TCP session. This enables HTTPS name-based virtual hosting to separate backend servers without installing the private key on the proxy machine. %prep %setup -q -n %{name}-%{commit} %build ./autogen.sh %configure CFLAGS="-g -fPIC -I/usr/include/libev" %make_build %install %make_install %files %defattr(-,root,root,-) %{_sbindir}/sniproxy %doc %{_mandir}/man8/sniproxy.8.gz %{_mandir}/man5/sniproxy.conf.5.gz %changelog * Sat Sep 26 2020 Edd Salkield 0.6.0.822bb80df9b7b345cc9eba55df74a07b498819ba-1 - Update to run on Fedora * Wed Dec 5 2018 Dustin Lundquist 0.6.0-1 - PROXY v1 protocol support - SO_REUSEPORT support on Linux 3.9 and later - Listener ipv6_only directive to accept only IPv6 connections - TCP keepalive * Wed Apr 26 2017 Dustin Lundquist 0.5.0-1 - Transparent proxy support - Use accept4() on Linix - Run as group specified in config * Tue Apr 7 2015 Dustin Lundquist 0.4.0-1 - Improve DNS resolver: Support for AAAA records Configuration options - Global access log - Man page for sniproxy.conf - Reject IP literals as hostnames for wildcard backends * Fri Sep 26 2014 Dustin Lundquist 0.3.6-1 - Improve logging: Fix negative connection duration in access log Include log rotate script Reopen log files on SIGHUP Share file handle to same log file between listeners Avoid unnecessary reconnection to syslog socket Cache timestamp string for current second - Man page - Packaging improvements: passes lintian and rpm-lint * Wed Aug 13 2014 Dustin Lundquist 0.3.5-1 - Configuration reloading on SIGHUP - SSL 2.0 connection handling: do not treat as an error, use fallback address if configured. - Fix buffer_coalesce error - Spawn privileged child to bind sockets to privileged ports on reload - Add -V flag to return sniproxy version - Use libev for timestamps to improve portability - Include several for BSD compatibility - Large file support (for log files)