1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

dns/dnscap: Update to 2.2.1

- Remove DOCS option
- Convert REINPLACE_CMD to patch file

Changes:	https://github.com/DNS-OARC/dnscap/releases
This commit is contained in:
Po-Chuan Hsieh 2024-09-16 03:42:23 +08:00
parent f01013c7ca
commit fad2ba9dab
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
4 changed files with 16 additions and 13 deletions

View File

@ -1,5 +1,5 @@
PORTNAME= dnscap
PORTVERSION= 2.2.0
PORTVERSION= 2.2.1
PORTEPOCH= 1
CATEGORIES= dns
MASTER_SITES= https://www.dns-oarc.net/files/dnscap/ \
@ -23,7 +23,7 @@ CONFIGURE_ENV= libcrypto_CFLAGS=-I${OPENSSLINC}/include \
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
OPTIONS_DEFINE= CDS DOCS THREADS
OPTIONS_DEFINE= CDS THREADS
OPTIONS_DEFAULT=THREADS
CDS_DESC= CBOR DNS Stream (CDS) format (experimental)
@ -31,10 +31,4 @@ CDS_CONFIGURE_OFF= ac_cv_lib_tinycbor_cbor_parser_init=no
CDS_LIB_DEPENDS= libtinycbor.so:devel/tinycbor
THREADS_CONFIGURE_ENABLE= threads
post-patch-DOCS-off:
@${REINPLACE_CMD} -e '/^install-data-am: / s| install-dist_docDATA||' ${WRKSRC}/Makefile.am
post-patch-DOCS-on:
@${REINPLACE_CMD} -e '/^dist_doc_DATA = / s| LICENSE||' ${WRKSRC}/Makefile.am
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1693056791
SHA256 (dnscap-2.2.0.tar.gz) = 2988a62c9df45aab9cd8d8e61e94f8b284d2b71c40170ea9413980687cf54a73
SIZE (dnscap-2.2.0.tar.gz) = 765667
TIMESTAMP = 1726080935
SHA256 (dnscap-2.2.1.tar.gz) = 44e4f48693c22c3314d24c0706b3ccabdf0337ebbbf1d7510c45605b3ec734ef
SIZE (dnscap-2.2.1.tar.gz) = 765941

View File

@ -0,0 +1,11 @@
--- Makefile.am.orig 2020-04-23 08:19:36 UTC
+++ Makefile.am
@@ -6,7 +6,7 @@ SUBDIRS = src plugins
SUBDIRS = src plugins
-dist_doc_DATA = README.md LICENSE CONTRIBUTORS
+dist_doc_DATA =
EXTRA_DIST = isc m4 .clang-format fmt.sh

View File

@ -22,7 +22,5 @@ lib/dnscap/rzkeychange.a
lib/dnscap/rzkeychange.so
lib/dnscap/txtout.a
lib/dnscap/txtout.so
%%PORTDOCS%%%%DOCSDIR%%/CONTRIBUTORS
%%PORTDOCS%%%%DOCSDIR%%/README.md
share/man/man1/dnscap-rssm-rssac002.1.gz
share/man/man1/dnscap.1.gz