Files
renaud feac396119 Update to 0.13.2
OK sthen
2026-05-22 09:40:00 +00:00

46 lines
938 B
Makefile

COMMENT = name-based proxying of HTTPS without decrypting traffic
GH_ACCOUNT = renaudallard
GH_PROJECT = sniproxy
GH_TAGNAME = 0.13.2
CATEGORIES = net
HOMEPAGE = https://github.com/renaudallard/sniproxy
MAINTAINER = Renaud Allard <renaud@allard.it>
# BSD
PERMIT_PACKAGE = Yes
COMPILER = base-clang ports-gcc
COMPILER_LANGS = c
# use pledge()
WANTLIB += c ev pcre2-8 cares
BUILD_DEPENDS = devel/gettext,-tools
LIB_DEPENDS = net/libcares \
devel/libev \
devel/pcre2
AUTOCONF_VERSION = 2.71
AUTOMAKE_VERSION = 1.16
CONFIGURE_STYLE = autoreconf
AUTORECONF = ./autogen.sh
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>