openbsd-ports/www/pound/Makefile
bket 1f2365e27b Update to Pound-2.8a.
Fixes potential request smuggling via fudged headers (CVE-2016-10711).

OK gonzalo@, jca@
2018-04-25 18:08:57 +00:00

38 lines
763 B
Makefile

# $OpenBSD: Makefile,v 1.15 2018/04/25 18:08:57 bket Exp $
COMMENT = HTTP reverse proxy/load balancer/SSL offload
DISTNAME = Pound-2.8a
PKGNAME = ${DISTNAME:L}
CATEGORIES = www
HOMEPAGE = http://www.apsis.ch/pound/
# GPLv3+
PERMIT_PACKAGE_CDROM = Yes
WANTLIB = c crypto m pcreposix pthread ssl
MASTER_SITES = ${HOMEPAGE}
EXTRACT_SUFX = .tgz
LIB_DEPENDS = devel/pcre
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS += CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
--with-owner=root \
--with-group=bin
NO_TEST = Yes
pre-configure:
${SUBST_CMD} ${WRKSRC}/pound.8
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/pound
${INSTALL_DATA} ${FILESDIR}/pound.cfg ${PREFIX}/share/examples/pound/
.include <bsd.port.mk>