Date: Fri, 12 Mar 2021 08:41:52 +0000 (UTC) From: Don Lewis <truckman@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r568149 - in head/dns: . dnsdbflex dnsdbflex/files Message-ID: <202103120841.12C8fqaY064709@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: truckman Date: Fri Mar 12 08:41:52 2021 New Revision: 568149 URL: https://svnweb.freebsd.org/changeset/ports/568149 Log: Add dns/dnsdbflex: Command line tool to use the DNSDB Flexible Search API extensions. Sponsored by: Farsight Security, Inc. Added: head/dns/dnsdbflex/ head/dns/dnsdbflex/Makefile (contents, props changed) head/dns/dnsdbflex/distinfo (contents, props changed) head/dns/dnsdbflex/files/ head/dns/dnsdbflex/files/patch-Makefile (contents, props changed) head/dns/dnsdbflex/pkg-descr (contents, props changed) Modified: head/dns/Makefile Modified: head/dns/Makefile ============================================================================== --- head/dns/Makefile Fri Mar 12 08:38:17 2021 (r568148) +++ head/dns/Makefile Fri Mar 12 08:41:52 2021 (r568149) @@ -39,6 +39,7 @@ SUBDIR += dnscrypt-proxy2 SUBDIR += dnscrypt-wrapper SUBDIR += dnsdbck + SUBDIR += dnsdbflex SUBDIR += dnsdbq SUBDIR += dnsdist SUBDIR += dnsenum Added: head/dns/dnsdbflex/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/dns/dnsdbflex/Makefile Fri Mar 12 08:41:52 2021 (r568149) @@ -0,0 +1,30 @@ +# $FreeBSD$ + +PORTNAME= dnsdbflex +PORTVERSION= 1.0.4 +DISTVERSIONPREFIX= v +CATEGORIES= dns + +MAINTAINER= truckman@FreeBSD.org +COMMENT= Tool to use the DNSDB Flexible Search API extensions. + +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 <bsd.port.mk> Added: head/dns/dnsdbflex/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/dns/dnsdbflex/distinfo Fri Mar 12 08:41:52 2021 (r568149) @@ -0,0 +1,3 @@ +TIMESTAMP = 1613892179 +SHA256 (farsightsec-dnsdbflex-v1.0.4_GH0.tar.gz) = d07a4ce6ec0046db56bfa70932f5831427219dc2a206a2df3f382b883532dab4 +SIZE (farsightsec-dnsdbflex-v1.0.4_GH0.tar.gz) = 29121 Added: head/dns/dnsdbflex/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/dns/dnsdbflex/files/patch-Makefile Fri Mar 12 08:41:52 2021 (r568149) @@ -0,0 +1,15 @@ +--- Makefile.orig 2020-10-14 17:44:31 UTC ++++ Makefile +@@ -15,10 +15,10 @@ + # + + CURLINCL = `curl-config --cflags` +-JANSINCL = -I/usr/local/include ++JANSINCL = -I$(LOCALBASE)/include + + CURLLIBS = `[ ! -z "$$(curl-config --libs)" ] && curl-config --libs || curl-config --static-libs` +-JANSLIBS = -L/usr/local/lib -ljansson ++JANSLIBS = -L$(LOCALBASE)/lib -ljansson + + CWARN =-W -Wall -Wextra -Wcast-qual -Wpointer-arith -Wwrite-strings \ + -Wmissing-prototypes -Wbad-function-cast -Wnested-externs \ Added: head/dns/dnsdbflex/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/dns/dnsdbflex/pkg-descr Fri Mar 12 08:41:52 2021 (r568149) @@ -0,0 +1,7 @@ +Command line tool to use the DNSDB Flexible Search API extensions on +systems such as: + * the DNSDB Flex API server at Farsight Security + +An API key is required for operation. + +WWW: https://github.com/farsightsec/dnsdbflex
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103120841.12C8fqaY064709>