mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
Add dns/dnsdbflex: Command line tool to use the DNSDB Flexible Search API
extensions. Sponsored by: Farsight Security, Inc.
This commit is contained in:
parent
7d9511aace
commit
0204f38574
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=568149
@ -39,6 +39,7 @@
|
||||
SUBDIR += dnscrypt-proxy2
|
||||
SUBDIR += dnscrypt-wrapper
|
||||
SUBDIR += dnsdbck
|
||||
SUBDIR += dnsdbflex
|
||||
SUBDIR += dnsdbq
|
||||
SUBDIR += dnsdist
|
||||
SUBDIR += dnsenum
|
||||
|
30
dns/dnsdbflex/Makefile
Normal file
30
dns/dnsdbflex/Makefile
Normal file
@ -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>
|
3
dns/dnsdbflex/distinfo
Normal file
3
dns/dnsdbflex/distinfo
Normal file
@ -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
|
15
dns/dnsdbflex/files/patch-Makefile
Normal file
15
dns/dnsdbflex/files/patch-Makefile
Normal file
@ -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 \
|
7
dns/dnsdbflex/pkg-descr
Normal file
7
dns/dnsdbflex/pkg-descr
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user