pkgsrc/security/hitch/Makefile
fhajny e5afa90484 Update security/hitch to 1.4.6.
Update security/hitch to 1.4.6.

hitch-1.4.6 (2017-06-06)
- Fix a problem that broke mock-based builds for el6/el7

hitch-1.4.5 (2017-05-31)
- Set SSL_OP_SINGLE_ECDH_USE to force a fresh ECDH key pair per
  handshake
- Fix a bug where we ended up leaking a zombie process on reload
- Fix a bug where the management process could not find its
  configuration files after a reload when chroot was configured
- Output the offending line on a configuration file parsing error
- Fix build for non-C99/C11 compilers
- Fix the shared cache code to make it work also with OpenSSL 1.1.0
- Fix an unchecked loop situation that could occur when running with
  shared cache enabled
- Various autotools configuration fixes
- A few minor doc fixes
2017-06-14 13:28:57 +00:00

63 lines
1.7 KiB
Makefile

# $NetBSD: Makefile,v 1.6 2017/06/14 13:28:57 fhajny Exp $
DISTNAME= hitch-1.4.6
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"
CHECK_PORTABILITY_SKIP+= src/tests/*
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
HITCH_OCSP?= ${VARBASE}/db/hitch
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 src/configuration.c
SUBST_VARS.dir= HITCH_USER HITCH_GROUP HITCH_CERTS HITCH_OCSP
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
OWN_DIRS_PERMS+= ${HITCH_OCSP} ${HITCH_USER} ${HITCH_GROUP} 0755
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"