1774d2af0a
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 Reported by: bdrewery (via email) Sponsored by: UNIS Labs MFH: 2026Q2
40 lines
827 B
Makefile
40 lines
827 B
Makefile
PORTNAME= passivedns
|
|
DISTVERSION= 1.2.1-25
|
|
PORTREVISION= 1
|
|
DISTVERSIONSUFFIX= -gb438a30
|
|
CATEGORIES= security
|
|
|
|
MAINTAINER= shadowbq@gmail.com
|
|
COMMENT= Network sniffer that logs DNS replies for use in passive DNS setups
|
|
WWW= https://github.com/gamelinux/passivedns
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= libldns.so:dns/ldns
|
|
|
|
USES= autoreconf gmake libtool
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= gamelinux
|
|
|
|
USE_RC_SUBR= passivedns
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-ldns-includes=${LOCALBASE}/include \
|
|
--with-ldns-libraries=${LOCALBASE}/lib
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
OPTIONS_DEFINE= JSON
|
|
OPTIONS_DEFAULT= JSON
|
|
|
|
JSON_LIB_DEPENDS= libjansson.so:devel/jansson
|
|
JSON_CONFIGURE_ENABLE= json
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/passivedns \
|
|
${STAGEDIR}${PREFIX}/bin
|
|
${MKDIR} ${STAGEDIR}/var/log/passivedns
|
|
|
|
.include <bsd.port.mk>
|