bket 56cdc71287 Import sniproxy-0.6.0. From Renaud Allard <renaud@allard.it> who also
takes MAINTAINER.

OK sthen@

Comment:
name-based proxying of HTTPS without decrypting traffic

Description:
Proxies incoming HTTP and TLS connections based on the hostname
contained in the initial request of the TCP session without decrypting
traffic. This enables HTTPS name-based virtual hosting to separate
backend servers without installing the private key on the proxy machine.

- Supports IPv4, IPv6 and Unix domain sockets for both back end
servers and listeners.

- Supports multiple listening sockets per instance.

- Supports HAProxy protocol to propagate original source address to
backend servers.

Homepage:
https://github.com/dlundquist/sniproxy

Maintainer:
Renaud Allard <renaud@allard.it>
2020-04-08 04:56:52 +00:00

45 lines
953 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2020/04/08 04:56:52 bket Exp $
COMMENT = name-based proxying of HTTPS without decrypting traffic
GH_ACCOUNT = dlundquist
GH_PROJECT = sniproxy
GH_TAGNAME = 0.6.0
CATEGORIES = net
HOMEPAGE = https://github.com/dlundquist/sniproxy
MAINTAINER = Renaud Allard <renaud@allard.it>
# BSD
PERMIT_PACKAGE = Yes
WANTLIB += c ev pcre udns
BUILD_DEPENDS = devel/gettext,-tools
LIB_DEPENDS = net/udns \
devel/libev \
devel/pcre
AUTOCONF_VERSION = 2.69
AUTOMAKE_VERSION = 1.16
CONFIGURE_STYLE = autoreconf
AUTORECONF = ./autogen.sh
CONFIGURE_ARGS = --disable-rpath
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
TEST_ENV = SNI_PROXY_PORT=18080 \
TEST_HTTPD_PORT=18081 \
TEST_FALLBACK_PORT=18082
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/sniproxy
${INSTALL_DATA} ${WRKSRC}/sniproxy.conf \
${PREFIX}/share/examples/sniproxy
.include <bsd.port.mk>