mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
73115d2807
Prepare to switch security/suricata to the version of libhtp recommended by upstream. This also frees devel/libhtp up for an update, which can be used for the Suricata 2.x branch and onward. www/libhtp-suricata: - Update (downgrade) to 0.2.14 - Use the correct and supported libhtp repo from Suricata - Enable STAGE support - Update pkg-plist - Take maintainership - Remove unnecessary patch (htp_util.c) - qa: Add CONFLICTS - qa: Use our AUTOTOOLS framework completely to prepare the build - qa: Patch htp.pc.in file for proper pkg-config versioning devel/libhtp: - Take maintainership - qa: Add CONFLICTS Reviewed by: wxs, mva, Johannes Meixner Approved by: wxs (maintainer)
30 lines
672 B
Makefile
30 lines
672 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= libhtp
|
|
PORTVERSION= 0.2.14
|
|
CATEGORIES= www security
|
|
PKGNAMESUFFIX= -suricata
|
|
|
|
MAINTAINER= koobs@FreeBSD.org
|
|
COMMENT= Security-aware parser for the HTTP protocol
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= inliniac
|
|
GH_COMMIT= 0294c27
|
|
|
|
USES= pkgconfig pathfix
|
|
USE_AUTOTOOLS= aclocal autoconf autoheader automake libtoolize
|
|
USE_LDCONFIG= yes
|
|
|
|
CONFLICTS_INSTALL= libhtp-[0-9]*
|
|
|
|
PATHFIX_MAKEFILEIN= Makefile.am
|
|
AUTOMAKE_ARGS+= --force-missing --add-missing
|
|
LIBTOOLIZE_ARGS+= --force
|
|
|
|
pre-configure:
|
|
@${REINPLACE_CMD} -Ee 's,^(pkgconfigdir = ).*,\1$$(exec_prefix)/libdata/pkgconfig,' ${WRKSRC}/Makefile.am
|
|
@cd ${WRKSRC} && ${SH} ./autogen.sh
|
|
|
|
.include <bsd.port.mk>
|