Index: head/net/sniproxy/Makefile =================================================================== --- head/net/sniproxy/Makefile (revision 549631) +++ head/net/sniproxy/Makefile (revision 549632) @@ -1,44 +1,43 @@ # $FreeBSD$ PORTNAME= sniproxy DISTVERSION= 0.6.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net MAINTAINER= krion@FreeBSD.org COMMENT= Proxy that routes based on TLS server name extension LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libev.so:devel/libev \ - libpcre.so:devel/pcre \ + libpcre.so:devel/pcre \ libudns.so:dns/udns USES= autoreconf:build gettext pkgconfig SUB_FILES= pkg-message USE_RC_SUBR= sniproxy USE_GITHUB= yes GH_ACCOUNT= dlundquist GNU_CONFIGURE= yes -CFLAGS+= -fcommon USE_LDCONFIG= yes PLIST_FILES= man/man5/sniproxy.conf.5.gz \ man/man8/sniproxy.8.gz \ sbin/sniproxy \ "@sample etc/sniproxy.conf.sample" pre-configure: cd ${WRKSRC} && ${SH} autogen.sh post-patch: @${REINPLACE_CMD} -e 's|/var/tmp/|/var/run/|' ${WRKSRC}/${PORTNAME}.conf post-install:: ${INSTALL_DATA} ${WRKSRC}/sniproxy.conf ${STAGEDIR}${PREFIX}/etc/sniproxy.conf.sample .include Index: head/net/sniproxy/files/patch-src_http.h =================================================================== --- head/net/sniproxy/files/patch-src_http.h (nonexistent) +++ head/net/sniproxy/files/patch-src_http.h (revision 549632) @@ -0,0 +1,10 @@ +--- src/http.h.orig 2018-12-06 04:14:58 UTC ++++ src/http.h +@@ -29,6 +29,6 @@ + #include + #include "protocol.h" + +-const struct Protocol *const http_protocol; ++extern const struct Protocol *const http_protocol; + + #endif Property changes on: head/net/sniproxy/files/patch-src_http.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/net/sniproxy/files/patch-src_tls.h =================================================================== --- head/net/sniproxy/files/patch-src_tls.h (nonexistent) +++ head/net/sniproxy/files/patch-src_tls.h (revision 549632) @@ -0,0 +1,10 @@ +--- src/tls.h.orig 2018-12-06 04:14:58 UTC ++++ src/tls.h +@@ -28,6 +28,6 @@ + + #include "protocol.h" + +-const struct Protocol *const tls_protocol; ++extern const struct Protocol *const tls_protocol; + + #endif Property changes on: head/net/sniproxy/files/patch-src_tls.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/net/sniproxy/pkg-descr =================================================================== --- head/net/sniproxy/pkg-descr (revision 549631) +++ head/net/sniproxy/pkg-descr (revision 549632) @@ -1,21 +1,21 @@ SNIproxy - 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. Features: Name-based proxying of HTTPS without decrypting traffic. No keys or certificates required. Supports both TLS and HTTP protocols. Supports IPv4, IPv6 and Unix domain sockets for both back end servers and listeners. Supports multiple listening sockets per instance. Supports HAProxy proxy protocol to propagate original source address to backend servers. - + WWW: https://github.com/dlundquist/sniproxy