diff --git a/dns/dnsdbflex/Makefile b/dns/dnsdbflex/Makefile index 3fa7eb2b2c43..f40d9df80ba3 100644 --- a/dns/dnsdbflex/Makefile +++ b/dns/dnsdbflex/Makefile @@ -1,29 +1,29 @@ PORTNAME= dnsdbflex -PORTVERSION= 1.0.6 +PORTVERSION= 1.0.7 DISTVERSIONPREFIX= v CATEGORIES= dns MAINTAINER= truckman@FreeBSD.org COMMENT= Tool to use the DNSDB Flexible Search API extensions WWW= https://github.com/farsightsec/dnsdbflex LICENSE= APACHE20 LICENSE_FILE_APACHE20= ${WRKSRC}/Apache-2.0 LIB_DEPENDS= libjansson.so:devel/jansson \ libcurl.so:ftp/curl USES= compiler:c11 localbase USE_GITHUB= yes GH_ACCOUNT= farsightsec PORTSCOUT= limit:^[0-9]*\.[0-9]*\.[0-9]*$$ PLIST_FILES= bin/${PORTNAME} share/man/man1/${PORTNAME}.1.gz do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ ${MKDIR} ${STAGEDIR}${PREFIX}/share/man/man1/ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.man ${STAGEDIR}${PREFIX}/share/man/man1/${PORTNAME}.1 .include diff --git a/dns/dnsdbflex/distinfo b/dns/dnsdbflex/distinfo index e95dbbeacad5..8ad1f5d59b0a 100644 --- a/dns/dnsdbflex/distinfo +++ b/dns/dnsdbflex/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1618812784 -SHA256 (farsightsec-dnsdbflex-v1.0.6_GH0.tar.gz) = 0346c3a9fd34dcf42c35669b0c1496743f21587c64003435bd646ec6e603ed2d -SIZE (farsightsec-dnsdbflex-v1.0.6_GH0.tar.gz) = 29733 +TIMESTAMP = 1723427300 +SHA256 (farsightsec-dnsdbflex-v1.0.7_GH0.tar.gz) = e6b1e648e9181c3cae3885dcaacdadab65b0b4836b1d97f8aaeb1808bbd01ef2 +SIZE (farsightsec-dnsdbflex-v1.0.7_GH0.tar.gz) = 30870 diff --git a/dns/dnsdbflex/files/patch-Makefile b/dns/dnsdbflex/files/patch-Makefile index 71d87319bec9..8a747a4aca0f 100644 --- a/dns/dnsdbflex/files/patch-Makefile +++ b/dns/dnsdbflex/files/patch-Makefile @@ -1,15 +1,15 @@ ---- Makefile.orig 2020-10-14 17:44:31 UTC +--- Makefile.orig 2024-08-05 23:23:17 UTC +++ Makefile -@@ -15,10 +15,10 @@ +@@ -15,9 +15,11 @@ # - CURLINCL = `curl-config --cflags` --JANSINCL = -I/usr/local/include -+JANSINCL = -I$(LOCALBASE)/include + # Base directory for jansson header and libraries +-JANSBASE=/usr/local ++#JANSBASE=/usr/local + # For macOS on M1, use this instead of the above line: + #JANSBASE=/opt/homebrew ++# For FreeBSD. use this instead of the above line: ++JANSBASE=$(LOCALBASE) - CURLLIBS = `[ ! -z "$$(curl-config --libs)" ] && curl-config --libs || curl-config --static-libs` --JANSLIBS = -L/usr/local/lib -ljansson -+JANSLIBS = -L$(LOCALBASE)/lib -ljansson + JANSINCL = -I$(JANSBASE)/include - CWARN =-W -Wall -Wextra -Wcast-qual -Wpointer-arith -Wwrite-strings \ - -Wmissing-prototypes -Wbad-function-cast -Wnested-externs \