2015-05-18 13:39:23 +00:00
|
|
|
# Created by: Ryan Steinmetz <zi@FreeBSD.org>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= hitch
|
2016-01-29 03:25:40 +00:00
|
|
|
PORTVERSION= 1.1.1
|
2015-05-18 13:39:23 +00:00
|
|
|
DISTVERSIONPREFIX= ${PORTNAME}-
|
|
|
|
CATEGORIES= security
|
|
|
|
|
|
|
|
MAINTAINER= zi@FreeBSD.org
|
|
|
|
COMMENT= TLS proxy to forward connections to an unencrypted backend
|
|
|
|
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
|
2016-01-09 03:23:01 +00:00
|
|
|
BUILD_DEPENDS= rst2man:textproc/py-docutils
|
2016-04-01 14:25:16 +00:00
|
|
|
LIB_DEPENDS= libev.so:devel/libev
|
2015-05-18 13:39:23 +00:00
|
|
|
|
|
|
|
USERS= nobody
|
|
|
|
GROUPS= nobody
|
|
|
|
|
|
|
|
USES= autoreconf
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --localstatedir=/var/run
|
|
|
|
USE_OPENSSL= yes
|
|
|
|
USE_RC_SUBR= ${PORTNAME}
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= varnish
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/etc
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.conf.sample ${STAGEDIR}${PREFIX}/etc/
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|