222dc69559
hitch-1.4.0 (2016-09-12) - Fix a bug in the OCSP request code where it broke if the OCSP responder required a Host header. (#113) - Add support for ECC certificates (#116). hitch-1.4.0-beta1 (2016-08-26) - NPN/ALPN support for negotiating a protocol in the SSL handshake. This lets you use Hitch for terminating TLS in front of an HTTP/2 capable backend. For ALPN, OpenSSL 1.0.2 is needed, while NPN requires OpenSSL 1.0.1. - Expanded PROXY protocol support for communicating an ALPN/NPN negotiated protocol to the backend. Hitch will now include the ALPN/NPN protocol that was selected during the handshake as part of the PROXYv2 header.
58 lines
1.5 KiB
Makefile
58 lines
1.5 KiB
Makefile
# $NetBSD: Makefile,v 1.3 2016/09/19 09:33:57 fhajny Exp $
|
|
|
|
DISTNAME= hitch-1.4.0
|
|
CATEGORIES= security
|
|
MASTER_SITES= https://hitch-tls.org/source/
|
|
|
|
MAINTAINER= filip@joyent.com
|
|
HOMEPAGE= https://hitch-tls.org/
|
|
COMMENT= High performance SSL/TLS proxy
|
|
LICENSE= 2-clause-bsd
|
|
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_TOOLS+= pkg-config
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
CONFIGURE_ARGS+= --with-rst2man=${PREFIX}/bin/rst2man.py${PYVERSSUFFIX}
|
|
|
|
CPPFLAGS.SunOS+= -D__EXTENSIONS__
|
|
LIBS.SunOS+= -lnsl -lsocket
|
|
|
|
BUILD_DEFS+= HITCH_USER HITCH_GROUP HITCH_CERTS
|
|
|
|
HITCH_USER?= hitch
|
|
HITCH_GROUP?= hitch
|
|
HITCH_CERTS?= ${PKG_SYSCONFDIR}/certs.pem
|
|
|
|
PKG_GROUPS+= ${HITCH_GROUP}
|
|
PKG_USERS+= ${HITCH_USER}:${HITCH_GROUP}
|
|
PKG_GECOS.${HITCH_USER}=hitch daemon user
|
|
|
|
RCD_SCRIPTS= hitch
|
|
|
|
MESSAGE_SUBST+= HITCH_CERTS=${HITCH_CERTS}
|
|
|
|
SUBST_CLASSES+= dir
|
|
SUBST_STAGE.dir= pre-configure
|
|
SUBST_FILES.dir= hitch.conf.example
|
|
SUBST_VARS.dir= HITCH_USER HITCH_GROUP HITCH_CERTS
|
|
SUBST_MESSAGE.dir= Setting default configuration values
|
|
|
|
PKG_SYSCONFSUBDIR= hitch
|
|
CONF_FILES+= share/examples/hitch/hitch.conf.example \
|
|
${PKG_SYSCONFDIR}/hitch.conf
|
|
|
|
INSTALLATION_DIRS+= share/examples/hitch
|
|
|
|
post-install:
|
|
${MV} ${DESTDIR}${PREFIX}/share/doc/hitch/hitch.conf.example \
|
|
${DESTDIR}${PREFIX}/share/examples/hitch
|
|
|
|
PYTHON_FOR_BUILD_ONLY= yes
|
|
.include "../../lang/python/pyversion.mk"
|
|
.include "../../devel/libev/buildlink3.mk"
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|