Files
ports/benchmarks/polygraph/Makefile
T
Vladimir Druzenko f9b1e7f445 */*: Bump consumers of dns/ldns after update to 1.9.0
Force rebuild comsumers - upstream changed ABI without bump soname.

ldns 1.9.0 inserted LDNS_RDF_TYPE_INT64 at enum position 5, shifting
every subsequent value by +1. But port kept the shared library as
libldns.so.3.6.0 - no SONAME bump - so consumers wasn't flagged for
rebuild and still has the old 1.8.x enum constants baked in.

Example of error for opendnssec:
[adapter] error parsing RR at line 2 (Syntax error, could not parse
the RR's rdata)

PR:		291573
Sponsored by:	UNIS Labs
2026-04-08 22:59:05 +03:00

58 lines
1.6 KiB
Makefile

PORTNAME= polygraph
DISTVERSION= 4.13.0
PORTREVISION= 6
CATEGORIES= benchmarks www
MASTER_SITES= http://www.web-polygraph.org/downloads/srcs/
EXTRACT_SUFX= -src.tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Benchmarking tool for Web proxies
WWW= https://www.web-polygraph.org/
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN_aarch64= does not build: libstdc++.so: undefined reference to __floatunditf@GCC_4.2.0
USES= gmake ncurses shebangfix
SHEBANG_FILES= tools/*.pl
USE_GCC= yes
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
CONFIGURE_ENV= ac_cv_have_64bit_byte_order_conversion=yes
# The port does not build with C++11 or later (bug 219275).
USE_CXXSTD= gnu++98
CONFLICTS= ltrace-0*
OPTIONS_DEFINE= DOCS GNUPLOT GSSAPI LDNS PERL SSL ZLIB
OPTIONS_DEFAULT= SSL ZLIB
OPTIONS_EXCLUDE_i386= SSL
GNUPLOT_DESC= GNUPlot for full reporting functionality
GNUPLOT_RUN_DEPENDS= gnuplot:math/gnuplot
GSSAPI_USES= gssapi:mit
GSSAPI_CONFIGURE_ON= --with-kerberos=${KRB5CONFIG} ${GSSAPI_CONFIGURE_ARGS}
GSSAPI_CONFIGURE_OFF= --without-kerberos
LDNS_DESC= DNS zone file support via libldns
LDNS_LIB_DEPENDS= libldns.so:dns/ldns
LDNS_CONFIGURE_ON= --with-ldns=${LOCALBASE}/bin/ldns-config
LDNS_CONFIGURE_OFF= --without-ldns
SSL_DESC= SSL/HTTPS support
SSL_USES= ssl
SSL_CONFIGURE_ON= --with-ssl=${OPENSSLBASE}
SSL_CONFIGURE_OFF= --without-ssl
PERL_DESC= Install Perl for PolyGraph tools
PERL_USES= perl5
PERL_USE= perl5=run
ZLIB_DESC= HTTP compression support
ZLIB_CONFIGURE_ON= --with-zlib=/usr
ZLIB_CONFIGURE_OFF= --without-zlib
post-patch:
@${REINPLACE_CMD} -e \
'/LICENSE /d' ${WRKSRC}/Makefile.in
.include <bsd.port.mk>