From owner-svn-ports-head@freebsd.org Fri Mar 12 08:41:53 2021 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8B1825726F0; Fri, 12 Mar 2021 08:41:53 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DxfSK3Xbcz3GGv; Fri, 12 Mar 2021 08:41:53 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6C57414E10; Fri, 12 Mar 2021 08:41:53 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 12C8frVu064714; Fri, 12 Mar 2021 08:41:53 GMT (envelope-from truckman@FreeBSD.org) Received: (from truckman@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 12C8fqaY064709; Fri, 12 Mar 2021 08:41:52 GMT (envelope-from truckman@FreeBSD.org) Message-Id: <202103120841.12C8fqaY064709@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: truckman set sender to truckman@FreeBSD.org using -f From: Don Lewis Date: Fri, 12 Mar 2021 08:41:52 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: truckman X-SVN-Commit-Paths: in head/dns: . dnsdbflex dnsdbflex/files X-SVN-Commit-Revision: 568149 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Mar 2021 08:41:53 -0000 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 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